diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d6758ec5c..29d8728ad 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -38,7 +38,7 @@ jobs: args: '-race' - name: Build shell: bash - run: npx nx affected --target=build --configuration=ci --parallel=5 + run: npx nx affected --target=build --configuration=production --parallel=5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} @@ -46,4 +46,4 @@ jobs: - name: Export shell: bash # issue with parallelism - run: npx nx affected --target=export --configuration=ci --parallel=1 + run: npx nx affected --target=build --configuration=export --parallel=5 diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-main.yml similarity index 62% rename from .github/workflows/release-npm.yml rename to .github/workflows/release-main.yml index a4421cd94..a3c62a610 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-main.yml @@ -12,8 +12,10 @@ env: concurrency: commits-to-main jobs: - release-npm: + release-main: runs-on: ubuntu-latest + permissions: + packages: write steps: - name: Checkout all commits uses: actions/checkout@v3 @@ -23,23 +25,32 @@ jobs: uses: ./.github/actions/setup with: node_version: 19.5.0 + - uses: docker/setup-buildx-action@v2 + - uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Workspace lint shell: bash run: npx nx workspace-lint - name: Lint shell: bash run: npx nx run-many --target=lint --all --parallel=5 - - name: Build + - name: Test + shell: bash + run: npx nx run-many --target=test --all --parallel=5 + - name: Build for publishing shell: bash # configuration ci will put the dists in each project directory so changesets can publish - run: npx nx run-many --target=build --configuration=ci --all --parallel=5 + # NOTE: changed from ci to production and added script for copy + run: npx nx run-many --target=build --configuration=production --all --parallel=5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} ASSETS: ${{ github.workspace }}/assets - - name: Test - shell: bash - run: npx nx run-many --target=test --all --parallel=5 + - name: Release + run: ./scripts/copy-dists-for-publishing.sh - name: Create Release Pull Request or Publish to NPM uses: changesets/action@v1 with: @@ -48,3 +59,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Containers + shell: bash + run: npx nx run-many --target=container --configuration=production -all --parallel=5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} + ASSETS: ${{ github.workspace }}/assets diff --git a/apps/assets/project.json b/apps/assets/project.json index 876aace28..6d98d00ea 100644 --- a/apps/assets/project.json +++ b/apps/assets/project.json @@ -23,13 +23,6 @@ "extractLicenses": true, "sourceMap": false, "externalDependencies": "none" - }, - "ci": { - "outputPath": "apps/assets/dist", - "optimization": true, - "extractLicenses": true, - "sourceMap": false, - "externalDependencies": "none" } } }, diff --git a/apps/crons/project.json b/apps/crons/project.json index ddb6f504e..0810f923e 100644 --- a/apps/crons/project.json +++ b/apps/crons/project.json @@ -23,13 +23,6 @@ "extractLicenses": true, "sourceMap": false, "externalDependencies": "none" - }, - "ci": { - "outputPath": "apps/crons/dist", - "optimization": true, - "extractLicenses": true, - "sourceMap": false, - "externalDependencies": "none" } } }, diff --git a/apps/explorer/Dockerfile b/apps/explorer/Dockerfile new file mode 100644 index 000000000..4bdf70098 --- /dev/null +++ b/apps/explorer/Dockerfile @@ -0,0 +1,20 @@ +FROM node:18-alpine as runner + +WORKDIR /app + +ENV NODE_ENV production +ENV NEXT_TELEMETRY_DISABLED 1 + +RUN addgroup --system --gid 1001 nodejs +RUN adduser --system --uid 1001 nextjs + +# Automatically leverage output traces to reduce image size +# https://nextjs.org/docs/advanced-features/output-file-tracing +COPY --chown=nextjs:nodejs ./dist/apps/explorer/.next/standalone ./ +COPY --chown=nextjs:nodejs ./dist/apps/explorer/.next/static ./dist/apps/explorer/.next/static +COPY --chown=nextjs:nodejs ./dist/apps/explorer/public ./apps/explorer/public + +USER nextjs +EXPOSE 3000 + +CMD node apps/explorer/server.js diff --git a/apps/explorer/Dockerfile.zen b/apps/explorer/Dockerfile.zen new file mode 100644 index 000000000..5d4d08ab6 --- /dev/null +++ b/apps/explorer/Dockerfile.zen @@ -0,0 +1,20 @@ +FROM node:18-alpine as runner + +WORKDIR /app + +ENV NODE_ENV production +ENV NEXT_TELEMETRY_DISABLED 1 + +RUN addgroup --system --gid 1001 nodejs +RUN adduser --system --uid 1001 nextjs + +# Automatically leverage output traces to reduce image size +# https://nextjs.org/docs/advanced-features/output-file-tracing +COPY --chown=nextjs:nodejs ./dist/apps/explorer-testnet-zen/.next/standalone ./ +COPY --chown=nextjs:nodejs ./dist/apps/explorer-testnet-zen/.next/static ./dist/apps/explorer-testnet-zen/.next/static +COPY --chown=nextjs:nodejs ./dist/apps/explorer-testnet-zen/public ./apps/explorer/public + +USER nextjs +EXPOSE 3000 + +CMD node apps/explorer/server.js diff --git a/apps/explorer/app/address/[id]/error.tsx b/apps/explorer/app/address/[id]/error.tsx index 543ede778..a24fa1973 100644 --- a/apps/explorer/app/address/[id]/error.tsx +++ b/apps/explorer/app/address/[id]/error.tsx @@ -2,7 +2,8 @@ import { StateError } from '../../../components/StateError' -export default function Page() { +export default function Page({ error }: { error: Error }) { + console.error(error) return ( c.id === 'usd') as CurrencyOption export default async function Image({ params }) { const id = params?.id as string - const [c, r] = await Promise.all([ + const [{ data: c }, { data: r }] = await Promise.all([ getSiaCentralContract({ params: { id, @@ -41,6 +41,18 @@ export default async function Image({ params }) { }), ]) + if (!c || !c.contract) { + return getOGImage( + { + id, + title: truncate(id, 30), + subtitle: 'contract', + initials: 'C', + }, + size + ) + } + const values = [ { label: 'data size', @@ -55,7 +67,7 @@ export default async function Image({ params }) { }, { label: 'payout', - value: siacoinToFiat(c.contract.payout, { + value: siacoinToFiat(c.contract.payout, r && { currency, rate: r.rates.sc.usd, }), @@ -72,8 +84,8 @@ export default async function Image({ params }) { c.contract.status === 'obligationSucceeded' ? 'green' : c.contract.status === 'obligationFailed' - ? 'red' - : 'amber', + ? 'red' + : 'amber', initials: 'C', values, }, diff --git a/apps/explorer/app/contract/[id]/page.tsx b/apps/explorer/app/contract/[id]/page.tsx index e664415bb..05fca4433 100644 --- a/apps/explorer/app/contract/[id]/page.tsx +++ b/apps/explorer/app/contract/[id]/page.tsx @@ -28,7 +28,7 @@ export const revalidate = 60 export default async function Page({ params }) { const id = params?.id as string - const [c, r] = await Promise.all([ + const [{ data: c, error }, { data: r }] = await Promise.all([ getSiaCentralContract({ params: { id, @@ -44,11 +44,19 @@ export default async function Page({ params }) { }), ]) - const contract = c?.contract + if (error) { + throw Error(error) + } + + if (!c?.contract) { + return notFound() + } + + const contract = c.contract const formationTxnId = getFormationTxnId(contract) const finalRevisionTxnId = contract?.transaction_id || '' - const [ft, rt] = await Promise.all([ + const [{ data: ft }, { data: rt }] = await Promise.all([ getSiaCentralTransaction({ params: { id: formationTxnId, @@ -72,14 +80,10 @@ export default async function Page({ params }) { const renewalTransaction = rt?.transaction const renewedTo = renewalTransaction?.storage_contracts?.[0] - if (!c.contract) { - return notFound() - } - return ( + ) +} diff --git a/apps/explorer/app/faucet/error.tsx b/apps/explorer/app/faucet/error.tsx index 9c0bc23dd..ca2cb5518 100644 --- a/apps/explorer/app/faucet/error.tsx +++ b/apps/explorer/app/faucet/error.tsx @@ -2,7 +2,8 @@ import { StateError } from '../../components/StateError' -export default function Page() { +export default function Page({ error }: { error: Error }) { + console.error(error) return ( ) } diff --git a/apps/explorer/app/tx/[id]/error.tsx b/apps/explorer/app/tx/[id]/error.tsx index e8047faea..7b5826fb5 100644 --- a/apps/explorer/app/tx/[id]/error.tsx +++ b/apps/explorer/app/tx/[id]/error.tsx @@ -2,7 +2,8 @@ import { StateError } from '../../../components/StateError' -export default function Page() { +export default function Page({ error }: { error: Error }) { + console.error(error) return (
@@ -42,6 +45,7 @@ export async function ContractHeader({
{renewedFromId && renewedFromId !== id && ( @@ -58,16 +62,18 @@ export async function ContractHeader({ {lowerCase(contract.status)} {renewedToId && renewedToId !== id && ( - + renewed to )}
-
+ {latest &&
-
+
} ) } diff --git a/apps/explorer/components/Contract/index.tsx b/apps/explorer/components/Contract/index.tsx index 2f410e5ca..f3a5fde76 100644 --- a/apps/explorer/components/Contract/index.tsx +++ b/apps/explorer/components/Contract/index.tsx @@ -16,7 +16,7 @@ import { useExchangeRate } from '../../hooks/useExchangeRate' type Props = { contract: SiaCentralContract - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates renewedTo?: SiaCentralContract renewedFrom?: SiaCentralContract } @@ -65,9 +65,9 @@ export function Contract({ contract, rates, renewedFrom, renewedTo }: Props) { value: contract.negotiation_timestamp !== '0001-01-01T00:00:00Z' ? humanDate(contract.negotiation_timestamp, { - dateStyle: 'medium', - timeStyle: 'short', - }) + dateStyle: 'medium', + timeStyle: 'short', + }) : '-', }, { @@ -81,9 +81,9 @@ export function Contract({ contract, rates, renewedFrom, renewedTo }: Props) { value: contract.expiration_timestamp !== '0001-01-01T00:00:00Z' ? humanDate(contract.expiration_timestamp, { - dateStyle: 'medium', - timeStyle: 'short', - }) + dateStyle: 'medium', + timeStyle: 'short', + }) : '-', }, { @@ -99,9 +99,9 @@ export function Contract({ contract, rates, renewedFrom, renewedTo }: Props) { value: contract.proof_timestamp !== '0001-01-01T00:00:00Z' ? humanDate(contract.proof_timestamp, { - dateStyle: 'medium', - timeStyle: 'short', - }) + dateStyle: 'medium', + timeStyle: 'short', + }) : '-', }, { @@ -115,9 +115,9 @@ export function Contract({ contract, rates, renewedFrom, renewedTo }: Props) { value: contract.proof_deadline_timestamp !== '0001-01-01T00:00:00Z' ? humanDate(contract.proof_deadline_timestamp, { - dateStyle: 'medium', - timeStyle: 'short', - }) + dateStyle: 'medium', + timeStyle: 'short', + }) : '-', }, { @@ -131,9 +131,9 @@ export function Contract({ contract, rates, renewedFrom, renewedTo }: Props) { value: contract.payout_timestamp !== '0001-01-01T00:00:00Z' ? humanDate(contract.payout_timestamp, { - dateStyle: 'medium', - timeStyle: 'short', - }) + dateStyle: 'medium', + timeStyle: 'short', + }) : '-', }, { diff --git a/apps/explorer/components/ContractView/index.tsx b/apps/explorer/components/ContractView/index.tsx index 6c561e4ca..62d33eb05 100644 --- a/apps/explorer/components/ContractView/index.tsx +++ b/apps/explorer/components/ContractView/index.tsx @@ -9,10 +9,10 @@ import { Contract } from '../Contract' type Props = { contract: SiaCentralContract - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates renewedTo?: SiaCentralContract renewedFrom?: SiaCentralContract - formationTransaction: SiaCentralTransaction + formationTransaction?: SiaCentralTransaction } export function ContractView({ diff --git a/apps/explorer/components/ExplorerDatum.tsx b/apps/explorer/components/ExplorerDatum.tsx index 7b973c1c5..0332d2ddb 100644 --- a/apps/explorer/components/ExplorerDatum.tsx +++ b/apps/explorer/components/ExplorerDatum.tsx @@ -33,11 +33,9 @@ export function ExplorerDatum({ }: DatumProps) { return (
-
- - {upperFirst(label)} - -
+ + {upperFirst(label)} +
{sc !== undefined && ( @@ -57,7 +55,7 @@ export function ExplorerDatum({ ? Number(entityValue).toLocaleString() : entityValue } - // className="relative top-0.5" + // className="relative top-0.5" /> ) : ( diff --git a/apps/explorer/components/Faucet/index.tsx b/apps/explorer/components/Faucet/index.tsx index e8103f82e..c831e1c1c 100644 --- a/apps/explorer/components/Faucet/index.tsx +++ b/apps/explorer/components/Faucet/index.tsx @@ -25,7 +25,7 @@ export function Faucet() { useEffect(() => { if (isMainnet) { - window.location.replace(webLinks.explore.testnetFaucet) + window.location.replace(webLinks.explore.testnetZenFaucet) } }, []) diff --git a/apps/explorer/components/Home/HostListItem.tsx b/apps/explorer/components/Home/HostListItem.tsx index fec05e2be..c855feda3 100644 --- a/apps/explorer/components/Home/HostListItem.tsx +++ b/apps/explorer/components/Home/HostListItem.tsx @@ -31,7 +31,7 @@ import { useExchangeRate } from '../../hooks/useExchangeRate' type Props = { host: SiaCentralHost - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates entity: EntityListItemLayoutProps } diff --git a/apps/explorer/components/Home/index.tsx b/apps/explorer/components/Home/index.tsx index e8ccb5860..02555c5ef 100644 --- a/apps/explorer/components/Home/index.tsx +++ b/apps/explorer/components/Home/index.tsx @@ -29,11 +29,11 @@ export function Home({ hosts, rates, }: { - metrics: SiaCentralHostsNetworkMetricsResponse + metrics?: SiaCentralHostsNetworkMetricsResponse blockHeight: number blocks: SiaCentralBlock[] hosts: SiaCentralHost[] - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates }) { const exchange = useExchangeRate(rates) const values = useMemo(() => { @@ -52,139 +52,137 @@ export function Home({ ), }, - { - label: 'Storage utilization', - value: ( -
- + - - {humanBytes( - metrics?.totals.total_storage - + + {humanBytes( + metrics?.totals.total_storage - metrics?.totals.remaining_storage - )} - - - - / - - - - {humanBytes(metrics?.totals.total_storage)} - - -
- ), - }, - { - label: 'Active hosts', - value: ( -
- - - {humanNumber(metrics?.totals.active_hosts)} - - - - / - - - - {humanNumber(metrics?.totals.total_hosts)} - - -
- ), - }, - { - label: 'Average storage price', - value: ( - -
- + + - {getStorageCost({ - price: metrics?.average.settings.storage_price, - exchange, - })} - - - {getStorageCost({ - price: metrics?.average.settings.storage_price, - })} - + + {humanBytes(metrics?.totals.total_storage)} + +
-
- ), - }, - { - label: 'Average download price', - value: ( - -
- - {getDownloadCost({ - price: metrics?.average.settings.download_price, - exchange, - })} - - - {getDownloadCost({ - price: metrics?.average.settings.download_price, - })} - -
-
- ), - }, - { - label: 'Average upload price', - value: ( - -
- - {getUploadCost({ - price: metrics?.average.settings.upload_price, - exchange, - })} - - - {getUploadCost({ - price: metrics?.average.settings.upload_price, - })} - + ), + }, + { + label: 'Active hosts', + value: ( +
+ + + {humanNumber(metrics?.totals.active_hosts)} + + + + + {humanNumber(metrics?.totals.total_hosts)} + +
- - ), - }, - ] + ), + }, + { + label: 'Average storage price', + value: ( + +
+ + {getStorageCost({ + price: metrics?.average.settings.storage_price, + exchange, + })} + + + {getStorageCost({ + price: metrics?.average.settings.storage_price, + })} + +
+
+ ), + }, + { + label: 'Average download price', + value: ( + +
+ + {getDownloadCost({ + price: metrics?.average.settings.download_price, + exchange, + })} + + + {getDownloadCost({ + price: metrics?.average.settings.download_price, + })} + +
+
+ ), + }, + { + label: 'Average upload price', + value: ( + +
+ + {getUploadCost({ + price: metrics?.average.settings.upload_price, + exchange, + })} + + + {getUploadCost({ + price: metrics?.average.settings.upload_price, + })} + +
+
+ ), + } + ) + } return list }, [metrics, blockHeight, exchange]) diff --git a/apps/explorer/components/Host/HostHeader.tsx b/apps/explorer/components/Host/HostHeader.tsx index c4542cc34..7dc4c4f97 100644 --- a/apps/explorer/components/Host/HostHeader.tsx +++ b/apps/explorer/components/Host/HostHeader.tsx @@ -9,7 +9,7 @@ import { HostInfo } from './HostInfo' type Props = { host: SiaCentralHost - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates } export function HostHeader({ host, rates }: Props) { diff --git a/apps/explorer/components/Host/HostPricing.tsx b/apps/explorer/components/Host/HostPricing.tsx index 981ffe84d..3b1346e02 100644 --- a/apps/explorer/components/Host/HostPricing.tsx +++ b/apps/explorer/components/Host/HostPricing.tsx @@ -24,7 +24,7 @@ import { useExchangeRate } from '../../hooks/useExchangeRate' type Props = { host: SiaCentralHost - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates } export function HostPricing({ host, rates }: Props) { diff --git a/apps/explorer/components/Host/HostSettings.tsx b/apps/explorer/components/Host/HostSettings.tsx index e56d03c35..c14f6fe52 100644 --- a/apps/explorer/components/Host/HostSettings.tsx +++ b/apps/explorer/components/Host/HostSettings.tsx @@ -20,7 +20,7 @@ import { siacoinToFiat } from '../../lib/currency' type Props = { host: SiaCentralHost - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates } export function HostSettings({ host, rates }: Props) { diff --git a/apps/explorer/components/Host/index.tsx b/apps/explorer/components/Host/index.tsx index a1664f09d..251fe1019 100644 --- a/apps/explorer/components/Host/index.tsx +++ b/apps/explorer/components/Host/index.tsx @@ -8,7 +8,7 @@ import { HostSettings } from './HostSettings' type Props = { host: SiaCentralHost - rates: SiaCentralExchangeRates + rates?: SiaCentralExchangeRates } export function Host({ host, rates }: Props) { diff --git a/apps/explorer/components/Layout/Footer.tsx b/apps/explorer/components/Layout/Footer.tsx index f65f05565..cf295348a 100644 --- a/apps/explorer/components/Layout/Footer.tsx +++ b/apps/explorer/components/Layout/Footer.tsx @@ -9,7 +9,8 @@ import { export function Footer() { return ( - + // mobile browsers clip the bottom because of how their the navbar works, so add padding +
diff --git a/apps/explorer/components/Layout/NavDropdownMenu.tsx b/apps/explorer/components/Layout/NavDropdownMenu.tsx index 6f9fa9bb1..27b13535c 100644 --- a/apps/explorer/components/Layout/NavDropdownMenu.tsx +++ b/apps/explorer/components/Layout/NavDropdownMenu.tsx @@ -37,7 +37,7 @@ export function NavDropdownMenu({ trigger, children, ...props }: Props) { - + Zen Testnet @@ -45,7 +45,7 @@ export function NavDropdownMenu({ trigger, children, ...props }: Props) { Tools - + Zen Faucet diff --git a/apps/explorer/components/Layout/Navbar.tsx b/apps/explorer/components/Layout/Navbar.tsx index b56b15907..1e96c9a47 100644 --- a/apps/explorer/components/Layout/Navbar.tsx +++ b/apps/explorer/components/Layout/Navbar.tsx @@ -5,6 +5,7 @@ import { Logo, Text, } from '@siafoundation/design-system' +import { cx } from 'class-variance-authority' type Props = { appName?: string @@ -15,10 +16,14 @@ type Props = { export function Navbar({ appName, network, homeHref, children }: Props) { return ( -
- {network !== 'mainnet' && ( -
- )} +
diff --git a/apps/explorer/components/OGImage/Preview.tsx b/apps/explorer/components/OGImage/Preview.tsx index 31d4d741f..14945b6af 100644 --- a/apps/explorer/components/OGImage/Preview.tsx +++ b/apps/explorer/components/OGImage/Preview.tsx @@ -4,10 +4,16 @@ import { Background } from './Background' import { cx } from 'class-variance-authority' import { network } from '../../config' +export type PreviewValue = { + label?: string + value: string + subvalue?: string +} + type Props = { title: string subtitle?: string - values?: { label?: string; value: string; subvalue?: string }[] + values?: PreviewValue[] } export function Preview({ title, subtitle, values }: Props) { diff --git a/apps/explorer/components/OGImageEntity/Preview.tsx b/apps/explorer/components/OGImageEntity/Preview.tsx index 76cf1b92c..3bed0668a 100644 --- a/apps/explorer/components/OGImageEntity/Preview.tsx +++ b/apps/explorer/components/OGImageEntity/Preview.tsx @@ -4,6 +4,7 @@ import { cx } from 'class-variance-authority' import { Background } from '../OGImage/Background' import { Header } from './Header' import { network } from '../../config' +import { PreviewValue } from '../OGImage/Preview' type Props = { id: string @@ -13,11 +14,7 @@ type Props = { initials: string status?: string statusColor?: string - values?: { - label?: string - value: string - subvalue?: string - }[] + values?: PreviewValue[] } export function Preview({ @@ -71,28 +68,29 @@ export function Preview({ siascan
-
-
- {values?.map(({ label, value, subvalue }) => ( -
- {value} - {subvalue && {subvalue}} - {label && {label}} -
- ))} -
-
+ {values && +
+
+ {values.map(({ label, value, subvalue }) => ( +
+ {value} + {subvalue && {subvalue}} + {label && {label}} +
+ ))} +
+
}
{ return getCacheValue( 'geoHosts', async () => { - const siaCentralHosts = await getSiaCentralHosts() - - if (!siaCentralHosts.data) { + const { data: siaCentralHosts, error } = await getSiaCentralHosts({ + params: { + limit: 300 + } + }) + if (error) { return [] } - const hosts = siaCentralHosts.data.hosts + const hosts = siaCentralHosts.hosts hosts.sort((a, b) => a.settings.total_storage - a.settings.remaining_storage < - b.settings.total_storage - a.settings.remaining_storage + b.settings.total_storage - a.settings.remaining_storage ? 1 : -1 ) @@ -40,9 +43,9 @@ export async function getGeoHosts(): Promise { for (const hostToDisplay of hostsToDisplay) { if ( Math.abs(hostToDisplay.location[0] - host.location[0]) < - minDegreesApart && + minDegreesApart && Math.abs(hostToDisplay.location[1] - host.location[1]) < - minDegreesApart + minDegreesApart ) { unique = false break diff --git a/apps/website/content/stats.ts b/apps/website/content/stats.ts index b981aac02..37e4e3db2 100644 --- a/apps/website/content/stats.ts +++ b/apps/website/content/stats.ts @@ -1,13 +1,12 @@ import { getBenchmarks, - getNavigatorStatus, getGitHub, - getSiaCentralHostsNetworkMetrics, } from '@siafoundation/data-sources' import { humanBytes, humanNumber, humanSpeed } from '@siafoundation/sia-js' import { AsyncReturnType } from '../lib/types' import { getCacheValue } from '../lib/cache' import { getMinutesInSeconds } from '../lib/time' +import { getSiaCentralBlockLatest, getSiaCentralHostsNetworkMetrics } from '@siafoundation/sia-central' const maxAge = getMinutesInSeconds(5) @@ -41,9 +40,9 @@ async function readStats() { } } - const [hostsStats, navigator, github, benchmarks] = await Promise.all([ + const [{ data: latestBlock }, { data: hostsStats }, github, benchmarks] = await Promise.all([ + getSiaCentralBlockLatest(), getSiaCentralHostsNetworkMetrics(), - getNavigatorStatus(), getGitHub(), getBenchmarks(), ]) @@ -51,23 +50,23 @@ async function readStats() { const stats = { // network - blockHeight: humanNumber(navigator.data?.consensusblock), - activeHosts: humanNumber(hostsStats.data?.totals.active_hosts), - onlineHosts: humanNumber(hostsStats.data?.totals.total_hosts), + blockHeight: humanNumber(latestBlock?.block.height), + activeHosts: humanNumber(hostsStats?.totals.active_hosts), + onlineHosts: humanNumber(hostsStats?.totals.total_hosts), // storage - totalStorage: humanBytes(hostsStats.data?.totals.total_storage), + totalStorage: humanBytes(hostsStats?.totals.total_storage), usedStorage: humanBytes( - hostsStats.data?.totals.total_storage - - hostsStats.data?.totals.remaining_storage + hostsStats?.totals.total_storage - + hostsStats?.totals.remaining_storage ), totalRegistry: humanNumber( - (hostsStats.data?.totals.total_registry_entries || 0) / 1_000_000, + (hostsStats?.totals.total_registry_entries || 0) / 1_000_000, { units: 'M' } ), usedRegistry: humanNumber( - ((hostsStats.data?.totals.total_registry_entries || 0) - - (hostsStats.data?.totals.remaining_registry_entries || 0)) / - 1_000_000, + ((hostsStats?.totals.total_registry_entries || 0) - + (hostsStats?.totals.remaining_registry_entries || 0)) / + 1_000_000, { units: 'M' } ), // software diff --git a/apps/website/next.config.js b/apps/website/next.config.js index e08c83995..5a888db07 100644 --- a/apps/website/next.config.js +++ b/apps/website/next.config.js @@ -41,6 +41,7 @@ const nextConfig = { return config }, + output: 'standalone', } const plugins = [withMDX, withNx] diff --git a/apps/website/pages/globe.tsx b/apps/website/pages/globe.tsx index 49bda47cb..1337bcd6e 100644 --- a/apps/website/pages/globe.tsx +++ b/apps/website/pages/globe.tsx @@ -12,11 +12,11 @@ export default function Globe({ hosts, rates }: Props) { export async function getStaticProps() { const hosts = await getGeoHosts() - const rates = await getExchangeRates() + const { data: rates } = await getExchangeRates() const props = { hosts, - rates: rates.data?.rates.sc, + rates: rates?.rates.sc, } return { diff --git a/apps/website/pages/grants/index.tsx b/apps/website/pages/grants/index.tsx index 5a846721f..12a1301ef 100644 --- a/apps/website/pages/grants/index.tsx +++ b/apps/website/pages/grants/index.tsx @@ -26,7 +26,7 @@ import { components } from '../../config/mdx' import { TableOfContents } from '../../components/TableOfContents' import { backgrounds, previews } from '../../content/assets' import { CalloutProject } from '../../components/CalloutProject' -import { getNotionPage } from '../../lib/notion' +import { getNotionPage } from '@siafoundation/data-sources' const title = 'Grants' const description = ( @@ -159,8 +159,8 @@ export default function Grants({
  • Submit your proposal at{' '} - - {webLinks.forumGrants} + + {webLinks.forumGrantsProposed} .
  • @@ -319,7 +319,7 @@ export default function Grants({ } actionTitle="Create a proposal" - actionLink={webLinks.forumGrants} + actionLink={webLinks.forumGrantsProposed} actionNewTab /> diff --git a/apps/website/pages/hosting-best-practices/index.tsx b/apps/website/pages/hosting-best-practices/index.tsx index 87f6f5707..34b92675a 100644 --- a/apps/website/pages/hosting-best-practices/index.tsx +++ b/apps/website/pages/hosting-best-practices/index.tsx @@ -10,7 +10,7 @@ import { MDXRemote } from 'next-mdx-remote' import { components } from '../../config/mdx' import { backgrounds, previews } from '../../content/assets' import { SectionTransparent } from '../../components/SectionTransparent' -import { getNotionPage } from '../../lib/notion' +import { getNotionPage } from '@siafoundation/data-sources' type Props = AsyncReturnType['props'] diff --git a/apps/website/pages/index.tsx b/apps/website/pages/index.tsx index 6220080f1..36f9e22de 100644 --- a/apps/website/pages/index.tsx +++ b/apps/website/pages/index.tsx @@ -281,7 +281,7 @@ export async function getStaticProps() { const featured = await getFeedContent(['sia-all', 'featured'], 5) const tutorials = await getTutorialArticles() const hosts = await getGeoHosts() - const rates = await getExchangeRates() + const { data: rates } = await getExchangeRates() const services = await getProjects('featured', 5) const stats = await getStats() @@ -289,7 +289,7 @@ export async function getStaticProps() { featured, tutorials, hosts, - rates: rates.data?.rates.sc, + rates: rates?.rates.sc, services, fallback: { '/api/stats': stats, diff --git a/apps/website/pages/letter/index.tsx b/apps/website/pages/letter/index.tsx index b4e4be514..38e77b5ee 100644 --- a/apps/website/pages/letter/index.tsx +++ b/apps/website/pages/letter/index.tsx @@ -9,7 +9,7 @@ import { MDXRemote } from 'next-mdx-remote' import { components } from '../../config/mdx' import { backgrounds, previews } from '../../content/assets' import { SectionTransparent } from '../../components/SectionTransparent' -import { getNotionPage } from '../../lib/notion' +import { getNotionPage } from '@siafoundation/data-sources' type Props = AsyncReturnType['props'] diff --git a/apps/website/pages/markdown/index.tsx b/apps/website/pages/markdown/index.tsx index c6c82fa96..028d019fe 100644 --- a/apps/website/pages/markdown/index.tsx +++ b/apps/website/pages/markdown/index.tsx @@ -10,7 +10,7 @@ import { MDXRemote } from 'next-mdx-remote' import { components } from '../../config/mdx' import { backgrounds, previews } from '../../content/assets' import { SectionTransparent } from '../../components/SectionTransparent' -import { getNotionPage } from '../../lib/notion' +import { getNotionPage } from '@siafoundation/data-sources' type Props = AsyncReturnType['props'] diff --git a/apps/website/pages/privacy-policy/index.tsx b/apps/website/pages/privacy-policy/index.tsx index f63b5caba..db063ec4a 100644 --- a/apps/website/pages/privacy-policy/index.tsx +++ b/apps/website/pages/privacy-policy/index.tsx @@ -10,7 +10,7 @@ import { MDXRemote } from 'next-mdx-remote' import { components } from '../../config/mdx' import { backgrounds, previews } from '../../content/assets' import { SectionTransparent } from '../../components/SectionTransparent' -import { getNotionPage } from '../../lib/notion' +import { getNotionPage } from '@siafoundation/data-sources' type Props = AsyncReturnType['props'] diff --git a/apps/website/pages/roadmap/index.tsx b/apps/website/pages/roadmap/index.tsx index 6e2db8c1f..114858ede 100644 --- a/apps/website/pages/roadmap/index.tsx +++ b/apps/website/pages/roadmap/index.tsx @@ -18,7 +18,7 @@ import { getPrs } from '../../content/prs' import { GitHubActivity } from '../../components/GitHubActivity' import { backgrounds, previews } from '../../content/assets' import { SectionTransparent } from '../../components/SectionTransparent' -import { getNotionPage } from '../../lib/notion' +import { getNotionPage } from '@siafoundation/data-sources' import { format } from 'date-fns' type Props = AsyncReturnType['props'] diff --git a/apps/website/pages/software/renterd.tsx b/apps/website/pages/software/renterd.tsx index df71c6eb0..7cc787a15 100644 --- a/apps/website/pages/software/renterd.tsx +++ b/apps/website/pages/software/renterd.tsx @@ -172,21 +172,21 @@ export default function Renterd({ version, technical, tutorials }: Props) { command: [ 'curl -X POST http://localhost:9980/api/worker/rhp/form --json \\', "'" + - JSON.stringify( - { - hostKey: - 'ed25519:878d7d27e75691aa8f554ecb4c3e0c371a2a2a3d0901fe77727b6df6c6a11a6a', - hostIP: '127.0.0.1:59868', - hostCollateral: '191285052982572071957200', - renterFunds: '16666666666666666666666666', - renterAddress: - 'addr:861c1574947689c04df41a987b3a6a0a44eef27bb4511f3d64d1531913ca26288a12efc3f227', - endHeight: 126, - }, - null, - 2 - ) + - "'", + JSON.stringify( + { + hostKey: + 'ed25519:878d7d27e75691aa8f554ecb4c3e0c371a2a2a3d0901fe77727b6df6c6a11a6a', + hostIP: '127.0.0.1:59868', + hostCollateral: '191285052982572071957200', + renterFunds: '16666666666666666666666666', + renterAddress: + 'addr:861c1574947689c04df41a987b3a6a0a44eef27bb4511f3d64d1531913ca26288a12efc3f227', + endHeight: 126, + }, + null, + 2 + ) + + "'", ], result: ['{ file contract transaction }'], }, diff --git a/apps/website/pages/terms-of-service/index.tsx b/apps/website/pages/terms-of-service/index.tsx index e300827b7..9d1f519b5 100644 --- a/apps/website/pages/terms-of-service/index.tsx +++ b/apps/website/pages/terms-of-service/index.tsx @@ -10,7 +10,7 @@ import { MDXRemote } from 'next-mdx-remote' import { components } from '../../config/mdx' import { backgrounds, previews } from '../../content/assets' import { SectionTransparent } from '../../components/SectionTransparent' -import { getNotionPage } from '../../lib/notion' +import { getNotionPage } from '@siafoundation/data-sources' type Props = AsyncReturnType['props'] diff --git a/apps/website/project.json b/apps/website/project.json index 28c410549..5629c77ff 100644 --- a/apps/website/project.json +++ b/apps/website/project.json @@ -6,9 +6,7 @@ "targets": { "build": { "executor": "@nx/next:build", - "outputs": [ - "{options.outputPath}" - ], + "outputs": ["{options.outputPath}"], "defaultConfiguration": "production", "options": { "outputPath": "dist/apps/website", @@ -23,10 +21,7 @@ }, "configurations": { "development": {}, - "production": {}, - "ci": { - "outputPath": "apps/website/dist" - } + "production": {} } }, "serve": { @@ -49,11 +44,29 @@ } } }, + "container": { + "executor": "@nx-tools/nx-container:build", + "dependsOn": ["build"], + "defaultConfiguration": "local", + "options": { + "engine": "docker", + "context": "./", + "file": "apps/website/Dockerfile" + }, + "configurations": { + "local": { + "tags": ["siafoundation/web-website:latest"], + "push": false + }, + "production": { + "tags": ["ghcr.io/siafoundation/web-website:latest"], + "push": true + } + } + }, "test": { "executor": "@nx/jest:jest", - "outputs": [ - "{workspaceRoot}/coverage/apps/website" - ], + "outputs": ["{workspaceRoot}/coverage/apps/website"], "options": { "jestConfig": "apps/website/jest.config.ts", "passWithNoTests": true @@ -61,13 +74,9 @@ }, "lint": { "executor": "@nx/linter:eslint", - "outputs": [ - "{options.outputFile}" - ], + "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": [ - "apps/website/**/*.{ts,tsx,js,jsx}" - ] + "lintFilePatterns": ["apps/website/**/*.{ts,tsx,js,jsx}"] } } }, diff --git a/hostd/assets/_next/static/chunks/framework-5bb4f355ac165f9a.js b/hostd/assets/_next/static/chunks/framework-5bb4f355ac165f9a.js index 1511f73e8..5ef3434f5 100644 --- a/hostd/assets/_next/static/chunks/framework-5bb4f355ac165f9a.js +++ b/hostd/assets/_next/static/chunks/framework-5bb4f355ac165f9a.js @@ -30,4 +30,4 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function t(e,n){var t=e.length;e.push(n);e:for(;0>>1,l=e[r];if(0>>1;ra(i,t))sa(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[o]=t,r=o);else if(sa(c,t))e[r]=c,e[s]=t,r=s;else break e}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g){if(null!==r(c))g=!0,M(x);else{var n=r(f);null!==n&&F(S,n.startTime-e)}}}function x(e,t){g=!1,v&&(v=!1,b(C),C=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!z());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&F(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,P=5,N=-1;function z(){return!(n.unstable_now()-Ne||125u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(C),C=-1):v=!0,F(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,M(x))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}},14616:function(e,n,t){e.exports=t(46475)}}]); \ No newline at end of file + */function t(e,n){var t=e.length;e.push(n);e:for(;0>>1,l=e[r];if(0>>1;ra(i,t))sa(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[o]=t,r=o);else if(sa(c,t))e[r]=c,e[s]=t,r=s;else break e}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g){if(null!==r(c))g=!0,M(x);else{var n=r(f);null!==n&&F(S,n.startTime-e)}}}function x(e,t){g=!1,v&&(v=!1,b(C),C=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!z());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&F(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,P=5,N=-1;function z(){return!(n.unstable_now()-Ne||125u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(C),C=-1):v=!0,F(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,M(x))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}},14616:function(e,n,t){e.exports=t(46475)}}]); diff --git a/hostd/assets/_next/static/chunks/pages/_app-45cb98909a56f421.js b/hostd/assets/_next/static/chunks/pages/_app-45cb98909a56f421.js index 0c1116a9c..33450bd16 100644 --- a/hostd/assets/_next/static/chunks/pages/_app-45cb98909a56f421.js +++ b/hostd/assets/_next/static/chunks/pages/_app-45cb98909a56f421.js @@ -1,20 +1,30 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{44711:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizeObserver:function(){return q},ResizeObserverEntry:function(){return S},ResizeObserverSize:function(){return c}});var r,i,o,a=[],s="ResizeObserver loop completed with undelivered notifications.",l=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:s}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=s),window.dispatchEvent(e)};(r=i||(i={})).BORDER_BOX="border-box",r.CONTENT_BOX="content-box",r.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var u=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,u(this)},f=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,u(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),d=function(e){return e instanceof SVGElement&&"getBBox"in e},h=function(e){if(d(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},p=function(e){if(e instanceof Element)return!0;var t,n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},v=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},m="undefined"!=typeof window?window:{},g=new WeakMap,y=/auto|scroll/,b=/^tb|vertical/,x=/msie|trident/i.test(m.navigator&&m.navigator.userAgent),w=function(e){return parseFloat(e||"0")},_=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},E=u({devicePixelContentBoxSize:_(),borderBoxSize:_(),contentBoxSize:_(),contentRect:new f(0,0,0,0)}),k=function(e,t){if(void 0===t&&(t=!1),g.has(e)&&!t)return g.get(e);if(h(e))return g.set(e,E),E;var n=getComputedStyle(e),r=d(e)&&e.ownerSVGElement&&e.getBBox(),i=!x&&"border-box"===n.boxSizing,o=b.test(n.writingMode||""),a=!r&&y.test(n.overflowY||""),s=!r&&y.test(n.overflowX||""),l=r?0:w(n.paddingTop),c=r?0:w(n.paddingRight),p=r?0:w(n.paddingBottom),v=r?0:w(n.paddingLeft),m=r?0:w(n.borderTopWidth),k=r?0:w(n.borderRightWidth),j=r?0:w(n.borderBottomWidth),S=r?0:w(n.borderLeftWidth),O=v+c,C=l+p,A=S+k,T=m+j,M=s?e.offsetHeight-T-e.clientHeight:0,P=a?e.offsetWidth-A-e.clientWidth:0,N=r?r.width:w(n.width)-(i?O+A:0)-P,R=r?r.height:w(n.height)-(i?C+T:0)-M,D=u({devicePixelContentBoxSize:_(Math.round(N*devicePixelRatio),Math.round(R*devicePixelRatio),o),borderBoxSize:_(N+O+P+A,R+C+M+T,o),contentBoxSize:_(N,R,o),contentRect:new f(v,l,N,R)});return g.set(e,D),D},j=function(e,t,n){var r=k(e,n),o=r.borderBoxSize,a=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case i.DEVICE_PIXEL_CONTENT_BOX:return s;case i.BORDER_BOX:return o;default:return a}},S=function(e){var t=k(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=u([t.borderBoxSize]),this.contentBoxSize=u([t.contentBoxSize]),this.devicePixelContentBoxSize=u([t.devicePixelContentBoxSize])},O=function(e){if(h(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},C=function(){var e=1/0,t=[];a.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new S(t.target),i=O(t.target);r.push(n),t.lastReportedSize=j(t.target,t.observedBox),ie?t.activeTargets.push(n):t.skippedTargets.push(n))})})},T=function(){var e=0;for(A(0);a.some(function(e){return e.activeTargets.length>0});)A(e=C());return a.some(function(e){return e.skippedTargets.length>0})&&l(),e>0},M=[],P=function(e){if(!o){var t=0,n=document.createTextNode("");new MutationObserver(function(){return M.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),o=function(){n.textContent=""+(t?t--:t++)}}M.push(e),o()},N=function(e){P(function(){requestAnimationFrame(e)})},R=0,D={attributes:!0,characterData:!0,childList:!0,subtree:!0},L=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],F=function(e){return void 0===e&&(e=0),Date.now()+e},I=!1,z=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!I){I=!0;var n=F(e);N(function(){var r=!1;try{r=T()}finally{if(I=!1,e=n-F(),!R)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,D)};document.body?t():m.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),L.forEach(function(t){return m.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),L.forEach(function(t){return m.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),V=function(e){!R&&e>0&&z.start(),(R+=e)||z.stop()},B=function(){function e(e,t){this.target=e,this.observedBox=t||i.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=j(this.target,this.observedBox,!0);return d(e=this.target)||v(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Z=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},U=new WeakMap,H=function(e,t){for(var n=0;nH(r.observationTargets,t)&&(i&&a.push(r),r.observationTargets.push(new B(t,n&&n.box)),V(1),z.schedule())},e.unobserve=function(e,t){var n=U.get(e),r=H(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&a.splice(a.indexOf(n),1),n.observationTargets.splice(r,1),V(-1))},e.disconnect=function(e){var t=this,n=U.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),q=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},41816:function(e,t,n){"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}n.d(t,{M:function(){return r}})},26215:function(e,t,n){"use strict";n.d(t,{F:function(){return i},e:function(){return o}});var r=n(2784);function i(...e){return t=>e.forEach(e=>{var n;"function"==typeof(n=e)?n(t):null!=n&&(n.current=t)})}function o(...e){return(0,r.useCallback)(i(...e),e)}},34540:function(e,t,n){"use strict";n.d(t,{b:function(){return o},k:function(){return i}});var r=n(2784);function i(e,t){let n=(0,r.createContext)(t);function i(e){let{children:t,...i}=e,o=(0,r.useMemo)(()=>i,Object.values(i));return(0,r.createElement)(n.Provider,{value:o},t)}return i.displayName=e+"Provider",[i,function(i){let o=(0,r.useContext)(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>(0,r.createContext)(e));return function(n){let i=(null==n?void 0:n[e])||t;return(0,r.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=(0,r.createContext)(i),a=n.length;function s(t){let{scope:n,children:i,...s}=t,l=(null==n?void 0:n[e][a])||o,u=(0,r.useMemo)(()=>s,Object.values(s));return(0,r.createElement)(l.Provider,{value:u},i)}return n=[...n,i],s.displayName=t+"Provider",[s,function(n,s){let l=(null==s?void 0:s[e][a])||o,u=(0,r.useContext)(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e),o=i[`__scope${r}`];return{...t,...o}},{});return(0,r.useMemo)(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}},72331:function(e,t,n){"use strict";n.d(t,{Dx:function(){return K},VY:function(){return G},aV:function(){return Y},dk:function(){return X},fC:function(){return W},h_:function(){return $},x8:function(){return Q},xz:function(){return q}});var r=n(7896),i=n(2784),o=n(41816),a=n(26215),s=n(34540),l=n(26074),u=n(73597),c=n(83317),f=n(77334),d=n(6500),h=n(28245),p=n(72130),v=n(55070),m=n(70506),g=n(49732),y=n(99575);let b="Dialog",[x,w]=(0,s.b)(b),[_,E]=x(b),k=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,c=(0,i.useRef)(null),f=(0,i.useRef)(null),[d=!1,h]=(0,u.T)({prop:r,defaultProp:o,onChange:a});return(0,i.createElement)(_,{scope:t,triggerRef:c,contentRef:f,contentId:(0,l.M)(),titleId:(0,l.M)(),descriptionId:(0,l.M)(),open:d,onOpenChange:h,onOpenToggle:(0,i.useCallback)(()=>h(e=>!e),[h]),modal:s},n)},j=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,...s}=e,l=E("DialogTrigger",n),u=(0,a.e)(t,l.triggerRef);return(0,i.createElement)(p.WV.button,(0,r.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":Z(l.open)},s,{ref:u,onClick:(0,o.M)(e.onClick,l.onOpenToggle)}))}),S="DialogPortal",[O,C]=x(S,{forceMount:void 0}),A=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=E(S,t);return(0,i.createElement)(O,{scope:t,forceMount:n},i.Children.map(r,e=>(0,i.createElement)(h.z,{present:n||a.open},(0,i.createElement)(d.h,{asChild:!0,container:o},e))))},T="DialogOverlay",M=(0,i.forwardRef)((e,t)=>{let n=C(T,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,s=E(T,e.__scopeDialog);return s.modal?(0,i.createElement)(h.z,{present:o||s.open},(0,i.createElement)(P,(0,r.Z)({},a,{ref:t}))):null}),P=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,...o}=e,a=E(T,n);return(0,i.createElement)(m.Z,{as:y.g7,allowPinchZoom:!0,shards:[a.contentRef]},(0,i.createElement)(p.WV.div,(0,r.Z)({"data-state":Z(a.open)},o,{ref:t,style:{pointerEvents:"auto",...o.style}})))}),N="DialogContent",R=(0,i.forwardRef)((e,t)=>{let n=C(N,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,s=E(N,e.__scopeDialog);return(0,i.createElement)(h.z,{present:o||s.open},s.modal?(0,i.createElement)(D,(0,r.Z)({},a,{ref:t})):(0,i.createElement)(L,(0,r.Z)({},a,{ref:t})))}),D=(0,i.forwardRef)((e,t)=>{let n=E(N,e.__scopeDialog),s=(0,i.useRef)(null),l=(0,a.e)(t,n.contentRef,s);return(0,i.useEffect)(()=>{let e=s.current;if(e)return(0,g.R)(e)},[]),(0,i.createElement)(F,(0,r.Z)({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;r&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())}))}),L=(0,i.forwardRef)((e,t)=>{let n=E(N,e.__scopeDialog),o=(0,i.useRef)(!1);return(0,i.createElement)(F,(0,r.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0);let a=t.target,s=null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(a);s&&t.preventDefault()}}))}),F=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:l,...u}=e,d=E(N,n),h=(0,i.useRef)(null),p=(0,a.e)(t,h);return(0,v.EW)(),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(f.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:s,onUnmountAutoFocus:l},(0,i.createElement)(c.XB,(0,r.Z)({role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Z(d.open)},u,{ref:p,onDismiss:()=>d.onOpenChange(!1)}))),!1)}),I="DialogTitle",z=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,...o}=e,a=E(I,n);return(0,i.createElement)(p.WV.h2,(0,r.Z)({id:a.titleId},o,{ref:t}))}),V=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,...o}=e,a=E("DialogDescription",n);return(0,i.createElement)(p.WV.p,(0,r.Z)({id:a.descriptionId},o,{ref:t}))}),B=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:n,...a}=e,s=E("DialogClose",n);return(0,i.createElement)(p.WV.button,(0,r.Z)({type:"button"},a,{ref:t,onClick:(0,o.M)(e.onClick,()=>s.onOpenChange(!1))}))});function Z(e){return e?"open":"closed"}let[U,H]=(0,s.k)("DialogTitleWarning",{contentName:N,titleName:I,docsSlug:"dialog"}),W=k,q=j,$=A,Y=M,G=R,K=z,X=V,Q=B},83317:function(e,t,n){"use strict";let r;n.d(t,{XB:function(){return d}});var i=n(7896),o=n(2784),a=n(41816),s=n(72130),l=n(26215),u=n(86029);let c="dismissableLayer.update",f=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=(0,o.forwardRef)((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:d,onPointerDownOutside:v,onFocusOutside:m,onInteractOutside:g,onDismiss:y,...b}=e,x=(0,o.useContext)(f),[w,_]=(0,o.useState)(null),[,E]=(0,o.useState)({}),k=(0,l.e)(t,e=>_(e)),j=Array.from(x.layers),[S]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),O=j.indexOf(S),C=w?j.indexOf(w):-1,A=x.layersWithOutsidePointerEventsDisabled.size>0,T=C>=O,M=function(e){let t=(0,u.W)(e),n=(0,o.useRef)(!1),r=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>{let e=e=>{if(e.target&&!n.current){let i={originalEvent:e};function o(){p("dismissableLayer.pointerDownOutside",t,i,{discrete:!0})}"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));!T||n||(null==v||v(e),null==g||g(e),e.defaultPrevented||null==y||y())}),P=function(e){let t=(0,u.W)(e),n=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{e.target&&!n.current&&p("dismissableLayer.focusOutside",t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),()=>document.removeEventListener("focusin",e)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));n||(null==m||m(e),null==g||g(e),e.defaultPrevented||null==y||y())});return!function(e){let t=(0,u.W)(e);(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[t])}(e=>{let t=C===x.layers.size-1;t&&(null==d||d(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))}),(0,o.useEffect)(()=>{if(w)return n&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(w)),x.layers.add(w),h(),()=>{n&&1===x.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=r)}},[w,n,x]),(0,o.useEffect)(()=>()=>{w&&(x.layers.delete(w),x.layersWithOutsidePointerEventsDisabled.delete(w),h())},[w,x]),(0,o.useEffect)(()=>{let e=()=>E({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,o.createElement)(s.WV.div,(0,i.Z)({},b,{ref:k,style:{pointerEvents:A?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.M)(e.onFocusCapture,P.onFocusCapture),onBlurCapture:(0,a.M)(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:(0,a.M)(e.onPointerDownCapture,M.onPointerDownCapture)}))});function h(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,s.jH)(i,o):i.dispatchEvent(o)}},55070:function(e,t,n){"use strict";n.d(t,{EW:function(){return o}});var r=n(2784);let i=0;function o(){(0,r.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:a()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:a()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}},77334:function(e,t,n){"use strict";let r;n.d(t,{M:function(){return d}});var i=n(7896),o=n(2784),a=n(26215),s=n(72130),l=n(86029);let u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},d=(0,o.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:d,onUnmountAutoFocus:g,...y}=e,[b,x]=(0,o.useState)(null),w=(0,l.W)(d),_=(0,l.W)(g),E=(0,o.useRef)(null),k=(0,a.e)(t,e=>x(e)),j=(0,o.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,o.useEffect)(()=>{if(r){function e(e){if(j.paused||!b)return;let t=e.target;b.contains(t)?E.current=t:v(E.current,{select:!0})}function t(e){j.paused||!b||b.contains(e.relatedTarget)||v(E.current,{select:!0})}return document.addEventListener("focusin",e),document.addEventListener("focusout",t),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}},[r,b,j.paused]),(0,o.useEffect)(()=>{if(b){m.add(j);let e=document.activeElement,t=b.contains(e);if(!t){let n=new CustomEvent(u,f);b.addEventListener(u,w),b.dispatchEvent(n),n.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(v(r,{select:t}),document.activeElement!==n)return}(h(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(b))}return()=>{b.removeEventListener(u,w),setTimeout(()=>{let t=new CustomEvent(c,f);b.addEventListener(c,_),b.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),b.removeEventListener(c,_),m.remove(j)},0)}}},[b,w,_,j]);let S=(0,o.useCallback)(e=>{if(!n&&!r||j.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let o=e.currentTarget,[a,s]=function(e){let t=h(e),n=p(t,e),r=p(t.reverse(),e);return[n,r]}(o);a&&s?e.shiftKey||i!==s?e.shiftKey&&i===a&&(e.preventDefault(),n&&v(s,{select:!0})):(e.preventDefault(),n&&v(a,{select:!0})):i===o&&e.preventDefault()}},[n,r,j.paused]);return(0,o.createElement)(s.WV.div,(0,i.Z)({tabIndex:-1},y,{ref:k,onKeyDown:S}))});function h(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function v(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let m=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=g(r,e)).unshift(e)},remove(e){var t;null===(t=(r=g(r,e))[0])||void 0===t||t.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},26074:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(2784),o=n(64680);let a=(r||(r=n.t(i,2)))["useId".toString()]||(()=>void 0),s=0;function l(e){let[t,n]=i.useState(a());return(0,o.b)(()=>{e||n(e=>null!=e?e:String(s++))},[e]),e||(t?`radix-${t}`:"")}},6500:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(7896),i=n(2784),o=n(28316),a=n(72130);let s=(0,i.forwardRef)((e,t)=>{var n;let{container:s=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...l}=e;return s?o.createPortal((0,i.createElement)(a.WV.div,(0,r.Z)({},l,{ref:t})),s):null})},28245:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(2784),i=n(28316),o=n(26215),a=n(64680);let s=e=>{let{present:t,children:n}=e,s=function(e){var t;let[n,o]=(0,r.useState)(),s=(0,r.useRef)({}),u=(0,r.useRef)(e),c=(0,r.useRef)("none"),[f,d]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},e?"mounted":"unmounted"));return(0,r.useEffect)(()=>{let e=l(s.current);c.current="mounted"===f?e:"none"},[f]),(0,a.b)(()=>{let t=s.current,n=u.current;if(n!==e){let r=c.current,i=l(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=e}},[e,d]),(0,a.b)(()=>{if(n){let e=e=>{let t=l(s.current),r=t.includes(e.animationName);e.target===n&&r&&(0,i.flushSync)(()=>d("ANIMATION_END"))},t=e=>{e.target===n&&(c.current=l(s.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:(0,r.useCallback)(e=>{e&&(s.current=getComputedStyle(e)),o(e)},[])}}(t),u="function"==typeof n?n({present:s.isPresent}):r.Children.only(n),c=(0,o.e)(s.ref,u.ref);return"function"==typeof n||s.isPresent?(0,r.cloneElement)(u,{ref:c}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}s.displayName="Presence"},72130:function(e,t,n){"use strict";n.d(t,{WV:function(){return s},jH:function(){return l}});var r=n(7896),i=n(2784),o=n(28316),a=n(99575);let s=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,i.forwardRef)((e,n)=>{let{asChild:o,...s}=e,l=o?a.g7:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(l,(0,r.Z)({},s,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l(e,t){e&&(0,o.flushSync)(()=>e.dispatchEvent(t))}},99575:function(e,t,n){"use strict";n.d(t,{A4:function(){return l},g7:function(){return a}});var r=n(7896),i=n(2784),o=n(26215);let a=(0,i.forwardRef)((e,t)=>{let{children:n,...o}=e,a=i.Children.toArray(n),l=a.find(u);if(l){let c=l.props.children,f=a.map(e=>e!==l?e:i.Children.count(c)>1?i.Children.only(null):(0,i.isValidElement)(c)?c.props.children:null);return(0,i.createElement)(s,(0,r.Z)({},o,{ref:t}),(0,i.isValidElement)(c)?(0,i.cloneElement)(c,void 0,f):null)}return(0,i.createElement)(s,(0,r.Z)({},o,{ref:t}),n)});a.displayName="Slot";let s=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?n[r]=(...e)=>{null==o||o(...e),null==i||i(...e)}:"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:(0,o.F)(t,n.ref)}):i.Children.count(n)>1?i.Children.only(null):null});s.displayName="SlotClone";let l=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function u(e){return(0,i.isValidElement)(e)&&e.type===l}},86029:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(2784);function i(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e}),(0,r.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}},73597:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(2784),i=n(86029);function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,a]=function({defaultProp:e,onChange:t}){let n=(0,r.useState)(e),[o]=n,a=(0,r.useRef)(o),s=(0,i.W)(t);return(0,r.useEffect)(()=>{a.current!==o&&(s(o),a.current=o)},[o,a,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,l=(0,i.W)(n),u=(0,r.useCallback)(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&l(n)}else a(t)},[s,e,a,l]);return[s?e:o,u]}},64680:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(2784);let i=Boolean(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}},25447:function(e,t,n){"use strict";e.exports=n(44868)},99550:function(e,t,n){"use strict";e.exports=n(22360)},6901:function(e,t,n){"use strict";e.exports=n(78476)},8669:function(e,t,n){"use strict";e.exports=n(19455)},53609:function(e,t,n){"use strict";e.exports=n(96721)},30195:function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},81401:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.children,n=void 0===t?s.default:t,p=e.axisClassName,m=e.hideAxisLine,g=e.hideTicks,y=e.hideZero,b=void 0!==y&&y,x=e.left,w=e.numTicks,_=void 0===w?10:w,E=e.orientation,k=void 0===E?f.default.bottom:E,j=e.rangePadding,S=void 0===j?0:j,O=e.scale,C=e.tickFormat,A=e.tickLength,T=void 0===A?8:A,M=e.tickValues,P=e.top,N=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,h),R=null!=C?C:(0,u.default)(O),D=k===f.default.left,L=k===f.default.top,F=L||k===f.default.bottom,I=(0,l.default)(O),z=D||L?-1:1,V=O.range(),B=(0,d.default)(S),Z=(0,c.default)({x:Number(V[0])+.5-B.start,y:0},F),U=(0,c.default)({x:Number(V[V.length-1])+.5+B.end,y:0},F),H=(null!=M?M:(0,a.getTicks)(O,_)).filter(function(e){return!b||0!==e&&"0"!==e}).map(function(e,t){return{value:e,index:t}}),W=H.map(function(e){var t=e.value,n=e.index,r=(0,a.coerceNumber)(I(t));return{value:t,index:n,from:(0,c.default)({x:r,y:0},F),to:(0,c.default)({x:r,y:T*z},F),formattedValue:R(t,n,H)}});return r.default.createElement(o.Group,{className:(0,i.default)("visx-axis",p),top:void 0===P?0:P,left:void 0===x?0:x},n(v({},N,{axisFromPoint:Z,axisToPoint:U,hideAxisLine:void 0!==m&&m,hideTicks:void 0!==g&&g,hideZero:b,horizontal:F,numTicks:_,orientation:k,rangePadding:S,scale:O,tickFormat:R,tickLength:T,tickPosition:I,tickSign:z,ticks:W})))},p(n(13980));var r=p(n(2784)),i=p(n(72779)),o=n(71602),a=n(63243),s=p(n(58052)),l=p(n(71387)),u=p(n(16882)),c=p(n(89591)),f=p(n(87209)),d=p(n(31863)),h=["children","axisClassName","hideAxisLine","hideTicks","hideZero","left","numTicks","orientation","rangePadding","scale","tickFormat","tickLength","tickValues","top"];function p(e){return e&&e.__esModule?e:{default:e}}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s);return r.default.createElement(o.default,u({axisClassName:(0,i.default)("visx-axis-bottom",t),labelOffset:void 0===n?8:n,orientation:a.default.bottom,tickLabelProps:void 0===l?c:l,tickLength:void 0===f?8:f},d))};var r=l(n(2784)),i=l(n(72779)),o=l(n(81401)),a=l(n(87209)),s=["axisClassName","labelOffset","tickLabelProps","tickLength"];function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s);return r.default.createElement(o.default,u({axisClassName:(0,i.default)("visx-axis-left",t),labelOffset:void 0===n?36:n,orientation:a.default.left,tickLabelProps:void 0===l?c:l,tickLength:void 0===f?8:f},d))},t.leftTickLabelProps=void 0;var r=l(n(2784)),i=l(n(72779)),o=l(n(81401)),a=l(n(87209)),s=["axisClassName","labelOffset","tickLabelProps","tickLength"];function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s);return r.default.createElement(o.default,u({axisClassName:(0,i.default)("visx-axis-right",t),labelOffset:void 0===n?36:n,orientation:a.default.right,tickLabelProps:void 0===l?c:l,tickLength:void 0===f?8:f},d))},t.rightTickLabelProps=void 0;var r=l(n(2784)),i=l(n(72779)),o=l(n(81401)),a=l(n(87209)),s=["axisClassName","labelOffset","tickLabelProps","tickLength"];function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s);return r.default.createElement(o.default,u({axisClassName:(0,i.default)("visx-axis-top",t),labelOffset:void 0===n?8:n,orientation:a.default.top,tickLabelProps:void 0===l?c:l,tickLength:void 0===f?8:f},d))},t.topTickLabelProps=void 0;var r=l(n(2784)),i=l(n(72779)),o=l(n(81401)),a=l(n(87209)),s=["axisClassName","labelOffset","tickLabelProps","tickLength"];function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(r=a()).done;){var s=r.value,l=Math.sqrt(Math.pow(s.x-e.x,2)+Math.pow(s.y-e.y,2));l0)?(0,i.default)(e,t):{x:(0,r.default)(e.x,null!=(o=n.xMin)?o:-1/0,null!=(a=n.xMax)?a:1/0),y:(0,r.default)(e.y,null!=(s=n.yMin)?s:-1/0,null!=(l=n.yMax)?l:1/0)}};var r=o(n(30968)),i=o(n(98929));function o(e){return e&&e.__esModule?e:{default:e}}},32722:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return(0,r.useMemo)(function(){if(!e)return[];var t=e.getCTM()||new DOMMatrix;return function(e,t,n){if(void 0===n&&(n=1),!e)return[];for(var r=[],i=e.getTotalLength(),o=0;o<=i;o+=n){var a=e.getPointAtLength(o).matrixTransform(t);r.push(a)}return r}(e,t)},[null==e?void 0:e.getTotalLength()])};var r=n(2784)},37016:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=(0,r.useState)(e),n=t[0],i=t[1],o=(0,r.useRef)(null),a=(0,r.useCallback)(function(e,t){o.current=t||null,i(e)},[i]);return(0,r.useLayoutEffect)(function(){o.current&&(o.current(n),o.current=null)},[n]),[n,a]};var r=n(2784)},65319:function(e,t,n){"use strict";n.r(t),n.d(t,{localPoint:function(){return r.Z},touchPoint:function(){return i.Z}});var r=n(91032),i=n(49833)},91032:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(49833),i=n(44321);function o(e,t){if((0,i.kK)(e)&&t)return(0,r.Z)(e,t);if((0,i.cO)(e)){var n=e.target;if(n)return(0,r.Z)(n,e)}return null}},49833:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(19067),i=n(44321);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:o({},a);if((0,i.N5)(e))return{x:e.clientX,y:e.clientY};var t=null==e?void 0:e.target,n=t&&"getBoundingClientRect"in t?t.getBoundingClientRect():null;return n?{x:n.x+n.width/2,y:n.y+n.height/2}:o({},a)}(t),s=(0,i.vZ)(e)?e.ownerSVGElement:e,l=(0,i.DY)(s)?s.getScreenCTM():null;if((0,i.r4)(s)&&l){var u=s.createSVGPoint();return u.x=n.x,u.y=n.y,u=u.matrixTransform(l.inverse()),new r.Z({x:u.x,y:u.y})}var c=e.getBoundingClientRect();return new r.Z({x:n.x-c.left-e.clientLeft,y:n.y-c.top-e.clientTop})}},44321:function(e,t,n){"use strict";function r(e){return!!e&&e instanceof Element}function i(e){return!!e&&(e instanceof SVGElement||"ownerSVGElement"in e)}function o(e){return!!e&&"createSVGPoint"in e}function a(e){return!!e&&"getScreenCTM"in e}function s(e){return!!e&&"changedTouches"in e}function l(e){return!!e&&"clientX"in e}function u(e){return!!e&&(e instanceof Event||"nativeEvent"in e&&e.nativeEvent instanceof Event)}n.d(t,{DY:function(){return a},N5:function(){return l},cO:function(){return u},kK:function(){return r},r4:function(){return o},vZ:function(){return i},z6:function(){return s}})},21516:function(e,t,n){"use strict";t.__esModule=!0,t.default=p;var r=d(n(13980)),i=d(n(2784)),o=d(n(72779)),a=d(n(47440)),s=n(71602),l=n(61305),u=n(63243),c=d(n(12345)),f=["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues","children"];function d(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,f),S=null!=E?E:(0,u.getTicks)(r,void 0===x?10:x),O=(null!=_?_:0)+(0,c.default)(r)/2,C=S.map(function(e,t){var n,i=(null!=(n=(0,u.coerceNumber)(r(e)))?n:0)+O;return{index:t,from:new l.Point({x:i,y:0}),to:new l.Point({x:i,y:d})}});return i.default.createElement(s.Group,{className:(0,o.default)("visx-columns",b),top:void 0===t?0:t,left:void 0===n?0:n},k?k({lines:C}):C.map(function(e){var t=e.from,n=e.to,r=e.index;return i.default.createElement(a.default,h({key:"column-line-"+r,from:t,to:n,stroke:v,strokeWidth:g,strokeDasharray:y,style:w},j))}))}p.propTypes={tickValues:r.default.array,height:r.default.number.isRequired}},34264:function(e,t,n){"use strict";t.__esModule=!0,t.default=p;var r=d(n(13980)),i=d(n(2784)),o=d(n(72779)),a=d(n(47440)),s=n(71602),l=n(61305),u=n(63243),c=d(n(12345)),f=["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","children","numTicks","lineStyle","offset","tickValues"];function d(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,f),S=null!=k?k:(0,u.getTicks)(r,void 0===w?10:w),O=(null!=E?E:0)+(0,c.default)(r)/2,C=S.map(function(e,t){var n,i=(null!=(n=(0,u.coerceNumber)(r(e)))?n:0)+O;return{index:t,from:new l.Point({x:0,y:i}),to:new l.Point({x:d,y:i})}});return i.default.createElement(s.Group,{className:(0,o.default)("visx-rows",b),top:void 0===t?0:t,left:void 0===n?0:n},x?x({lines:C}):C.map(function(e){var t=e.from,n=e.to,r=e.index;return i.default.createElement(a.default,h({key:"row-line-"+r,from:t,to:n,stroke:v,strokeWidth:g,strokeDasharray:y,style:_},j))}))}p.propTypes={tickValues:r.default.array,width:r.default.number.isRequired}},12345:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){return"bandwidth"in e?e.bandwidth():0}},59309:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(13980),i=n.n(r),o=n(2784),a=n(72779),s=n.n(a),l=["top","left","transform","className","children","innerRef"];function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,l);return o.createElement("g",u({ref:c,className:s()("visx-group",i),transform:r||"translate("+(void 0===n?0:n)+", "+(void 0===t?0:t)+")"},f),a)}c.propTypes={top:i().number,left:i().number,transform:i().string,className:i().string,children:i().node,innerRef:i().oneOfType([i().string,i().func,i().object])}},71602:function(e,t,n){"use strict";n.r(t),n.d(t,{Group:function(){return r.Z}});var r=n(59309)},19067:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(){function e(e){var t=e.x,n=e.y;this.x=0,this.y=0,this.x=void 0===t?0:t,this.y=void 0===n?0:n}var t=e.prototype;return t.value=function(){return{x:this.x,y:this.y}},t.toArray=function(){return[this.x,this.y]},e}()},61305:function(e,t,n){"use strict";n.r(t),n.d(t,{Point:function(){return r.Z},subtractPoints:function(){return o},sumPoints:function(){return i}});var r=n(19067);function i(e,t){return new r.Z({x:e.x+t.x,y:e.y+t.y})}function o(e,t){return new r.Z({x:e.x-t.x,y:e.y-t.y})}},93125:function(e,t,n){"use strict";t.Z=function(e){var t=e.animationTrajectory,n=e.tickComponent,s=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,a),l=(0,r.useMemo)(function(){return function(e){return r.default.createElement(o.default,u({},e,{tickComponent:n,animationTrajectory:t}))}},[t,n]);return r.default.createElement(i.default,u({},s,{ticksComponent:l}))},l(n(13980));var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(2784)),i=l(n(81401)),o=l(n(65154)),a=["animationTrajectory","tickComponent"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,a);return r.default.createElement(i.default,{scale:t,height:n,numTicks:s,tickValues:u,className:c,top:d,left:h},function(e){var n=e.lines;return r.default.createElement(o.default,l({scale:t,lines:n,animationTrajectory:f,animateXOrY:"x",lineKey:function(e){var t,n;return"column-"+(null!=(t=null==e?void 0:null==(n=e.from)?void 0:n.x)?t:"")+"-"+e.index}},p))})};var r=s(n(2784)),i=s(n(21516)),o=s(n(55727)),a=["scale","height","numTicks","tickValues","offset","className","animationTrajectory","top","left"];function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s),h=(0,o.useTransition)(n,u({},(0,a.default)({scale:t,animateXOrY:l,animationTrajectory:r}),{key:c}));return i.default.createElement(i.default.Fragment,null,h(function(e,t,n){var r=e.fromX,a=e.toX,s=e.fromY,l=e.toY,c=e.opacity,h=n.key;return i.default.createElement(o.animated.line,u({key:h,x1:r,x2:a,y1:s,y2:l,strokeOpacity:c,style:f},d))}))}c.propTypes={lineKey:r.default.func.isRequired}},93353:function(e,t,n){"use strict";t.Z=function(e){var t=e.scale,n=e.width,s=e.numTicks,u=e.tickValues,c=(e.offset,e.className),f=e.animationTrajectory,d=e.top,h=e.left,p=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,a);return r.default.createElement(i.default,{scale:t,width:n,numTicks:s,tickValues:u,className:c,top:d,left:h},function(e){var n=e.lines;return r.default.createElement(o.default,l({scale:t,lines:n,animationTrajectory:f,animateXOrY:"y",lineKey:function(e){var t,n;return"row-"+(null!=(t=null==e?void 0:null==(n=e.from)?void 0:n.y)?t:"")+"-"+e.index}},p))})};var r=s(n(2784)),i=s(n(34264)),o=s(n(55727)),a=["scale","width","numTicks","tickValues","offset","className","animationTrajectory","top","left"];function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s),g=(0,o.useRef)(null),y=(0,o.useRef)(0),b=(0,o.useState)({width:0,height:0,top:0,left:0}),x=b[0],w=b[1],_=(0,o.useMemo)(function(){var e=Array.isArray(d)?d:[d];return(0,i.default)(function(t){w(function(n){return Object.keys(n).filter(function(e){return n[e]!==t[e]}).every(function(t){return e.includes(t)})?n:t})},l,{leading:v})},[l,v,d]);return(0,o.useEffect)(function(){var e=new a.ResizeObserver(function(e){void 0===e&&(e=[]),e.forEach(function(e){var t=e.contentRect,n=t.left,r=t.top,i=t.width,o=t.height;y.current=window.requestAnimationFrame(function(){_({width:i,height:o,top:r,left:n})})})});return g.current&&e.observe(g.current),function(){window.cancelAnimationFrame(y.current),e.disconnect(),null!=_&&_.cancel&&_.cancel()}},[_]),o.default.createElement("div",c({style:void 0===h?{width:"100%",height:"100%"}:h,ref:g,className:t},m),n(c({},x,{ref:g.current,resize:_})))}d.propTypes={className:r.default.string,debounceTime:r.default.number,enableDebounceLeadingCall:r.default.bool,ignoreDimensions:r.default.oneOfType([r.default.any,r.default.arrayOf(r.default.any)]),children:r.default.func.isRequired}},2663:function(e,t,n){"use strict";var r=n(8597),i=n(12430),o=n(70590),a=n(50630),s=n(34278),l=n(64183),u=n(61662),c=n(43634),f=n(73335),d=n(54229),h=n(30558),p=n(71646),v=n(26587);t.Z=function(e){if(void 0!==e&&"type"in e)switch(e.type){case"linear":break;case"log":return(0,i.Z)(e);case"pow":return(0,o.Z)(e);case"sqrt":return(0,a.Z)(e);case"symlog":return(0,s.Z)(e);case"time":return(0,l.Z)(e);case"utc":return(0,u.Z)(e);case"quantile":return(0,c.Z)(e);case"quantize":return(0,f.Z)(e);case"threshold":return(0,d.Z)(e);case"ordinal":return(0,h.Z)(e);case"point":return(0,p.Z)(e);case"band":return(0,v.Z)(e)}return(0,r.Z)(e)}},63243:function(e,t,n){"use strict";n.r(t),n.d(t,{coerceNumber:function(){return j.Z},createScale:function(){return x.Z},getTicks:function(){return S.Z},inferScaleType:function(){return k},scaleBand:function(){return r.Z},scaleCanBeZeroed:function(){return C.Z},scaleLinear:function(){return o.Z},scaleLog:function(){return d.Z},scaleOrdinal:function(){return p.Z},scalePoint:function(){return i.Z},scalePower:function(){return h.Z},scaleQuantile:function(){return m.Z},scaleQuantize:function(){return v.Z},scaleRadial:function(){return u},scaleSqrt:function(){return b.Z},scaleSymlog:function(){return g.Z},scaleThreshold:function(){return y.Z},scaleTime:function(){return c.Z},scaleUtc:function(){return f.Z},toString:function(){return O.Z},updateScale:function(){return _}});var r=n(26587),i=n(71646),o=n(8597),a=n(19637),s=n(25176),l=(0,s.Z)("domain","range","clamp","nice","round","unknown");function u(e){return l((0,a.Z)(),e)}var c=n(64183),f=n(61662),d=n(12430),h=n(70590),p=n(30558),v=n(73335),m=n(43634),g=n(34278),y=n(54229),b=n(50630),x=n(2663),w=s.Z.apply(void 0,s.a),_=function(e,t){return w(e.copy(),t)},E=n(40668);function k(e){return"paddingInner"in e?"band":"padding"in e?"point":"quantiles"in e?"quantile":"base"in e?"log":"exponent"in e?.5===e.exponent()?"sqrt":"pow":"constant"in e?"symlog":"clamp"in e?e.ticks()[0]instanceof Date?(0,E.Z)(e)?"utc":"time":"linear":"nice"in e?"quantize":"invertExtent"in e?"threshold":"ordinal"}var j=n(28142),S=n(71220),O=n(51519),C=n(34636)},25176:function(e,t,n){"use strict";n.d(t,{a:function(){return S},Z:function(){return C}});var r=n(88751),i=n(87286),o=n(43780),a=n(77636),s=n(78978),l={lab:r.Z,hcl:i.Z,"hcl-long":i.b,hsl:o.Z,"hsl-long":o.q,cubehelix:a.Z,"cubehelix-long":a.B,rgb:s.ZP},u=n(68603),c=n(54076),f=n(18450),d=n(50690),h=n(52546),p=n(76231),v=n(97344),m=n(12370),g=n(28239),y=n(52004),b=n(94758),x=n(97631),w=n(2908),_=n(40668),E={day:u.Z,hour:c.Z,minute:f.Z,month:d.Z,second:h.Z,week:p.OM,year:v.Z},k={day:m.Z,hour:g.Z,minute:y.Z,month:b.Z,second:h.Z,week:x.Ox,year:w.Z},j=n(74672),S=["domain","nice","zero","interpolate","round","range","reverse","align","base","clamp","constant","exponent","padding","unknown"],O={domain:function(e,t){t.domain&&e.domain(t.domain)},nice:function(e,t){if("nice"in t&&void 0!==t.nice&&"nice"in e){var n=t.nice;if("boolean"==typeof n)n&&e.nice();else if("number"==typeof n)e.nice(n);else{var r=(0,_.Z)(e);if("string"==typeof n)e.nice(r?k[n]:E[n]);else{var i=n.interval,o=n.step,a=(r?k[i]:E[i]).every(o);null!=a&&e.nice(a)}}}},zero:function(e,t){if("zero"in t&&!0===t.zero){var n=e.domain(),r=n[0],i=n[1],o=i=0||(i[n]=e[n]);return i}(e,s),y=(0,a.Nb)({innerRadius:i,outerRadius:u,cornerRadius:c,startAngle:f,endAngle:d,padAngle:h,padRadius:p});return v?r.createElement(r.Fragment,null,v({path:y})):n||null!=f&&null!=d&&null!=i&&null!=u?r.createElement("path",l({ref:m,className:o()("visx-arc",t),d:y(n)||""},g)):(console.warn("[@visx/shape/Arc]: expected data because one of startAngle, endAngle, innerRadius, outerRadius is undefined. Bailing."),null)}var c=n(59309),f=["className","top","left","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","pieSort","pieSortValues","pieValue","children","fill"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,f),S=(0,a.Nb)({innerRadius:void 0===u?0:u,outerRadius:h,cornerRadius:p,padRadius:y}),O=(0,a.ve)({startAngle:v,endAngle:m,padAngle:g,value:w,sort:b,sortValues:x}),C=O(void 0===s?[]:s);return _?r.createElement(r.Fragment,null,_({arcs:C,path:S,pie:O})):r.createElement(c.Z,{className:"visx-pie-arcs-group",top:n,left:i},C.map(function(e,n){return r.createElement("g",{key:"pie-arc-"+n},r.createElement("path",d({className:o()("visx-pie-arc",t),d:S(e)||"",fill:null==k||"string"==typeof k?k:k(e)},j)),null==l?void 0:l(S.centroid(e),e))}))}var p=n(63739),v=n(27079),m=["className","angle","radius","defined","curve","data","innerRef","children","fill"];function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,m),p=(0,a.aJ)({angle:n,radius:i,defined:s,curve:l});return f?r.createElement(r.Fragment,null,f({path:p})):r.createElement("path",g({ref:c,className:o()("visx-line-radial",t),d:p(void 0===u?[]:u)||"",fill:void 0===d?"transparent":d},h))}var b=["children","x","x0","x1","y","y0","y1","data","defined","className","curve","innerRef"];function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,b),g=(0,a.SO)({x:n,x0:i,x1:s,y:l,y0:u,y1:c,defined:void 0===d?function(){return!0}:d,curve:p});return t?r.createElement(r.Fragment,null,t({path:g})):r.createElement("path",x({ref:v,className:o()("visx-area",h),d:g(void 0===f?[]:f)||""},m))}var _=n(55746),E=["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"];function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,E),j=(0,a.kn)({keys:s,value:g,order:y,offset:b}),S=(0,a.SO)({x:d,x0:h,x1:p,y0:v,y1:m,curve:u,defined:f}),O=j(l);return w?r.createElement(r.Fragment,null,w({stacks:O,path:S,stack:j})):r.createElement(c.Z,{top:n,left:i},O.map(function(e,n){return r.createElement("path",k({className:o()("visx-stack",t),key:"stack-"+n+"-"+(e.key||""),d:S(e)||"",fill:null==x?void 0:x(e.key,n)},_))}))}var S=["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"];function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,S);return r.createElement(j,O({className:t,top:n,left:i,keys:a,data:s,curve:l,defined:u,x:c,x0:f,x1:d,y0:h,y1:p,value:v,order:m,offset:g,color:y},x),b||function(e){var n=e.stacks,i=e.path;return n.map(function(e,n){return r.createElement("path",O({className:o()("visx-area-stack",t),key:"area-stack-"+n+"-"+(e.key||""),d:i(e)||"",fill:null==y?void 0:y(e.key,n)},x))})})}var A=n(14582),T=n(10897);function M(e){if("bandwidth"in e)return e.bandwidth();var t=e.range(),n=e.domain();return Math.abs(t[t.length-1]-t[0])/n.length}var P=["data","className","top","left","x0","x0Scale","x1Scale","yScale","color","keys","height","children"];function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,P),g=M(u),y=t.map(function(e,t){return{index:t,x0:l(s(e)),bars:h.map(function(t,n){var r=e[t];return{index:n,key:t,value:r,width:g,x:u(t)||0,y:f(r)||0,color:d(t,n),height:p-(f(r)||0)}})}});return v?r.createElement(r.Fragment,null,v(y)):r.createElement(c.Z,{className:o()("visx-bar-group",n),top:i,left:a},y.map(function(e){return r.createElement(c.Z,{key:"bar-group-"+e.index+"-"+e.x0,left:e.x0},e.bars.map(function(t){return r.createElement(A.Z,N({key:"bar-group-bar-"+e.index+"-"+t.index+"-"+t.value+"-"+t.key,x:t.x,y:t.y,width:t.width,height:t.height,fill:t.color},m))}))}))}var D=["data","className","top","left","x","y0","y0Scale","y1Scale","xScale","color","keys","width","children"];function L(){return(L=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,D),y=M(d),b=t.map(function(e,t){return{index:t,y0:f(u(e))||0,bars:v.map(function(t,n){var r=e[t];return{index:n,key:t,value:r,height:y,x:l(r)||0,y:d(t)||0,color:p(t,n),width:h(r)||0}})}});return m?r.createElement(r.Fragment,null,m(b)):r.createElement(c.Z,{className:o()("visx-bar-group-horizontal",n),top:i,left:a},b.map(function(e){return r.createElement(c.Z,{key:"bar-group-"+e.index+"-"+e.y0,top:e.y0},e.bars.map(function(t){return r.createElement(A.Z,L({key:"bar-group-bar-"+e.index+"-"+t.index+"-"+t.value+"-"+t.key,x:t.x,y:t.y,width:t.width,height:t.height,fill:t.color},g))}))}))}var I=n(98926);function z(e){return"number"==typeof(null==e?void 0:e.x)?null==e?void 0:e.x:0}function V(e){return"number"==typeof(null==e?void 0:e.y)?null==e?void 0:e.y:0}function B(e){return null==e?void 0:e.source}function Z(e){return null==e?void 0:e.target}function U(e){return null==e?void 0:e[0]}function H(e){return null==e?void 0:e[1]}var W=n(26078),q=n(44081),$=n(30382),Y=["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"];function G(){return(G=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,Y),_=(0,I.Z)();m&&_.keys(m),g&&(0,W.Z)(_.value,g),y&&_.order((0,q.ZP)(y)),b&&_.offset((0,$.ZP)(b));var E=_(t),k=M(h),j=E.map(function(e,t){var n=e.key;return{index:t,key:n,bars:e.map(function(t,r){var i=(p(u(t))||0)-(p(d(t))||0),o=p(d(t)),a="bandwidth"in h?h(s(t.data)):Math.max((h(s(t.data))||0)-k/2);return{bar:t,key:n,index:r,height:i,width:k,x:a||0,y:o||0,color:v(e.key,r)}})}});return x?r.createElement(r.Fragment,null,x(j)):r.createElement(c.Z,{className:o()("visx-bar-stack",n),top:i,left:a},j.map(function(e){return e.bars.map(function(t){return r.createElement(A.Z,G({key:"bar-stack-"+e.index+"-"+t.index,x:t.x,y:t.y,height:t.height,width:t.width,fill:t.color},w))})}))}var X=["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"];function Q(){return(Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,X),_=(0,I.Z)();m&&_.keys(m),g&&(0,W.Z)(_.value,g),y&&_.order((0,q.ZP)(y)),b&&_.offset((0,$.ZP)(b));var E=_(t),k=M(p),j=E.map(function(e,t){var n=e.key;return{index:t,key:n,bars:e.map(function(t,r){var i=(h(d(t))||0)-(h(u(t))||0),o=h(u(t)),a="bandwidth"in p?p(s(t.data)):Math.max((p(s(t.data))||0)-i/2);return{bar:t,key:n,index:r,height:k,width:i,x:o||0,y:a||0,color:v(e.key,r)}})}});return x?r.createElement(r.Fragment,null,x(j)):r.createElement(c.Z,{className:o()("visx-bar-stack-horizontal",n),top:i,left:a},j.map(function(e){return e.bars.map(function(t){return r.createElement(A.Z,Q({key:"bar-stack-"+e.index+"-"+t.index,x:t.x,y:t.y,height:t.height,width:t.width,fill:t.color},w))})}))}var ee=function(e){return Math.PI/180*e},et=n(72215),en=["className","children","data","innerRef","path","x","y","source","target"];function er(){return(er=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,en),h=s||ei({source:void 0===c?B:c,target:void 0===f?Z:f,x:void 0===l?V:l,y:void 0===u?z:u});return n?r.createElement(r.Fragment,null,n({path:h})):r.createElement("path",er({ref:a,className:o()("visx-link visx-link-horizontal-diagonal",t),d:h(i)||""},d))}var ea=["className","children","data","innerRef","path","x","y","source","target"];function es(){return(es=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,ea),h=s||el({source:void 0===c?B:c,target:void 0===f?Z:f,x:void 0===l?z:l,y:void 0===u?V:u});return n?r.createElement(r.Fragment,null,n({path:h})):r.createElement("path",es({ref:a,className:o()("visx-link visx-link-vertical-diagonal",t),d:h(i)||""},d))}var ec=["className","children","data","innerRef","path","angle","radius","source","target"];function ef(){return(ef=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,ec),h=s||ed({source:void 0===c?B:c,target:void 0===f?Z:f,angle:void 0===l?z:l,radius:void 0===u?V:u});return n?r.createElement(r.Fragment,null,n({path:h})):r.createElement("path",ef({ref:a,className:o()("visx-link visx-link-radial-diagonal",t),d:h(i)||""},d))}var ep=n(91672),ev=["className","children","data","innerRef","path","percent","x","y","source","target"];function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,ev),p=s||eg({source:void 0===f?B:f,target:void 0===d?Z:d,x:void 0===u?V:u,y:void 0===c?z:c,percent:void 0===l?.2:l});return n?r.createElement(r.Fragment,null,n({path:p})):r.createElement("path",em({ref:a,className:o()("visx-link visx-link-horizontal-curve",t),d:p(i)||""},h))}var eb=["className","children","data","innerRef","path","percent","x","y","source","target"];function ex(){return(ex=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,eb),p=s||ew({source:void 0===f?B:f,target:void 0===d?Z:d,x:void 0===u?z:u,y:void 0===c?V:c,percent:void 0===l?.2:l});return n?r.createElement(r.Fragment,null,n({path:p})):r.createElement("path",ex({ref:a,className:o()("visx-link visx-link-vertical-curve",t),d:p(i)||""},h))}var eE=["className","children","data","innerRef","path","percent","x","y","source","target"];function ek(){return(ek=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,eE),p=s||ej({source:void 0===f?B:f,target:void 0===d?Z:d,x:void 0===u?z:u,y:void 0===c?V:c,percent:void 0===l?.2:l});return n?r.createElement(r.Fragment,null,n({path:p})):r.createElement("path",ek({ref:a,className:o()("visx-link visx-link-radial-curve",t),d:p(i)||""},h))}var eO=["className","children","innerRef","data","path","x","y","source","target"];function eC(){return(eC=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,eO),h=s||eA({source:void 0===c?B:c,target:void 0===f?Z:f,x:void 0===l?V:l,y:void 0===u?z:u});return n?r.createElement(r.Fragment,null,n({path:h})):r.createElement("path",eC({ref:i,className:o()("visx-link visx-link-horizontal-line",t),d:h(a)||""},d))}var eM=["className","innerRef","data","path","x","y","source","target","children"];function eP(){return(eP=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,eM),h=a||eN({source:void 0===u?B:u,target:void 0===c?Z:c,x:void 0===s?z:s,y:void 0===l?V:l});return f?r.createElement(r.Fragment,null,f({path:h})):r.createElement("path",eP({ref:n,className:o()("visx-link visx-link-vertical-line",t),d:h(i)||""},d))}var eD=["className","innerRef","data","path","x","y","source","target","children"];function eL(){return(eL=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,eD),h=a||eF({source:void 0===u?B:u,target:void 0===c?Z:c,x:void 0===s?z:s,y:void 0===l?V:l});return f?r.createElement(r.Fragment,null,f({path:h})):r.createElement("path",eL({ref:n,className:o()("visx-link visx-link-radial-line",t),d:h(i)||""},d))}var ez=["className","innerRef","data","path","percent","x","y","source","target","children"];function eV(){return(eV=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,ez),p=a||eB({source:void 0===c?B:c,target:void 0===f?Z:f,x:void 0===l?V:l,y:void 0===u?z:u,percent:void 0===s?.5:s});return d?r.createElement(r.Fragment,null,d({path:p})):r.createElement("path",eV({ref:n,className:o()("visx-link visx-link-horizontal-step",t),d:p(i)||""},h))}var eU=["className","innerRef","data","path","percent","x","y","source","target","children"];function eH(){return(eH=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,eU),p=a||eW({source:void 0===c?B:c,target:void 0===f?Z:f,x:void 0===l?z:l,y:void 0===u?V:u,percent:void 0===s?.5:s});return d?r.createElement(r.Fragment,null,d({path:p})):r.createElement("path",eH({ref:n,className:o()("visx-link visx-link-vertical-step",t),d:p(i)||""},h))}var e$=["className","innerRef","data","path","x","y","source","target","children"];function eY(){return(eY=Object.assign?Object.assign.bind():function(e){for(var t=1;tMath.PI?d<=f:d>f)?1:0)+","+l*h+","+l*p+"\n L"+c*h+","+c*p+"\n "}}function eK(e){var t=e.className,n=e.innerRef,i=e.data,a=e.path,s=e.x,l=e.y,u=e.source,c=e.target,f=e.children,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,e$),h=a||eG({source:void 0===u?B:u,target:void 0===c?Z:c,x:void 0===s?z:s,y:void 0===l?V:l});return f?r.createElement(r.Fragment,null,f({path:h})):r.createElement("path",eY({ref:n,className:o()("visx-link visx-link-radial-step",t),d:h(i)||""},d))}var eX=["sides","size","center","rotate","className","children","innerRef","points"];function eQ(){return(eQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,eX),d=c||e1({sides:void 0===t?4:t,size:void 0===n?25:n,center:void 0===i?eJ:i,rotate:void 0===a?0:a}).map(function(e){return[e.x,e.y]});return l?r.createElement(r.Fragment,null,l({points:d})):r.createElement("polygon",eQ({ref:u,className:o()("visx-polygon",s),points:d.join(" ")},f))}var e4=["className","innerRef"];function e3(){return(e3=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,e4);return r.createElement("circle",e3({ref:n,className:o()("visx-circle",t)},i))}var e6=n(13980),e8=n.n(e6),e7="http://www.w3.org/2000/svg",e9=function(){return!0};function te(){return(te=Object.assign?Object.assign.bind():function(e){for(var t=1;td[i]?f.map(function(e){return void 0===e?e9:function(t){return t>=e}}):f.map(function(e){return void 0===e?e9:function(t){return t<=e}}),p=0,v=0;v<=l;v+=a){for(var m=s.getPointAtLength(v),g=m[i];p=w[k+1];)k+=1;c[k].push(S)}}return c}catch(O){return[]}}({path:p,segmentation:s,pointsInSegments:h,sampleRate:l})},[p,s,h,l]);return r.createElement("g",null,m.map(function(e,i){return t?r.createElement(r.Fragment,{key:i},t({index:i,segment:e,styles:d[i]||d[i%d.length]})):r.createElement(v.Z,te({key:i,className:n,data:e,x:tt,y:tn},d[i]||d[i%d.length]))}))}tr.propTypes={segments:e8().arrayOf(e8().array).isRequired,styles:e8().array.isRequired,children:e8().func,className:e8().string}},55746:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2784),i=n(72779),o=n.n(i),a=n(26078),s=n(52511),l=["x","x0","x1","y","y1","y0","yScale","data","defined","className","curve","innerRef","children"];function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,l),w=(0,s.SO)({x:t,x0:n,x1:i,defined:void 0===v?function(){return!0}:v,curve:g});return(null==d?w.y0(h.range()[0]):(0,a.Z)(w.y0,d),c&&!f&&(0,a.Z)(w.y1,c),f&&!c&&(0,a.Z)(w.y1,f),b)?r.createElement(r.Fragment,null,b({path:w})):r.createElement("path",u({ref:y,className:o()("visx-area-closed",m),d:w(void 0===p?[]:p)||""},x))}},14582:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2784),i=n(72779),o=n.n(i),a=["className","innerRef"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,a);return r.createElement("rect",s({ref:n,className:o()("visx-bar",t)},i))}},10897:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2784),i=n(72779),o=n.n(i),a=["children","className","innerRef","x","y","width","height","radius","all","top","bottom","left","right","topLeft","topRight","bottomLeft","bottomRight"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,a),z=(n=(t={x:k,y:j,width:S,height:O,radius:C,all:void 0!==A&&A,top:void 0!==T&&T,bottom:void 0!==M&&M,left:void 0!==P&&P,right:void 0!==N&&N,topLeft:void 0!==R&&R,topRight:void 0!==D&&D,bottomLeft:void 0!==L&&L,bottomRight:void 0!==F&&F}).all,i=t.bottom,l=t.bottomLeft,u=t.bottomRight,c=t.height,f=t.left,d=t.radius,h=t.right,p=t.top,v=t.topLeft,m=t.topRight,g=t.width,y=t.x,b=t.y,m=n||p||h||m,u=n||i||h||u,l=n||i||f||l,v=n||p||f||v,x=2*(d=Math.max(1,Math.min(d,Math.min(g,c)/2))),("M"+(y+d)+","+b+" h"+(g-x)+"\n "+(m?"a"+d+","+d+" 0 0 1 "+d+","+d:"h"+d+"v"+d)+"\n v"+(c-x)+"\n "+(u?"a"+d+","+d+" 0 0 1 "+-d+","+d:"v"+d+"h"+-d)+"\n h"+(x-g)+"\n "+(l?"a"+d+","+d+" 0 0 1 "+-d+","+-d:"h"+-d+"v"+-d)+"\n v"+(x-c)+"\n "+(v?"a"+d+","+d+" 0 0 1 "+d+","+-d:"v"+-d+"h"+d)+"\nz").split("\n").join(""));return w?r.createElement(r.Fragment,null,w({path:z})):r.createElement("path",s({ref:E,className:o()("visx-bar-rounded",_),d:z},I))}},63739:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2784),i=n(72779),o=n.n(i),a=["from","to","fill","className","innerRef"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,a),h=n.x===l.x||n.y===l.y;return r.createElement("line",s({ref:f,className:o()("visx-line",c),x1:n.x,y1:n.y,x2:l.x,y2:l.y,fill:void 0===u?"transparent":u,shapeRendering:h?"crispEdges":"auto"},d))}},27079:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2784),i=n(72779),o=n.n(i),a=n(52511),s=["children","data","x","y","fill","className","curve","innerRef","defined"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s),m=(0,a.jv)({x:i,y:u,defined:void 0===p?function(){return!0}:p,curve:d});return t?r.createElement(r.Fragment,null,t({path:m})):r.createElement("path",l({ref:h,className:o()("visx-linepath",f),d:m(void 0===n?[]:n)||"",fill:void 0===c?"transparent":c,strokeLinecap:"round"},v))}},52511:function(e,t,n){"use strict";n.d(t,{Nb:function(){return d},SO:function(){return h},aJ:function(){return m},jv:function(){return p},kn:function(){return g},ve:function(){return v}});var r=n(38764),i=n(79493),o=n(79767),a=n(69619),s=n(8329),l=n(98926),u=n(26078),c=n(44081),f=n(30382);function d(e){var t=void 0===e?{}:e,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.startAngle,s=t.endAngle,l=t.padAngle,c=t.padRadius,f=(0,r.Z)();return null!=n&&(0,u.Z)(f.innerRadius,n),null!=i&&(0,u.Z)(f.outerRadius,i),null!=o&&(0,u.Z)(f.cornerRadius,o),null!=a&&(0,u.Z)(f.startAngle,a),null!=s&&(0,u.Z)(f.endAngle,s),null!=l&&(0,u.Z)(f.padAngle,l),null!=c&&(0,u.Z)(f.padRadius,c),f}function h(e){var t=void 0===e?{}:e,n=t.x,r=t.x0,o=t.x1,a=t.y,s=t.y0,l=t.y1,c=t.defined,f=t.curve,d=(0,i.Z)();return n&&(0,u.Z)(d.x,n),r&&(0,u.Z)(d.x0,r),o&&(0,u.Z)(d.x1,o),a&&(0,u.Z)(d.y,a),s&&(0,u.Z)(d.y0,s),l&&(0,u.Z)(d.y1,l),c&&d.defined(c),f&&d.curve(f),d}function p(e){var t=void 0===e?{}:e,n=t.x,r=t.y,i=t.defined,a=t.curve,s=(0,o.Z)();return n&&(0,u.Z)(s.x,n),r&&(0,u.Z)(s.y,r),i&&s.defined(i),a&&s.curve(a),s}function v(e){var t=void 0===e?{}:e,n=t.startAngle,r=t.endAngle,i=t.padAngle,o=t.value,s=t.sort,l=t.sortValues,c=(0,a.Z)();return null===s?c.sort(s):null!=s&&c.sort(s),null===l?c.sortValues(l):null!=l&&c.sortValues(l),null!=o&&c.value(o),null!=i&&(0,u.Z)(c.padAngle,i),null!=n&&(0,u.Z)(c.startAngle,n),null!=r&&(0,u.Z)(c.endAngle,r),c}function m(e){var t=void 0===e?{}:e,n=t.angle,r=t.radius,i=t.defined,o=t.curve,a=(0,s.Z)();return n&&(0,u.Z)(a.angle,n),r&&(0,u.Z)(a.radius,r),i&&a.defined(i),o&&a.curve(o),a}function g(e){var t=e.keys,n=e.value,r=e.order,i=e.offset,o=(0,l.Z)();return t&&o.keys(t),n&&(0,u.Z)(o.value,n),r&&o.order((0,c.ZP)(r)),i&&o.offset((0,f.ZP)(i)),o}},26078:function(e,t,n){"use strict";function r(e,t){e(t)}n.d(t,{Z:function(){return r}})},30382:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c},ed:function(){return u},nW:function(){return l}});var r=n(22254),i=n(76751),o=n(90541),a=n(36538),s=n(34928),l={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:a.Z,wiggle:s.Z},u=Object.keys(l);function c(e){return e&&l[e]||l.none}},44081:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c},s2:function(){return u},un:function(){return l}});var r=n(19721),i=n(82564),o=n(12197),a=n(81182),s=n(40277),l={ascending:r.Z,descending:i.Z,insideout:o.Z,none:a.Z,reverse:s.Z},u=Object.keys(l);function c(e){return e&&l[e]||l.none}},12935:function(e,t,n){"use strict";t.Z=function(e){var t=e.children,n=e.x,s=e.x0,u=e.x1,c=e.y,f=e.y0,d=e.y1,h=e.data,p=e.defined,v=e.className,m=e.curve,g=e.innerRef,y=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,a),b=(0,o.area)({x:n,x0:s,x1:u,y:c,y0:f,y1:d,defined:void 0===p?function(){return!0}:p,curve:m});return t?r.default.createElement(r.default.Fragment,null,t({path:b})):r.default.createElement("path",l({ref:g,className:(0,i.default)("visx-area",v),d:b(void 0===h?[]:h)||""},y))};var r=s(n(2784)),i=s(n(72779)),o=n(15601),a=["children","x","x0","x1","y","y0","y1","data","defined","className","curve","innerRef"];function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,o),h=n.x===l.x||n.y===l.y;return r.default.createElement("line",s({ref:f,className:(0,i.default)("visx-line",c),x1:n.x,y1:n.y,x2:l.x,y2:l.y,fill:void 0===u?"transparent":u,shapeRendering:h?"crispEdges":"auto"},d))};var r=a(n(2784)),i=a(n(72779)),o=["from","to","fill","className","innerRef"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,a),m=(0,o.line)({x:s,y:u,defined:void 0===p?function(){return!0}:p,curve:d});return t?r.default.createElement(r.default.Fragment,null,t({path:m})):r.default.createElement("path",l({ref:h,className:(0,i.default)("visx-linepath",f),d:m(void 0===n?[]:n)||"",fill:void 0===c?"transparent":c,strokeLinecap:"round"},v))};var r=s(n(2784)),i=s(n(72779)),o=n(15601),a=["children","data","x","y","fill","className","curve","innerRef","defined"];function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,o)),p=h.x,v=void 0===p?0:p,m=h.fontSize,g=(0,i.Z)(e),y=g.wordsByLines,b=g.startDy,x=g.transform;return r.createElement("svg",{ref:u,x:void 0===t?0:t,y:void 0===n?0:n,fontSize:m,style:s},y.length>0?r.createElement("text",a({ref:c,transform:x},h,{textAnchor:void 0===l?"start":l}),y.map(function(e,t){return r.createElement("tspan",{key:t,x:v,dy:0===t?b:d},e.words.join(" "))})):null)}},89907:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2784),i=n(32718),o=n.n(i),a=n(75715),s=["verticalAnchor","scaleToFit","angle","width","lineHeight","capHeight","children","style"];function l(e){return"number"==typeof e}function u(e){return"number"==typeof e&&Number.isFinite(e)||"string"==typeof e}function c(e){var t=e.verticalAnchor,n=void 0===t?"end":t,i=e.scaleToFit,c=void 0!==i&&i,f=e.angle,d=e.width,h=e.lineHeight,p=void 0===h?"1em":h,v=e.capHeight,m=void 0===v?"0.71em":v,g=e.children,y=e.style,b=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,s),x=b.x,w=void 0===x?0:x,_=b.y,E=void 0===_?0:_,k=!u(w)||!u(E),j=(0,r.useMemo)(function(){return{wordsWithWidth:(null==g?[]:g.toString().split(/(?:(?!\u00A0+)\s+)/)).map(function(e){return{word:e,wordWidth:(0,a.Z)(e,y)||0}}),spaceWidth:(0,a.Z)("\xa0",y)||0}},[g,y]),S=j.wordsWithWidth,O=j.spaceWidth,C=(0,r.useMemo)(function(){return k?[]:d||c?S.reduce(function(e,t){var n=t.word,r=t.wordWidth,i=e[e.length-1];return i&&(null==d||c||(i.width||0)+r+O0){var t=C[0].width||1,n="shrink-only"===c?Math.min(d/t,1):d/t;e.push("matrix("+n+", 0, 0, "+n+", "+(w-n*w)+", "+(E-n*E)+")")}return f&&e.push("rotate("+f+", "+w+", "+E+")"),e.length>0?e.join(" "):""},[k,w,E,d,c,C,f]);return{wordsByLines:C,startDy:A,transform:T}}},44425:function(e,t,n){"use strict";n.r(t),n.d(t,{Text:function(){return r.Z},getStringWidth:function(){return i.Z},useText:function(){return o.Z}});var r=n(64170),i=n(75715),o=n(89907)},75715:function(e,t,n){"use strict";var r=n(30733),i=n.n(r),o="__react_svg_text_measurement_id";t.Z=i()(function(e,t){try{var n=document.getElementById(o);if(!n){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("aria-hidden","true"),r.style.width="0",r.style.height="0",r.style.position="absolute",r.style.top="-100%",r.style.left="-100%",(n=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",o),r.appendChild(n),document.body.appendChild(r)}return Object.assign(n.style,t),n.textContent=e,n.getComputedTextLength()}catch(i){return null}},function(e,t){return e+"_"+JSON.stringify(t)})},49732:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=new WeakMap,i=new WeakMap,o={},a=0,s=function(e,t,n){void 0===t&&(t="undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body),void 0===n&&(n="data-aria-hidden");var s=Array.isArray(e)?e:[e];o[n]||(o[n]=new WeakMap);var l=o[n],u=[],c=new Set,f=function(e){!e||c.has(e)||(c.add(e),f(e.parentNode))};s.forEach(f);var d=function(e){!e||s.indexOf(e)>=0||Array.prototype.forEach.call(e.children,function(e){if(c.has(e))d(e);else{var t=e.getAttribute("aria-hidden"),o=null!==t&&"false"!==t,a=(r.get(e)||0)+1,s=(l.get(e)||0)+1;r.set(e,a),l.set(e,s),u.push(e),1===a&&o&&i.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute("aria-hidden","true")}})};return d(t),c.clear(),a++,function(){u.forEach(function(e){var t=r.get(e)-1,o=l.get(e)-1;r.set(e,t),l.set(e,o),t||(i.has(e)||e.removeAttribute("aria-hidden"),i.delete(e)),o||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}}},89644:function(e,t,n){e.exports=n(25644)},70353:function(e,t,n){"use strict";var r=n(93044),i=n(86955),o=n(92233),a=n(68030),s=n(97948),l=n(51875),u=n(60842),c=n(98560),f=n(21218),d=n(68047),h=n(10738);e.exports=function(e){return new Promise(function(t,n){var p,v=e.data,m=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(v)&&r.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var x=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(x+":"+w)}var _=s(e.baseURL,e.url);function E(){if(b){var r="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null;i(function(e){t(e),y()},function(e){n(e),y()},{data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b}),b=null}}if(b.open(e.method.toUpperCase(),a(_,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(E)},b.onabort=function(){b&&(n(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new f(t,r.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,b)),b=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||u(_))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;k&&(m[e.xsrfHeaderName]=k)}"setRequestHeader"in b&&r.forEach(m,function(e,t){void 0===v&&"content-type"===t.toLowerCase()?delete m[t]:b.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),v||(v=null);var j=h(_);if(j&&-1===["http","https","file"].indexOf(j)){n(new f("Unsupported protocol "+j+":",f.ERR_BAD_REQUEST,e));return}b.send(v)})}},25644:function(e,t,n){"use strict";var r=n(93044),i=n(73644),o=n(62215),a=n(92937),s=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(10663));s.Axios=o,s.CanceledError=n(68047),s.CancelToken=n(34089),s.isCancel=n(98041),s.VERSION=n(29241).version,s.toFormData=n(49027),s.AxiosError=n(21218),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(70783),s.isAxiosError=n(65587),e.exports=s,e.exports.default=s},34089:function(e,t,n){"use strict";var r=n(68047);function i(e){if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});var t,n=this;this.promise.then(function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],function(e){d.headers[e]={}}),o.forEach(["post","put","patch"],function(e){d.headers[e]=o.merge(c)}),e.exports=d},98560:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},29241:function(e){e.exports={version:"0.27.2"}},73644:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=Array(arguments.length),r=0;r=0)&&("set-cookie"===t?a[t]=(a[t]?a[t]:[]).concat([n]):a[t]=a[t]?a[t]+", "+n:n)}),a}},10738:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},70783:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},49027:function(e,t,n){"use strict";var r=n(48834).lW,i=n(93044);e.exports=function(e,t){t=t||new FormData;var n=[];function o(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):r.from(e):e}return!function e(r,a){if(i.isPlainObject(r)||i.isArray(r)){if(-1!==n.indexOf(r))throw Error("Circular reference detected in "+a);n.push(r),i.forEach(r,function(n,r){if(!i.isUndefined(n)){var s,l=a?a+"."+r:r;if(n&&!a&&"object"==typeof n){if(i.endsWith(r,"{}"))n=JSON.stringify(n);else if(i.endsWith(r,"[]")&&(s=i.toArray(n))){s.forEach(function(e){i.isUndefined(e)||t.append(l,o(e))});return}}e(n,l)}}),n.pop()}else t.append(a,o(r))}(e),t}},17525:function(e,t,n){"use strict";var r=n(29241).version,i=n(21218),o={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var a={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new i(o(r," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],s=t[a];if(s){var l=e[a],u=void 0===l||s(l,a,e);if(!0!==u)throw new i("option "+a+" must be "+u,i.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},93044:function(e,t,n){"use strict";var r,i,o=n(73644),a=Object.prototype.toString,s=(r=Object.create(null),function(e){var t=a.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return s(t)===e}}function u(e){return Array.isArray(e)}function c(e){return void 0===e}var f=l("ArrayBuffer");function d(e){return null!==e&&"object"==typeof e}function h(e){if("object"!==s(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=l("Date"),v=l("File"),m=l("Blob"),g=l("FileList");function y(e){return"[object Function]"===a.call(e)}var b=l("URLSearchParams");function x(e,t){if(null!=e){if("object"!=typeof e&&(e=[e]),u(e))for(var n=0,r=e.length;n0;)a[o=r[i]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:l,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return -1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var n=Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:w,isFileList:g}},82294:function(e){"use strict";function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var o=r(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,o,a,s,l=n.indexOf(e),u=n.indexOf(t,l+1),c=l;if(l>=0&&u>0){if(e===t)return[l,u];for(r=[],o=n.length;c>=0&&!s;)c==l?(r.push(c),l=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),u]:((i=r.pop())=0?l:u;r.length&&(s=[o,a])}return s}e.exports=t,t.range=r},95766:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},6391:function(e,t,n){var r;!function(i){"use strict";var o,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,l=Math.floor,u="[BigNumber Error] ",c=u+"Number primitive has more than 15 significant digits: ",f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function d(e){var t=0|e;return e>0||e===t?t:t-1}function h(e){for(var t,n,r=1,i=e.length,o=e[0]+"";ru^n?1:-1;for(a=0,s=(l=i.length)<(u=o.length)?l:u;ao[a]^n?1:-1;return l==u?0:l>u^n?1:-1}function v(e,t,n,r){if(en||e!==l(e))throw Error(u+(r||"Argument")+("number"==typeof e?en?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function m(e){var t=e.c.length-1;return d(e.e/14)==t&&e.c[t]%2!=0}function g(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function y(e,t,n){var r,i;if(t<0){for(i=n+".";++t;i+=n);e=i+e}else if(r=e.length,++t>r){for(i=n,t-=r;--t;i+=n);e+=i}else tM?h.c=h.e=null:e.e=10;s/=10,o++);o>M?h.c=h.e=null:(h.e=o,h.c=[e]);return}d=String(e)}else{if(!a.test(d=String(e)))return E(h,d,u);h.s=45==d.charCodeAt(0)?(d=d.slice(1),-1):1}(o=d.indexOf("."))>-1&&(d=d.replace(".","")),(s=d.search(/e/i))>0?(o<0&&(o=s),o+=+d.slice(s+1),d=d.substring(0,s)):o<0&&(o=d.length)}else{if(v(t,2,L.length,"Base"),10==t&&F)return Z(h=new I(e),S+h.e+1,O);if(d=String(e),u="number"==typeof e){if(0*e!=0)return E(h,d,u,t);if(h.s=1/e<0?(d=d.slice(1),-1):1,I.DEBUG&&d.replace(/^0\.0*|\./,"").length>15)throw Error(c+e)}else h.s=45===d.charCodeAt(0)?(d=d.slice(1),-1):1;for(n=L.slice(0,t),o=s=0,f=d.length;sn.indexOf(r=d.charAt(s))){if("."==r){if(s>o){o=f;continue}}else if(!i&&(d==d.toUpperCase()&&(d=d.toLowerCase())||d==d.toLowerCase()&&(d=d.toUpperCase()))){i=!0,s=-1,o=0;continue}return E(h,String(e),u,t)}u=!1,(o=(d=_(d,t,10,h.s)).indexOf("."))>-1?d=d.replace(".",""):o=d.length}for(s=0;48===d.charCodeAt(s);s++);for(f=d.length;48===d.charCodeAt(--f););if(d=d.slice(s,++f)){if(f-=s,u&&I.DEBUG&&f>15&&(e>9007199254740991||e!==l(e)))throw Error(c+h.s*e);if((o=o-s-1)>M)h.c=h.e=null;else if(o=A)?g(l,a):y(l,a,"0");else if(o=(e=Z(new I(e),t,n)).e,s=(l=h(e.c)).length,1==r||2==r&&(t<=o||o<=C)){for(;ss){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=o-s)>0)for(o+1==s&&(l+=".");t--;l+="0");return e.s<0&&i?"-"+l:l}function V(e,t){for(var n,r=1,i=new I(e[0]);r=10;i/=10,r++);return(n=r+14*n-1)>M?e.c=e.e=null:n=10;u/=10,i++);if((o=t-i)<0)o+=14,a=t,h=(c=p[d=0])/f[i-a-1]%10|0;else if((d=s((o+1)/14))>=p.length){if(r){for(;p.length<=d;p.push(0));c=h=0,i=1,o%=14,a=o-14+1}else break e}else{for(i=1,c=u=p[d];u>=10;u/=10,i++);o%=14,h=(a=o-14+i)<0?0:c/f[i-a-1]%10|0}if(r=r||t<0||null!=p[d+1]||(a<0?c:c%f[i-a-1]),r=n<4?(h||r)&&(0==n||n==(e.s<0?3:2)):h>5||5==h&&(4==n||r||6==n&&(o>0?a>0?c/f[i-a]:0:p[d-1])%10&1||n==(e.s<0?8:7)),t<1||!p[0])return p.length=0,r?(t-=e.e+1,p[0]=f[(14-t%14)%14],e.e=-t||0):p[0]=e.e=0,e;if(0==o?(p.length=d,u=1,d--):(p.length=d+1,u=f[14-o],p[d]=a>0?l(c/f[i-a]%f[a])*u:0),r)for(;;){if(0==d){for(o=1,a=p[0];a>=10;a/=10,o++);for(a=p[0]+=u,u=1;a>=10;a/=10,u++);o!=u&&(e.e++,1e14==p[0]&&(p[0]=1));break}if(p[d]+=u,1e14!=p[d])break;p[d--]=0,u=1}for(o=p.length;0===p[--o];p.pop());}e.e>M?e.c=e.e=null:e.e=A?g(t,n):y(t,n,"0"),e.s<0?"-"+t:t)}return I.clone=e,I.ROUND_UP=0,I.ROUND_DOWN=1,I.ROUND_CEIL=2,I.ROUND_FLOOR=3,I.ROUND_HALF_UP=4,I.ROUND_HALF_DOWN=5,I.ROUND_HALF_EVEN=6,I.ROUND_HALF_CEIL=7,I.ROUND_HALF_FLOOR=8,I.EUCLID=9,I.config=I.set=function(e){var t,n;if(null!=e){if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(v(n=e[t],0,1e9,t),S=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(v(n=e[t],0,8,t),O=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(v(n[0],-1e9,0,t),v(n[1],0,1e9,t),C=n[0],A=n[1]):(v(n,-1e9,1e9,t),C=-(A=n<0?-n:n))),e.hasOwnProperty(t="RANGE")){if((n=e[t])&&n.pop)v(n[0],-1e9,-1,t),v(n[1],1,1e9,t),T=n[0],M=n[1];else if(v(n,-1e9,1e9,t),n)T=-(M=n<0?-n:n);else throw Error(u+t+" cannot be zero: "+n)}if(e.hasOwnProperty(t="CRYPTO")){if(!!(n=e[t])===n){if(n){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))P=n;else throw P=!n,Error(u+"crypto unavailable")}else P=n}else throw Error(u+t+" not true or false: "+n)}if(e.hasOwnProperty(t="MODULO_MODE")&&(v(n=e[t],0,9,t),N=n),e.hasOwnProperty(t="POW_PRECISION")&&(v(n=e[t],0,1e9,t),R=n),e.hasOwnProperty(t="FORMAT")){if("object"==typeof(n=e[t]))D=n;else throw Error(u+t+" not an object: "+n)}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(u+t+" invalid: "+n);F="0123456789"==n.slice(0,10),L=n}}else throw Error(u+"Object expected: "+e)}return{DECIMAL_PLACES:S,ROUNDING_MODE:O,EXPONENTIAL_AT:[C,A],RANGE:[T,M],CRYPTO:P,MODULO_MODE:N,POW_PRECISION:R,FORMAT:D,ALPHABET:L}},I.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!I.DEBUG)return!0;var t,n,r=e.c,i=e.e,o=e.s;e:if("[object Array]"==({}).toString.call(r)){if((1===o||-1===o)&&i>=-1e9&&i<=1e9&&i===l(i)){if(0===r[0]){if(0===i&&1===r.length)return!0;break e}if((t=(i+1)%14)<1&&(t+=14),String(r[0]).length==t){for(t=0;t=1e14||n!==l(n))break e;if(0!==n)return!0}}}else if(null===r&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(u+"Invalid BigNumber: "+e)},I.maximum=I.max=function(){return V(arguments,k.lt)},I.minimum=I.min=function(){return V(arguments,k.gt)},I.random=(n=9007199254740992*Math.random()&2097151?function(){return l(9007199254740992*Math.random())}:function(){return(1073741824*Math.random()|0)*8388608+(8388608*Math.random()|0)},function(e){var t,r,i,o,a,c=0,d=[],h=new I(j);if(null==e?e=S:v(e,0,1e9),o=s(e/14),P){if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(o*=2));c>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(d.push(a%1e14),c+=2);c=o/2}else if(crypto.randomBytes){for(t=crypto.randomBytes(o*=7);c=9e15?crypto.randomBytes(7).copy(t,c):(d.push(a%1e14),c+=7);c=o/7}else throw P=!1,Error(u+"crypto unavailable")}if(!P)for(;c=10;a/=10,c++);c<14&&(i-=14-c)}return h.e=i,h.c=d,h}),I.sum=function(){for(var e=1,t=arguments,n=new I(t[0]);en-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/n|0,a[i]%=n)}return a.reverse()}return function(n,r,i,o,a){var s,l,u,c,f,d,p,v,m=n.indexOf("."),g=S,b=O;for(m>=0&&(c=R,R=0,n=n.replace(".",""),d=(v=new I(r)).pow(n.length-m),R=c,v.c=t(y(h(d.c),d.e,"0"),10,i,e),v.e=v.c.length),u=c=(p=t(n,r,i,a?(s=L,e):(s=e,L))).length;0==p[--c];p.pop());if(!p[0])return s.charAt(0);if(m<0?--u:(d.c=p,d.e=u,d.s=o,p=(d=w(d,v,g,b,i)).c,f=d.r,u=d.e),m=p[l=u+g+1],c=i/2,f=f||l<0||null!=p[l+1],f=b<4?(null!=m||f)&&(0==b||b==(d.s<0?3:2)):m>c||m==c&&(4==b||f||6==b&&1&p[l-1]||b==(d.s<0?8:7)),l<1||!p[0])n=f?y(s.charAt(1),-g,s.charAt(0)):s.charAt(0);else{if(p.length=l,f)for(--i;++p[--l]>i;)p[l]=0,l||(++u,p=[1].concat(p));for(c=p.length;!p[--c];);for(m=0,n="";m<=c;n+=s.charAt(p[m++]));n=y(n,u,s.charAt(0))}return n}}(),w=function(){function e(e,t,n){var r,i,o,a,s=0,l=e.length,u=t%1e7,c=t/1e7|0;for(e=e.slice();l--;)r=c*(o=e[l]%1e7)+(a=e[l]/1e7|0)*u,s=((i=u*o+r%1e7*1e7+s)/n|0)+(r/1e7|0)+c*a,e[l]=i%n;return s&&(e=[s].concat(e)),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;it[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]1;e.splice(0,1));}return function(r,i,o,a,s){var u,c,f,h,p,v,m,g,y,b,x,w,_,E,k,j,S,O=r.s==i.s?1:-1,C=r.c,A=i.c;if(!C||!C[0]||!A||!A[0])return new I(r.s&&i.s&&(C?!A||C[0]!=A[0]:A)?C&&0==C[0]||!A?0*O:O/0:NaN);for(y=(g=new I(O)).c=[],O=o+(c=r.e-i.e)+1,s||(s=1e14,c=d(r.e/14)-d(i.e/14),O=O/14|0),f=0;A[f]==(C[f]||0);f++);if(A[f]>(C[f]||0)&&c--,O<0)y.push(1),h=!0;else{for(E=C.length,j=A.length,f=0,O+=2,(p=l(s/(A[0]+1)))>1&&(A=e(A,p,s),C=e(C,p,s),j=A.length,E=C.length),_=j,x=(b=C.slice(0,j)).length;x=s/2&&k++;do{if(p=0,(u=t(A,b,j,x))<0){if(w=b[0],j!=x&&(w=w*s+(b[1]||0)),(p=l(w/k))>1)for(p>=s&&(p=s-1),m=(v=e(A,p,s)).length,x=b.length;1==t(v,b,m,x);)p--,n(v,jt(A,b,j,x);)p++,n(b,j=10;O/=10,f++);Z(g,o+(g.e=f+14*c-1)+1,a,h)}else g.e=c,g.r=+h;return g}}(),r=/^(-?)0([xbo])(?=\w[\w.]*$)/i,i=/^([^.]+)\.$/,o=/^\.([^.]+)$/,b=/^-?(Infinity|NaN)$/,x=/^\s*\+(?=[\w.])|^\s+|\s+$/g,E=function(e,t,n,a){var s,l=n?t:t.replace(x,"");if(b.test(l))e.s=isNaN(l)?null:l<0?-1:1;else{if(!n&&(l=l.replace(r,function(e,t,n){return s="x"==(n=n.toLowerCase())?16:"b"==n?2:8,a&&a!=s?e:t}),a&&(s=a,l=l.replace(i,"$1").replace(o,"0.$1")),t!=l))return new I(l,s);if(I.DEBUG)throw Error(u+"Not a"+(a?" base "+a:"")+" number: "+t);e.s=null}e.c=e.e=null},k.absoluteValue=k.abs=function(){var e=new I(this);return e.s<0&&(e.s=1),e},k.comparedTo=function(e,t){return p(this,new I(e,t))},k.decimalPlaces=k.dp=function(e,t){var n,r,i;if(null!=e)return v(e,0,1e9),null==t?t=O:v(t,0,8),Z(new I(this),e+this.e+1,t);if(!(n=this.c))return null;if(r=((i=n.length-1)-d(this.e/14))*14,i=n[i])for(;i%10==0;i/=10,r--);return r<0&&(r=0),r},k.dividedBy=k.div=function(e,t){return w(this,new I(e,t),S,O)},k.dividedToIntegerBy=k.idiv=function(e,t){return w(this,new I(e,t),0,1)},k.exponentiatedBy=k.pow=function(e,t){var n,r,i,o,a,c,f,d,h,p=this;if((e=new I(e)).c&&!e.isInteger())throw Error(u+"Exponent not an integer: "+U(e));if(null!=t&&(t=new I(t)),c=e.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!e.c||!e.c[0])return h=new I(Math.pow(+U(p),c?2-m(e):+U(e))),t?h.mod(t):h;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new I(NaN);(r=!f&&p.isInteger()&&t.isInteger())&&(p=p.mod(t))}else{if(e.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||c&&p.c[1]>=24e7:p.c[0]<8e13||c&&p.c[0]<=9999975e7)))return p.s<0&&m(e),o=-0,p.e>-1&&(o=1/o),new I(f?1/o:o);R&&(o=s(R/14+2))}for(c?(n=new I(.5),f&&(e.s=1),d=m(e)):d=(i=Math.abs(+U(e)))%2,h=new I(j);;){if(d){if(!(h=h.times(p)).c)break;o?h.c.length>o&&(h.c.length=o):r&&(h=h.mod(t))}if(i){if(0===(i=l(i/2)))break;d=i%2}else if(Z(e=e.times(n),e.e+1,1),e.e>14)d=m(e);else{if(0==(i=+U(e)))break;d=i%2}p=p.times(p),o?p.c&&p.c.length>o&&(p.c.length=o):r&&(p=p.mod(t))}return r?h:(f&&(h=j.div(h)),t?h.mod(t):o?Z(h,R,O,a):h)},k.integerValue=function(e){var t=new I(this);return null==e?e=O:v(e,0,8),Z(t,t.e+1,e)},k.isEqualTo=k.eq=function(e,t){return 0===p(this,new I(e,t))},k.isFinite=function(){return!!this.c},k.isGreaterThan=k.gt=function(e,t){return p(this,new I(e,t))>0},k.isGreaterThanOrEqualTo=k.gte=function(e,t){return 1===(t=p(this,new I(e,t)))||0===t},k.isInteger=function(){return!!this.c&&d(this.e/14)>this.c.length-2},k.isLessThan=k.lt=function(e,t){return 0>p(this,new I(e,t))},k.isLessThanOrEqualTo=k.lte=function(e,t){return -1===(t=p(this,new I(e,t)))||0===t},k.isNaN=function(){return!this.s},k.isNegative=function(){return this.s<0},k.isPositive=function(){return this.s>0},k.isZero=function(){return!!this.c&&0==this.c[0]},k.minus=function(e,t){var n,r,i,o,a=this.s;if(t=(e=new I(e,t)).s,!a||!t)return new I(NaN);if(a!=t)return e.s=-t,this.plus(e);var s=this.e/14,l=e.e/14,u=this.c,c=e.c;if(!s||!l){if(!u||!c)return u?(e.s=-t,e):new I(c?this:NaN);if(!u[0]||!c[0])return c[0]?(e.s=-t,e):new I(u[0]?this:-0)}if(s=d(s),l=d(l),u=u.slice(),a=s-l){for((o=a<0)?(a=-a,i=u):(l=s,i=c),i.reverse(),t=a;t--;i.push(0));i.reverse()}else for(r=(o=(a=u.length)<(t=c.length))?a:t,a=t=0;t0)for(;t--;u[n++]=0);for(t=1e14-1;r>a;){if(u[--r]=0;){for(n=0,h=g[i]%1e7,p=g[i]/1e7|0,a=l,o=i+a;o>i;)s=p*(u=m[--a]%1e7)+(c=m[a]/1e7|0)*h,n=((u=h*u+s%1e7*1e7+v[o]+n)/1e14|0)+(s/1e7|0)+p*c,v[o--]=u%1e14;v[o]=n}return n?++r:v.splice(0,1),B(e,v,r)},k.negated=function(){var e=new I(this);return e.s=-e.s||null,e},k.plus=function(e,t){var n,r=this.s;if(t=(e=new I(e,t)).s,!r||!t)return new I(NaN);if(r!=t)return e.s=-t,this.minus(e);var i=this.e/14,o=e.e/14,a=this.c,s=e.c;if(!i||!o){if(!a||!s)return new I(r/0);if(!a[0]||!s[0])return s[0]?e:new I(a[0]?this:0*r)}if(i=d(i),o=d(o),a=a.slice(),r=i-o){for(r>0?(o=i,n=s):(r=-r,n=a),n.reverse();r--;n.push(0));n.reverse()}for((r=a.length)-(t=s.length)<0&&(n=s,s=a,a=n,t=r),r=0;t;)r=(a[--t]=a[t]+s[t]+r)/1e14|0,a[t]=1e14===a[t]?0:a[t]%1e14;return r&&(a=[r].concat(a),++o),B(e,a,o)},k.precision=k.sd=function(e,t){var n,r,i;if(null!=e&&!!e!==e)return v(e,1,1e9),null==t?t=O:v(t,0,8),Z(new I(this),e,t);if(!(n=this.c))return null;if(r=14*(i=n.length-1)+1,i=n[i]){for(;i%10==0;i/=10,r--);for(i=n[0];i>=10;i/=10,r++);}return e&&this.e+1>r&&(r=this.e+1),r},k.shiftedBy=function(e){return v(e,-9007199254740991,9007199254740991),this.times("1e"+e)},k.squareRoot=k.sqrt=function(){var e,t,n,r,i,o=this.c,a=this.s,s=this.e,l=S+4,u=new I("0.5");if(1!==a||!o||!o[0])return new I(!a||a<0&&(!o||o[0])?NaN:o?this:1/0);if(0==(a=Math.sqrt(+U(this)))||a==1/0?(((t=h(o)).length+s)%2==0&&(t+="0"),a=Math.sqrt(+t),s=d((s+1)/2)-(s<0||s%2),t=a==1/0?"5e"+s:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+s,n=new I(t)):n=new I(a+""),n.c[0]){for((a=(s=n.e)+l)<3&&(a=0);;)if(i=n,n=u.times(i.plus(w(this,i,l,1))),h(i.c).slice(0,a)===(t=h(n.c)).slice(0,a)){if(n.e0&&p>0){for(i=p%a||a,c=h.substr(0,i);i0&&(c+=l+h.slice(i)),d&&(c="-"+c)}r=f?c+(n.decimalSeparator||"")+((s=+n.fractionGroupSize)?f.replace(RegExp("\\d{"+s+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):f):c}return(n.prefix||"")+r+(n.suffix||"")},k.toFraction=function(e){var t,n,r,i,o,a,s,l,c,d,p,v,m=this.c;if(null!=e&&(!(s=new I(e)).isInteger()&&(s.c||1!==s.s)||s.lt(j)))throw Error(u+"Argument "+(s.isInteger()?"out of range: ":"not an integer: ")+U(s));if(!m)return new I(this);for(t=new I(j),c=n=new I(j),r=l=new I(j),v=h(m),o=t.e=v.length-this.e-1,t.c[0]=f[(a=o%14)<0?14+a:a],e=!e||s.comparedTo(t)>0?o>0?t:c:s,a=M,M=1/0,s=new I(v),l.c[0]=0;d=w(s,t,0,1),1!=(i=n.plus(d.times(r))).comparedTo(e);)n=r,r=i,c=l.plus(d.times(i=c)),l=i,t=s.minus(d.times(i=t)),s=i;return i=w(e.minus(n),r,0,1),l=l.plus(i.times(c)),n=n.plus(i.times(r)),l.s=c.s=this.s,o*=2,p=1>w(c,r,o,O).minus(this).abs().comparedTo(w(l,n,o,O).minus(this).abs())?[c,r]:[l,n],M=a,p},k.toNumber=function(){return+U(this)},k.toPrecision=function(e,t){return null!=e&&v(e,1,1e9),z(this,e,t,2)},k.toString=function(e){var t,n=this,r=n.s,i=n.e;return null===i?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(null==e?t=i<=C||i>=A?g(h(n.c),i):y(h(n.c),i,"0"):10===e&&F?t=y(h((n=Z(new I(n),S+i+1,O)).c),n.e,"0"):(v(e,2,L.length,"Base"),t=_(y(h(n.c),i,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},k.valueOf=k.toJSON=function(){return U(this)},k._isBigNumber=!0,null!=t&&I.set(t),I}()).default=o.BigNumber=o,void 0!==(r=(function(){return o}).call(t,n,t,e))&&(e.exports=r)}(0)},70651:function(e,t,n){let r=n(7967);function i(e,t,n){let r=e[t]+e[n],i=e[t+1]+e[n+1];r>=4294967296&&i++,e[t]=r,e[t+1]=i}function o(e,t,n,r){let i=e[t]+n;n<0&&(i+=4294967296);let o=e[t+1]+r;i>=4294967296&&o++,e[t]=i,e[t+1]=o}function a(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function s(e,t,n,r,a,s){let l=f[a],u=f[a+1],d=f[s],h=f[s+1];i(c,e,t),o(c,e,l,u);let p=c[r]^c[e],v=c[r+1]^c[e+1];c[r]=v,c[r+1]=p,i(c,n,r),p=c[t]^c[n],v=c[t+1]^c[n+1],c[t]=p>>>24^v<<8,c[t+1]=v>>>24^p<<8,i(c,e,t),o(c,e,d,h),p=c[r]^c[e],v=c[r+1]^c[e+1],c[r]=p>>>16^v<<16,c[r+1]=v>>>16^p<<16,i(c,n,r),p=c[t]^c[n],v=c[t+1]^c[n+1],c[t]=v>>>31^p<<1,c[t+1]=p>>>31^v<<1}let l=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map(function(e){return 2*e})),c=new Uint32Array(32),f=new Uint32Array(32);function d(e,t){let n=0;for(n=0;n<16;n++)c[n]=e.h[n],c[n+16]=l[n];for(c[24]=c[24]^e.t,c[25]=c[25]^e.t/4294967296,t&&(c[28]=~c[28],c[29]=~c[29]),n=0;n<32;n++)f[n]=a(e.b,4*n);for(n=0;n<12;n++)s(0,8,16,24,u[16*n+0],u[16*n+1]),s(2,10,18,26,u[16*n+2],u[16*n+3]),s(4,12,20,28,u[16*n+4],u[16*n+5]),s(6,14,22,30,u[16*n+6],u[16*n+7]),s(0,10,20,30,u[16*n+8],u[16*n+9]),s(2,12,22,24,u[16*n+10],u[16*n+11]),s(4,14,16,26,u[16*n+12],u[16*n+13]),s(6,8,18,28,u[16*n+14],u[16*n+15]);for(n=0;n<16;n++)e.h[n]=e.h[n]^c[n]^c[n+16]}let h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function p(e,t,n,r){if(0===e||e>64)throw Error("Illegal output length, expected 0 < length <= 64");if(t&&t.length>64)throw Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(n&&16!==n.length)throw Error("Illegal salt, expected Uint8Array with length is 16");if(r&&16!==r.length)throw Error("Illegal personal, expected Uint8Array with length is 16");let i={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:e};h.fill(0),h[0]=e,t&&(h[1]=t.length),h[2]=1,h[3]=1,n&&h.set(n,32),r&&h.set(r,48);for(let o=0;o<16;o++)i.h[o]=l[o]^a(h,4*o);return t&&(v(i,t),i.c=128),i}function v(e,t){for(let n=0;n>2]>>8*(3&n);return t}function g(e,t,n,i,o){n=n||64,e=r.normalizeInput(e),i&&(i=r.normalizeInput(i)),o&&(o=r.normalizeInput(o));let a=p(n,t,i,o);return v(a,e),m(a)}e.exports={blake2b:g,blake2bHex:function(e,t,n,i,o){let a=g(e,t,n,i,o);return r.toHex(a)},blake2bInit:p,blake2bUpdate:v,blake2bFinal:m}},39962:function(e,t,n){let r=n(7967);function i(e,t,n,r,i,a){l[e]=l[e]+l[t]+i,l[r]=o(l[r]^l[e],16),l[n]=l[n]+l[r],l[t]=o(l[t]^l[n],12),l[e]=l[e]+l[t]+a,l[r]=o(l[r]^l[e],8),l[n]=l[n]+l[r],l[t]=o(l[t]^l[n],7)}function o(e,t){return e>>>t^e<<32-t}let a=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),l=new Uint32Array(16),u=new Uint32Array(16);function c(e,t){let n=0;for(n=0;n<8;n++)l[n]=e.h[n],l[n+8]=a[n];for(l[12]^=e.t,l[13]^=e.t/4294967296,t&&(l[14]=~l[14]),n=0;n<16;n++){var r,o;u[n]=(r=e.b)[o=4*n]^r[o+1]<<8^r[o+2]<<16^r[o+3]<<24}for(n=0;n<10;n++)i(0,4,8,12,u[s[16*n+0]],u[s[16*n+1]]),i(1,5,9,13,u[s[16*n+2]],u[s[16*n+3]]),i(2,6,10,14,u[s[16*n+4]],u[s[16*n+5]]),i(3,7,11,15,u[s[16*n+6]],u[s[16*n+7]]),i(0,5,10,15,u[s[16*n+8]],u[s[16*n+9]]),i(1,6,11,12,u[s[16*n+10]],u[s[16*n+11]]),i(2,7,8,13,u[s[16*n+12]],u[s[16*n+13]]),i(3,4,9,14,u[s[16*n+14]],u[s[16*n+15]]);for(n=0;n<8;n++)e.h[n]^=l[n]^l[n+8]}function f(e,t){if(!(e>0&&e<=32))throw Error("Incorrect output length, should be in [1, 32]");let n=t?t.length:0;if(t&&!(n>0&&n<=32))throw Error("Incorrect key length, should be in [1, 32]");let r={h:new Uint32Array(a),b:new Uint8Array(64),c:0,t:0,outlen:e};return r.h[0]^=16842752^n<<8^e,n>0&&(d(r,t),r.c=64),r}function d(e,t){for(let n=0;n>2]>>8*(3&n)&255;return t}function p(e,t,n){n=n||32,e=r.normalizeInput(e);let i=f(n,t);return d(i,e),h(i)}e.exports={blake2s:p,blake2sHex:function(e,t,n){let i=p(e,t,n);return r.toHex(i)},blake2sInit:f,blake2sUpdate:d,blake2sFinal:h}},81395:function(e,t,n){let r=n(70651),i=n(39962);e.exports={blake2b:r.blake2b,blake2bHex:r.blake2bHex,blake2bInit:r.blake2bInit,blake2bUpdate:r.blake2bUpdate,blake2bFinal:r.blake2bFinal,blake2s:i.blake2s,blake2sHex:i.blake2sHex,blake2sInit:i.blake2sInit,blake2sUpdate:i.blake2sUpdate,blake2sFinal:i.blake2sFinal}},7967:function(e){function t(e){return(4294967296+e).toString(16).substring(1)}e.exports={normalizeInput:function(e){let t;if(e instanceof Uint8Array)t=e;else if("string"==typeof e){let n=new TextEncoder;t=n.encode(e)}else throw Error("Input must be an string, Buffer or Uint8Array");return t},toHex:function(e){return Array.prototype.map.call(e,function(e){return(e<16?"0":"")+e.toString(16)}).join("")},debugPrint:function(e,n,r){let i="\n"+e+" = ";for(let o=0;o e ? t.activeTargets.push(n) : t.skippedTargets.push(n)) }) }) }, T = function() { var e = 0; for (A(0); a.some(function(e) { return e.activeTargets.length > 0 });)A(e = C()); return a.some(function(e) { return e.skippedTargets.length > 0 }) && l(), e > 0 }, M = [], P = function(e) { if (!o) { var t = 0, n = document.createTextNode(""); new MutationObserver(function() { return M.splice(0).forEach(function(e) { return e() }) }).observe(n, { characterData: !0 }), o = function() { n.textContent = "" + (t ? t-- : t++) } } M.push(e), o() }, N = function(e) { P(function() { requestAnimationFrame(e) }) }, R = 0, D = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, L = ["resize", "load", "transitionend", "animationend", "animationstart", "animationiteration", "keyup", "keydown", "mouseup", "mousedown", "mouseover", "mouseout", "blur", "focus"], F = function(e) { return void 0 === e && (e = 0), Date.now() + e }, I = !1, z = new (function() { function e() { var e = this; this.stopped = !0, this.listener = function() { return e.schedule() } } return e.prototype.run = function(e) { var t = this; if (void 0 === e && (e = 250), !I) { I = !0; var n = F(e); N(function() { var r = !1; try { r = T() } finally { if (I = !1, e = n - F(), !R) return; r ? t.run(1e3) : e > 0 ? t.run(e) : t.start() } }) } }, e.prototype.schedule = function() { this.stop(), this.run() }, e.prototype.observe = function() { var e = this, t = function() { return e.observer && e.observer.observe(document.body, D) }; document.body ? t() : m.addEventListener("DOMContentLoaded", t) }, e.prototype.start = function() { var e = this; this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), L.forEach(function(t) { return m.addEventListener(t, e.listener, !0) })) }, e.prototype.stop = function() { var e = this; this.stopped || (this.observer && this.observer.disconnect(), L.forEach(function(t) { return m.removeEventListener(t, e.listener, !0) }), this.stopped = !0) }, e }()), V = function(e) { !R && e > 0 && z.start(), (R += e) || z.stop() }, B = function() { function e(e, t) { this.target = e, this.observedBox = t || i.CONTENT_BOX, this.lastReportedSize = { inlineSize: 0, blockSize: 0 } } return e.prototype.isActive = function() { var e, t = j(this.target, this.observedBox, !0); return d(e = this.target) || v(e) || "inline" !== getComputedStyle(e).display || (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize }, e }(), Z = function(e, t) { this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = t }, U = new WeakMap, H = function(e, t) { for (var n = 0; n < e.length; n += 1)if (e[n].target === t) return n; return -1 }, W = function() { function e() { } return e.connect = function(e, t) { var n = new Z(e, t); U.set(e, n) }, e.observe = function(e, t, n) { var r = U.get(e), i = 0 === r.observationTargets.length; 0 > H(r.observationTargets, t) && (i && a.push(r), r.observationTargets.push(new B(t, n && n.box)), V(1), z.schedule()) }, e.unobserve = function(e, t) { var n = U.get(e), r = H(n.observationTargets, t), i = 1 === n.observationTargets.length; r >= 0 && (i && a.splice(a.indexOf(n), 1), n.observationTargets.splice(r, 1), V(-1)) }, e.disconnect = function(e) { var t = this, n = U.get(e); n.observationTargets.slice().forEach(function(n) { return t.unobserve(e, n.target) }), n.activeTargets.splice(0, n.activeTargets.length) }, e }(), q = function() { function e(e) { if (0 == arguments.length) throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present."); if ("function" != typeof e) throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function."); W.connect(this, e) } return e.prototype.observe = function(e, t) { if (0 == arguments.length) throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present."); if (!p(e)) throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element"); W.observe(this, e, t) }, e.prototype.unobserve = function(e) { if (0 == arguments.length) throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present."); if (!p(e)) throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element"); W.unobserve(this, e) }, e.prototype.disconnect = function() { W.disconnect(this) }, e.toString = function() { return "function ResizeObserver () { [polyfill code] }" }, e }() }, 41816: function(e, t, n) { "use strict"; function r(e, t, { checkForDefaultPrevented: n = !0 } = {}) { return function(r) { if (null == e || e(r), !1 === n || !r.defaultPrevented) return null == t ? void 0 : t(r) } } n.d(t, { M: function() { return r } }) }, 26215: function(e, t, n) { "use strict"; n.d(t, { F: function() { return i }, e: function() { return o } }); var r = n(2784); function i(...e) { return t => e.forEach(e => { var n; "function" == typeof (n = e) ? n(t) : null != n && (n.current = t) }) } function o(...e) { return (0, r.useCallback)(i(...e), e) } }, 34540: function(e, t, n) { "use strict"; n.d(t, { b: function() { return o }, k: function() { return i } }); var r = n(2784); function i(e, t) { let n = (0, r.createContext)(t); function i(e) { let { children: t, ...i } = e, o = (0, r.useMemo)(() => i, Object.values(i)); return (0, r.createElement)(n.Provider, { value: o }, t) } return i.displayName = e + "Provider", [i, function(i) { let o = (0, r.useContext)(n); if (o) return o; if (void 0 !== t) return t; throw Error(`\`${i}\` must be used within \`${e}\``) }] } function o(e, t = []) { let n = [], i = () => { let t = n.map(e => (0, r.createContext)(e)); return function(n) { let i = (null == n ? void 0 : n[e]) || t; return (0, r.useMemo)(() => ({ [`__scope${e}`]: { ...n, [e]: i } }), [n, i]) } }; return i.scopeName = e, [function(t, i) { let o = (0, r.createContext)(i), a = n.length; function s(t) { let { scope: n, children: i, ...s } = t, l = (null == n ? void 0 : n[e][a]) || o, u = (0, r.useMemo)(() => s, Object.values(s)); return (0, r.createElement)(l.Provider, { value: u }, i) } return n = [...n, i], s.displayName = t + "Provider", [s, function(n, s) { let l = (null == s ? void 0 : s[e][a]) || o, u = (0, r.useContext)(l); if (u) return u; if (void 0 !== i) return i; throw Error(`\`${n}\` must be used within \`${t}\``) }] }, function(...e) { let t = e[0]; if (1 === e.length) return t; let n = () => { let n = e.map(e => ({ useScope: e(), scopeName: e.scopeName })); return function(e) { let i = n.reduce((t, { useScope: n, scopeName: r }) => { let i = n(e), o = i[`__scope${r}`]; return { ...t, ...o } }, {}); return (0, r.useMemo)(() => ({ [`__scope${t.scopeName}`]: i }), [i]) } }; return n.scopeName = t.scopeName, n }(i, ...t)] } }, 72331: function(e, t, n) { "use strict"; n.d(t, { Dx: function() { return K }, VY: function() { return G }, aV: function() { return Y }, dk: function() { return X }, fC: function() { return W }, h_: function() { return $ }, x8: function() { return Q }, xz: function() { return q } }); var r = n(7896), i = n(2784), o = n(41816), a = n(26215), s = n(34540), l = n(26074), u = n(73597), c = n(83317), f = n(77334), d = n(6500), h = n(28245), p = n(72130), v = n(55070), m = n(70506), g = n(49732), y = n(99575); let b = "Dialog", [x, w] = (0, s.b)(b), [_, E] = x(b), k = e => { let { __scopeDialog: t, children: n, open: r, defaultOpen: o, onOpenChange: a, modal: s = !0 } = e, c = (0, i.useRef)(null), f = (0, i.useRef)(null), [d = !1, h] = (0, u.T)({ prop: r, defaultProp: o, onChange: a }); return (0, i.createElement)(_, { scope: t, triggerRef: c, contentRef: f, contentId: (0, l.M)(), titleId: (0, l.M)(), descriptionId: (0, l.M)(), open: d, onOpenChange: h, onOpenToggle: (0, i.useCallback)(() => h(e => !e), [h]), modal: s }, n) }, j = (0, i.forwardRef)((e, t) => { let { __scopeDialog: n, ...s } = e, l = E("DialogTrigger", n), u = (0, a.e)(t, l.triggerRef); return (0, i.createElement)(p.WV.button, (0, r.Z)({ type: "button", "aria-haspopup": "dialog", "aria-expanded": l.open, "aria-controls": l.contentId, "data-state": Z(l.open) }, s, { ref: u, onClick: (0, o.M)(e.onClick, l.onOpenToggle) })) }), S = "DialogPortal", [O, C] = x(S, { forceMount: void 0 }), A = e => { let { __scopeDialog: t, forceMount: n, children: r, container: o } = e, a = E(S, t); return (0, i.createElement)(O, { scope: t, forceMount: n }, i.Children.map(r, e => (0, i.createElement)(h.z, { present: n || a.open }, (0, i.createElement)(d.h, { asChild: !0, container: o }, e)))) }, T = "DialogOverlay", M = (0, i.forwardRef)((e, t) => { let n = C(T, e.__scopeDialog), { forceMount: o = n.forceMount, ...a } = e, s = E(T, e.__scopeDialog); return s.modal ? (0, i.createElement)(h.z, { present: o || s.open }, (0, i.createElement)(P, (0, r.Z)({}, a, { ref: t }))) : null }), P = (0, i.forwardRef)((e, t) => { let { __scopeDialog: n, ...o } = e, a = E(T, n); return (0, i.createElement)(m.Z, { as: y.g7, allowPinchZoom: !0, shards: [a.contentRef] }, (0, i.createElement)(p.WV.div, (0, r.Z)({ "data-state": Z(a.open) }, o, { ref: t, style: { pointerEvents: "auto", ...o.style } }))) }), N = "DialogContent", R = (0, i.forwardRef)((e, t) => { let n = C(N, e.__scopeDialog), { forceMount: o = n.forceMount, ...a } = e, s = E(N, e.__scopeDialog); return (0, i.createElement)(h.z, { present: o || s.open }, s.modal ? (0, i.createElement)(D, (0, r.Z)({}, a, { ref: t })) : (0, i.createElement)(L, (0, r.Z)({}, a, { ref: t }))) }), D = (0, i.forwardRef)((e, t) => { let n = E(N, e.__scopeDialog), s = (0, i.useRef)(null), l = (0, a.e)(t, n.contentRef, s); return (0, i.useEffect)(() => { let e = s.current; if (e) return (0, g.R)(e) }, []), (0, i.createElement)(F, (0, r.Z)({}, e, { ref: l, trapFocus: n.open, disableOutsidePointerEvents: !0, onCloseAutoFocus: (0, o.M)(e.onCloseAutoFocus, e => { var t; e.preventDefault(), null === (t = n.triggerRef.current) || void 0 === t || t.focus() }), onPointerDownOutside: (0, o.M)(e.onPointerDownOutside, e => { let t = e.detail.originalEvent, n = 0 === t.button && !0 === t.ctrlKey, r = 2 === t.button || n; r && e.preventDefault() }), onFocusOutside: (0, o.M)(e.onFocusOutside, e => e.preventDefault()) })) }), L = (0, i.forwardRef)((e, t) => { let n = E(N, e.__scopeDialog), o = (0, i.useRef)(!1); return (0, i.createElement)(F, (0, r.Z)({}, e, { ref: t, trapFocus: !1, disableOutsidePointerEvents: !1, onCloseAutoFocus: t => { var r, i; null === (r = e.onCloseAutoFocus) || void 0 === r || r.call(e, t), t.defaultPrevented || (o.current || null === (i = n.triggerRef.current) || void 0 === i || i.focus(), t.preventDefault()), o.current = !1 }, onInteractOutside: t => { var r, i; null === (r = e.onInteractOutside) || void 0 === r || r.call(e, t), t.defaultPrevented || (o.current = !0); let a = t.target, s = null === (i = n.triggerRef.current) || void 0 === i ? void 0 : i.contains(a); s && t.preventDefault() } })) }), F = (0, i.forwardRef)((e, t) => { let { __scopeDialog: n, trapFocus: o, onOpenAutoFocus: s, onCloseAutoFocus: l, ...u } = e, d = E(N, n), h = (0, i.useRef)(null), p = (0, a.e)(t, h); return (0, v.EW)(), (0, i.createElement)(i.Fragment, null, (0, i.createElement)(f.M, { asChild: !0, loop: !0, trapped: o, onMountAutoFocus: s, onUnmountAutoFocus: l }, (0, i.createElement)(c.XB, (0, r.Z)({ role: "dialog", id: d.contentId, "aria-describedby": d.descriptionId, "aria-labelledby": d.titleId, "data-state": Z(d.open) }, u, { ref: p, onDismiss: () => d.onOpenChange(!1) }))), !1) }), I = "DialogTitle", z = (0, i.forwardRef)((e, t) => { let { __scopeDialog: n, ...o } = e, a = E(I, n); return (0, i.createElement)(p.WV.h2, (0, r.Z)({ id: a.titleId }, o, { ref: t })) }), V = (0, i.forwardRef)((e, t) => { let { __scopeDialog: n, ...o } = e, a = E("DialogDescription", n); return (0, i.createElement)(p.WV.p, (0, r.Z)({ id: a.descriptionId }, o, { ref: t })) }), B = (0, i.forwardRef)((e, t) => { let { __scopeDialog: n, ...a } = e, s = E("DialogClose", n); return (0, i.createElement)(p.WV.button, (0, r.Z)({ type: "button" }, a, { ref: t, onClick: (0, o.M)(e.onClick, () => s.onOpenChange(!1)) })) }); function Z(e) { return e ? "open" : "closed" } let [U, H] = (0, s.k)("DialogTitleWarning", { contentName: N, titleName: I, docsSlug: "dialog" }), W = k, q = j, $ = A, Y = M, G = R, K = z, X = V, Q = B }, 83317: function(e, t, n) { "use strict"; let r; n.d(t, { XB: function() { return d } }); var i = n(7896), o = n(2784), a = n(41816), s = n(72130), l = n(26215), u = n(86029); let c = "dismissableLayer.update", f = (0, o.createContext)({ layers: new Set, layersWithOutsidePointerEventsDisabled: new Set, branches: new Set }), d = (0, o.forwardRef)((e, t) => { let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: d, onPointerDownOutside: v, onFocusOutside: m, onInteractOutside: g, onDismiss: y, ...b } = e, x = (0, o.useContext)(f), [w, _] = (0, o.useState)(null), [, E] = (0, o.useState)({}), k = (0, l.e)(t, e => _(e)), j = Array.from(x.layers), [S] = [...x.layersWithOutsidePointerEventsDisabled].slice(-1), O = j.indexOf(S), C = w ? j.indexOf(w) : -1, A = x.layersWithOutsidePointerEventsDisabled.size > 0, T = C >= O, M = function(e) { let t = (0, u.W)(e), n = (0, o.useRef)(!1), r = (0, o.useRef)(() => { }); return (0, o.useEffect)(() => { let e = e => { if (e.target && !n.current) { let i = { originalEvent: e }; function o() { p("dismissableLayer.pointerDownOutside", t, i, { discrete: !0 }) } "touch" === e.pointerType ? (document.removeEventListener("click", r.current), r.current = o, document.addEventListener("click", r.current, { once: !0 })) : o() } n.current = !1 }, i = window.setTimeout(() => { document.addEventListener("pointerdown", e) }, 0); return () => { window.clearTimeout(i), document.removeEventListener("pointerdown", e), document.removeEventListener("click", r.current) } }, [t]), { onPointerDownCapture: () => n.current = !0 } }(e => { let t = e.target, n = [...x.branches].some(e => e.contains(t)); !T || n || (null == v || v(e), null == g || g(e), e.defaultPrevented || null == y || y()) }), P = function(e) { let t = (0, u.W)(e), n = (0, o.useRef)(!1); return (0, o.useEffect)(() => { let e = e => { e.target && !n.current && p("dismissableLayer.focusOutside", t, { originalEvent: e }, { discrete: !1 }) }; return document.addEventListener("focusin", e), () => document.removeEventListener("focusin", e) }, [t]), { onFocusCapture: () => n.current = !0, onBlurCapture: () => n.current = !1 } }(e => { let t = e.target, n = [...x.branches].some(e => e.contains(t)); n || (null == m || m(e), null == g || g(e), e.defaultPrevented || null == y || y()) }); return !function(e) { let t = (0, u.W)(e); (0, o.useEffect)(() => { let e = e => { "Escape" === e.key && t(e) }; return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e) }, [t]) }(e => { let t = C === x.layers.size - 1; t && (null == d || d(e), !e.defaultPrevented && y && (e.preventDefault(), y())) }), (0, o.useEffect)(() => { if (w) return n && (0 === x.layersWithOutsidePointerEventsDisabled.size && (r = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), x.layersWithOutsidePointerEventsDisabled.add(w)), x.layers.add(w), h(), () => { n && 1 === x.layersWithOutsidePointerEventsDisabled.size && (document.body.style.pointerEvents = r) } }, [w, n, x]), (0, o.useEffect)(() => () => { w && (x.layers.delete(w), x.layersWithOutsidePointerEventsDisabled.delete(w), h()) }, [w, x]), (0, o.useEffect)(() => { let e = () => E({}); return document.addEventListener(c, e), () => document.removeEventListener(c, e) }, []), (0, o.createElement)(s.WV.div, (0, i.Z)({}, b, { ref: k, style: { pointerEvents: A ? T ? "auto" : "none" : void 0, ...e.style }, onFocusCapture: (0, a.M)(e.onFocusCapture, P.onFocusCapture), onBlurCapture: (0, a.M)(e.onBlurCapture, P.onBlurCapture), onPointerDownCapture: (0, a.M)(e.onPointerDownCapture, M.onPointerDownCapture) })) }); function h() { let e = new CustomEvent(c); document.dispatchEvent(e) } function p(e, t, n, { discrete: r }) { let i = n.originalEvent.target, o = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n }); t && i.addEventListener(e, t, { once: !0 }), r ? (0, s.jH)(i, o) : i.dispatchEvent(o) } }, 55070: function(e, t, n) { "use strict"; n.d(t, { EW: function() { return o } }); var r = n(2784); let i = 0; function o() { (0, r.useEffect)(() => { var e, t; let n = document.querySelectorAll("[data-radix-focus-guard]"); return document.body.insertAdjacentElement("afterbegin", null !== (e = n[0]) && void 0 !== e ? e : a()), document.body.insertAdjacentElement("beforeend", null !== (t = n[1]) && void 0 !== t ? t : a()), i++, () => { 1 === i && document.querySelectorAll("[data-radix-focus-guard]").forEach(e => e.remove()), i-- } }, []) } function a() { let e = document.createElement("span"); return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e } }, 77334: function(e, t, n) { "use strict"; let r; n.d(t, { M: function() { return d } }); var i = n(7896), o = n(2784), a = n(26215), s = n(72130), l = n(86029); let u = "focusScope.autoFocusOnMount", c = "focusScope.autoFocusOnUnmount", f = { bubbles: !1, cancelable: !0 }, d = (0, o.forwardRef)((e, t) => { let { loop: n = !1, trapped: r = !1, onMountAutoFocus: d, onUnmountAutoFocus: g, ...y } = e, [b, x] = (0, o.useState)(null), w = (0, l.W)(d), _ = (0, l.W)(g), E = (0, o.useRef)(null), k = (0, a.e)(t, e => x(e)), j = (0, o.useRef)({ paused: !1, pause() { this.paused = !0 }, resume() { this.paused = !1 } }).current; (0, o.useEffect)(() => { if (r) { function e(e) { if (j.paused || !b) return; let t = e.target; b.contains(t) ? E.current = t : v(E.current, { select: !0 }) } function t(e) { j.paused || !b || b.contains(e.relatedTarget) || v(E.current, { select: !0 }) } return document.addEventListener("focusin", e), document.addEventListener("focusout", t), () => { document.removeEventListener("focusin", e), document.removeEventListener("focusout", t) } } }, [r, b, j.paused]), (0, o.useEffect)(() => { if (b) { m.add(j); let e = document.activeElement, t = b.contains(e); if (!t) { let n = new CustomEvent(u, f); b.addEventListener(u, w), b.dispatchEvent(n), n.defaultPrevented || (function(e, { select: t = !1 } = {}) { let n = document.activeElement; for (let r of e) if (v(r, { select: t }), document.activeElement !== n) return }(h(b).filter(e => "A" !== e.tagName), { select: !0 }), document.activeElement === e && v(b)) } return () => { b.removeEventListener(u, w), setTimeout(() => { let t = new CustomEvent(c, f); b.addEventListener(c, _), b.dispatchEvent(t), t.defaultPrevented || v(null != e ? e : document.body, { select: !0 }), b.removeEventListener(c, _), m.remove(j) }, 0) } } }, [b, w, _, j]); let S = (0, o.useCallback)(e => { if (!n && !r || j.paused) return; let t = "Tab" === e.key && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement; if (t && i) { let o = e.currentTarget, [a, s] = function(e) { let t = h(e), n = p(t, e), r = p(t.reverse(), e); return [n, r] }(o); a && s ? e.shiftKey || i !== s ? e.shiftKey && i === a && (e.preventDefault(), n && v(s, { select: !0 })) : (e.preventDefault(), n && v(a, { select: !0 })) : i === o && e.preventDefault() } }, [n, r, j.paused]); return (0, o.createElement)(s.WV.div, (0, i.Z)({ tabIndex: -1 }, y, { ref: k, onKeyDown: S })) }); function h(e) { let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: e => { let t = "INPUT" === e.tagName && "hidden" === e.type; return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP } }); for (; n.nextNode();)t.push(n.currentNode); return t } function p(e, t) { for (let n of e) if (!function(e, { upTo: t }) { if ("hidden" === getComputedStyle(e).visibility) return !0; for (; e && (void 0 === t || e !== t);) { if ("none" === getComputedStyle(e).display) return !0; e = e.parentElement } return !1 }(n, { upTo: t })) return n } function v(e, { select: t = !1 } = {}) { if (e && e.focus) { var n; let r = document.activeElement; e.focus({ preventScroll: !0 }), e !== r && (n = e) instanceof HTMLInputElement && "select" in n && t && e.select() } } let m = (r = [], { add(e) { let t = r[0]; e !== t && (null == t || t.pause()), (r = g(r, e)).unshift(e) }, remove(e) { var t; null === (t = (r = g(r, e))[0]) || void 0 === t || t.resume() } }); function g(e, t) { let n = [...e], r = n.indexOf(t); return -1 !== r && n.splice(r, 1), n } }, 26074: function(e, t, n) { "use strict"; n.d(t, { M: function() { return l } }); var r, i = n(2784), o = n(64680); let a = (r || (r = n.t(i, 2)))["useId".toString()] || (() => void 0), s = 0; function l(e) { let [t, n] = i.useState(a()); return (0, o.b)(() => { e || n(e => null != e ? e : String(s++)) }, [e]), e || (t ? `radix-${t}` : "") } }, 6500: function(e, t, n) { "use strict"; n.d(t, { h: function() { return s } }); var r = n(7896), i = n(2784), o = n(28316), a = n(72130); let s = (0, i.forwardRef)((e, t) => { var n; let { container: s = null == globalThis ? void 0 : null === (n = globalThis.document) || void 0 === n ? void 0 : n.body, ...l } = e; return s ? o.createPortal((0, i.createElement)(a.WV.div, (0, r.Z)({}, l, { ref: t })), s) : null }) }, 28245: function(e, t, n) { "use strict"; n.d(t, { z: function() { return s } }); var r = n(2784), i = n(28316), o = n(26215), a = n(64680); let s = e => { let { present: t, children: n } = e, s = function(e) { var t; let [n, o] = (0, r.useState)(), s = (0, r.useRef)({}), u = (0, r.useRef)(e), c = (0, r.useRef)("none"), [f, d] = (t = { mounted: { UNMOUNT: "unmounted", ANIMATION_OUT: "unmountSuspended" }, unmountSuspended: { MOUNT: "mounted", ANIMATION_END: "unmounted" }, unmounted: { MOUNT: "mounted" } }, (0, r.useReducer)((e, n) => { let r = t[e][n]; return null != r ? r : e }, e ? "mounted" : "unmounted")); return (0, r.useEffect)(() => { let e = l(s.current); c.current = "mounted" === f ? e : "none" }, [f]), (0, a.b)(() => { let t = s.current, n = u.current; if (n !== e) { let r = c.current, i = l(t); e ? d("MOUNT") : "none" === i || (null == t ? void 0 : t.display) === "none" ? d("UNMOUNT") : n && r !== i ? d("ANIMATION_OUT") : d("UNMOUNT"), u.current = e } }, [e, d]), (0, a.b)(() => { if (n) { let e = e => { let t = l(s.current), r = t.includes(e.animationName); e.target === n && r && (0, i.flushSync)(() => d("ANIMATION_END")) }, t = e => { e.target === n && (c.current = l(s.current)) }; return n.addEventListener("animationstart", t), n.addEventListener("animationcancel", e), n.addEventListener("animationend", e), () => { n.removeEventListener("animationstart", t), n.removeEventListener("animationcancel", e), n.removeEventListener("animationend", e) } } d("ANIMATION_END") }, [n, d]), { isPresent: ["mounted", "unmountSuspended"].includes(f), ref: (0, r.useCallback)(e => { e && (s.current = getComputedStyle(e)), o(e) }, []) } }(t), u = "function" == typeof n ? n({ present: s.isPresent }) : r.Children.only(n), c = (0, o.e)(s.ref, u.ref); return "function" == typeof n || s.isPresent ? (0, r.cloneElement)(u, { ref: c }) : null }; function l(e) { return (null == e ? void 0 : e.animationName) || "none" } s.displayName = "Presence" }, 72130: function(e, t, n) { "use strict"; n.d(t, { WV: function() { return s }, jH: function() { return l } }); var r = n(7896), i = n(2784), o = n(28316), a = n(99575); let s = ["a", "button", "div", "h2", "h3", "img", "li", "nav", "ol", "p", "span", "svg", "ul"].reduce((e, t) => { let n = (0, i.forwardRef)((e, n) => { let { asChild: o, ...s } = e, l = o ? a.g7 : t; return (0, i.useEffect)(() => { window[Symbol.for("radix-ui")] = !0 }, []), (0, i.createElement)(l, (0, r.Z)({}, s, { ref: n })) }); return n.displayName = `Primitive.${t}`, { ...e, [t]: n } }, {}); function l(e, t) { e && (0, o.flushSync)(() => e.dispatchEvent(t)) } }, 99575: function(e, t, n) { "use strict"; n.d(t, { A4: function() { return l }, g7: function() { return a } }); var r = n(7896), i = n(2784), o = n(26215); let a = (0, i.forwardRef)((e, t) => { let { children: n, ...o } = e, a = i.Children.toArray(n), l = a.find(u); if (l) { let c = l.props.children, f = a.map(e => e !== l ? e : i.Children.count(c) > 1 ? i.Children.only(null) : (0, i.isValidElement)(c) ? c.props.children : null); return (0, i.createElement)(s, (0, r.Z)({}, o, { ref: t }), (0, i.isValidElement)(c) ? (0, i.cloneElement)(c, void 0, f) : null) } return (0, i.createElement)(s, (0, r.Z)({}, o, { ref: t }), n) }); a.displayName = "Slot"; let s = (0, i.forwardRef)((e, t) => { let { children: n, ...r } = e; return (0, i.isValidElement)(n) ? (0, i.cloneElement)(n, { ...function(e, t) { let n = { ...t }; for (let r in t) { let i = e[r], o = t[r], a = /^on[A-Z]/.test(r); a ? n[r] = (...e) => { null == o || o(...e), null == i || i(...e) } : "style" === r ? n[r] = { ...i, ...o } : "className" === r && (n[r] = [i, o].filter(Boolean).join(" ")) } return { ...e, ...n } }(r, n.props), ref: (0, o.F)(t, n.ref) }) : i.Children.count(n) > 1 ? i.Children.only(null) : null }); s.displayName = "SlotClone"; let l = ({ children: e }) => (0, i.createElement)(i.Fragment, null, e); function u(e) { return (0, i.isValidElement)(e) && e.type === l } }, 86029: function(e, t, n) { "use strict"; n.d(t, { W: function() { return i } }); var r = n(2784); function i(e) { let t = (0, r.useRef)(e); return (0, r.useEffect)(() => { t.current = e }), (0, r.useMemo)(() => (...e) => { var n; return null === (n = t.current) || void 0 === n ? void 0 : n.call(t, ...e) }, []) } }, 73597: function(e, t, n) { "use strict"; n.d(t, { T: function() { return o } }); var r = n(2784), i = n(86029); function o({ prop: e, defaultProp: t, onChange: n = () => { } }) { let [o, a] = function({ defaultProp: e, onChange: t }) { let n = (0, r.useState)(e), [o] = n, a = (0, r.useRef)(o), s = (0, i.W)(t); return (0, r.useEffect)(() => { a.current !== o && (s(o), a.current = o) }, [o, a, s]), n }({ defaultProp: t, onChange: n }), s = void 0 !== e, l = (0, i.W)(n), u = (0, r.useCallback)(t => { if (s) { let n = "function" == typeof t ? t(e) : t; n !== e && l(n) } else a(t) }, [s, e, a, l]); return [s ? e : o, u] } }, 64680: function(e, t, n) { "use strict"; n.d(t, { b: function() { return i } }); var r = n(2784); let i = Boolean(null == globalThis ? void 0 : globalThis.document) ? r.useLayoutEffect : () => { } }, 25447: function(e, t, n) { "use strict"; e.exports = n(44868) }, 99550: function(e, t, n) { "use strict"; e.exports = n(22360) }, 6901: function(e, t, n) { "use strict"; e.exports = n(78476) }, 8669: function(e, t, n) { "use strict"; e.exports = n(19455) }, 53609: function(e, t, n) { "use strict"; e.exports = n(96721) }, 30195: function(e, t) { "use strict"; function n(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e } Object.defineProperty(t, "Z", { enumerable: !0, get: function() { return n } }) }, 81401: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.children, n = void 0 === t ? s.default : t, p = e.axisClassName, m = e.hideAxisLine, g = e.hideTicks, y = e.hideZero, b = void 0 !== y && y, x = e.left, w = e.numTicks, _ = void 0 === w ? 10 : w, E = e.orientation, k = void 0 === E ? f.default.bottom : E, j = e.rangePadding, S = void 0 === j ? 0 : j, O = e.scale, C = e.tickFormat, A = e.tickLength, T = void 0 === A ? 8 : A, M = e.tickValues, P = e.top, N = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, h), R = null != C ? C : (0, u.default)(O), D = k === f.default.left, L = k === f.default.top, F = L || k === f.default.bottom, I = (0, l.default)(O), z = D || L ? -1 : 1, V = O.range(), B = (0, d.default)(S), Z = (0, c.default)({ x: Number(V[0]) + .5 - B.start, y: 0 }, F), U = (0, c.default)({ x: Number(V[V.length - 1]) + .5 + B.end, y: 0 }, F), H = (null != M ? M : (0, a.getTicks)(O, _)).filter(function(e) { return !b || 0 !== e && "0" !== e }).map(function(e, t) { return { value: e, index: t } }), W = H.map(function(e) { var t = e.value, n = e.index, r = (0, a.coerceNumber)(I(t)); return { value: t, index: n, from: (0, c.default)({ x: r, y: 0 }, F), to: (0, c.default)({ x: r, y: T * z }, F), formattedValue: R(t, n, H) } }); return r.default.createElement(o.Group, { className: (0, i.default)("visx-axis", p), top: void 0 === P ? 0 : P, left: void 0 === x ? 0 : x }, n(v({}, N, { axisFromPoint: Z, axisToPoint: U, hideAxisLine: void 0 !== m && m, hideTicks: void 0 !== g && g, hideZero: b, horizontal: F, numTicks: _, orientation: k, rangePadding: S, scale: O, tickFormat: R, tickLength: T, tickPosition: I, tickSign: z, ticks: W }))) }, p(n(13980)); var r = p(n(2784)), i = p(n(72779)), o = n(71602), a = n(63243), s = p(n(58052)), l = p(n(71387)), u = p(n(16882)), c = p(n(89591)), f = p(n(87209)), d = p(n(31863)), h = ["children", "axisClassName", "hideAxisLine", "hideTicks", "hideZero", "left", "numTicks", "orientation", "rangePadding", "scale", "tickFormat", "tickLength", "tickValues", "top"]; function p(e) { return e && e.__esModule ? e : { default: e } } function v() { return (v = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 76861: function(e, t, n) { "use strict"; t.__esModule = !0, t.bottomTickLabelProps = void 0, t.default = function(e) { var t = e.axisClassName, n = e.labelOffset, l = e.tickLabelProps, f = e.tickLength, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s); return r.default.createElement(o.default, u({ axisClassName: (0, i.default)("visx-axis-bottom", t), labelOffset: void 0 === n ? 8 : n, orientation: a.default.bottom, tickLabelProps: void 0 === l ? c : l, tickLength: void 0 === f ? 8 : f }, d)) }; var r = l(n(2784)), i = l(n(72779)), o = l(n(81401)), a = l(n(87209)), s = ["axisClassName", "labelOffset", "tickLabelProps", "tickLength"]; function l(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var c = function() { return { dy: "0.25em", fill: "#222", fontFamily: "Arial", fontSize: 10, textAnchor: "middle" } }; t.bottomTickLabelProps = c }, 19839: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.axisClassName, n = e.labelOffset, l = e.tickLabelProps, f = e.tickLength, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s); return r.default.createElement(o.default, u({ axisClassName: (0, i.default)("visx-axis-left", t), labelOffset: void 0 === n ? 36 : n, orientation: a.default.left, tickLabelProps: void 0 === l ? c : l, tickLength: void 0 === f ? 8 : f }, d)) }, t.leftTickLabelProps = void 0; var r = l(n(2784)), i = l(n(72779)), o = l(n(81401)), a = l(n(87209)), s = ["axisClassName", "labelOffset", "tickLabelProps", "tickLength"]; function l(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var c = function() { return { dx: "-0.25em", dy: "0.25em", fill: "#222", fontFamily: "Arial", fontSize: 10, textAnchor: "end" } }; t.leftTickLabelProps = c }, 58052: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.axisFromPoint, n = e.axisLineClassName, c = e.axisToPoint, h = e.hideAxisLine, p = e.hideTicks, v = e.horizontal, m = e.label, g = void 0 === m ? "" : m, y = e.labelClassName, b = e.labelOffset, x = e.labelProps, w = void 0 === x ? d : x, _ = e.orientation, E = void 0 === _ ? u.Orientation.bottom : _, k = e.scale, j = e.stroke, S = e.strokeDasharray, O = e.strokeWidth, C = void 0 === O ? 1 : O, A = e.tickClassName, T = e.tickComponent, M = e.tickLineProps, P = e.tickLabelProps, N = void 0 === P ? function() { return d } : P, R = e.tickLength, D = e.tickStroke, L = e.tickTransform, F = e.ticks, I = e.ticksComponent, z = void 0 === I ? l.default : I, V = F.map(function(e) { return N(e.value, e.index, F) }), B = Math.max.apply(Math, [10].concat(V.map(function(e) { return "number" == typeof e.fontSize ? e.fontSize : 0 }))); return r.default.createElement(r.default.Fragment, null, z({ hideTicks: p, horizontal: v, orientation: E, scale: k, tickClassName: A, tickComponent: T, tickLabelProps: V, tickStroke: void 0 === D ? "#222" : D, tickTransform: L, ticks: F, strokeWidth: C, tickLineProps: M }), !h && r.default.createElement(o.Line, { className: (0, i.default)("visx-axis-line", n), from: t, to: c, stroke: void 0 === j ? "#222" : j, strokeWidth: C, strokeDasharray: S }), g && r.default.createElement(a.Text, f({ className: (0, i.default)("visx-axis-label", y) }, (0, s.default)({ labelOffset: void 0 === b ? 14 : b, labelProps: w, orientation: E, range: k.range(), tickLabelFontSize: B, tickLength: void 0 === R ? 8 : R }), w), g)) }; var r = c(n(2784)), i = c(n(72779)), o = n(64657), a = n(44425), s = c(n(17165)), l = c(n(30427)), u = n(90278); function c(e) { return e && e.__esModule ? e : { default: e } } function f() { return (f = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var d = { textAnchor: "middle", fontFamily: "Arial", fontSize: 10, fill: "#222" } }, 81777: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.axisClassName, n = e.labelOffset, l = e.tickLabelProps, f = e.tickLength, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s); return r.default.createElement(o.default, u({ axisClassName: (0, i.default)("visx-axis-right", t), labelOffset: void 0 === n ? 36 : n, orientation: a.default.right, tickLabelProps: void 0 === l ? c : l, tickLength: void 0 === f ? 8 : f }, d)) }, t.rightTickLabelProps = void 0; var r = l(n(2784)), i = l(n(72779)), o = l(n(81401)), a = l(n(87209)), s = ["axisClassName", "labelOffset", "tickLabelProps", "tickLength"]; function l(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var c = function() { return { dx: "0.25em", dy: "0.25em", fill: "#222", fontFamily: "Arial", fontSize: 10, textAnchor: "start" } }; t.rightTickLabelProps = c }, 25981: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.axisClassName, n = e.labelOffset, l = e.tickLabelProps, f = e.tickLength, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s); return r.default.createElement(o.default, u({ axisClassName: (0, i.default)("visx-axis-top", t), labelOffset: void 0 === n ? 8 : n, orientation: a.default.top, tickLabelProps: void 0 === l ? c : l, tickLength: void 0 === f ? 8 : f }, d)) }, t.topTickLabelProps = void 0; var r = l(n(2784)), i = l(n(72779)), o = l(n(81401)), a = l(n(87209)), s = ["axisClassName", "labelOffset", "tickLabelProps", "tickLength"]; function l(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var c = function() { return { dy: "-0.75em", fill: "#222", fontFamily: "Arial", fontSize: 10, textAnchor: "middle" } }; t.topTickLabelProps = c }, 30427: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.hideTicks, n = e.horizontal, u = e.orientation, f = e.tickClassName, d = e.tickComponent, h = e.tickLabelProps, p = e.tickStroke, v = void 0 === p ? "#222" : p, m = e.tickTransform, g = e.ticks, y = e.strokeWidth, b = e.tickLineProps; return g.map(function(e) { var p, g = e.value, x = e.index, w = e.from, _ = e.to, E = e.formattedValue, k = null != (p = h[x]) ? p : {}, j = Math.max(10, "number" == typeof k.fontSize && k.fontSize || 0), S = _.y + (n && u !== l.default.top ? j : 0); return r.default.createElement(a.Group, { key: "visx-tick-" + g + "-" + x, className: (0, i.default)("visx-axis-tick", f), transform: m }, !t && r.default.createElement(o.Line, c({ from: w, to: _, stroke: v, strokeWidth: y, strokeLinecap: "square" }, b)), d ? d(c({}, k, { x: _.x, y: S, formattedValue: E })) : r.default.createElement(s.Text, c({ x: _.x, y: S }, k), E)) }) }; var r = u(n(2784)), i = u(n(72779)), o = n(64657), a = n(71602), s = n(44425), l = u(n(87209)); function u(e) { return e && e.__esModule ? e : { default: e } } function c() { return (c = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 87209: function(e, t) { "use strict"; t.__esModule = !0, t.default = void 0, t.default = { top: "top", left: "left", right: "right", bottom: "bottom" } }, 90278: function(e, t, n) { "use strict"; t.__esModule = !0; var r = { Axis: !0, AxisLeft: !0, AxisRight: !0, AxisTop: !0, AxisBottom: !0, Orientation: !0 }; t.Orientation = t.AxisTop = t.AxisRight = t.AxisLeft = t.AxisBottom = t.Axis = void 0; var i = f(n(81401)); t.Axis = i.default; var o = f(n(19839)); t.AxisLeft = o.default; var a = f(n(81777)); t.AxisRight = a.default; var s = f(n(25981)); t.AxisTop = s.default; var l = f(n(76861)); t.AxisBottom = l.default; var u = f(n(87209)); t.Orientation = u.default; var c = n(559); function f(e) { return e && e.__esModule ? e : { default: e } } Object.keys(c).forEach(function(e) { !("default" === e || "__esModule" === e || Object.prototype.hasOwnProperty.call(r, e)) && (e in t && t[e] === c[e] || (t[e] = c[e])) }) }, 559: function(e, t) { "use strict"; t.__esModule = !0 }, 89591: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e, t) { var n = e.x, i = e.y; return new r.Point(t ? { x: n, y: i } : { x: i, y: n }) }; var r = n(61305) }, 31863: function(e, t) { "use strict"; function n() { return (n = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } t.__esModule = !0, t.default = function(e) { return void 0 === e && (e = 0), "number" == typeof e ? { start: e, end: e } : n({ start: 0, end: 0 }, e) }, t.defaultAxisRangePadding = void 0, t.defaultAxisRangePadding = 0 }, 17165: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t, n, r, o = e.labelOffset, a = e.labelProps, s = e.orientation, l = e.range, u = e.tickLabelFontSize, c = e.tickLength, f = s === i.default.left || s === i.default.top ? -1 : 1; if (s === i.default.top || s === i.default.bottom) { var d = s === i.default.bottom && "number" == typeof a.fontSize ? a.fontSize : 0; t = (Number(l[0]) + Number(l[l.length - 1])) / 2, n = f * (c + o + u + d) } else t = f * ((Number(l[0]) + Number(l[l.length - 1])) / 2), n = -(c + o), r = "rotate(" + 90 * f + ")"; return { x: t, y: n, transform: r } }; var r, i = (r = n(87209)) && r.__esModule ? r : { default: r } }, 16882: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { return "tickFormat" in e ? e.tickFormat() : r.toString }; var r = n(63243) }, 71387: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { if (void 0 === t && (t = "center"), "start" !== t && "bandwidth" in e) { var n = e.bandwidth(); return "center" === t && (n /= 2), e.round() && (n = Math.round(n)), function(t) { var r = e(t); return "number" == typeof r ? r + n : r } } return e } }, 99985: function(e, t, n) { "use strict"; t.Z = s; var r = a(n(13980)), i = a(n(2784)), o = a(n(23442)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e) { var t = e.captureDragArea, n = e.snapToPointer, r = e.children, a = e.dx, s = e.dy, l = e.height, u = e.onDragEnd, c = e.onDragMove, f = e.onDragStart, d = e.resetOnStart, h = e.width, p = e.x, v = e.y, m = e.isDragging, g = e.restrict, y = e.restrictToPath, b = (0, o.default)({ resetOnStart: d, snapToPointer: void 0 === n || n, onDragEnd: u, onDragMove: c, onDragStart: f, x: p, y: v, dx: a, dy: s, isDragging: m, restrict: g, restrictToPath: y }); return i.default.createElement(i.default.Fragment, null, b.isDragging && (void 0 === t || t) && i.default.createElement("rect", { width: h, height: l, onPointerDown: b.dragStart, onPointerMove: b.dragMove, onPointerUp: b.dragEnd, fill: "transparent" }), r(b)) } s.propTypes = { children: r.default.func.isRequired, width: r.default.number.isRequired, height: r.default.number.isRequired, captureDragArea: r.default.bool, isDragging: r.default.bool } }, 23442: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = void 0 === e ? {} : e, n = t.resetOnStart, u = void 0 !== n && n, f = t.snapToPointer, d = void 0 === f || f, h = t.onDragEnd, p = t.onDragMove, v = t.onDragStart, m = t.x, g = t.y, y = t.dx, b = t.dy, x = t.isDragging, w = t.restrict, _ = void 0 === w ? {} : w, E = t.restrictToPath, k = (0, r.useRef)({ x: m, y: g, dx: y, dy: b }), j = (0, a.default)({ x: m, y: g, dx: null != y ? y : 0, dy: null != b ? b : 0, isDragging: !1 }), S = j[0], O = j[1], C = (0, r.useState)(new i.Point({ x: 0, y: 0 })), A = C[0], T = C[1]; (0, r.useEffect)(function() { (k.current.x !== m || k.current.y !== g || k.current.dx !== y || k.current.dy !== b) && (k.current = { x: m, y: g, dx: y, dy: b }, O(function(e) { return c({}, e, { x: m, y: g, dx: null != y ? y : 0, dy: null != b ? b : 0 }) })) }), (0, r.useEffect)(function() { void 0 !== x && S.isDragging !== x && O(function(e) { return c({}, e, { isDragging: x }) }) }, [S.isDragging, x, O]); var M = (0, l.default)(E), P = (0, r.useCallback)(function(e) { e.persist(), O(function(t) { var n = t.x, r = t.y, a = t.dx, l = t.dy, c = new i.Point({ x: ((void 0 === n ? 0 : n) || 0) + a, y: ((void 0 === r ? 0 : r) || 0) + l }), f = (0, o.localPoint)(e) || new i.Point({ x: 0, y: 0 }), h = (0, s.default)(d ? f : c, M, _); return T((0, i.subtractPoints)(c, f)), { isDragging: !0, dx: u ? 0 : t.dx, dy: u ? 0 : t.dy, x: u ? h.x : h.x - t.dx, y: u ? h.y : h.y - t.dy } }, v && function(t) { v(c({}, t, { event: e })) }) }, [v, u, _, M, O, d]), N = (0, r.useCallback)(function(e) { e.persist(), O(function(t) { if (!t.isDragging) return t; var n = t.x, r = t.y, a = (0, o.localPoint)(e) || new i.Point({ x: 0, y: 0 }), l = d ? a : (0, i.sumPoints)(a, A), u = (0, s.default)(l, M, _); return c({}, t, { dx: u.x - (void 0 === n ? 0 : n), dy: u.y - (void 0 === r ? 0 : r) }) }, p && function(t) { t.isDragging && p(c({}, t, { event: e })) }) }, [O, p, d, A, M, _]), R = (0, r.useCallback)(function(e) { e.persist(), O(function(e) { return c({}, e, { isDragging: !1 }) }, h && function(t) { h(c({}, t, { event: e })) }) }, [h, O]); return c({}, S, { dragEnd: R, dragMove: N, dragStart: P }) }; var r = n(2784), i = n(61305), o = n(65319), a = u(n(37016)), s = u(n(60890)), l = u(n(32722)); function u(e) { return e && e.__esModule ? e : { default: e } } function c() { return (c = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 30968: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t, n) { return Math.min(Math.max(e, t), n) } }, 98929: function(e, t) { "use strict"; function n(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = Array(t); n < t; n++)r[n] = e[n]; return r } t.__esModule = !0, t.default = function(e, t) { for (var r, i = e, o = 1 / 0, a = function(e, t) { var r = "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; if (r) return (r = r.call(e)).next.bind(r); if (Array.isArray(e) || (r = function(e, t) { if (e) { if ("string" == typeof e) return n(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if ("Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r) return Array.from(e); if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return n(e, t) } }(e))) { r && (e = r); var i = 0; return function() { return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] } } } throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }(t); !(r = a()).done;) { var s = r.value, l = Math.sqrt(Math.pow(s.x - e.x, 2) + Math.pow(s.y - e.y, 2)); l < o && (o = l, i = { x: s.x, y: s.y }) } return i } }, 60890: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e, t, n) { var o, a, s, l; return (void 0 === n && (n = {}), t.length > 0) ? (0, i.default)(e, t) : { x: (0, r.default)(e.x, null != (o = n.xMin) ? o : -1 / 0, null != (a = n.xMax) ? a : 1 / 0), y: (0, r.default)(e.y, null != (s = n.yMin) ? s : -1 / 0, null != (l = n.yMax) ? l : 1 / 0) } }; var r = o(n(30968)), i = o(n(98929)); function o(e) { return e && e.__esModule ? e : { default: e } } }, 32722: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { return (0, r.useMemo)(function() { if (!e) return []; var t = e.getCTM() || new DOMMatrix; return function(e, t, n) { if (void 0 === n && (n = 1), !e) return []; for (var r = [], i = e.getTotalLength(), o = 0; o <= i; o += n) { var a = e.getPointAtLength(o).matrixTransform(t); r.push(a) } return r }(e, t) }, [null == e ? void 0 : e.getTotalLength()]) }; var r = n(2784) }, 37016: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = (0, r.useState)(e), n = t[0], i = t[1], o = (0, r.useRef)(null), a = (0, r.useCallback)(function(e, t) { o.current = t || null, i(e) }, [i]); return (0, r.useLayoutEffect)(function() { o.current && (o.current(n), o.current = null) }, [n]), [n, a] }; var r = n(2784) }, 65319: function(e, t, n) { "use strict"; n.r(t), n.d(t, { localPoint: function() { return r.Z }, touchPoint: function() { return i.Z } }); var r = n(91032), i = n(49833) }, 91032: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(49833), i = n(44321); function o(e, t) { if ((0, i.kK)(e) && t) return (0, r.Z)(e, t); if ((0, i.cO)(e)) { var n = e.target; if (n) return (0, r.Z)(n, e) } return null } }, 49833: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return s } }); var r = n(19067), i = n(44321); function o() { return (o = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var a = { x: 0, y: 0 }; function s(e, t) { if (!e || !t) return null; var n = function(e) { if (!e) return o({}, a); if ((0, i.z6)(e)) return e.changedTouches.length > 0 ? { x: e.changedTouches[0].clientX, y: e.changedTouches[0].clientY } : o({}, a); if ((0, i.N5)(e)) return { x: e.clientX, y: e.clientY }; var t = null == e ? void 0 : e.target, n = t && "getBoundingClientRect" in t ? t.getBoundingClientRect() : null; return n ? { x: n.x + n.width / 2, y: n.y + n.height / 2 } : o({}, a) }(t), s = (0, i.vZ)(e) ? e.ownerSVGElement : e, l = (0, i.DY)(s) ? s.getScreenCTM() : null; if ((0, i.r4)(s) && l) { var u = s.createSVGPoint(); return u.x = n.x, u.y = n.y, u = u.matrixTransform(l.inverse()), new r.Z({ x: u.x, y: u.y }) } var c = e.getBoundingClientRect(); return new r.Z({ x: n.x - c.left - e.clientLeft, y: n.y - c.top - e.clientTop }) } }, 44321: function(e, t, n) { "use strict"; function r(e) { return !!e && e instanceof Element } function i(e) { return !!e && (e instanceof SVGElement || "ownerSVGElement" in e) } function o(e) { return !!e && "createSVGPoint" in e } function a(e) { return !!e && "getScreenCTM" in e } function s(e) { return !!e && "changedTouches" in e } function l(e) { return !!e && "clientX" in e } function u(e) { return !!e && (e instanceof Event || "nativeEvent" in e && e.nativeEvent instanceof Event) } n.d(t, { DY: function() { return a }, N5: function() { return l }, cO: function() { return u }, kK: function() { return r }, r4: function() { return o }, vZ: function() { return i }, z6: function() { return s } }) }, 21516: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = p; var r = d(n(13980)), i = d(n(2784)), o = d(n(72779)), a = d(n(47440)), s = n(71602), l = n(61305), u = n(63243), c = d(n(12345)), f = ["top", "left", "scale", "height", "stroke", "strokeWidth", "strokeDasharray", "className", "numTicks", "lineStyle", "offset", "tickValues", "children"]; function d(e) { return e && e.__esModule ? e : { default: e } } function h() { return (h = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function p(e) { var t = e.top, n = e.left, r = e.scale, d = e.height, p = e.stroke, v = void 0 === p ? "#eaf0f6" : p, m = e.strokeWidth, g = void 0 === m ? 1 : m, y = e.strokeDasharray, b = e.className, x = e.numTicks, w = e.lineStyle, _ = e.offset, E = e.tickValues, k = e.children, j = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, f), S = null != E ? E : (0, u.getTicks)(r, void 0 === x ? 10 : x), O = (null != _ ? _ : 0) + (0, c.default)(r) / 2, C = S.map(function(e, t) { var n, i = (null != (n = (0, u.coerceNumber)(r(e))) ? n : 0) + O; return { index: t, from: new l.Point({ x: i, y: 0 }), to: new l.Point({ x: i, y: d }) } }); return i.default.createElement(s.Group, { className: (0, o.default)("visx-columns", b), top: void 0 === t ? 0 : t, left: void 0 === n ? 0 : n }, k ? k({ lines: C }) : C.map(function(e) { var t = e.from, n = e.to, r = e.index; return i.default.createElement(a.default, h({ key: "column-line-" + r, from: t, to: n, stroke: v, strokeWidth: g, strokeDasharray: y, style: w }, j)) })) } p.propTypes = { tickValues: r.default.array, height: r.default.number.isRequired } }, 34264: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = p; var r = d(n(13980)), i = d(n(2784)), o = d(n(72779)), a = d(n(47440)), s = n(71602), l = n(61305), u = n(63243), c = d(n(12345)), f = ["top", "left", "scale", "width", "stroke", "strokeWidth", "strokeDasharray", "className", "children", "numTicks", "lineStyle", "offset", "tickValues"]; function d(e) { return e && e.__esModule ? e : { default: e } } function h() { return (h = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function p(e) { var t = e.top, n = e.left, r = e.scale, d = e.width, p = e.stroke, v = void 0 === p ? "#eaf0f6" : p, m = e.strokeWidth, g = void 0 === m ? 1 : m, y = e.strokeDasharray, b = e.className, x = e.children, w = e.numTicks, _ = e.lineStyle, E = e.offset, k = e.tickValues, j = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, f), S = null != k ? k : (0, u.getTicks)(r, void 0 === w ? 10 : w), O = (null != E ? E : 0) + (0, c.default)(r) / 2, C = S.map(function(e, t) { var n, i = (null != (n = (0, u.coerceNumber)(r(e))) ? n : 0) + O; return { index: t, from: new l.Point({ x: 0, y: i }), to: new l.Point({ x: d, y: i }) } }); return i.default.createElement(s.Group, { className: (0, o.default)("visx-rows", b), top: void 0 === t ? 0 : t, left: void 0 === n ? 0 : n }, x ? x({ lines: C }) : C.map(function(e) { var t = e.from, n = e.to, r = e.index; return i.default.createElement(a.default, h({ key: "row-line-" + r, from: t, to: n, stroke: v, strokeWidth: g, strokeDasharray: y, style: _ }, j)) })) } p.propTypes = { tickValues: r.default.array, width: r.default.number.isRequired } }, 12345: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e) { return "bandwidth" in e ? e.bandwidth() : 0 } }, 59309: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return c } }); var r = n(13980), i = n.n(r), o = n(2784), a = n(72779), s = n.n(a), l = ["top", "left", "transform", "className", "children", "innerRef"]; function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function c(e) { var t = e.top, n = e.left, r = e.transform, i = e.className, a = e.children, c = e.innerRef, f = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, l); return o.createElement("g", u({ ref: c, className: s()("visx-group", i), transform: r || "translate(" + (void 0 === n ? 0 : n) + ", " + (void 0 === t ? 0 : t) + ")" }, f), a) } c.propTypes = { top: i().number, left: i().number, transform: i().string, className: i().string, children: i().node, innerRef: i().oneOfType([i().string, i().func, i().object]) } }, 71602: function(e, t, n) { "use strict"; n.r(t), n.d(t, { Group: function() { return r.Z } }); var r = n(59309) }, 19067: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return r } }); var r = function() { function e(e) { var t = e.x, n = e.y; this.x = 0, this.y = 0, this.x = void 0 === t ? 0 : t, this.y = void 0 === n ? 0 : n } var t = e.prototype; return t.value = function() { return { x: this.x, y: this.y } }, t.toArray = function() { return [this.x, this.y] }, e }() }, 61305: function(e, t, n) { "use strict"; n.r(t), n.d(t, { Point: function() { return r.Z }, subtractPoints: function() { return o }, sumPoints: function() { return i } }); var r = n(19067); function i(e, t) { return new r.Z({ x: e.x + t.x, y: e.y + t.y }) } function o(e, t) { return new r.Z({ x: e.x - t.x, y: e.y - t.y }) } }, 93125: function(e, t, n) { "use strict"; t.Z = function(e) { var t = e.animationTrajectory, n = e.tickComponent, s = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a), l = (0, r.useMemo)(function() { return function(e) { return r.default.createElement(o.default, u({}, e, { tickComponent: n, animationTrajectory: t })) } }, [t, n]); return r.default.createElement(i.default, u({}, s, { ticksComponent: l })) }, l(n(13980)); var r = function(e, t) { if (!t && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var n = s(t); if (n && n.has(e)) return n.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if ("default" !== o && Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } return r.default = e, n && n.set(e, r), r }(n(2784)), i = l(n(81401)), o = l(n(65154)), a = ["animationTrajectory", "tickComponent"]; function s(e) { if ("function" != typeof WeakMap) return null; var t = new WeakMap, n = new WeakMap; return (s = function(e) { return e ? n : t })(e) } function l(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 65154: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.hideTicks, n = e.horizontal, u = e.orientation, f = e.scale, d = e.tickClassName, h = e.tickComponent, p = e.tickLabelProps, v = e.tickStroke, m = void 0 === v ? "#222" : v, g = e.tickTransform, y = e.ticks, b = e.tickLineProps, x = e.animationTrajectory, w = (0, i.useTransition)(y, c({}, (0, l.default)({ scale: f, animateXOrY: n ? "x" : "y", animationTrajectory: x }), { keys: function(e) { return "tick-" + e.value + "-" + e.index } })); return r.default.createElement(r.default.Fragment, null, w(function(e, n, l, f) { var v, y, x = e.fromX, w = e.toX, _ = e.fromY, E = e.toY, k = e.opacity, j = l.key, S = null != (v = null != (y = p[f]) ? y : p[0]) ? v : {}; return null == n || null == j ? null : r.default.createElement(i.animated.g, { key: j, className: (0, o.default)("visx-axis-tick", d), transform: g }, !t && r.default.createElement(i.animated.line, c({ x1: x, x2: w, y1: _, y2: E, stroke: m, strokeLinecap: "square", strokeOpacity: k }, b)), r.default.createElement(i.animated.g, { key: f, transform: (0, i.to)([w, E], function(e, t) { var n; return "translate(" + e + "," + (t + (u === a.default.bottom && "number" == typeof S.fontSize ? null != (n = S.fontSize) ? n : 10 : 0)) + ")" }), opacity: k }, h ? h(c({}, S, { x: w, y: E, formattedValue: null == n ? void 0 : n.formattedValue })) : r.default.createElement(s.Text, S, null == n ? void 0 : n.formattedValue))) })) }; var r = u(n(2784)), i = n(53609), o = u(n(72779)), a = u(n(87209)), s = n(44425), l = u(n(20915)); function u(e) { return e && e.__esModule ? e : { default: e } } function c() { return (c = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 63962: function(e, t, n) { "use strict"; t.Z = function(e) { var t = e.scale, n = e.height, s = e.numTicks, u = e.tickValues, c = (e.offset, e.className), f = e.animationTrajectory, d = e.top, h = e.left, p = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a); return r.default.createElement(i.default, { scale: t, height: n, numTicks: s, tickValues: u, className: c, top: d, left: h }, function(e) { var n = e.lines; return r.default.createElement(o.default, l({ scale: t, lines: n, animationTrajectory: f, animateXOrY: "x", lineKey: function(e) { var t, n; return "column-" + (null != (t = null == e ? void 0 : null == (n = e.from) ? void 0 : n.x) ? t : "") + "-" + e.index } }, p)) }) }; var r = s(n(2784)), i = s(n(21516)), o = s(n(55727)), a = ["scale", "height", "numTicks", "tickValues", "offset", "className", "animationTrajectory", "top", "left"]; function s(e) { return e && e.__esModule ? e : { default: e } } function l() { return (l = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 55727: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = c; var r = l(n(13980)), i = l(n(2784)), o = n(53609), a = l(n(20915)), s = ["scale", "lines", "animationTrajectory", "animateXOrY", "lineKey", "lineStyle"]; function l(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function c(e) { var t = e.scale, n = e.lines, r = e.animationTrajectory, l = e.animateXOrY, c = e.lineKey, f = e.lineStyle, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s), h = (0, o.useTransition)(n, u({}, (0, a.default)({ scale: t, animateXOrY: l, animationTrajectory: r }), { key: c })); return i.default.createElement(i.default.Fragment, null, h(function(e, t, n) { var r = e.fromX, a = e.toX, s = e.fromY, l = e.toY, c = e.opacity, h = n.key; return i.default.createElement(o.animated.line, u({ key: h, x1: r, x2: a, y1: s, y2: l, strokeOpacity: c, style: f }, d)) })) } c.propTypes = { lineKey: r.default.func.isRequired } }, 93353: function(e, t, n) { "use strict"; t.Z = function(e) { var t = e.scale, n = e.width, s = e.numTicks, u = e.tickValues, c = (e.offset, e.className), f = e.animationTrajectory, d = e.top, h = e.left, p = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a); return r.default.createElement(i.default, { scale: t, width: n, numTicks: s, tickValues: u, className: c, top: d, left: h }, function(e) { var n = e.lines; return r.default.createElement(o.default, l({ scale: t, lines: n, animationTrajectory: f, animateXOrY: "y", lineKey: function(e) { var t, n; return "row-" + (null != (t = null == e ? void 0 : null == (n = e.from) ? void 0 : n.y) ? t : "") + "-" + e.index } }, p)) }) }; var r = s(n(2784)), i = s(n(34264)), o = s(n(55727)), a = ["scale", "width", "numTicks", "tickValues", "offset", "className", "animationTrajectory", "top", "left"]; function s(e) { return e && e.__esModule ? e : { default: e } } function l() { return (l = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 20915: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.scale, n = e.animateXOrY, s = e.animationTrajectory, l = void 0 === s ? "outside" : s, u = "x" === n; return (0, r.useMemo)(function() { var e = t.range().map(i.coerceNumber), n = e[0], r = e[1], s = null != r && null != n && r < n ? [r, n] : [n, r], c = s[0], f = s[1], d = (null != c ? c : 0) + (null != r && null != n ? Math.abs(r - n) : 0) / 2, h = l; u || "min" !== l || (h = "max"), u || "max" !== l || (h = "min"); var p = function(e) { var t = e.from, n = e.to; return { fromX: u ? o(h, t.x, c, f, d) : t.x, toX: u ? o(h, t.x, c, f, d) : n.x, fromY: u ? t.y : o(h, t.y, c, f, d), toY: u ? n.y : o(h, t.y, c, f, d), opacity: 0 } }; return { from: p, leave: p, enter: a, update: a } }, [t, u, l]) }; var r = n(2784), i = n(63243); function o(e, t, n, r, i) { var o; switch (e) { case "center": return i; case "min": return null != n ? n : 0; case "max": return null != r ? r : 0; default: return null != (o = (null != t ? t : 0) < i ? n : r) ? o : 0 } } function a(e) { var t = e.from, n = e.to; return { fromX: t.x, toX: n.x, fromY: t.y, toY: n.y, opacity: 1 } } }, 70390: function(e, t, n) { "use strict"; t.Z = d; var r = u(n(13980)), i = u(n(54073)), o = function(e, t) { if (!t && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var n = l(t); if (n && n.has(e)) return n.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if ("default" !== o && Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } return r.default = e, n && n.set(e, r), r }(n(2784)), a = n(44711), s = ["className", "children", "debounceTime", "ignoreDimensions", "parentSizeStyles", "enableDebounceLeadingCall"]; function l(e) { if ("function" != typeof WeakMap) return null; var t = new WeakMap, n = new WeakMap; return (l = function(e) { return e ? n : t })(e) } function u(e) { return e && e.__esModule ? e : { default: e } } function c() { return (c = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var f = []; function d(e) { var t = e.className, n = e.children, r = e.debounceTime, l = void 0 === r ? 300 : r, u = e.ignoreDimensions, d = void 0 === u ? f : u, h = e.parentSizeStyles, p = e.enableDebounceLeadingCall, v = void 0 === p || p, m = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s), g = (0, o.useRef)(null), y = (0, o.useRef)(0), b = (0, o.useState)({ width: 0, height: 0, top: 0, left: 0 }), x = b[0], w = b[1], _ = (0, o.useMemo)(function() { var e = Array.isArray(d) ? d : [d]; return (0, i.default)(function(t) { w(function(n) { return Object.keys(n).filter(function(e) { return n[e] !== t[e] }).every(function(t) { return e.includes(t) }) ? n : t }) }, l, { leading: v }) }, [l, v, d]); return (0, o.useEffect)(function() { var e = new a.ResizeObserver(function(e) { void 0 === e && (e = []), e.forEach(function(e) { var t = e.contentRect, n = t.left, r = t.top, i = t.width, o = t.height; y.current = window.requestAnimationFrame(function() { _({ width: i, height: o, top: r, left: n }) }) }) }); return g.current && e.observe(g.current), function() { window.cancelAnimationFrame(y.current), e.disconnect(), null != _ && _.cancel && _.cancel() } }, [_]), o.default.createElement("div", c({ style: void 0 === h ? { width: "100%", height: "100%" } : h, ref: g, className: t }, m), n(c({}, x, { ref: g.current, resize: _ }))) } d.propTypes = { className: r.default.string, debounceTime: r.default.number, enableDebounceLeadingCall: r.default.bool, ignoreDimensions: r.default.oneOfType([r.default.any, r.default.arrayOf(r.default.any)]), children: r.default.func.isRequired } }, 2663: function(e, t, n) { "use strict"; var r = n(8597), i = n(12430), o = n(70590), a = n(50630), s = n(34278), l = n(64183), u = n(61662), c = n(43634), f = n(73335), d = n(54229), h = n(30558), p = n(71646), v = n(26587); t.Z = function(e) { if (void 0 !== e && "type" in e) switch (e.type) { case "linear": break; case "log": return (0, i.Z)(e); case "pow": return (0, o.Z)(e); case "sqrt": return (0, a.Z)(e); case "symlog": return (0, s.Z)(e); case "time": return (0, l.Z)(e); case "utc": return (0, u.Z)(e); case "quantile": return (0, c.Z)(e); case "quantize": return (0, f.Z)(e); case "threshold": return (0, d.Z)(e); case "ordinal": return (0, h.Z)(e); case "point": return (0, p.Z)(e); case "band": return (0, v.Z)(e) }return (0, r.Z)(e) } }, 63243: function(e, t, n) { "use strict"; n.r(t), n.d(t, { coerceNumber: function() { return j.Z }, createScale: function() { return x.Z }, getTicks: function() { return S.Z }, inferScaleType: function() { return k }, scaleBand: function() { return r.Z }, scaleCanBeZeroed: function() { return C.Z }, scaleLinear: function() { return o.Z }, scaleLog: function() { return d.Z }, scaleOrdinal: function() { return p.Z }, scalePoint: function() { return i.Z }, scalePower: function() { return h.Z }, scaleQuantile: function() { return m.Z }, scaleQuantize: function() { return v.Z }, scaleRadial: function() { return u }, scaleSqrt: function() { return b.Z }, scaleSymlog: function() { return g.Z }, scaleThreshold: function() { return y.Z }, scaleTime: function() { return c.Z }, scaleUtc: function() { return f.Z }, toString: function() { return O.Z }, updateScale: function() { return _ } }); var r = n(26587), i = n(71646), o = n(8597), a = n(19637), s = n(25176), l = (0, s.Z)("domain", "range", "clamp", "nice", "round", "unknown"); function u(e) { return l((0, a.Z)(), e) } var c = n(64183), f = n(61662), d = n(12430), h = n(70590), p = n(30558), v = n(73335), m = n(43634), g = n(34278), y = n(54229), b = n(50630), x = n(2663), w = s.Z.apply(void 0, s.a), _ = function(e, t) { return w(e.copy(), t) }, E = n(40668); function k(e) { return "paddingInner" in e ? "band" : "padding" in e ? "point" : "quantiles" in e ? "quantile" : "base" in e ? "log" : "exponent" in e ? .5 === e.exponent() ? "sqrt" : "pow" : "constant" in e ? "symlog" : "clamp" in e ? e.ticks()[0] instanceof Date ? (0, E.Z)(e) ? "utc" : "time" : "linear" : "nice" in e ? "quantize" : "invertExtent" in e ? "threshold" : "ordinal" } var j = n(28142), S = n(71220), O = n(51519), C = n(34636) }, 25176: function(e, t, n) { "use strict"; n.d(t, { a: function() { return S }, Z: function() { return C } }); var r = n(88751), i = n(87286), o = n(43780), a = n(77636), s = n(78978), l = { lab: r.Z, hcl: i.Z, "hcl-long": i.b, hsl: o.Z, "hsl-long": o.q, cubehelix: a.Z, "cubehelix-long": a.B, rgb: s.ZP }, u = n(68603), c = n(54076), f = n(18450), d = n(50690), h = n(52546), p = n(76231), v = n(97344), m = n(12370), g = n(28239), y = n(52004), b = n(94758), x = n(97631), w = n(2908), _ = n(40668), E = { day: u.Z, hour: c.Z, minute: f.Z, month: d.Z, second: h.Z, week: p.OM, year: v.Z }, k = { day: m.Z, hour: g.Z, minute: y.Z, month: b.Z, second: h.Z, week: x.Ox, year: w.Z }, j = n(74672), S = ["domain", "nice", "zero", "interpolate", "round", "range", "reverse", "align", "base", "clamp", "constant", "exponent", "padding", "unknown"], O = { domain: function(e, t) { t.domain && e.domain(t.domain) }, nice: function(e, t) { if ("nice" in t && void 0 !== t.nice && "nice" in e) { var n = t.nice; if ("boolean" == typeof n) n && e.nice(); else if ("number" == typeof n) e.nice(n); else { var r = (0, _.Z)(e); if ("string" == typeof n) e.nice(r ? k[n] : E[n]); else { var i = n.interval, o = n.step, a = (r ? k[i] : E[i]).every(o); null != a && e.nice(a) } } } }, zero: function(e, t) { if ("zero" in t && !0 === t.zero) { var n = e.domain(), r = n[0], i = n[1], o = i < r, a = o ? [i, r] : [r, i], s = [Math.min(0, a[0]), Math.max(0, a[1])]; e.domain(o ? s.reverse() : s) } }, interpolate: function(e, t) { if ("interpolate" in t && "interpolate" in e && void 0 !== t.interpolate) { var n = function(e) { switch (e) { case "lab": case "hcl": case "hcl-long": case "hsl": case "hsl-long": case "cubehelix": case "cubehelix-long": case "rgb": return l[e] }var t = e.type, n = e.gamma, r = l[t]; return void 0 === n ? r : r.gamma(n) }(t.interpolate); e.interpolate(n) } }, round: function(e, t) { "round" in t && void 0 !== t.round && (t.round && "interpolate" in t && void 0 !== t.interpolate ? console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:", t) : "round" in e ? e.round(t.round) : "interpolate" in e && t.round && e.interpolate(j.Z)) }, align: function(e, t) { "align" in e && "align" in t && void 0 !== t.align && e.align(t.align) }, base: function(e, t) { "base" in e && "base" in t && void 0 !== t.base && e.base(t.base) }, clamp: function(e, t) { "clamp" in e && "clamp" in t && void 0 !== t.clamp && e.clamp(t.clamp) }, constant: function(e, t) { "constant" in e && "constant" in t && void 0 !== t.constant && e.constant(t.constant) }, exponent: function(e, t) { "exponent" in e && "exponent" in t && void 0 !== t.exponent && e.exponent(t.exponent) }, padding: function(e, t) { "padding" in e && "padding" in t && void 0 !== t.padding && e.padding(t.padding), "paddingInner" in e && "paddingInner" in t && void 0 !== t.paddingInner && e.paddingInner(t.paddingInner), "paddingOuter" in e && "paddingOuter" in t && void 0 !== t.paddingOuter && e.paddingOuter(t.paddingOuter) }, range: function(e, t) { t.range && e.range(t.range) }, reverse: function(e, t) { if (t.reverse) { var n = e.range().slice().reverse(); e.range(n) } }, unknown: function(e, t) { "unknown" in e && "unknown" in t && void 0 !== t.unknown && e.unknown(t.unknown) } }; function C() { for (var e = arguments.length, t = Array(e), n = 0; n < e; n++)t[n] = arguments[n]; var r = new Set(t), i = S.filter(function(e) { return r.has(e) }); return function(e, t) { return void 0 !== t && i.forEach(function(n) { O[n](e, t) }), e } } }, 26587: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(48623), i = (0, n(25176).Z)("domain", "range", "reverse", "align", "padding", "round"); function o(e) { return i((0, r.Z)(), e) } }, 8597: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(93963), i = (0, n(25176).Z)("domain", "range", "reverse", "clamp", "interpolate", "nice", "round", "zero"); function o(e) { return i((0, r.Z)(), e) } }, 12430: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(13641), i = (0, n(25176).Z)("domain", "range", "reverse", "base", "clamp", "interpolate", "nice", "round"); function o(e) { return i((0, r.Z)(), e) } }, 30558: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(34130), i = (0, n(25176).Z)("domain", "range", "reverse", "unknown"); function o(e) { return i((0, r.Z)(), e) } }, 71646: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(48623), i = (0, n(25176).Z)("domain", "range", "reverse", "align", "padding", "round"); function o(e) { return i((0, r.x)(), e) } }, 70590: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(72851), i = (0, n(25176).Z)("domain", "range", "reverse", "clamp", "exponent", "interpolate", "nice", "round", "zero"); function o(e) { return i((0, r.ZP)(), e) } }, 43634: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(96417), i = (0, n(25176).Z)("domain", "range", "reverse"); function o(e) { return i((0, r.Z)(), e) } }, 73335: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(73408), i = (0, n(25176).Z)("domain", "range", "reverse", "nice", "zero"); function o(e) { return i((0, r.Z)(), e) } }, 50630: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(72851), i = (0, n(25176).Z)("domain", "range", "reverse", "clamp", "interpolate", "nice", "round", "zero"); function o(e) { return i((0, r._b)(), e) } }, 34278: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(46494), i = (0, n(25176).Z)("domain", "range", "reverse", "clamp", "constant", "nice", "zero", "round"); function o(e) { return i((0, r.Z)(), e) } }, 54229: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(74995), i = (0, n(25176).Z)("domain", "range", "reverse"); function o(e) { return i((0, r.Z)(), e) } }, 64183: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(37932), i = (0, n(25176).Z)("domain", "range", "reverse", "clamp", "interpolate", "nice", "round"); function o(e) { return i((0, r.Z)(), e) } }, 61662: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(83803), i = (0, n(25176).Z)("domain", "range", "reverse", "clamp", "interpolate", "nice", "round"); function o(e) { return i((0, r.Z)(), e) } }, 28142: function(e, t, n) { "use strict"; function r(e) { if (("function" == typeof e || "object" == typeof e && e) && "valueOf" in e) { var t = e.valueOf(); if ("number" == typeof t) return t } return e } n.d(t, { Z: function() { return r } }) }, 71220: function(e, t, n) { "use strict"; function r(e, t) { return "ticks" in e ? e.ticks(t) : e.domain().filter(function(e, n, r) { return null == t || r.length <= t || n % Math.round((r.length - 1) / t) == 0 }) } n.d(t, { Z: function() { return r } }) }, 40668: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = new Date(Date.UTC(2020, 1, 2, 3, 4, 5)); function i(e) { return "2020-02-02 03:04" === e.tickFormat(1, "%Y-%m-%d %H:%M")(r) } }, 34636: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = new Set(["linear", "pow", "quantize", "sqrt", "symlog"]); function i(e) { return r.has(e.type) } }, 51519: function(e, t, n) { "use strict"; function r(e) { return null == e ? void 0 : e.toString() } n.d(t, { Z: function() { return r } }) }, 45695: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "align" in e && "align" in t && void 0 !== t.align && e.align(t.align) } }, 64888: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "base" in e && "base" in t && void 0 !== t.base && e.base(t.base) } }, 9627: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "clamp" in e && "clamp" in t && void 0 !== t.clamp && e.clamp(t.clamp) } }, 10782: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "constant" in e && "constant" in t && void 0 !== t.constant && e.constant(t.constant) } }, 75925: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { t.domain && e.domain(t.domain) } }, 41534: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "exponent" in e && "exponent" in t && void 0 !== t.exponent && e.exponent(t.exponent) } }, 26441: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e, t) { if ("interpolate" in t && "interpolate" in e && void 0 !== t.interpolate) { var n = (0, i.default)(t.interpolate); e.interpolate(n) } }; var r, i = (r = n(27144)) && r.__esModule ? r : { default: r } }, 18645: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e, t) { if ("nice" in t && void 0 !== t.nice && "nice" in e) { var n = t.nice; if ("boolean" == typeof n) n && e.nice(); else if ("number" == typeof n) e.nice(n); else { var r = (0, o.default)(e); if ("string" == typeof n) e.nice(r ? s[n] : a[n]); else { var i = n.interval, l = n.step, u = (r ? s[i] : a[i]).every(l); null != u && e.nice(u) } } } }; var r, i = n(11365), o = (r = n(96629)) && r.__esModule ? r : { default: r }, a = { day: i.timeDay, hour: i.timeHour, minute: i.timeMinute, month: i.timeMonth, second: i.timeSecond, week: i.timeWeek, year: i.timeYear }, s = { day: i.utcDay, hour: i.utcHour, minute: i.utcMinute, month: i.utcMonth, second: i.utcSecond, week: i.utcWeek, year: i.utcYear } }, 96472: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "padding" in e && "padding" in t && void 0 !== t.padding && e.padding(t.padding), "paddingInner" in e && "paddingInner" in t && void 0 !== t.paddingInner && e.paddingInner(t.paddingInner), "paddingOuter" in e && "paddingOuter" in t && void 0 !== t.paddingOuter && e.paddingOuter(t.paddingOuter) } }, 49262: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { t.range && e.range(t.range) } }, 18552: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { if (t.reverse) { var n = e.range().slice().reverse(); e.range(n) } } }, 96943: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "round" in t && void 0 !== t.round && (t.round && "interpolate" in t && void 0 !== t.interpolate ? console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:", t) : "round" in e ? e.round(t.round) : "interpolate" in e && t.round && e.interpolate(r.interpolateRound)) }; var r = n(31380) }, 21370: function(e, t, n) { "use strict"; t.__esModule = !0, t.ALL_OPERATORS = void 0, t.default = function() { for (var e = arguments.length, t = Array(e), n = 0; n < e; n++)t[n] = arguments[n]; var r = new Set(t), i = y.filter(function(e) { return r.has(e) }); return function(e, t) { return void 0 !== t && i.forEach(function(n) { b[n](e, t) }), e } }; var r = g(n(75925)), i = g(n(49262)), o = g(n(45695)), a = g(n(64888)), s = g(n(9627)), l = g(n(10782)), u = g(n(41534)), c = g(n(26441)), f = g(n(18645)), d = g(n(96472)), h = g(n(18552)), p = g(n(96943)), v = g(n(71690)), m = g(n(12321)); function g(e) { return e && e.__esModule ? e : { default: e } } var y = ["domain", "nice", "zero", "interpolate", "round", "range", "reverse", "align", "base", "clamp", "constant", "exponent", "padding", "unknown"]; t.ALL_OPERATORS = y; var b = { domain: r.default, nice: f.default, zero: m.default, interpolate: c.default, round: p.default, align: o.default, base: a.default, clamp: s.default, constant: l.default, exponent: u.default, padding: d.default, range: i.default, reverse: h.default, unknown: v.default } }, 71690: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { "unknown" in e && "unknown" in t && void 0 !== t.unknown && e.unknown(t.unknown) } }, 12321: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { if ("zero" in t && !0 === t.zero) { var n = e.domain(), r = n[0], i = n[1], o = i < r, a = o ? [i, r] : [r, i], s = [Math.min(0, a[0]), Math.max(0, a[1])]; e.domain(o ? s.reverse() : s) } } }, 31417: function(e, t, n) { "use strict"; t.ZP = function(e) { return o((0, i.scaleOrdinal)(), e) }; var r, i = n(79870), o = (0, ((r = n(21370)) && r.__esModule ? r : { default: r }).default)("domain", "range", "reverse", "unknown") }, 27144: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { switch (e) { case "lab": case "hcl": case "hcl-long": case "hsl": case "hsl-long": case "cubehelix": case "cubehelix-long": case "rgb": return i[e] }var t = e.type, n = e.gamma, r = i[t]; return void 0 === n ? r : r.gamma(n) }; var r = n(31380), i = { lab: r.interpolateLab, hcl: r.interpolateHcl, "hcl-long": r.interpolateHclLong, hsl: r.interpolateHsl, "hsl-long": r.interpolateHslLong, cubehelix: r.interpolateCubehelix, "cubehelix-long": r.interpolateCubehelixLong, rgb: r.interpolateRgb } }, 96629: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e) { return "2020-02-02 03:04" === e.tickFormat(1, "%Y-%m-%d %H:%M")(n) }; var n = new Date(Date.UTC(2020, 1, 2, 3, 4, 5)) }, 64657: function(e, t, n) { "use strict"; n.r(t), n.d(t, { Arc: function() { return u }, Area: function() { return w }, AreaClosed: function() { return _.Z }, AreaStack: function() { return C }, Bar: function() { return A.Z }, BarGroup: function() { return R }, BarGroupHorizontal: function() { return F }, BarRounded: function() { return T.Z }, BarStack: function() { return K }, BarStackHorizontal: function() { return J }, Circle: function() { return e5 }, Line: function() { return p.Z }, LinePath: function() { return v.Z }, LineRadial: function() { return y }, LinkHorizontal: function() { return eo }, LinkHorizontalCurve: function() { return ey }, LinkHorizontalLine: function() { return eT }, LinkHorizontalStep: function() { return eZ }, LinkRadial: function() { return eh }, LinkRadialCurve: function() { return eS }, LinkRadialLine: function() { return eI }, LinkRadialStep: function() { return eK }, LinkVertical: function() { return eu }, LinkVerticalCurve: function() { return e_ }, LinkVerticalLine: function() { return eR }, LinkVerticalStep: function() { return eq }, Pie: function() { return h }, Polygon: function() { return e2 }, STACK_OFFSETS: function() { return $.nW }, STACK_OFFSET_NAMES: function() { return $.ed }, STACK_ORDERS: function() { return q.un }, STACK_ORDER_NAMES: function() { return q.s2 }, SplitLinePath: function() { return tr }, Stack: function() { return j }, arc: function() { return a.Nb }, area: function() { return a.SO }, degreesToRadians: function() { return ee }, getPoint: function() { return e0 }, getPoints: function() { return e1 }, line: function() { return a.jv }, pathHorizontalCurve: function() { return eg }, pathHorizontalDiagonal: function() { return ei }, pathHorizontalLine: function() { return eA }, pathHorizontalStep: function() { return eB }, pathRadialCurve: function() { return ej }, pathRadialDiagonal: function() { return ed }, pathRadialLine: function() { return eF }, pathRadialStep: function() { return eG }, pathVerticalCurve: function() { return ew }, pathVerticalDiagonal: function() { return el }, pathVerticalLine: function() { return eN }, pathVerticalStep: function() { return eW }, pie: function() { return a.ve }, radialLine: function() { return a.aJ }, stack: function() { return a.kn }, stackOffset: function() { return $.ZP }, stackOrder: function() { return q.ZP } }); var r = n(2784), i = n(72779), o = n.n(i), a = n(52511), s = ["className", "data", "innerRadius", "outerRadius", "cornerRadius", "startAngle", "endAngle", "padAngle", "padRadius", "children", "innerRef"]; function l() { return (l = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function u(e) { var t = e.className, n = e.data, i = e.innerRadius, u = e.outerRadius, c = e.cornerRadius, f = e.startAngle, d = e.endAngle, h = e.padAngle, p = e.padRadius, v = e.children, m = e.innerRef, g = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s), y = (0, a.Nb)({ innerRadius: i, outerRadius: u, cornerRadius: c, startAngle: f, endAngle: d, padAngle: h, padRadius: p }); return v ? r.createElement(r.Fragment, null, v({ path: y })) : n || null != f && null != d && null != i && null != u ? r.createElement("path", l({ ref: m, className: o()("visx-arc", t), d: y(n) || "" }, g)) : (console.warn("[@visx/shape/Arc]: expected data because one of startAngle, endAngle, innerRadius, outerRadius is undefined. Bailing."), null) } var c = n(59309), f = ["className", "top", "left", "data", "centroid", "innerRadius", "outerRadius", "cornerRadius", "startAngle", "endAngle", "padAngle", "padRadius", "pieSort", "pieSortValues", "pieValue", "children", "fill"]; function d() { return (d = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function h(e) { var t = e.className, n = e.top, i = e.left, s = e.data, l = e.centroid, u = e.innerRadius, h = e.outerRadius, p = e.cornerRadius, v = e.startAngle, m = e.endAngle, g = e.padAngle, y = e.padRadius, b = e.pieSort, x = e.pieSortValues, w = e.pieValue, _ = e.children, E = e.fill, k = void 0 === E ? "" : E, j = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, f), S = (0, a.Nb)({ innerRadius: void 0 === u ? 0 : u, outerRadius: h, cornerRadius: p, padRadius: y }), O = (0, a.ve)({ startAngle: v, endAngle: m, padAngle: g, value: w, sort: b, sortValues: x }), C = O(void 0 === s ? [] : s); return _ ? r.createElement(r.Fragment, null, _({ arcs: C, path: S, pie: O })) : r.createElement(c.Z, { className: "visx-pie-arcs-group", top: n, left: i }, C.map(function(e, n) { return r.createElement("g", { key: "pie-arc-" + n }, r.createElement("path", d({ className: o()("visx-pie-arc", t), d: S(e) || "", fill: null == k || "string" == typeof k ? k : k(e) }, j)), null == l ? void 0 : l(S.centroid(e), e)) })) } var p = n(63739), v = n(27079), m = ["className", "angle", "radius", "defined", "curve", "data", "innerRef", "children", "fill"]; function g() { return (g = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function y(e) { var t = e.className, n = e.angle, i = e.radius, s = e.defined, l = e.curve, u = e.data, c = e.innerRef, f = e.children, d = e.fill, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, m), p = (0, a.aJ)({ angle: n, radius: i, defined: s, curve: l }); return f ? r.createElement(r.Fragment, null, f({ path: p })) : r.createElement("path", g({ ref: c, className: o()("visx-line-radial", t), d: p(void 0 === u ? [] : u) || "", fill: void 0 === d ? "transparent" : d }, h)) } var b = ["children", "x", "x0", "x1", "y", "y0", "y1", "data", "defined", "className", "curve", "innerRef"]; function x() { return (x = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function w(e) { var t = e.children, n = e.x, i = e.x0, s = e.x1, l = e.y, u = e.y0, c = e.y1, f = e.data, d = e.defined, h = e.className, p = e.curve, v = e.innerRef, m = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, b), g = (0, a.SO)({ x: n, x0: i, x1: s, y: l, y0: u, y1: c, defined: void 0 === d ? function() { return !0 } : d, curve: p }); return t ? r.createElement(r.Fragment, null, t({ path: g })) : r.createElement("path", x({ ref: v, className: o()("visx-area", h), d: g(void 0 === f ? [] : f) || "" }, m)) } var _ = n(55746), E = ["className", "top", "left", "keys", "data", "curve", "defined", "x", "x0", "x1", "y0", "y1", "value", "order", "offset", "color", "children"]; function k() { return (k = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function j(e) { var t = e.className, n = e.top, i = e.left, s = e.keys, l = e.data, u = e.curve, f = e.defined, d = e.x, h = e.x0, p = e.x1, v = e.y0, m = e.y1, g = e.value, y = e.order, b = e.offset, x = e.color, w = e.children, _ = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, E), j = (0, a.kn)({ keys: s, value: g, order: y, offset: b }), S = (0, a.SO)({ x: d, x0: h, x1: p, y0: v, y1: m, curve: u, defined: f }), O = j(l); return w ? r.createElement(r.Fragment, null, w({ stacks: O, path: S, stack: j })) : r.createElement(c.Z, { top: n, left: i }, O.map(function(e, n) { return r.createElement("path", k({ className: o()("visx-stack", t), key: "stack-" + n + "-" + (e.key || ""), d: S(e) || "", fill: null == x ? void 0 : x(e.key, n) }, _)) })) } var S = ["className", "top", "left", "keys", "data", "curve", "defined", "x", "x0", "x1", "y0", "y1", "value", "order", "offset", "color", "children"]; function O() { return (O = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function C(e) { var t = e.className, n = e.top, i = e.left, a = e.keys, s = e.data, l = e.curve, u = e.defined, c = e.x, f = e.x0, d = e.x1, h = e.y0, p = e.y1, v = e.value, m = e.order, g = e.offset, y = e.color, b = e.children, x = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, S); return r.createElement(j, O({ className: t, top: n, left: i, keys: a, data: s, curve: l, defined: u, x: c, x0: f, x1: d, y0: h, y1: p, value: v, order: m, offset: g, color: y }, x), b || function(e) { var n = e.stacks, i = e.path; return n.map(function(e, n) { return r.createElement("path", O({ className: o()("visx-area-stack", t), key: "area-stack-" + n + "-" + (e.key || ""), d: i(e) || "", fill: null == y ? void 0 : y(e.key, n) }, x)) }) }) } var A = n(14582), T = n(10897); function M(e) { if ("bandwidth" in e) return e.bandwidth(); var t = e.range(), n = e.domain(); return Math.abs(t[t.length - 1] - t[0]) / n.length } var P = ["data", "className", "top", "left", "x0", "x0Scale", "x1Scale", "yScale", "color", "keys", "height", "children"]; function N() { return (N = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function R(e) { var t = e.data, n = e.className, i = e.top, a = e.left, s = e.x0, l = e.x0Scale, u = e.x1Scale, f = e.yScale, d = e.color, h = e.keys, p = e.height, v = e.children, m = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, P), g = M(u), y = t.map(function(e, t) { return { index: t, x0: l(s(e)), bars: h.map(function(t, n) { var r = e[t]; return { index: n, key: t, value: r, width: g, x: u(t) || 0, y: f(r) || 0, color: d(t, n), height: p - (f(r) || 0) } }) } }); return v ? r.createElement(r.Fragment, null, v(y)) : r.createElement(c.Z, { className: o()("visx-bar-group", n), top: i, left: a }, y.map(function(e) { return r.createElement(c.Z, { key: "bar-group-" + e.index + "-" + e.x0, left: e.x0 }, e.bars.map(function(t) { return r.createElement(A.Z, N({ key: "bar-group-bar-" + e.index + "-" + t.index + "-" + t.value + "-" + t.key, x: t.x, y: t.y, width: t.width, height: t.height, fill: t.color }, m)) })) })) } var D = ["data", "className", "top", "left", "x", "y0", "y0Scale", "y1Scale", "xScale", "color", "keys", "width", "children"]; function L() { return (L = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function F(e) { var t = e.data, n = e.className, i = e.top, a = e.left, s = e.x, l = void 0 === s ? function() { return 0 } : s, u = e.y0, f = e.y0Scale, d = e.y1Scale, h = e.xScale, p = e.color, v = e.keys, m = (e.width, e.children), g = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, D), y = M(d), b = t.map(function(e, t) { return { index: t, y0: f(u(e)) || 0, bars: v.map(function(t, n) { var r = e[t]; return { index: n, key: t, value: r, height: y, x: l(r) || 0, y: d(t) || 0, color: p(t, n), width: h(r) || 0 } }) } }); return m ? r.createElement(r.Fragment, null, m(b)) : r.createElement(c.Z, { className: o()("visx-bar-group-horizontal", n), top: i, left: a }, b.map(function(e) { return r.createElement(c.Z, { key: "bar-group-" + e.index + "-" + e.y0, top: e.y0 }, e.bars.map(function(t) { return r.createElement(A.Z, L({ key: "bar-group-bar-" + e.index + "-" + t.index + "-" + t.value + "-" + t.key, x: t.x, y: t.y, width: t.width, height: t.height, fill: t.color }, g)) })) })) } var I = n(98926); function z(e) { return "number" == typeof (null == e ? void 0 : e.x) ? null == e ? void 0 : e.x : 0 } function V(e) { return "number" == typeof (null == e ? void 0 : e.y) ? null == e ? void 0 : e.y : 0 } function B(e) { return null == e ? void 0 : e.source } function Z(e) { return null == e ? void 0 : e.target } function U(e) { return null == e ? void 0 : e[0] } function H(e) { return null == e ? void 0 : e[1] } var W = n(26078), q = n(44081), $ = n(30382), Y = ["data", "className", "top", "left", "x", "y0", "y1", "xScale", "yScale", "color", "keys", "value", "order", "offset", "children"]; function G() { return (G = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function K(e) { var t = e.data, n = e.className, i = e.top, a = e.left, s = e.x, l = e.y0, u = void 0 === l ? U : l, f = e.y1, d = void 0 === f ? H : f, h = e.xScale, p = e.yScale, v = e.color, m = e.keys, g = e.value, y = e.order, b = e.offset, x = e.children, w = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, Y), _ = (0, I.Z)(); m && _.keys(m), g && (0, W.Z)(_.value, g), y && _.order((0, q.ZP)(y)), b && _.offset((0, $.ZP)(b)); var E = _(t), k = M(h), j = E.map(function(e, t) { var n = e.key; return { index: t, key: n, bars: e.map(function(t, r) { var i = (p(u(t)) || 0) - (p(d(t)) || 0), o = p(d(t)), a = "bandwidth" in h ? h(s(t.data)) : Math.max((h(s(t.data)) || 0) - k / 2); return { bar: t, key: n, index: r, height: i, width: k, x: a || 0, y: o || 0, color: v(e.key, r) } }) } }); return x ? r.createElement(r.Fragment, null, x(j)) : r.createElement(c.Z, { className: o()("visx-bar-stack", n), top: i, left: a }, j.map(function(e) { return e.bars.map(function(t) { return r.createElement(A.Z, G({ key: "bar-stack-" + e.index + "-" + t.index, x: t.x, y: t.y, height: t.height, width: t.width, fill: t.color }, w)) }) })) } var X = ["data", "className", "top", "left", "y", "x0", "x1", "xScale", "yScale", "color", "keys", "value", "order", "offset", "children"]; function Q() { return (Q = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function J(e) { var t = e.data, n = e.className, i = e.top, a = e.left, s = e.y, l = e.x0, u = void 0 === l ? U : l, f = e.x1, d = void 0 === f ? H : f, h = e.xScale, p = e.yScale, v = e.color, m = e.keys, g = e.value, y = e.order, b = e.offset, x = e.children, w = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, X), _ = (0, I.Z)(); m && _.keys(m), g && (0, W.Z)(_.value, g), y && _.order((0, q.ZP)(y)), b && _.offset((0, $.ZP)(b)); var E = _(t), k = M(p), j = E.map(function(e, t) { var n = e.key; return { index: t, key: n, bars: e.map(function(t, r) { var i = (h(d(t)) || 0) - (h(u(t)) || 0), o = h(u(t)), a = "bandwidth" in p ? p(s(t.data)) : Math.max((p(s(t.data)) || 0) - i / 2); return { bar: t, key: n, index: r, height: k, width: i, x: o || 0, y: a || 0, color: v(e.key, r) } }) } }); return x ? r.createElement(r.Fragment, null, x(j)) : r.createElement(c.Z, { className: o()("visx-bar-stack-horizontal", n), top: i, left: a }, j.map(function(e) { return e.bars.map(function(t) { return r.createElement(A.Z, Q({ key: "bar-stack-" + e.index + "-" + t.index, x: t.x, y: t.y, height: t.height, width: t.width, fill: t.color }, w)) }) })) } var ee = function(e) { return Math.PI / 180 * e }, et = n(72215), en = ["className", "children", "data", "innerRef", "path", "x", "y", "source", "target"]; function er() { return (er = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function ei(e) { var t = e.source, n = e.target, r = e.x, i = e.y; return function(e) { var o = (0, et.h5)(); return o.x(r), o.y(i), o.source(t), o.target(n), o(e) } } function eo(e) { var t = e.className, n = e.children, i = e.data, a = e.innerRef, s = e.path, l = e.x, u = e.y, c = e.source, f = e.target, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, en), h = s || ei({ source: void 0 === c ? B : c, target: void 0 === f ? Z : f, x: void 0 === l ? V : l, y: void 0 === u ? z : u }); return n ? r.createElement(r.Fragment, null, n({ path: h })) : r.createElement("path", er({ ref: a, className: o()("visx-link visx-link-horizontal-diagonal", t), d: h(i) || "" }, d)) } var ea = ["className", "children", "data", "innerRef", "path", "x", "y", "source", "target"]; function es() { return (es = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function el(e) { var t = e.source, n = e.target, r = e.x, i = e.y; return function(e) { var o = (0, et.rR)(); return o.x(r), o.y(i), o.source(t), o.target(n), o(e) } } function eu(e) { var t = e.className, n = e.children, i = e.data, a = e.innerRef, s = e.path, l = e.x, u = e.y, c = e.source, f = e.target, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, ea), h = s || el({ source: void 0 === c ? B : c, target: void 0 === f ? Z : f, x: void 0 === l ? z : l, y: void 0 === u ? V : u }); return n ? r.createElement(r.Fragment, null, n({ path: h })) : r.createElement("path", es({ ref: a, className: o()("visx-link visx-link-vertical-diagonal", t), d: h(i) || "" }, d)) } var ec = ["className", "children", "data", "innerRef", "path", "angle", "radius", "source", "target"]; function ef() { return (ef = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function ed(e) { var t = e.source, n = e.target, r = e.angle, i = e.radius; return function(e) { var o = (0, et.M4)(); return o.angle(r), o.radius(i), o.source(t), o.target(n), o(e) } } function eh(e) { var t = e.className, n = e.children, i = e.data, a = e.innerRef, s = e.path, l = e.angle, u = e.radius, c = e.source, f = e.target, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, ec), h = s || ed({ source: void 0 === c ? B : c, target: void 0 === f ? Z : f, angle: void 0 === l ? z : l, radius: void 0 === u ? V : u }); return n ? r.createElement(r.Fragment, null, n({ path: h })) : r.createElement("path", ef({ ref: a, className: o()("visx-link visx-link-radial-diagonal", t), d: h(i) || "" }, d)) } var ep = n(91672), ev = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"]; function em() { return (em = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function eg(e) { var t = e.source, n = e.target, r = e.x, i = e.y, o = e.percent; return function(e) { var a = t(e), s = n(e), l = r(a), u = i(a), c = r(s), f = i(s), d = c - l, h = f - u, p = o * (d + h), v = o * (h - d), m = (0, ep.Z)(); return m.moveTo(l, u), m.bezierCurveTo(l + p, u + v, c + v, f - p, c, f), m.toString() } } function ey(e) { var t = e.className, n = e.children, i = e.data, a = e.innerRef, s = e.path, l = e.percent, u = e.x, c = e.y, f = e.source, d = e.target, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, ev), p = s || eg({ source: void 0 === f ? B : f, target: void 0 === d ? Z : d, x: void 0 === u ? V : u, y: void 0 === c ? z : c, percent: void 0 === l ? .2 : l }); return n ? r.createElement(r.Fragment, null, n({ path: p })) : r.createElement("path", em({ ref: a, className: o()("visx-link visx-link-horizontal-curve", t), d: p(i) || "" }, h)) } var eb = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"]; function ex() { return (ex = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function ew(e) { var t = e.source, n = e.target, r = e.x, i = e.y, o = e.percent; return function(e) { var a = t(e), s = n(e), l = r(a), u = i(a), c = r(s), f = i(s), d = c - l, h = f - u, p = o * (d + h), v = o * (h - d), m = (0, ep.Z)(); return m.moveTo(l, u), m.bezierCurveTo(l + p, u + v, c + v, f - p, c, f), m.toString() } } function e_(e) { var t = e.className, n = e.children, i = e.data, a = e.innerRef, s = e.path, l = e.percent, u = e.x, c = e.y, f = e.source, d = e.target, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, eb), p = s || ew({ source: void 0 === f ? B : f, target: void 0 === d ? Z : d, x: void 0 === u ? z : u, y: void 0 === c ? V : c, percent: void 0 === l ? .2 : l }); return n ? r.createElement(r.Fragment, null, n({ path: p })) : r.createElement("path", ex({ ref: a, className: o()("visx-link visx-link-vertical-curve", t), d: p(i) || "" }, h)) } var eE = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"]; function ek() { return (ek = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function ej(e) { var t = e.source, n = e.target, r = e.x, i = e.y, o = e.percent; return function(e) { var a = t(e), s = n(e), l = r(a) - Math.PI / 2, u = i(a), c = r(s) - Math.PI / 2, f = i(s), d = u * Math.cos(l), h = u * Math.sin(l), p = f * Math.cos(c), v = f * Math.sin(c), m = p - d, g = v - h, y = o * (m + g), b = o * (g - m), x = (0, ep.Z)(); return x.moveTo(d, h), x.bezierCurveTo(d + y, h + b, p + b, v - y, p, v), x.toString() } } function eS(e) { var t = e.className, n = e.children, i = e.data, a = e.innerRef, s = e.path, l = e.percent, u = e.x, c = e.y, f = e.source, d = e.target, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, eE), p = s || ej({ source: void 0 === f ? B : f, target: void 0 === d ? Z : d, x: void 0 === u ? z : u, y: void 0 === c ? V : c, percent: void 0 === l ? .2 : l }); return n ? r.createElement(r.Fragment, null, n({ path: p })) : r.createElement("path", ek({ ref: a, className: o()("visx-link visx-link-radial-curve", t), d: p(i) || "" }, h)) } var eO = ["className", "children", "innerRef", "data", "path", "x", "y", "source", "target"]; function eC() { return (eC = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function eA(e) { var t = e.source, n = e.target, r = e.x, i = e.y; return function(e) { var o = t(e), a = n(e), s = r(o), l = i(o), u = r(a), c = i(a), f = (0, ep.Z)(); return f.moveTo(s, l), f.lineTo(u, c), f.toString() } } function eT(e) { var t = e.className, n = e.children, i = e.innerRef, a = e.data, s = e.path, l = e.x, u = e.y, c = e.source, f = e.target, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, eO), h = s || eA({ source: void 0 === c ? B : c, target: void 0 === f ? Z : f, x: void 0 === l ? V : l, y: void 0 === u ? z : u }); return n ? r.createElement(r.Fragment, null, n({ path: h })) : r.createElement("path", eC({ ref: i, className: o()("visx-link visx-link-horizontal-line", t), d: h(a) || "" }, d)) } var eM = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"]; function eP() { return (eP = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function eN(e) { var t = e.source, n = e.target, r = e.x, i = e.y; return function(e) { var o = t(e), a = n(e), s = r(o), l = i(o), u = r(a), c = i(a), f = (0, ep.Z)(); return f.moveTo(s, l), f.lineTo(u, c), f.toString() } } function eR(e) { var t = e.className, n = e.innerRef, i = e.data, a = e.path, s = e.x, l = e.y, u = e.source, c = e.target, f = e.children, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, eM), h = a || eN({ source: void 0 === u ? B : u, target: void 0 === c ? Z : c, x: void 0 === s ? z : s, y: void 0 === l ? V : l }); return f ? r.createElement(r.Fragment, null, f({ path: h })) : r.createElement("path", eP({ ref: n, className: o()("visx-link visx-link-vertical-line", t), d: h(i) || "" }, d)) } var eD = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"]; function eL() { return (eL = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function eF(e) { var t = e.source, n = e.target, r = e.x, i = e.y; return function(e) { var o = t(e), a = n(e), s = r(o) - Math.PI / 2, l = i(o), u = r(a) - Math.PI / 2, c = i(a), f = Math.cos(s), d = Math.sin(s), h = Math.cos(u), p = Math.sin(u), v = (0, ep.Z)(); return v.moveTo(l * f, l * d), v.lineTo(c * h, c * p), v.toString() } } function eI(e) { var t = e.className, n = e.innerRef, i = e.data, a = e.path, s = e.x, l = e.y, u = e.source, c = e.target, f = e.children, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, eD), h = a || eF({ source: void 0 === u ? B : u, target: void 0 === c ? Z : c, x: void 0 === s ? z : s, y: void 0 === l ? V : l }); return f ? r.createElement(r.Fragment, null, f({ path: h })) : r.createElement("path", eL({ ref: n, className: o()("visx-link visx-link-radial-line", t), d: h(i) || "" }, d)) } var ez = ["className", "innerRef", "data", "path", "percent", "x", "y", "source", "target", "children"]; function eV() { return (eV = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function eB(e) { var t = e.source, n = e.target, r = e.x, i = e.y, o = e.percent; return function(e) { var a = t(e), s = n(e), l = r(a), u = i(a), c = r(s), f = i(s), d = (0, ep.Z)(); return d.moveTo(l, u), d.lineTo(l + (c - l) * o, u), d.lineTo(l + (c - l) * o, f), d.lineTo(c, f), d.toString() } } function eZ(e) { var t = e.className, n = e.innerRef, i = e.data, a = e.path, s = e.percent, l = e.x, u = e.y, c = e.source, f = e.target, d = e.children, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, ez), p = a || eB({ source: void 0 === c ? B : c, target: void 0 === f ? Z : f, x: void 0 === l ? V : l, y: void 0 === u ? z : u, percent: void 0 === s ? .5 : s }); return d ? r.createElement(r.Fragment, null, d({ path: p })) : r.createElement("path", eV({ ref: n, className: o()("visx-link visx-link-horizontal-step", t), d: p(i) || "" }, h)) } var eU = ["className", "innerRef", "data", "path", "percent", "x", "y", "source", "target", "children"]; function eH() { return (eH = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function eW(e) { var t = e.source, n = e.target, r = e.x, i = e.y, o = e.percent; return function(e) { var a = t(e), s = n(e), l = r(a), u = i(a), c = r(s), f = i(s), d = (0, ep.Z)(); return d.moveTo(l, u), d.lineTo(l, u + (f - u) * o), d.lineTo(c, u + (f - u) * o), d.lineTo(c, f), d.toString() } } function eq(e) { var t = e.className, n = e.innerRef, i = e.data, a = e.path, s = e.percent, l = e.x, u = e.y, c = e.source, f = e.target, d = e.children, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, eU), p = a || eW({ source: void 0 === c ? B : c, target: void 0 === f ? Z : f, x: void 0 === l ? z : l, y: void 0 === u ? V : u, percent: void 0 === s ? .5 : s }); return d ? r.createElement(r.Fragment, null, d({ path: p })) : r.createElement("path", eH({ ref: n, className: o()("visx-link visx-link-vertical-step", t), d: p(i) || "" }, h)) } var e$ = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"]; function eY() { return (eY = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function eG(e) { var t = e.source, n = e.target, r = e.x, i = e.y; return function(e) { var o = t(e), a = n(e), s = r(o), l = i(o), u = r(a), c = i(a), f = s - Math.PI / 2, d = u - Math.PI / 2, h = Math.cos(d), p = Math.sin(d); return "\n M" + l * Math.cos(f) + "," + l * Math.sin(f) + "\n A" + l + "," + l + ",0,0," + ((Math.abs(d - f) > Math.PI ? d <= f : d > f) ? 1 : 0) + "," + l * h + "," + l * p + "\n L" + c * h + "," + c * p + "\n " } } function eK(e) { var t = e.className, n = e.innerRef, i = e.data, a = e.path, s = e.x, l = e.y, u = e.source, c = e.target, f = e.children, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, e$), h = a || eG({ source: void 0 === u ? B : u, target: void 0 === c ? Z : c, x: void 0 === s ? z : s, y: void 0 === l ? V : l }); return f ? r.createElement(r.Fragment, null, f({ path: h })) : r.createElement("path", eY({ ref: n, className: o()("visx-link visx-link-radial-step", t), d: h(i) || "" }, d)) } var eX = ["sides", "size", "center", "rotate", "className", "children", "innerRef", "points"]; function eQ() { return (eQ = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var eJ = { x: 0, y: 0 }, e0 = function(e) { var t = e.sides, n = e.size, r = void 0 === n ? 25 : n, i = e.center, o = void 0 === i ? eJ : i, a = e.rotate, s = ee(360 / (void 0 === t ? 4 : t) * e.side - (void 0 === a ? 0 : a)); return { x: o.x + r * Math.cos(s), y: o.y + r * Math.sin(s) } }, e1 = function(e) { var t = e.sides, n = e.size, r = e.center, i = e.rotate; return Array(t).fill(0).map(function(e, o) { return e0({ sides: t, size: n, center: r, rotate: i, side: o }) }) }; function e2(e) { var t = e.sides, n = e.size, i = e.center, a = e.rotate, s = e.className, l = e.children, u = e.innerRef, c = e.points, f = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, eX), d = c || e1({ sides: void 0 === t ? 4 : t, size: void 0 === n ? 25 : n, center: void 0 === i ? eJ : i, rotate: void 0 === a ? 0 : a }).map(function(e) { return [e.x, e.y] }); return l ? r.createElement(r.Fragment, null, l({ points: d })) : r.createElement("polygon", eQ({ ref: u, className: o()("visx-polygon", s), points: d.join(" ") }, f)) } var e4 = ["className", "innerRef"]; function e3() { return (e3 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function e5(e) { var t = e.className, n = e.innerRef, i = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, e4); return r.createElement("circle", e3({ ref: n, className: o()("visx-circle", t) }, i)) } var e6 = n(13980), e8 = n.n(e6), e7 = "http://www.w3.org/2000/svg", e9 = function() { return !0 }; function te() { return (te = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var tt = function(e) { return e.x || 0 }, tn = function(e) { return e.y || 0 }; function tr(e) { var t = e.children, n = e.className, i = e.curve, o = e.defined, s = e.segmentation, l = e.sampleRate, u = e.segments, c = e.x, f = e.y, d = e.styles, h = (0, r.useMemo)(function() { var e = "number" == typeof c || void 0 === c ? function() { return c } : c, t = "number" == typeof f || void 0 === f ? function() { return f } : f; return u.map(function(n) { return n.map(function(r, i) { return { x: e(r, i, n), y: t(r, i, n) } }) }) }, [c, f, u]), p = (0, r.useMemo)(function() { return (0, a.jv)({ x: c, y: f, defined: o, curve: i })(u.flat()) || "" }, [c, f, o, i, u]), m = (0, r.useMemo)(function() { return function(e) { var t = e.path, n = e.pointsInSegments, r = e.segmentation, i = void 0 === r ? "x" : r, o = e.sampleRate, a = void 0 === o ? 1 : o; try { var s = function(e) { var t = document.getElementById(e); if (!t) { var n = document.createElementNS(e7, "svg"); n.setAttribute("aria-hidden", "true"), n.style.opacity = "0", n.style.width = "0", n.style.height = "0", n.style.position = "absolute", n.style.top = "-100%", n.style.left = "-100%", n.style.pointerEvents = "none", (t = document.createElementNS(e7, "path")).setAttribute("id", e), n.appendChild(t), document.body.appendChild(n) } return t }("__visx_splitpath_svg_path_measurement_id"); s.setAttribute("d", t); var l = s.getTotalLength(), u = n.length, c = n.map(function() { return [] }); if ("x" === i || "y" === i) for (var f = n.map(function(e) { var t; return null == (t = e.find(function(e) { return "number" == typeof e[i] })) ? void 0 : t[i] }), d = s.getPointAtLength(0), h = s.getPointAtLength(l)[i] > d[i] ? f.map(function(e) { return void 0 === e ? e9 : function(t) { return t >= e } }) : f.map(function(e) { return void 0 === e ? e9 : function(t) { return t <= e } }), p = 0, v = 0; v <= l; v += a) { for (var m = s.getPointAtLength(v), g = m[i]; p < u - 1 && h[p + 1](g);)p += 1; c[p].push(m) } else { var y = n.map(function(e) { return e.length }), b = y.reduce(function(e, t) { return e + t }, 0), x = l / Math.max(1, b - 1), w = y.slice(0, u - 1); w.unshift(0); for (var _ = 2; _ < u; _ += 1)w[_] += w[_ - 1]; for (var E = 0; E < u; E += 1)w[E] *= x; for (var k = 0, j = 0; j <= l; j += a) { for (var S = s.getPointAtLength(j); k < u - 1 && j >= w[k + 1];)k += 1; c[k].push(S) } } return c } catch (O) { return [] } }({ path: p, segmentation: s, pointsInSegments: h, sampleRate: l }) }, [p, s, h, l]); return r.createElement("g", null, m.map(function(e, i) { return t ? r.createElement(r.Fragment, { key: i }, t({ index: i, segment: e, styles: d[i] || d[i % d.length] })) : r.createElement(v.Z, te({ key: i, className: n, data: e, x: tt, y: tn }, d[i] || d[i % d.length])) })) } tr.propTypes = { segments: e8().arrayOf(e8().array).isRequired, styles: e8().array.isRequired, children: e8().func, className: e8().string } }, 55746: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return c } }); var r = n(2784), i = n(72779), o = n.n(i), a = n(26078), s = n(52511), l = ["x", "x0", "x1", "y", "y1", "y0", "yScale", "data", "defined", "className", "curve", "innerRef", "children"]; function u() { return (u = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function c(e) { var t = e.x, n = e.x0, i = e.x1, c = e.y, f = e.y1, d = e.y0, h = e.yScale, p = e.data, v = e.defined, m = e.className, g = e.curve, y = e.innerRef, b = e.children, x = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, l), w = (0, s.SO)({ x: t, x0: n, x1: i, defined: void 0 === v ? function() { return !0 } : v, curve: g }); return (null == d ? w.y0(h.range()[0]) : (0, a.Z)(w.y0, d), c && !f && (0, a.Z)(w.y1, c), f && !c && (0, a.Z)(w.y1, f), b) ? r.createElement(r.Fragment, null, b({ path: w })) : r.createElement("path", u({ ref: y, className: o()("visx-area-closed", m), d: w(void 0 === p ? [] : p) || "" }, x)) } }, 14582: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return l } }); var r = n(2784), i = n(72779), o = n.n(i), a = ["className", "innerRef"]; function s() { return (s = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function l(e) { var t = e.className, n = e.innerRef, i = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a); return r.createElement("rect", s({ ref: n, className: o()("visx-bar", t) }, i)) } }, 10897: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return l } }); var r = n(2784), i = n(72779), o = n.n(i), a = ["children", "className", "innerRef", "x", "y", "width", "height", "radius", "all", "top", "bottom", "left", "right", "topLeft", "topRight", "bottomLeft", "bottomRight"]; function s() { return (s = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function l(e) { var t, n, i, l, u, c, f, d, h, p, v, m, g, y, b, x, w = e.children, _ = e.className, E = e.innerRef, k = e.x, j = e.y, S = e.width, O = e.height, C = e.radius, A = e.all, T = e.top, M = e.bottom, P = e.left, N = e.right, R = e.topLeft, D = e.topRight, L = e.bottomLeft, F = e.bottomRight, I = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a), z = (n = (t = { x: k, y: j, width: S, height: O, radius: C, all: void 0 !== A && A, top: void 0 !== T && T, bottom: void 0 !== M && M, left: void 0 !== P && P, right: void 0 !== N && N, topLeft: void 0 !== R && R, topRight: void 0 !== D && D, bottomLeft: void 0 !== L && L, bottomRight: void 0 !== F && F }).all, i = t.bottom, l = t.bottomLeft, u = t.bottomRight, c = t.height, f = t.left, d = t.radius, h = t.right, p = t.top, v = t.topLeft, m = t.topRight, g = t.width, y = t.x, b = t.y, m = n || p || h || m, u = n || i || h || u, l = n || i || f || l, v = n || p || f || v, x = 2 * (d = Math.max(1, Math.min(d, Math.min(g, c) / 2))), ("M" + (y + d) + "," + b + " h" + (g - x) + "\n " + (m ? "a" + d + "," + d + " 0 0 1 " + d + "," + d : "h" + d + "v" + d) + "\n v" + (c - x) + "\n " + (u ? "a" + d + "," + d + " 0 0 1 " + -d + "," + d : "v" + d + "h" + -d) + "\n h" + (x - g) + "\n " + (l ? "a" + d + "," + d + " 0 0 1 " + -d + "," + -d : "h" + -d + "v" + -d) + "\n v" + (x - c) + "\n " + (v ? "a" + d + "," + d + " 0 0 1 " + d + "," + -d : "v" + -d + "h" + d) + "\nz").split("\n").join("")); return w ? r.createElement(r.Fragment, null, w({ path: z })) : r.createElement("path", s({ ref: E, className: o()("visx-bar-rounded", _), d: z }, I)) } }, 63739: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return l } }); var r = n(2784), i = n(72779), o = n.n(i), a = ["from", "to", "fill", "className", "innerRef"]; function s() { return (s = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function l(e) { var t = e.from, n = void 0 === t ? { x: 0, y: 0 } : t, i = e.to, l = void 0 === i ? { x: 1, y: 1 } : i, u = e.fill, c = e.className, f = e.innerRef, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a), h = n.x === l.x || n.y === l.y; return r.createElement("line", s({ ref: f, className: o()("visx-line", c), x1: n.x, y1: n.y, x2: l.x, y2: l.y, fill: void 0 === u ? "transparent" : u, shapeRendering: h ? "crispEdges" : "auto" }, d)) } }, 27079: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return u } }); var r = n(2784), i = n(72779), o = n.n(i), a = n(52511), s = ["children", "data", "x", "y", "fill", "className", "curve", "innerRef", "defined"]; function l() { return (l = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function u(e) { var t = e.children, n = e.data, i = e.x, u = e.y, c = e.fill, f = e.className, d = e.curve, h = e.innerRef, p = e.defined, v = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s), m = (0, a.jv)({ x: i, y: u, defined: void 0 === p ? function() { return !0 } : p, curve: d }); return t ? r.createElement(r.Fragment, null, t({ path: m })) : r.createElement("path", l({ ref: h, className: o()("visx-linepath", f), d: m(void 0 === n ? [] : n) || "", fill: void 0 === c ? "transparent" : c, strokeLinecap: "round" }, v)) } }, 52511: function(e, t, n) { "use strict"; n.d(t, { Nb: function() { return d }, SO: function() { return h }, aJ: function() { return m }, jv: function() { return p }, kn: function() { return g }, ve: function() { return v } }); var r = n(38764), i = n(79493), o = n(79767), a = n(69619), s = n(8329), l = n(98926), u = n(26078), c = n(44081), f = n(30382); function d(e) { var t = void 0 === e ? {} : e, n = t.innerRadius, i = t.outerRadius, o = t.cornerRadius, a = t.startAngle, s = t.endAngle, l = t.padAngle, c = t.padRadius, f = (0, r.Z)(); return null != n && (0, u.Z)(f.innerRadius, n), null != i && (0, u.Z)(f.outerRadius, i), null != o && (0, u.Z)(f.cornerRadius, o), null != a && (0, u.Z)(f.startAngle, a), null != s && (0, u.Z)(f.endAngle, s), null != l && (0, u.Z)(f.padAngle, l), null != c && (0, u.Z)(f.padRadius, c), f } function h(e) { var t = void 0 === e ? {} : e, n = t.x, r = t.x0, o = t.x1, a = t.y, s = t.y0, l = t.y1, c = t.defined, f = t.curve, d = (0, i.Z)(); return n && (0, u.Z)(d.x, n), r && (0, u.Z)(d.x0, r), o && (0, u.Z)(d.x1, o), a && (0, u.Z)(d.y, a), s && (0, u.Z)(d.y0, s), l && (0, u.Z)(d.y1, l), c && d.defined(c), f && d.curve(f), d } function p(e) { var t = void 0 === e ? {} : e, n = t.x, r = t.y, i = t.defined, a = t.curve, s = (0, o.Z)(); return n && (0, u.Z)(s.x, n), r && (0, u.Z)(s.y, r), i && s.defined(i), a && s.curve(a), s } function v(e) { var t = void 0 === e ? {} : e, n = t.startAngle, r = t.endAngle, i = t.padAngle, o = t.value, s = t.sort, l = t.sortValues, c = (0, a.Z)(); return null === s ? c.sort(s) : null != s && c.sort(s), null === l ? c.sortValues(l) : null != l && c.sortValues(l), null != o && c.value(o), null != i && (0, u.Z)(c.padAngle, i), null != n && (0, u.Z)(c.startAngle, n), null != r && (0, u.Z)(c.endAngle, r), c } function m(e) { var t = void 0 === e ? {} : e, n = t.angle, r = t.radius, i = t.defined, o = t.curve, a = (0, s.Z)(); return n && (0, u.Z)(a.angle, n), r && (0, u.Z)(a.radius, r), i && a.defined(i), o && a.curve(o), a } function g(e) { var t = e.keys, n = e.value, r = e.order, i = e.offset, o = (0, l.Z)(); return t && o.keys(t), n && (0, u.Z)(o.value, n), r && o.order((0, c.ZP)(r)), i && o.offset((0, f.ZP)(i)), o } }, 26078: function(e, t, n) { "use strict"; function r(e, t) { e(t) } n.d(t, { Z: function() { return r } }) }, 30382: function(e, t, n) { "use strict"; n.d(t, { ZP: function() { return c }, ed: function() { return u }, nW: function() { return l } }); var r = n(22254), i = n(76751), o = n(90541), a = n(36538), s = n(34928), l = { expand: r.Z, diverging: i.Z, none: o.Z, silhouette: a.Z, wiggle: s.Z }, u = Object.keys(l); function c(e) { return e && l[e] || l.none } }, 44081: function(e, t, n) { "use strict"; n.d(t, { ZP: function() { return c }, s2: function() { return u }, un: function() { return l } }); var r = n(19721), i = n(82564), o = n(12197), a = n(81182), s = n(40277), l = { ascending: r.Z, descending: i.Z, insideout: o.Z, none: a.Z, reverse: s.Z }, u = Object.keys(l); function c(e) { return e && l[e] || l.none } }, 12935: function(e, t, n) { "use strict"; t.Z = function(e) { var t = e.children, n = e.x, s = e.x0, u = e.x1, c = e.y, f = e.y0, d = e.y1, h = e.data, p = e.defined, v = e.className, m = e.curve, g = e.innerRef, y = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a), b = (0, o.area)({ x: n, x0: s, x1: u, y: c, y0: f, y1: d, defined: void 0 === p ? function() { return !0 } : p, curve: m }); return t ? r.default.createElement(r.default.Fragment, null, t({ path: b })) : r.default.createElement("path", l({ ref: g, className: (0, i.default)("visx-area", v), d: b(void 0 === h ? [] : h) || "" }, y)) }; var r = s(n(2784)), i = s(n(72779)), o = n(15601), a = ["children", "x", "x0", "x1", "y", "y0", "y1", "data", "defined", "className", "curve", "innerRef"]; function s(e) { return e && e.__esModule ? e : { default: e } } function l() { return (l = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 47440: function(e, t, n) { "use strict"; t.__esModule = !0, t.default = function(e) { var t = e.from, n = void 0 === t ? { x: 0, y: 0 } : t, a = e.to, l = void 0 === a ? { x: 1, y: 1 } : a, u = e.fill, c = e.className, f = e.innerRef, d = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, o), h = n.x === l.x || n.y === l.y; return r.default.createElement("line", s({ ref: f, className: (0, i.default)("visx-line", c), x1: n.x, y1: n.y, x2: l.x, y2: l.y, fill: void 0 === u ? "transparent" : u, shapeRendering: h ? "crispEdges" : "auto" }, d)) }; var r = a(n(2784)), i = a(n(72779)), o = ["from", "to", "fill", "className", "innerRef"]; function a(e) { return e && e.__esModule ? e : { default: e } } function s() { return (s = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 12151: function(e, t, n) { "use strict"; t.Z = function(e) { var t = e.children, n = e.data, s = e.x, u = e.y, c = e.fill, f = e.className, d = e.curve, h = e.innerRef, p = e.defined, v = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, a), m = (0, o.line)({ x: s, y: u, defined: void 0 === p ? function() { return !0 } : p, curve: d }); return t ? r.default.createElement(r.default.Fragment, null, t({ path: m })) : r.default.createElement("path", l({ ref: h, className: (0, i.default)("visx-linepath", f), d: m(void 0 === n ? [] : n) || "", fill: void 0 === c ? "transparent" : c, strokeLinecap: "round" }, v)) }; var r = s(n(2784)), i = s(n(72779)), o = n(15601), a = ["children", "data", "x", "y", "fill", "className", "curve", "innerRef", "defined"]; function s(e) { return e && e.__esModule ? e : { default: e } } function l() { return (l = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } }, 15601: function(e, t, n) { "use strict"; t.__esModule = !0, t.arc = function(e) { var t = void 0 === e ? {} : e, n = t.innerRadius, o = t.outerRadius, a = t.cornerRadius, s = t.startAngle, l = t.endAngle, u = t.padAngle, c = t.padRadius, f = (0, r.arc)(); return null != n && (0, i.default)(f.innerRadius, n), null != o && (0, i.default)(f.outerRadius, o), null != a && (0, i.default)(f.cornerRadius, a), null != s && (0, i.default)(f.startAngle, s), null != l && (0, i.default)(f.endAngle, l), null != u && (0, i.default)(f.padAngle, u), null != c && (0, i.default)(f.padRadius, c), f }, t.area = function(e) { var t = void 0 === e ? {} : e, n = t.x, o = t.x0, a = t.x1, s = t.y, l = t.y0, u = t.y1, c = t.defined, f = t.curve, d = (0, r.area)(); return n && (0, i.default)(d.x, n), o && (0, i.default)(d.x0, o), a && (0, i.default)(d.x1, a), s && (0, i.default)(d.y, s), l && (0, i.default)(d.y0, l), u && (0, i.default)(d.y1, u), c && d.defined(c), f && d.curve(f), d }, t.line = function(e) { var t = void 0 === e ? {} : e, n = t.x, o = t.y, a = t.defined, s = t.curve, l = (0, r.line)(); return n && (0, i.default)(l.x, n), o && (0, i.default)(l.y, o), a && l.defined(a), s && l.curve(s), l }, t.pie = function(e) { var t = void 0 === e ? {} : e, n = t.startAngle, o = t.endAngle, a = t.padAngle, s = t.value, l = t.sort, u = t.sortValues, c = (0, r.pie)(); return null === l ? c.sort(l) : null != l && c.sort(l), null === u ? c.sortValues(u) : null != u && c.sortValues(u), null != s && c.value(s), null != a && (0, i.default)(c.padAngle, a), null != n && (0, i.default)(c.startAngle, n), null != o && (0, i.default)(c.endAngle, o), c }, t.radialLine = function(e) { var t = void 0 === e ? {} : e, n = t.angle, o = t.radius, a = t.defined, s = t.curve, l = (0, r.radialLine)(); return n && (0, i.default)(l.angle, n), o && (0, i.default)(l.radius, o), a && l.defined(a), s && l.curve(s), l }, t.stack = function(e) { var t = e.keys, n = e.value, s = e.order, l = e.offset, u = (0, r.stack)(); return t && u.keys(t), n && (0, i.default)(u.value, n), s && u.order((0, o.default)(s)), l && u.offset((0, a.default)(l)), u }; var r = n(59207), i = s(n(4839)), o = s(n(58543)), a = s(n(74322)); function s(e) { return e && e.__esModule ? e : { default: e } } }, 99671: function(e, t) { "use strict"; t.l8 = function(e) { return null == e ? void 0 : e[0] }, t.xf = function(e) { return null == e ? void 0 : e[1] } }, 15590: function(e, t) { "use strict"; t.Z = function(e) { if ("bandwidth" in e) return e.bandwidth(); var t = e.range(), n = e.domain(); return Math.abs(t[t.length - 1] - t[0]) / n.length } }, 4839: function(e, t) { "use strict"; t.__esModule = !0, t.default = function(e, t) { e(t) } }, 74322: function(e, t, n) { "use strict"; t.__esModule = !0, t.STACK_OFFSET_NAMES = t.STACK_OFFSETS = void 0, t.default = function(e) { return e && i[e] || i.none }; var r = n(59207), i = { expand: r.stackOffsetExpand, diverging: r.stackOffsetDiverging, none: r.stackOffsetNone, silhouette: r.stackOffsetSilhouette, wiggle: r.stackOffsetWiggle }; t.STACK_OFFSETS = i; var o = Object.keys(i); t.STACK_OFFSET_NAMES = o }, 58543: function(e, t, n) { "use strict"; t.__esModule = !0, t.STACK_ORDER_NAMES = t.STACK_ORDERS = void 0, t.default = function(e) { return e && i[e] || i.none }; var r = n(59207), i = { ascending: r.stackOrderAscending, descending: r.stackOrderDescending, insideout: r.stackOrderInsideOut, none: r.stackOrderNone, reverse: r.stackOrderReverse }; t.STACK_ORDERS = i; var o = Object.keys(i); t.STACK_ORDER_NAMES = o }, 64170: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return l } }); var r = n(2784), i = n(89907), o = ["dx", "dy", "textAnchor", "innerRef", "innerTextRef", "verticalAnchor", "angle", "lineHeight", "scaleToFit", "capHeight", "width"]; function a() { return (a = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var s = { overflow: "visible" }; function l(e) { var t = e.dx, n = e.dy, l = e.textAnchor, u = e.innerRef, c = e.innerTextRef, f = (e.verticalAnchor, e.angle, e.lineHeight), d = void 0 === f ? "1em" : f, h = (e.scaleToFit, e.capHeight, e.width, function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, o)), p = h.x, v = void 0 === p ? 0 : p, m = h.fontSize, g = (0, i.Z)(e), y = g.wordsByLines, b = g.startDy, x = g.transform; return r.createElement("svg", { ref: u, x: void 0 === t ? 0 : t, y: void 0 === n ? 0 : n, fontSize: m, style: s }, y.length > 0 ? r.createElement("text", a({ ref: c, transform: x }, h, { textAnchor: void 0 === l ? "start" : l }), y.map(function(e, t) { return r.createElement("tspan", { key: t, x: v, dy: 0 === t ? b : d }, e.words.join(" ")) })) : null) } }, 89907: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return c } }); var r = n(2784), i = n(32718), o = n.n(i), a = n(75715), s = ["verticalAnchor", "scaleToFit", "angle", "width", "lineHeight", "capHeight", "children", "style"]; function l(e) { return "number" == typeof e } function u(e) { return "number" == typeof e && Number.isFinite(e) || "string" == typeof e } function c(e) { var t = e.verticalAnchor, n = void 0 === t ? "end" : t, i = e.scaleToFit, c = void 0 !== i && i, f = e.angle, d = e.width, h = e.lineHeight, p = void 0 === h ? "1em" : h, v = e.capHeight, m = void 0 === v ? "0.71em" : v, g = e.children, y = e.style, b = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, s), x = b.x, w = void 0 === x ? 0 : x, _ = b.y, E = void 0 === _ ? 0 : _, k = !u(w) || !u(E), j = (0, r.useMemo)(function() { return { wordsWithWidth: (null == g ? [] : g.toString().split(/(?:(?!\u00A0+)\s+)/)).map(function(e) { return { word: e, wordWidth: (0, a.Z)(e, y) || 0 } }), spaceWidth: (0, a.Z)("\xa0", y) || 0 } }, [g, y]), S = j.wordsWithWidth, O = j.spaceWidth, C = (0, r.useMemo)(function() { return k ? [] : d || c ? S.reduce(function(e, t) { var n = t.word, r = t.wordWidth, i = e[e.length - 1]; return i && (null == d || c || (i.width || 0) + r + O < d) ? (i.words.push(n), i.width = i.width || 0, i.width += r + O) : e.push({ words: [n], width: r }), e }, []) : [{ words: null == g ? [] : g.toString().split(/(?:(?!\u00A0+)\s+)/) }] }, [k, d, c, g, S, O]), A = (0, r.useMemo)(function() { return k ? "" : "start" === n ? o()("calc(" + m + ")") : "middle" === n ? o()("calc(" + (C.length - 1) / 2 + " * -" + p + " + (" + m + " / 2))") : o()("calc(" + (C.length - 1) + " * -" + p + ")") }, [k, n, m, C.length, p]), T = (0, r.useMemo)(function() { var e = []; if (k) return ""; if (l(w) && l(E) && l(d) && c && C.length > 0) { var t = C[0].width || 1, n = "shrink-only" === c ? Math.min(d / t, 1) : d / t; e.push("matrix(" + n + ", 0, 0, " + n + ", " + (w - n * w) + ", " + (E - n * E) + ")") } return f && e.push("rotate(" + f + ", " + w + ", " + E + ")"), e.length > 0 ? e.join(" ") : "" }, [k, w, E, d, c, C, f]); return { wordsByLines: C, startDy: A, transform: T } } }, 44425: function(e, t, n) { "use strict"; n.r(t), n.d(t, { Text: function() { return r.Z }, getStringWidth: function() { return i.Z }, useText: function() { return o.Z } }); var r = n(64170), i = n(75715), o = n(89907) }, 75715: function(e, t, n) { "use strict"; var r = n(30733), i = n.n(r), o = "__react_svg_text_measurement_id"; t.Z = i()(function(e, t) { try { var n = document.getElementById(o); if (!n) { var r = document.createElementNS("http://www.w3.org/2000/svg", "svg"); r.setAttribute("aria-hidden", "true"), r.style.width = "0", r.style.height = "0", r.style.position = "absolute", r.style.top = "-100%", r.style.left = "-100%", (n = document.createElementNS("http://www.w3.org/2000/svg", "text")).setAttribute("id", o), r.appendChild(n), document.body.appendChild(r) } return Object.assign(n.style, t), n.textContent = e, n.getComputedTextLength() } catch (i) { return null } }, function(e, t) { return e + "_" + JSON.stringify(t) }) }, 49732: function(e, t, n) { "use strict"; n.d(t, { R: function() { return s } }); var r = new WeakMap, i = new WeakMap, o = {}, a = 0, s = function(e, t, n) { void 0 === t && (t = "undefined" == typeof document ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body), void 0 === n && (n = "data-aria-hidden"); var s = Array.isArray(e) ? e : [e]; o[n] || (o[n] = new WeakMap); var l = o[n], u = [], c = new Set, f = function(e) { !e || c.has(e) || (c.add(e), f(e.parentNode)) }; s.forEach(f); var d = function(e) { !e || s.indexOf(e) >= 0 || Array.prototype.forEach.call(e.children, function(e) { if (c.has(e)) d(e); else { var t = e.getAttribute("aria-hidden"), o = null !== t && "false" !== t, a = (r.get(e) || 0) + 1, s = (l.get(e) || 0) + 1; r.set(e, a), l.set(e, s), u.push(e), 1 === a && o && i.set(e, !0), 1 === s && e.setAttribute(n, "true"), o || e.setAttribute("aria-hidden", "true") } }) }; return d(t), c.clear(), a++, function() { u.forEach(function(e) { var t = r.get(e) - 1, o = l.get(e) - 1; r.set(e, t), l.set(e, o), t || (i.has(e) || e.removeAttribute("aria-hidden"), i.delete(e)), o || e.removeAttribute(n) }), --a || (r = new WeakMap, r = new WeakMap, i = new WeakMap, o = {}) } } }, 89644: function(e, t, n) { e.exports = n(25644) }, 70353: function(e, t, n) { "use strict"; var r = n(93044), i = n(86955), o = n(92233), a = n(68030), s = n(97948), l = n(51875), u = n(60842), c = n(98560), f = n(21218), d = n(68047), h = n(10738); e.exports = function(e) { return new Promise(function(t, n) { var p, v = e.data, m = e.headers, g = e.responseType; function y() { e.cancelToken && e.cancelToken.unsubscribe(p), e.signal && e.signal.removeEventListener("abort", p) } r.isFormData(v) && r.isStandardBrowserEnv() && delete m["Content-Type"]; var b = new XMLHttpRequest; if (e.auth) { var x = e.auth.username || "", w = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : ""; m.Authorization = "Basic " + btoa(x + ":" + w) } var _ = s(e.baseURL, e.url); function E() { if (b) { var r = "getAllResponseHeaders" in b ? l(b.getAllResponseHeaders()) : null; i(function(e) { t(e), y() }, function(e) { n(e), y() }, { data: g && "text" !== g && "json" !== g ? b.response : b.responseText, status: b.status, statusText: b.statusText, headers: r, config: e, request: b }), b = null } } if (b.open(e.method.toUpperCase(), a(_, e.params, e.paramsSerializer), !0), b.timeout = e.timeout, "onloadend" in b ? b.onloadend = E : b.onreadystatechange = function() { b && 4 === b.readyState && (0 !== b.status || b.responseURL && 0 === b.responseURL.indexOf("file:")) && setTimeout(E) }, b.onabort = function() { b && (n(new f("Request aborted", f.ECONNABORTED, e, b)), b = null) }, b.onerror = function() { n(new f("Network Error", f.ERR_NETWORK, e, b, b)), b = null }, b.ontimeout = function() { var t = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded", r = e.transitional || c; e.timeoutErrorMessage && (t = e.timeoutErrorMessage), n(new f(t, r.clarifyTimeoutError ? f.ETIMEDOUT : f.ECONNABORTED, e, b)), b = null }, r.isStandardBrowserEnv()) { var k = (e.withCredentials || u(_)) && e.xsrfCookieName ? o.read(e.xsrfCookieName) : void 0; k && (m[e.xsrfHeaderName] = k) } "setRequestHeader" in b && r.forEach(m, function(e, t) { void 0 === v && "content-type" === t.toLowerCase() ? delete m[t] : b.setRequestHeader(t, e) }), r.isUndefined(e.withCredentials) || (b.withCredentials = !!e.withCredentials), g && "json" !== g && (b.responseType = e.responseType), "function" == typeof e.onDownloadProgress && b.addEventListener("progress", e.onDownloadProgress), "function" == typeof e.onUploadProgress && b.upload && b.upload.addEventListener("progress", e.onUploadProgress), (e.cancelToken || e.signal) && (p = function(e) { b && (n(!e || e && e.type ? new d : e), b.abort(), b = null) }, e.cancelToken && e.cancelToken.subscribe(p), e.signal && (e.signal.aborted ? p() : e.signal.addEventListener("abort", p))), v || (v = null); var j = h(_); if (j && -1 === ["http", "https", "file"].indexOf(j)) { n(new f("Unsupported protocol " + j + ":", f.ERR_BAD_REQUEST, e)); return } b.send(v) }) } }, 25644: function(e, t, n) { "use strict"; var r = n(93044), i = n(73644), o = n(62215), a = n(92937), s = function e(t) { var n = new o(t), s = i(o.prototype.request, n); return r.extend(s, o.prototype, n), r.extend(s, n), s.create = function(n) { return e(a(t, n)) }, s }(n(10663)); s.Axios = o, s.CanceledError = n(68047), s.CancelToken = n(34089), s.isCancel = n(98041), s.VERSION = n(29241).version, s.toFormData = n(49027), s.AxiosError = n(21218), s.Cancel = s.CanceledError, s.all = function(e) { return Promise.all(e) }, s.spread = n(70783), s.isAxiosError = n(65587), e.exports = s, e.exports.default = s }, 34089: function(e, t, n) { "use strict"; var r = n(68047); function i(e) { if ("function" != typeof e) throw TypeError("executor must be a function."); this.promise = new Promise(function(e) { t = e }); var t, n = this; this.promise.then(function(e) { if (n._listeners) { var t, r = n._listeners.length; for (t = 0; t < r; t++)n._listeners[t](e); n._listeners = null } }), this.promise.then = function(e) { var t, r = new Promise(function(e) { n.subscribe(e), t = e }).then(e); return r.cancel = function() { n.unsubscribe(t) }, r }, e(function(e) { n.reason || (n.reason = new r(e), t(n.reason)) }) } i.prototype.throwIfRequested = function() { if (this.reason) throw this.reason }, i.prototype.subscribe = function(e) { if (this.reason) { e(this.reason); return } this._listeners ? this._listeners.push(e) : this._listeners = [e] }, i.prototype.unsubscribe = function(e) { if (this._listeners) { var t = this._listeners.indexOf(e); -1 !== t && this._listeners.splice(t, 1) } }, i.source = function() { var e; return { token: new i(function(t) { e = t }), cancel: e } }, e.exports = i }, 68047: function(e, t, n) { "use strict"; var r = n(21218); function i(e) { r.call(this, null == e ? "canceled" : e, r.ERR_CANCELED), this.name = "CanceledError" } n(93044).inherits(i, r, { __CANCEL__: !0 }), e.exports = i }, 98041: function(e) { "use strict"; e.exports = function(e) { return !!(e && e.__CANCEL__) } }, 62215: function(e, t, n) { "use strict"; var r = n(93044), i = n(68030), o = n(946), a = n(6895), s = n(92937), l = n(97948), u = n(17525), c = u.validators; function f(e) { this.defaults = e, this.interceptors = { request: new o, response: new o } } f.prototype.request = function(e, t) { "string" == typeof e ? (t = t || {}).url = e : t = e || {}, (t = s(this.defaults, t)).method ? t.method = t.method.toLowerCase() : this.defaults.method ? t.method = this.defaults.method.toLowerCase() : t.method = "get"; var n, r = t.transitional; void 0 !== r && u.assertOptions(r, { silentJSONParsing: c.transitional(c.boolean), forcedJSONParsing: c.transitional(c.boolean), clarifyTimeoutError: c.transitional(c.boolean) }, !1); var i = [], o = !0; this.interceptors.request.forEach(function(e) { ("function" != typeof e.runWhen || !1 !== e.runWhen(t)) && (o = o && e.synchronous, i.unshift(e.fulfilled, e.rejected)) }); var l = []; if (this.interceptors.response.forEach(function(e) { l.push(e.fulfilled, e.rejected) }), !o) { var f = [a, void 0]; for (Array.prototype.unshift.apply(f, i), f = f.concat(l), n = Promise.resolve(t); f.length;)n = n.then(f.shift(), f.shift()); return n } for (var d = t; i.length;) { var h = i.shift(), p = i.shift(); try { d = h(d) } catch (v) { p(v); break } } try { n = a(d) } catch (m) { return Promise.reject(m) } for (; l.length;)n = n.then(l.shift(), l.shift()); return n }, f.prototype.getUri = function(e) { return i(l((e = s(this.defaults, e)).baseURL, e.url), e.params, e.paramsSerializer) }, r.forEach(["delete", "get", "head", "options"], function(e) { f.prototype[e] = function(t, n) { return this.request(s(n || {}, { method: e, url: t, data: (n || {}).data })) } }), r.forEach(["post", "put", "patch"], function(e) { function t(t) { return function(n, r, i) { return this.request(s(i || {}, { method: e, headers: t ? { "Content-Type": "multipart/form-data" } : {}, url: n, data: r })) } } f.prototype[e] = t(), f.prototype[e + "Form"] = t(!0) }), e.exports = f }, 21218: function(e, t, n) { "use strict"; var r = n(93044); function i(e, t, n, r, i) { Error.call(this), this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i) } r.inherits(i, Error, { toJSON: function() { return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: this.config, code: this.code, status: this.response && this.response.status ? this.response.status : null } } }); var o = i.prototype, a = {};["ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED"].forEach(function(e) { a[e] = { value: e } }), Object.defineProperties(i, a), Object.defineProperty(o, "isAxiosError", { value: !0 }), i.from = function(e, t, n, a, s, l) { var u = Object.create(o); return r.toFlatObject(e, u, function(e) { return e !== Error.prototype }), i.call(u, e.message, t, n, a, s), u.name = e.name, l && Object.assign(u, l), u }, e.exports = i }, 946: function(e, t, n) { "use strict"; var r = n(93044); function i() { this.handlers = [] } i.prototype.use = function(e, t, n) { return this.handlers.push({ fulfilled: e, rejected: t, synchronous: !!n && n.synchronous, runWhen: n ? n.runWhen : null }), this.handlers.length - 1 }, i.prototype.eject = function(e) { this.handlers[e] && (this.handlers[e] = null) }, i.prototype.forEach = function(e) { r.forEach(this.handlers, function(t) { null !== t && e(t) }) }, e.exports = i }, 97948: function(e, t, n) { "use strict"; var r = n(99192), i = n(48762); e.exports = function(e, t) { return e && !r(t) ? i(e, t) : t } }, 6895: function(e, t, n) { "use strict"; var r = n(93044), i = n(38556), o = n(98041), a = n(10663), s = n(68047); function l(e) { if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new s } e.exports = function(e) { return l(e), e.headers = e.headers || {}, e.data = i.call(e, e.data, e.headers, e.transformRequest), e.headers = r.merge(e.headers.common || {}, e.headers[e.method] || {}, e.headers), r.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function(t) { delete e.headers[t] }), (e.adapter || a.adapter)(e).then(function(t) { return l(e), t.data = i.call(e, t.data, t.headers, e.transformResponse), t }, function(t) { return !o(t) && (l(e), t && t.response && (t.response.data = i.call(e, t.response.data, t.response.headers, e.transformResponse))), Promise.reject(t) }) } }, 92937: function(e, t, n) { "use strict"; var r = n(93044); e.exports = function(e, t) { t = t || {}; var n = {}; function i(e, t) { return r.isPlainObject(e) && r.isPlainObject(t) ? r.merge(e, t) : r.isPlainObject(t) ? r.merge({}, t) : r.isArray(t) ? t.slice() : t } function o(n) { return r.isUndefined(t[n]) ? r.isUndefined(e[n]) ? void 0 : i(void 0, e[n]) : i(e[n], t[n]) } function a(e) { if (!r.isUndefined(t[e])) return i(void 0, t[e]) } function s(n) { return r.isUndefined(t[n]) ? r.isUndefined(e[n]) ? void 0 : i(void 0, e[n]) : i(void 0, t[n]) } function l(n) { return n in t ? i(e[n], t[n]) : n in e ? i(void 0, e[n]) : void 0 } var u = { url: a, method: a, data: a, baseURL: s, transformRequest: s, transformResponse: s, paramsSerializer: s, timeout: s, timeoutMessage: s, withCredentials: s, adapter: s, responseType: s, xsrfCookieName: s, xsrfHeaderName: s, onUploadProgress: s, onDownloadProgress: s, decompress: s, maxContentLength: s, maxBodyLength: s, beforeRedirect: s, transport: s, httpAgent: s, httpsAgent: s, cancelToken: s, socketPath: s, responseEncoding: s, validateStatus: l }; return r.forEach(Object.keys(e).concat(Object.keys(t)), function(e) { var t = u[e] || o, i = t(e); r.isUndefined(i) && t !== l || (n[e] = i) }), n } }, 86955: function(e, t, n) { "use strict"; var r = n(21218); e.exports = function(e, t, n) { var i = n.config.validateStatus; !n.status || !i || i(n.status) ? e(n) : t(new r("Request failed with status code " + n.status, [r.ERR_BAD_REQUEST, r.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n)) } }, 38556: function(e, t, n) { "use strict"; var r = n(93044), i = n(10663); e.exports = function(e, t, n) { var o = this || i; return r.forEach(n, function(n) { e = n.call(o, e, t) }), e } }, 10663: function(e, t, n) { "use strict"; var r, i = n(93542), o = n(93044), a = n(98868), s = n(21218), l = n(98560), u = n(49027), c = { "Content-Type": "application/x-www-form-urlencoded" }; function f(e, t) { !o.isUndefined(e) && o.isUndefined(e["Content-Type"]) && (e["Content-Type"] = t) } var d = { transitional: l, adapter: ("undefined" != typeof XMLHttpRequest ? r = n(70353) : void 0 !== i && "[object process]" === Object.prototype.toString.call(i) && (r = n(70353)), r), transformRequest: [function(e, t) { if (a(t, "Accept"), a(t, "Content-Type"), o.isFormData(e) || o.isArrayBuffer(e) || o.isBuffer(e) || o.isStream(e) || o.isFile(e) || o.isBlob(e)) return e; if (o.isArrayBufferView(e)) return e.buffer; if (o.isURLSearchParams(e)) return f(t, "application/x-www-form-urlencoded;charset=utf-8"), e.toString(); var n, r = o.isObject(e), i = t && t["Content-Type"]; if ((n = o.isFileList(e)) || r && "multipart/form-data" === i) { var s = this.env && this.env.FormData; return u(n ? { "files[]": e } : e, s && new s) } return r || "application/json" === i ? (f(t, "application/json"), function(e, t, n) { if (o.isString(e)) try { return (0, JSON.parse)(e), o.trim(e) } catch (r) { if ("SyntaxError" !== r.name) throw r } return (0, JSON.stringify)(e) }(e)) : e }], transformResponse: [function(e) { var t = this.transitional || d.transitional, n = t && t.silentJSONParsing, r = t && t.forcedJSONParsing, i = !n && "json" === this.responseType; if (i || r && o.isString(e) && e.length) try { return JSON.parse(e) } catch (a) { if (i) { if ("SyntaxError" === a.name) throw s.from(a, s.ERR_BAD_RESPONSE, this, null, this.response); throw a } } return e }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: n(84684) }, validateStatus: function(e) { return e >= 200 && e < 300 }, headers: { common: { Accept: "application/json, text/plain, */*" } } }; o.forEach(["delete", "get", "head"], function(e) { d.headers[e] = {} }), o.forEach(["post", "put", "patch"], function(e) { d.headers[e] = o.merge(c) }), e.exports = d }, 98560: function(e) { "use strict"; e.exports = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 } }, 29241: function(e) { e.exports = { version: "0.27.2" } }, 73644: function(e) { "use strict"; e.exports = function(e, t) { return function() { for (var n = Array(arguments.length), r = 0; r < n.length; r++)n[r] = arguments[r]; return e.apply(t, n) } } }, 68030: function(e, t, n) { "use strict"; var r = n(93044); function i(e) { return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]") } e.exports = function(e, t, n) { if (!t) return e; if (n) o = n(t); else if (r.isURLSearchParams(t)) o = t.toString(); else { var o, a = []; r.forEach(t, function(e, t) { null != e && (r.isArray(e) ? t += "[]" : e = [e], r.forEach(e, function(e) { r.isDate(e) ? e = e.toISOString() : r.isObject(e) && (e = JSON.stringify(e)), a.push(i(t) + "=" + i(e)) })) }), o = a.join("&") } if (o) { var s = e.indexOf("#"); -1 !== s && (e = e.slice(0, s)), e += (-1 === e.indexOf("?") ? "?" : "&") + o } return e } }, 48762: function(e) { "use strict"; e.exports = function(e, t) { return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e } }, 92233: function(e, t, n) { "use strict"; var r = n(93044); e.exports = r.isStandardBrowserEnv() ? { write: function(e, t, n, i, o, a) { var s = []; s.push(e + "=" + encodeURIComponent(t)), r.isNumber(n) && s.push("expires=" + new Date(n).toGMTString()), r.isString(i) && s.push("path=" + i), r.isString(o) && s.push("domain=" + o), !0 === a && s.push("secure"), document.cookie = s.join("; ") }, read: function(e) { var t = document.cookie.match(RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); return t ? decodeURIComponent(t[3]) : null }, remove: function(e) { this.write(e, "", Date.now() - 864e5) } } : { write: function() { }, read: function() { return null }, remove: function() { } } }, 99192: function(e) { "use strict"; e.exports = function(e) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e) } }, 65587: function(e, t, n) { "use strict"; var r = n(93044); e.exports = function(e) { return r.isObject(e) && !0 === e.isAxiosError } }, 60842: function(e, t, n) { "use strict"; var r = n(93044); e.exports = r.isStandardBrowserEnv() ? function() { var e, t = /(msie|trident)/i.test(navigator.userAgent), n = document.createElement("a"); function i(e) { var r = e; return t && (n.setAttribute("href", r), r = n.href), n.setAttribute("href", r), { href: n.href, protocol: n.protocol ? n.protocol.replace(/:$/, "") : "", host: n.host, search: n.search ? n.search.replace(/^\?/, "") : "", hash: n.hash ? n.hash.replace(/^#/, "") : "", hostname: n.hostname, port: n.port, pathname: "/" === n.pathname.charAt(0) ? n.pathname : "/" + n.pathname } } return e = i(window.location.href), function(t) { var n = r.isString(t) ? i(t) : t; return n.protocol === e.protocol && n.host === e.host } }() : function() { return !0 } }, 98868: function(e, t, n) { "use strict"; var r = n(93044); e.exports = function(e, t) { r.forEach(e, function(n, r) { r !== t && r.toUpperCase() === t.toUpperCase() && (e[t] = n, delete e[r]) }) } }, 84684: function(e) { e.exports = null }, 51875: function(e, t, n) { "use strict"; var r = n(93044), i = ["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]; e.exports = function(e) { var t, n, o, a = {}; return e && r.forEach(e.split("\n"), function(e) { o = e.indexOf(":"), t = r.trim(e.substr(0, o)).toLowerCase(), n = r.trim(e.substr(o + 1)), t && !(a[t] && i.indexOf(t) >= 0) && ("set-cookie" === t ? a[t] = (a[t] ? a[t] : []).concat([n]) : a[t] = a[t] ? a[t] + ", " + n : n) }), a } }, 10738: function(e) { "use strict"; e.exports = function(e) { var t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e); return t && t[1] || "" } }, 70783: function(e) { "use strict"; e.exports = function(e) { return function(t) { return e.apply(null, t) } } }, 49027: function(e, t, n) { "use strict"; var r = n(48834).lW, i = n(93044); e.exports = function(e, t) { t = t || new FormData; var n = []; function o(e) { return null === e ? "" : i.isDate(e) ? e.toISOString() : i.isArrayBuffer(e) || i.isTypedArray(e) ? "function" == typeof Blob ? new Blob([e]) : r.from(e) : e } return !function e(r, a) { if (i.isPlainObject(r) || i.isArray(r)) { if (-1 !== n.indexOf(r)) throw Error("Circular reference detected in " + a); n.push(r), i.forEach(r, function(n, r) { if (!i.isUndefined(n)) { var s, l = a ? a + "." + r : r; if (n && !a && "object" == typeof n) { if (i.endsWith(r, "{}")) n = JSON.stringify(n); else if (i.endsWith(r, "[]") && (s = i.toArray(n))) { s.forEach(function(e) { i.isUndefined(e) || t.append(l, o(e)) }); return } } e(n, l) } }), n.pop() } else t.append(a, o(r)) }(e), t } }, 17525: function(e, t, n) { "use strict"; var r = n(29241).version, i = n(21218), o = {};["object", "boolean", "number", "function", "string", "symbol"].forEach(function(e, t) { o[e] = function(n) { return typeof n === e || "a" + (t < 1 ? "n " : " ") + e } }); var a = {}; o.transitional = function(e, t, n) { function o(e, t) { return "[Axios v" + r + "] Transitional option '" + e + "'" + t + (n ? ". " + n : "") } return function(n, r, s) { if (!1 === e) throw new i(o(r, " has been removed" + (t ? " in " + t : "")), i.ERR_DEPRECATED); return t && !a[r] && (a[r] = !0, console.warn(o(r, " has been deprecated since v" + t + " and will be removed in the near future"))), !e || e(n, r, s) } }, e.exports = { assertOptions: function(e, t, n) { if ("object" != typeof e) throw new i("options must be an object", i.ERR_BAD_OPTION_VALUE); for (var r = Object.keys(e), o = r.length; o-- > 0;) { var a = r[o], s = t[a]; if (s) { var l = e[a], u = void 0 === l || s(l, a, e); if (!0 !== u) throw new i("option " + a + " must be " + u, i.ERR_BAD_OPTION_VALUE); continue } if (!0 !== n) throw new i("Unknown option " + a, i.ERR_BAD_OPTION) } }, validators: o } }, 93044: function(e, t, n) { "use strict"; var r, i, o = n(73644), a = Object.prototype.toString, s = (r = Object.create(null), function(e) { var t = a.call(e); return r[t] || (r[t] = t.slice(8, -1).toLowerCase()) }); function l(e) { return e = e.toLowerCase(), function(t) { return s(t) === e } } function u(e) { return Array.isArray(e) } function c(e) { return void 0 === e } var f = l("ArrayBuffer"); function d(e) { return null !== e && "object" == typeof e } function h(e) { if ("object" !== s(e)) return !1; var t = Object.getPrototypeOf(e); return null === t || t === Object.prototype } var p = l("Date"), v = l("File"), m = l("Blob"), g = l("FileList"); function y(e) { return "[object Function]" === a.call(e) } var b = l("URLSearchParams"); function x(e, t) { if (null != e) { if ("object" != typeof e && (e = [e]), u(e)) for (var n = 0, r = e.length; n < r; n++)t.call(null, e[n], n, e); else for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.call(null, e[i], i, e) } } var w = (i = "undefined" != typeof Uint8Array && Object.getPrototypeOf(Uint8Array), function(e) { return i && e instanceof i }); e.exports = { isArray: u, isArrayBuffer: f, isBuffer: function(e) { return null !== e && !c(e) && null !== e.constructor && !c(e.constructor) && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e) }, isFormData: function(e) { var t = "[object FormData]"; return e && ("function" == typeof FormData && e instanceof FormData || a.call(e) === t || y(e.toString) && e.toString() === t) }, isArrayBufferView: function(e) { return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && f(e.buffer) }, isString: function(e) { return "string" == typeof e }, isNumber: function(e) { return "number" == typeof e }, isObject: d, isPlainObject: h, isUndefined: c, isDate: p, isFile: v, isBlob: m, isFunction: y, isStream: function(e) { return d(e) && y(e.pipe) }, isURLSearchParams: b, isStandardBrowserEnv: function() { return ("undefined" == typeof navigator || "ReactNative" !== navigator.product && "NativeScript" !== navigator.product && "NS" !== navigator.product) && "undefined" != typeof window && "undefined" != typeof document }, forEach: x, merge: function e() { var t = {}; function n(n, r) { h(t[r]) && h(n) ? t[r] = e(t[r], n) : h(n) ? t[r] = e({}, n) : u(n) ? t[r] = n.slice() : t[r] = n } for (var r = 0, i = arguments.length; r < i; r++)x(arguments[r], n); return t }, extend: function(e, t, n) { return x(t, function(t, r) { n && "function" == typeof t ? e[r] = o(t, n) : e[r] = t }), e }, trim: function(e) { return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "") }, stripBOM: function(e) { return 65279 === e.charCodeAt(0) && (e = e.slice(1)), e }, inherits: function(e, t, n, r) { e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, n && Object.assign(e.prototype, n) }, toFlatObject: function(e, t, n) { var r, i, o, a = {}; t = t || {}; do { for (i = (r = Object.getOwnPropertyNames(e)).length; i-- > 0;)a[o = r[i]] || (t[o] = e[o], a[o] = !0); e = Object.getPrototypeOf(e) } while (e && (!n || n(e, t)) && e !== Object.prototype); return t }, kindOf: s, kindOfTest: l, endsWith: function(e, t, n) { e = String(e), (void 0 === n || n > e.length) && (n = e.length), n -= t.length; var r = e.indexOf(t, n); return -1 !== r && r === n }, toArray: function(e) { if (!e) return null; var t = e.length; if (c(t)) return null; for (var n = Array(t); t-- > 0;)n[t] = e[t]; return n }, isTypedArray: w, isFileList: g } }, 82294: function(e) { "use strict"; function t(e, t, i) { e instanceof RegExp && (e = n(e, i)), t instanceof RegExp && (t = n(t, i)); var o = r(e, t, i); return o && { start: o[0], end: o[1], pre: i.slice(0, o[0]), body: i.slice(o[0] + e.length, o[1]), post: i.slice(o[1] + t.length) } } function n(e, t) { var n = t.match(e); return n ? n[0] : null } function r(e, t, n) { var r, i, o, a, s, l = n.indexOf(e), u = n.indexOf(t, l + 1), c = l; if (l >= 0 && u > 0) { if (e === t) return [l, u]; for (r = [], o = n.length; c >= 0 && !s;)c == l ? (r.push(c), l = n.indexOf(e, c + 1)) : 1 == r.length ? s = [r.pop(), u] : ((i = r.pop()) < o && (o = i, a = u), u = n.indexOf(t, c + 1)), c = l < u && l >= 0 ? l : u; r.length && (s = [o, a]) } return s } e.exports = t, t.range = r }, 95766: function(e, t) { "use strict"; t.byteLength = function(e) { var t = l(e), n = t[0], r = t[1]; return (n + r) * 3 / 4 - r }, t.toByteArray = function(e) { var t, n, o = l(e), a = o[0], s = o[1], u = new i((a + s) * 3 / 4 - s), c = 0, f = s > 0 ? a - 4 : a; for (n = 0; n < f; n += 4)t = r[e.charCodeAt(n)] << 18 | r[e.charCodeAt(n + 1)] << 12 | r[e.charCodeAt(n + 2)] << 6 | r[e.charCodeAt(n + 3)], u[c++] = t >> 16 & 255, u[c++] = t >> 8 & 255, u[c++] = 255 & t; return 2 === s && (t = r[e.charCodeAt(n)] << 2 | r[e.charCodeAt(n + 1)] >> 4, u[c++] = 255 & t), 1 === s && (t = r[e.charCodeAt(n)] << 10 | r[e.charCodeAt(n + 1)] << 4 | r[e.charCodeAt(n + 2)] >> 2, u[c++] = t >> 8 & 255, u[c++] = 255 & t), u }, t.fromByteArray = function(e) { for (var t, r = e.length, i = r % 3, o = [], a = 0, s = r - i; a < s; a += 16383)o.push(function(e, t, r) { for (var i, o = [], a = t; a < r; a += 3)o.push(n[(i = (e[a] << 16 & 16711680) + (e[a + 1] << 8 & 65280) + (255 & e[a + 2])) >> 18 & 63] + n[i >> 12 & 63] + n[i >> 6 & 63] + n[63 & i]); return o.join("") }(e, a, a + 16383 > s ? s : a + 16383)); return 1 === i ? o.push(n[(t = e[r - 1]) >> 2] + n[t << 4 & 63] + "==") : 2 === i && o.push(n[(t = (e[r - 2] << 8) + e[r - 1]) >> 10] + n[t >> 4 & 63] + n[t << 2 & 63] + "="), o.join("") }; for (var n = [], r = [], i = "undefined" != typeof Uint8Array ? Uint8Array : Array, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", a = 0, s = o.length; a < s; ++a)n[a] = o[a], r[o.charCodeAt(a)] = a; function l(e) { var t = e.length; if (t % 4 > 0) throw Error("Invalid string. Length must be a multiple of 4"); var n = e.indexOf("="); -1 === n && (n = t); var r = n === t ? 0 : 4 - n % 4; return [n, r] } r["-".charCodeAt(0)] = 62, r["_".charCodeAt(0)] = 63 }, 6391: function(e, t, n) { var r; !function(i) { "use strict"; var o, a = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, s = Math.ceil, l = Math.floor, u = "[BigNumber Error] ", c = u + "Number primitive has more than 15 significant digits: ", f = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13]; function d(e) { var t = 0 | e; return e > 0 || e === t ? t : t - 1 } function h(e) { for (var t, n, r = 1, i = e.length, o = e[0] + ""; r < i;) { for (n = 14 - (t = e[r++] + "").length; n--; t = "0" + t); o += t } for (i = o.length; 48 === o.charCodeAt(--i);); return o.slice(0, i + 1 || 1) } function p(e, t) { var n, r, i = e.c, o = t.c, a = e.s, s = t.s, l = e.e, u = t.e; if (!a || !s) return null; if (n = i && !i[0], r = o && !o[0], n || r) return n ? r ? 0 : -s : a; if (a != s) return a; if (n = a < 0, r = l == u, !i || !o) return r ? 0 : !i ^ n ? 1 : -1; if (!r) return l > u ^ n ? 1 : -1; for (a = 0, s = (l = i.length) < (u = o.length) ? l : u; a < s; a++)if (i[a] != o[a]) return i[a] > o[a] ^ n ? 1 : -1; return l == u ? 0 : l > u ^ n ? 1 : -1 } function v(e, t, n, r) { if (e < t || e > n || e !== l(e)) throw Error(u + (r || "Argument") + ("number" == typeof e ? e < t || e > n ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(e)) } function m(e) { var t = e.c.length - 1; return d(e.e / 14) == t && e.c[t] % 2 != 0 } function g(e, t) { return (e.length > 1 ? e.charAt(0) + "." + e.slice(1) : e) + (t < 0 ? "e" : "e+") + t } function y(e, t, n) { var r, i; if (t < 0) { for (i = n + "."; ++t; i += n); e = i + e } else if (r = e.length, ++t > r) { for (i = n, t -= r; --t; i += n); e += i } else t < r && (e = e.slice(0, t) + "." + e.slice(t)); return e } (o = function e(t) { var n, r, i, o, b, x, w, _, E, k = I.prototype = { constructor: I, toString: null, valueOf: null }, j = new I(1), S = 20, O = 4, C = -7, A = 21, T = -1e7, M = 1e7, P = !1, N = 1, R = 0, D = { prefix: "", groupSize: 3, secondaryGroupSize: 0, groupSeparator: ",", decimalSeparator: ".", fractionGroupSize: 0, fractionGroupSeparator: "\xa0", suffix: "" }, L = "0123456789abcdefghijklmnopqrstuvwxyz", F = !0; function I(e, t) { var n, r, i, o, s, u, f, d, h = this; if (!(h instanceof I)) return new I(e, t); if (null == t) { if (e && !0 === e._isBigNumber) { h.s = e.s, !e.c || e.e > M ? h.c = h.e = null : e.e < T ? h.c = [h.e = 0] : (h.e = e.e, h.c = e.c.slice()); return } if ((u = "number" == typeof e) && 0 * e == 0) { if (h.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) { for (o = 0, s = e; s >= 10; s /= 10, o++); o > M ? h.c = h.e = null : (h.e = o, h.c = [e]); return } d = String(e) } else { if (!a.test(d = String(e))) return E(h, d, u); h.s = 45 == d.charCodeAt(0) ? (d = d.slice(1), -1) : 1 } (o = d.indexOf(".")) > -1 && (d = d.replace(".", "")), (s = d.search(/e/i)) > 0 ? (o < 0 && (o = s), o += +d.slice(s + 1), d = d.substring(0, s)) : o < 0 && (o = d.length) } else { if (v(t, 2, L.length, "Base"), 10 == t && F) return Z(h = new I(e), S + h.e + 1, O); if (d = String(e), u = "number" == typeof e) { if (0 * e != 0) return E(h, d, u, t); if (h.s = 1 / e < 0 ? (d = d.slice(1), -1) : 1, I.DEBUG && d.replace(/^0\.0*|\./, "").length > 15) throw Error(c + e) } else h.s = 45 === d.charCodeAt(0) ? (d = d.slice(1), -1) : 1; for (n = L.slice(0, t), o = s = 0, f = d.length; s < f; s++)if (0 > n.indexOf(r = d.charAt(s))) { if ("." == r) { if (s > o) { o = f; continue } } else if (!i && (d == d.toUpperCase() && (d = d.toLowerCase()) || d == d.toLowerCase() && (d = d.toUpperCase()))) { i = !0, s = -1, o = 0; continue } return E(h, String(e), u, t) } u = !1, (o = (d = _(d, t, 10, h.s)).indexOf(".")) > -1 ? d = d.replace(".", "") : o = d.length } for (s = 0; 48 === d.charCodeAt(s); s++); for (f = d.length; 48 === d.charCodeAt(--f);); if (d = d.slice(s, ++f)) { if (f -= s, u && I.DEBUG && f > 15 && (e > 9007199254740991 || e !== l(e))) throw Error(c + h.s * e); if ((o = o - s - 1) > M) h.c = h.e = null; else if (o < T) h.c = [h.e = 0]; else { if (h.e = o, h.c = [], s = (o + 1) % 14, o < 0 && (s += 14), s < f) { for (s && h.c.push(+d.slice(0, s)), f -= 14; s < f;)h.c.push(+d.slice(s, s += 14)); s = 14 - (d = d.slice(s)).length } else s -= f; for (; s--; d += "0"); h.c.push(+d) } } else h.c = [h.e = 0] } function z(e, t, n, r) { var i, o, a, s, l; if (null == n ? n = O : v(n, 0, 8), !e.c) return e.toString(); if (i = e.c[0], a = e.e, null == t) l = h(e.c), l = 1 == r || 2 == r && (a <= C || a >= A) ? g(l, a) : y(l, a, "0"); else if (o = (e = Z(new I(e), t, n)).e, s = (l = h(e.c)).length, 1 == r || 2 == r && (t <= o || o <= C)) { for (; s < t; l += "0", s++); l = g(l, o) } else if (t -= a, l = y(l, o, "0"), o + 1 > s) { if (--t > 0) for (l += "."; t--; l += "0"); } else if ((t += o - s) > 0) for (o + 1 == s && (l += "."); t--; l += "0"); return e.s < 0 && i ? "-" + l : l } function V(e, t) { for (var n, r = 1, i = new I(e[0]); r < e.length; r++)if ((n = new I(e[r])).s) t.call(i, n) && (i = n); else { i = n; break } return i } function B(e, t, n) { for (var r = 1, i = t.length; !t[--i]; t.pop()); for (i = t[0]; i >= 10; i /= 10, r++); return (n = r + 14 * n - 1) > M ? e.c = e.e = null : n < T ? e.c = [e.e = 0] : (e.e = n, e.c = t), e } function Z(e, t, n, r) { var i, o, a, u, c, d, h, p = e.c; if (p) { e: { for (i = 1, u = p[0]; u >= 10; u /= 10, i++); if ((o = t - i) < 0) o += 14, a = t, h = (c = p[d = 0]) / f[i - a - 1] % 10 | 0; else if ((d = s((o + 1) / 14)) >= p.length) { if (r) { for (; p.length <= d; p.push(0)); c = h = 0, i = 1, o %= 14, a = o - 14 + 1 } else break e } else { for (i = 1, c = u = p[d]; u >= 10; u /= 10, i++); o %= 14, h = (a = o - 14 + i) < 0 ? 0 : c / f[i - a - 1] % 10 | 0 } if (r = r || t < 0 || null != p[d + 1] || (a < 0 ? c : c % f[i - a - 1]), r = n < 4 ? (h || r) && (0 == n || n == (e.s < 0 ? 3 : 2)) : h > 5 || 5 == h && (4 == n || r || 6 == n && (o > 0 ? a > 0 ? c / f[i - a] : 0 : p[d - 1]) % 10 & 1 || n == (e.s < 0 ? 8 : 7)), t < 1 || !p[0]) return p.length = 0, r ? (t -= e.e + 1, p[0] = f[(14 - t % 14) % 14], e.e = -t || 0) : p[0] = e.e = 0, e; if (0 == o ? (p.length = d, u = 1, d--) : (p.length = d + 1, u = f[14 - o], p[d] = a > 0 ? l(c / f[i - a] % f[a]) * u : 0), r) for (; ;) { if (0 == d) { for (o = 1, a = p[0]; a >= 10; a /= 10, o++); for (a = p[0] += u, u = 1; a >= 10; a /= 10, u++); o != u && (e.e++, 1e14 == p[0] && (p[0] = 1)); break } if (p[d] += u, 1e14 != p[d]) break; p[d--] = 0, u = 1 } for (o = p.length; 0 === p[--o]; p.pop()); } e.e > M ? e.c = e.e = null : e.e < T && (e.c = [e.e = 0]) } return e } function U(e) { var t, n = e.e; return null === n ? e.toString() : (t = h(e.c), t = n <= C || n >= A ? g(t, n) : y(t, n, "0"), e.s < 0 ? "-" + t : t) } return I.clone = e, I.ROUND_UP = 0, I.ROUND_DOWN = 1, I.ROUND_CEIL = 2, I.ROUND_FLOOR = 3, I.ROUND_HALF_UP = 4, I.ROUND_HALF_DOWN = 5, I.ROUND_HALF_EVEN = 6, I.ROUND_HALF_CEIL = 7, I.ROUND_HALF_FLOOR = 8, I.EUCLID = 9, I.config = I.set = function(e) { var t, n; if (null != e) { if ("object" == typeof e) { if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (v(n = e[t], 0, 1e9, t), S = n), e.hasOwnProperty(t = "ROUNDING_MODE") && (v(n = e[t], 0, 8, t), O = n), e.hasOwnProperty(t = "EXPONENTIAL_AT") && ((n = e[t]) && n.pop ? (v(n[0], -1e9, 0, t), v(n[1], 0, 1e9, t), C = n[0], A = n[1]) : (v(n, -1e9, 1e9, t), C = -(A = n < 0 ? -n : n))), e.hasOwnProperty(t = "RANGE")) { if ((n = e[t]) && n.pop) v(n[0], -1e9, -1, t), v(n[1], 1, 1e9, t), T = n[0], M = n[1]; else if (v(n, -1e9, 1e9, t), n) T = -(M = n < 0 ? -n : n); else throw Error(u + t + " cannot be zero: " + n) } if (e.hasOwnProperty(t = "CRYPTO")) { if (!!(n = e[t]) === n) { if (n) { if ("undefined" != typeof crypto && crypto && (crypto.getRandomValues || crypto.randomBytes)) P = n; else throw P = !n, Error(u + "crypto unavailable") } else P = n } else throw Error(u + t + " not true or false: " + n) } if (e.hasOwnProperty(t = "MODULO_MODE") && (v(n = e[t], 0, 9, t), N = n), e.hasOwnProperty(t = "POW_PRECISION") && (v(n = e[t], 0, 1e9, t), R = n), e.hasOwnProperty(t = "FORMAT")) { if ("object" == typeof (n = e[t])) D = n; else throw Error(u + t + " not an object: " + n) } if (e.hasOwnProperty(t = "ALPHABET")) { if ("string" != typeof (n = e[t]) || /^.?$|[+\-.\s]|(.).*\1/.test(n)) throw Error(u + t + " invalid: " + n); F = "0123456789" == n.slice(0, 10), L = n } } else throw Error(u + "Object expected: " + e) } return { DECIMAL_PLACES: S, ROUNDING_MODE: O, EXPONENTIAL_AT: [C, A], RANGE: [T, M], CRYPTO: P, MODULO_MODE: N, POW_PRECISION: R, FORMAT: D, ALPHABET: L } }, I.isBigNumber = function(e) { if (!e || !0 !== e._isBigNumber) return !1; if (!I.DEBUG) return !0; var t, n, r = e.c, i = e.e, o = e.s; e: if ("[object Array]" == ({}).toString.call(r)) { if ((1 === o || -1 === o) && i >= -1e9 && i <= 1e9 && i === l(i)) { if (0 === r[0]) { if (0 === i && 1 === r.length) return !0; break e } if ((t = (i + 1) % 14) < 1 && (t += 14), String(r[0]).length == t) { for (t = 0; t < r.length; t++)if ((n = r[t]) < 0 || n >= 1e14 || n !== l(n)) break e; if (0 !== n) return !0 } } } else if (null === r && null === i && (null === o || 1 === o || -1 === o)) return !0; throw Error(u + "Invalid BigNumber: " + e) }, I.maximum = I.max = function() { return V(arguments, k.lt) }, I.minimum = I.min = function() { return V(arguments, k.gt) }, I.random = (n = 9007199254740992 * Math.random() & 2097151 ? function() { return l(9007199254740992 * Math.random()) } : function() { return (1073741824 * Math.random() | 0) * 8388608 + (8388608 * Math.random() | 0) }, function(e) { var t, r, i, o, a, c = 0, d = [], h = new I(j); if (null == e ? e = S : v(e, 0, 1e9), o = s(e / 14), P) { if (crypto.getRandomValues) { for (t = crypto.getRandomValues(new Uint32Array(o *= 2)); c < o;)(a = 131072 * t[c] + (t[c + 1] >>> 11)) >= 9e15 ? (r = crypto.getRandomValues(new Uint32Array(2)), t[c] = r[0], t[c + 1] = r[1]) : (d.push(a % 1e14), c += 2); c = o / 2 } else if (crypto.randomBytes) { for (t = crypto.randomBytes(o *= 7); c < o;)(a = (31 & t[c]) * 281474976710656 + 1099511627776 * t[c + 1] + 4294967296 * t[c + 2] + 16777216 * t[c + 3] + (t[c + 4] << 16) + (t[c + 5] << 8) + t[c + 6]) >= 9e15 ? crypto.randomBytes(7).copy(t, c) : (d.push(a % 1e14), c += 7); c = o / 7 } else throw P = !1, Error(u + "crypto unavailable") } if (!P) for (; c < o;)(a = n()) < 9e15 && (d[c++] = a % 1e14); for (o = d[--c], e %= 14, o && e && (a = f[14 - e], d[c] = l(o / a) * a); 0 === d[c]; d.pop(), c--); if (c < 0) d = [i = 0]; else { for (i = -1; 0 === d[0]; d.splice(0, 1), i -= 14); for (c = 1, a = d[0]; a >= 10; a /= 10, c++); c < 14 && (i -= 14 - c) } return h.e = i, h.c = d, h }), I.sum = function() { for (var e = 1, t = arguments, n = new I(t[0]); e < t.length;)n = n.plus(t[e++]); return n }, _ = function() { var e = "0123456789"; function t(e, t, n, r) { for (var i, o, a = [0], s = 0, l = e.length; s < l;) { for (o = a.length; o--; a[o] *= t); for (a[0] += r.indexOf(e.charAt(s++)), i = 0; i < a.length; i++)a[i] > n - 1 && (null == a[i + 1] && (a[i + 1] = 0), a[i + 1] += a[i] / n | 0, a[i] %= n) } return a.reverse() } return function(n, r, i, o, a) { var s, l, u, c, f, d, p, v, m = n.indexOf("."), g = S, b = O; for (m >= 0 && (c = R, R = 0, n = n.replace(".", ""), d = (v = new I(r)).pow(n.length - m), R = c, v.c = t(y(h(d.c), d.e, "0"), 10, i, e), v.e = v.c.length), u = c = (p = t(n, r, i, a ? (s = L, e) : (s = e, L))).length; 0 == p[--c]; p.pop()); if (!p[0]) return s.charAt(0); if (m < 0 ? --u : (d.c = p, d.e = u, d.s = o, p = (d = w(d, v, g, b, i)).c, f = d.r, u = d.e), m = p[l = u + g + 1], c = i / 2, f = f || l < 0 || null != p[l + 1], f = b < 4 ? (null != m || f) && (0 == b || b == (d.s < 0 ? 3 : 2)) : m > c || m == c && (4 == b || f || 6 == b && 1 & p[l - 1] || b == (d.s < 0 ? 8 : 7)), l < 1 || !p[0]) n = f ? y(s.charAt(1), -g, s.charAt(0)) : s.charAt(0); else { if (p.length = l, f) for (--i; ++p[--l] > i;)p[l] = 0, l || (++u, p = [1].concat(p)); for (c = p.length; !p[--c];); for (m = 0, n = ""; m <= c; n += s.charAt(p[m++])); n = y(n, u, s.charAt(0)) } return n } }(), w = function() { function e(e, t, n) { var r, i, o, a, s = 0, l = e.length, u = t % 1e7, c = t / 1e7 | 0; for (e = e.slice(); l--;)r = c * (o = e[l] % 1e7) + (a = e[l] / 1e7 | 0) * u, s = ((i = u * o + r % 1e7 * 1e7 + s) / n | 0) + (r / 1e7 | 0) + c * a, e[l] = i % n; return s && (e = [s].concat(e)), e } function t(e, t, n, r) { var i, o; if (n != r) o = n > r ? 1 : -1; else for (i = o = 0; i < n; i++)if (e[i] != t[i]) { o = e[i] > t[i] ? 1 : -1; break } return o } function n(e, t, n, r) { for (var i = 0; n--;)e[n] -= i, i = e[n] < t[n] ? 1 : 0, e[n] = i * r + e[n] - t[n]; for (; !e[0] && e.length > 1; e.splice(0, 1)); } return function(r, i, o, a, s) { var u, c, f, h, p, v, m, g, y, b, x, w, _, E, k, j, S, O = r.s == i.s ? 1 : -1, C = r.c, A = i.c; if (!C || !C[0] || !A || !A[0]) return new I(r.s && i.s && (C ? !A || C[0] != A[0] : A) ? C && 0 == C[0] || !A ? 0 * O : O / 0 : NaN); for (y = (g = new I(O)).c = [], O = o + (c = r.e - i.e) + 1, s || (s = 1e14, c = d(r.e / 14) - d(i.e / 14), O = O / 14 | 0), f = 0; A[f] == (C[f] || 0); f++); if (A[f] > (C[f] || 0) && c--, O < 0) y.push(1), h = !0; else { for (E = C.length, j = A.length, f = 0, O += 2, (p = l(s / (A[0] + 1))) > 1 && (A = e(A, p, s), C = e(C, p, s), j = A.length, E = C.length), _ = j, x = (b = C.slice(0, j)).length; x < j; b[x++] = 0); S = [0].concat(S = A.slice()), k = A[0], A[1] >= s / 2 && k++; do { if (p = 0, (u = t(A, b, j, x)) < 0) { if (w = b[0], j != x && (w = w * s + (b[1] || 0)), (p = l(w / k)) > 1) for (p >= s && (p = s - 1), m = (v = e(A, p, s)).length, x = b.length; 1 == t(v, b, m, x);)p--, n(v, j < m ? S : A, m, s), m = v.length, u = 1; else 0 == p && (u = p = 1), m = (v = A.slice()).length; if (m < x && (v = [0].concat(v)), n(b, v, x, s), x = b.length, -1 == u) for (; 1 > t(A, b, j, x);)p++, n(b, j < x ? S : A, x, s), x = b.length } else 0 === u && (p++, b = [0]); y[f++] = p, b[0] ? b[x++] = C[_] || 0 : (b = [C[_]], x = 1) } while ((_++ < E || null != b[0]) && O--); h = null != b[0], y[0] || y.splice(0, 1) } if (1e14 == s) { for (f = 1, O = y[0]; O >= 10; O /= 10, f++); Z(g, o + (g.e = f + 14 * c - 1) + 1, a, h) } else g.e = c, g.r = +h; return g } }(), r = /^(-?)0([xbo])(?=\w[\w.]*$)/i, i = /^([^.]+)\.$/, o = /^\.([^.]+)$/, b = /^-?(Infinity|NaN)$/, x = /^\s*\+(?=[\w.])|^\s+|\s+$/g, E = function(e, t, n, a) { var s, l = n ? t : t.replace(x, ""); if (b.test(l)) e.s = isNaN(l) ? null : l < 0 ? -1 : 1; else { if (!n && (l = l.replace(r, function(e, t, n) { return s = "x" == (n = n.toLowerCase()) ? 16 : "b" == n ? 2 : 8, a && a != s ? e : t }), a && (s = a, l = l.replace(i, "$1").replace(o, "0.$1")), t != l)) return new I(l, s); if (I.DEBUG) throw Error(u + "Not a" + (a ? " base " + a : "") + " number: " + t); e.s = null } e.c = e.e = null }, k.absoluteValue = k.abs = function() { var e = new I(this); return e.s < 0 && (e.s = 1), e }, k.comparedTo = function(e, t) { return p(this, new I(e, t)) }, k.decimalPlaces = k.dp = function(e, t) { var n, r, i; if (null != e) return v(e, 0, 1e9), null == t ? t = O : v(t, 0, 8), Z(new I(this), e + this.e + 1, t); if (!(n = this.c)) return null; if (r = ((i = n.length - 1) - d(this.e / 14)) * 14, i = n[i]) for (; i % 10 == 0; i /= 10, r--); return r < 0 && (r = 0), r }, k.dividedBy = k.div = function(e, t) { return w(this, new I(e, t), S, O) }, k.dividedToIntegerBy = k.idiv = function(e, t) { return w(this, new I(e, t), 0, 1) }, k.exponentiatedBy = k.pow = function(e, t) { var n, r, i, o, a, c, f, d, h, p = this; if ((e = new I(e)).c && !e.isInteger()) throw Error(u + "Exponent not an integer: " + U(e)); if (null != t && (t = new I(t)), c = e.e > 14, !p.c || !p.c[0] || 1 == p.c[0] && !p.e && 1 == p.c.length || !e.c || !e.c[0]) return h = new I(Math.pow(+U(p), c ? 2 - m(e) : +U(e))), t ? h.mod(t) : h; if (f = e.s < 0, t) { if (t.c ? !t.c[0] : !t.s) return new I(NaN); (r = !f && p.isInteger() && t.isInteger()) && (p = p.mod(t)) } else { if (e.e > 9 && (p.e > 0 || p.e < -1 || (0 == p.e ? p.c[0] > 1 || c && p.c[1] >= 24e7 : p.c[0] < 8e13 || c && p.c[0] <= 9999975e7))) return p.s < 0 && m(e), o = -0, p.e > -1 && (o = 1 / o), new I(f ? 1 / o : o); R && (o = s(R / 14 + 2)) } for (c ? (n = new I(.5), f && (e.s = 1), d = m(e)) : d = (i = Math.abs(+U(e))) % 2, h = new I(j); ;) { if (d) { if (!(h = h.times(p)).c) break; o ? h.c.length > o && (h.c.length = o) : r && (h = h.mod(t)) } if (i) { if (0 === (i = l(i / 2))) break; d = i % 2 } else if (Z(e = e.times(n), e.e + 1, 1), e.e > 14) d = m(e); else { if (0 == (i = +U(e))) break; d = i % 2 } p = p.times(p), o ? p.c && p.c.length > o && (p.c.length = o) : r && (p = p.mod(t)) } return r ? h : (f && (h = j.div(h)), t ? h.mod(t) : o ? Z(h, R, O, a) : h) }, k.integerValue = function(e) { var t = new I(this); return null == e ? e = O : v(e, 0, 8), Z(t, t.e + 1, e) }, k.isEqualTo = k.eq = function(e, t) { return 0 === p(this, new I(e, t)) }, k.isFinite = function() { return !!this.c }, k.isGreaterThan = k.gt = function(e, t) { return p(this, new I(e, t)) > 0 }, k.isGreaterThanOrEqualTo = k.gte = function(e, t) { return 1 === (t = p(this, new I(e, t))) || 0 === t }, k.isInteger = function() { return !!this.c && d(this.e / 14) > this.c.length - 2 }, k.isLessThan = k.lt = function(e, t) { return 0 > p(this, new I(e, t)) }, k.isLessThanOrEqualTo = k.lte = function(e, t) { return -1 === (t = p(this, new I(e, t))) || 0 === t }, k.isNaN = function() { return !this.s }, k.isNegative = function() { return this.s < 0 }, k.isPositive = function() { return this.s > 0 }, k.isZero = function() { return !!this.c && 0 == this.c[0] }, k.minus = function(e, t) { var n, r, i, o, a = this.s; if (t = (e = new I(e, t)).s, !a || !t) return new I(NaN); if (a != t) return e.s = -t, this.plus(e); var s = this.e / 14, l = e.e / 14, u = this.c, c = e.c; if (!s || !l) { if (!u || !c) return u ? (e.s = -t, e) : new I(c ? this : NaN); if (!u[0] || !c[0]) return c[0] ? (e.s = -t, e) : new I(u[0] ? this : -0) } if (s = d(s), l = d(l), u = u.slice(), a = s - l) { for ((o = a < 0) ? (a = -a, i = u) : (l = s, i = c), i.reverse(), t = a; t--; i.push(0)); i.reverse() } else for (r = (o = (a = u.length) < (t = c.length)) ? a : t, a = t = 0; t < r; t++)if (u[t] != c[t]) { o = u[t] < c[t]; break } if (o && (i = u, u = c, c = i, e.s = -e.s), (t = (r = c.length) - (n = u.length)) > 0) for (; t--; u[n++] = 0); for (t = 1e14 - 1; r > a;) { if (u[--r] < c[r]) { for (n = r; n && !u[--n]; u[n] = t); --u[n], u[r] += 1e14 } u[r] -= c[r] } for (; 0 == u[0]; u.splice(0, 1), --l); return u[0] ? B(e, u, l) : (e.s = 3 == O ? -1 : 1, e.c = [e.e = 0], e) }, k.modulo = k.mod = function(e, t) { var n, r; return (e = new I(e, t), this.c && e.s && (!e.c || e.c[0])) ? e.c && (!this.c || this.c[0]) ? (9 == N ? (r = e.s, e.s = 1, n = w(this, e, 0, 3), e.s = r, n.s *= r) : n = w(this, e, 0, N), (e = this.minus(n.times(e))).c[0] || 1 != N || (e.s = this.s), e) : new I(this) : new I(NaN) }, k.multipliedBy = k.times = function(e, t) { var n, r, i, o, a, s, l, u, c, f, h, p, v, m = this.c, g = (e = new I(e, t)).c; if (!m || !g || !m[0] || !g[0]) return this.s && e.s && (!m || m[0] || g) && (!g || g[0] || m) ? (e.s *= this.s, m && g ? (e.c = [0], e.e = 0) : e.c = e.e = null) : e.c = e.e = e.s = null, e; for (r = d(this.e / 14) + d(e.e / 14), e.s *= this.s, (l = m.length) < (f = g.length) && (v = m, m = g, g = v, i = l, l = f, f = i), i = l + f, v = []; i--; v.push(0)); for (i = f; --i >= 0;) { for (n = 0, h = g[i] % 1e7, p = g[i] / 1e7 | 0, a = l, o = i + a; o > i;)s = p * (u = m[--a] % 1e7) + (c = m[a] / 1e7 | 0) * h, n = ((u = h * u + s % 1e7 * 1e7 + v[o] + n) / 1e14 | 0) + (s / 1e7 | 0) + p * c, v[o--] = u % 1e14; v[o] = n } return n ? ++r : v.splice(0, 1), B(e, v, r) }, k.negated = function() { var e = new I(this); return e.s = -e.s || null, e }, k.plus = function(e, t) { var n, r = this.s; if (t = (e = new I(e, t)).s, !r || !t) return new I(NaN); if (r != t) return e.s = -t, this.minus(e); var i = this.e / 14, o = e.e / 14, a = this.c, s = e.c; if (!i || !o) { if (!a || !s) return new I(r / 0); if (!a[0] || !s[0]) return s[0] ? e : new I(a[0] ? this : 0 * r) } if (i = d(i), o = d(o), a = a.slice(), r = i - o) { for (r > 0 ? (o = i, n = s) : (r = -r, n = a), n.reverse(); r--; n.push(0)); n.reverse() } for ((r = a.length) - (t = s.length) < 0 && (n = s, s = a, a = n, t = r), r = 0; t;)r = (a[--t] = a[t] + s[t] + r) / 1e14 | 0, a[t] = 1e14 === a[t] ? 0 : a[t] % 1e14; return r && (a = [r].concat(a), ++o), B(e, a, o) }, k.precision = k.sd = function(e, t) { var n, r, i; if (null != e && !!e !== e) return v(e, 1, 1e9), null == t ? t = O : v(t, 0, 8), Z(new I(this), e, t); if (!(n = this.c)) return null; if (r = 14 * (i = n.length - 1) + 1, i = n[i]) { for (; i % 10 == 0; i /= 10, r--); for (i = n[0]; i >= 10; i /= 10, r++); } return e && this.e + 1 > r && (r = this.e + 1), r }, k.shiftedBy = function(e) { return v(e, -9007199254740991, 9007199254740991), this.times("1e" + e) }, k.squareRoot = k.sqrt = function() { var e, t, n, r, i, o = this.c, a = this.s, s = this.e, l = S + 4, u = new I("0.5"); if (1 !== a || !o || !o[0]) return new I(!a || a < 0 && (!o || o[0]) ? NaN : o ? this : 1 / 0); if (0 == (a = Math.sqrt(+U(this))) || a == 1 / 0 ? (((t = h(o)).length + s) % 2 == 0 && (t += "0"), a = Math.sqrt(+t), s = d((s + 1) / 2) - (s < 0 || s % 2), t = a == 1 / 0 ? "5e" + s : (t = a.toExponential()).slice(0, t.indexOf("e") + 1) + s, n = new I(t)) : n = new I(a + ""), n.c[0]) { for ((a = (s = n.e) + l) < 3 && (a = 0); ;)if (i = n, n = u.times(i.plus(w(this, i, l, 1))), h(i.c).slice(0, a) === (t = h(n.c)).slice(0, a)) { if (n.e < s && --a, "9999" != (t = t.slice(a - 3, a + 1)) && (r || "4999" != t)) { +t && (+t.slice(1) || "5" != t.charAt(0)) || (Z(n, n.e + S + 2, 1), e = !n.times(n).eq(this)); break } if (!r && (Z(i, i.e + S + 2, 0), i.times(i).eq(this))) { n = i; break } l += 4, a += 4, r = 1 } } return Z(n, n.e + S + 1, O, e) }, k.toExponential = function(e, t) { return null != e && (v(e, 0, 1e9), e++), z(this, e, t, 1) }, k.toFixed = function(e, t) { return null != e && (v(e, 0, 1e9), e = e + this.e + 1), z(this, e, t) }, k.toFormat = function(e, t, n) { var r; if (null == n) null != e && t && "object" == typeof t ? (n = t, t = null) : e && "object" == typeof e ? (n = e, e = t = null) : n = D; else if ("object" != typeof n) throw Error(u + "Argument not an object: " + n); if (r = this.toFixed(e, t), this.c) { var i, o = r.split("."), a = +n.groupSize, s = +n.secondaryGroupSize, l = n.groupSeparator || "", c = o[0], f = o[1], d = this.s < 0, h = d ? c.slice(1) : c, p = h.length; if (s && (i = a, a = s, s = i, p -= i), a > 0 && p > 0) { for (i = p % a || a, c = h.substr(0, i); i < p; i += a)c += l + h.substr(i, a); s > 0 && (c += l + h.slice(i)), d && (c = "-" + c) } r = f ? c + (n.decimalSeparator || "") + ((s = +n.fractionGroupSize) ? f.replace(RegExp("\\d{" + s + "}\\B", "g"), "$&" + (n.fractionGroupSeparator || "")) : f) : c } return (n.prefix || "") + r + (n.suffix || "") }, k.toFraction = function(e) { var t, n, r, i, o, a, s, l, c, d, p, v, m = this.c; if (null != e && (!(s = new I(e)).isInteger() && (s.c || 1 !== s.s) || s.lt(j))) throw Error(u + "Argument " + (s.isInteger() ? "out of range: " : "not an integer: ") + U(s)); if (!m) return new I(this); for (t = new I(j), c = n = new I(j), r = l = new I(j), v = h(m), o = t.e = v.length - this.e - 1, t.c[0] = f[(a = o % 14) < 0 ? 14 + a : a], e = !e || s.comparedTo(t) > 0 ? o > 0 ? t : c : s, a = M, M = 1 / 0, s = new I(v), l.c[0] = 0; d = w(s, t, 0, 1), 1 != (i = n.plus(d.times(r))).comparedTo(e);)n = r, r = i, c = l.plus(d.times(i = c)), l = i, t = s.minus(d.times(i = t)), s = i; return i = w(e.minus(n), r, 0, 1), l = l.plus(i.times(c)), n = n.plus(i.times(r)), l.s = c.s = this.s, o *= 2, p = 1 > w(c, r, o, O).minus(this).abs().comparedTo(w(l, n, o, O).minus(this).abs()) ? [c, r] : [l, n], M = a, p }, k.toNumber = function() { return +U(this) }, k.toPrecision = function(e, t) { return null != e && v(e, 1, 1e9), z(this, e, t, 2) }, k.toString = function(e) { var t, n = this, r = n.s, i = n.e; return null === i ? r ? (t = "Infinity", r < 0 && (t = "-" + t)) : t = "NaN" : (null == e ? t = i <= C || i >= A ? g(h(n.c), i) : y(h(n.c), i, "0") : 10 === e && F ? t = y(h((n = Z(new I(n), S + i + 1, O)).c), n.e, "0") : (v(e, 2, L.length, "Base"), t = _(y(h(n.c), i, "0"), 10, e, r, !0)), r < 0 && n.c[0] && (t = "-" + t)), t }, k.valueOf = k.toJSON = function() { return U(this) }, k._isBigNumber = !0, null != t && I.set(t), I }()).default = o.BigNumber = o, void 0 !== (r = (function() { return o }).call(t, n, t, e)) && (e.exports = r) }(0) }, 70651: function(e, t, n) { let r = n(7967); function i(e, t, n) { let r = e[t] + e[n], i = e[t + 1] + e[n + 1]; r >= 4294967296 && i++, e[t] = r, e[t + 1] = i } function o(e, t, n, r) { let i = e[t] + n; n < 0 && (i += 4294967296); let o = e[t + 1] + r; i >= 4294967296 && o++, e[t] = i, e[t + 1] = o } function a(e, t) { return e[t] ^ e[t + 1] << 8 ^ e[t + 2] << 16 ^ e[t + 3] << 24 } function s(e, t, n, r, a, s) { let l = f[a], u = f[a + 1], d = f[s], h = f[s + 1]; i(c, e, t), o(c, e, l, u); let p = c[r] ^ c[e], v = c[r + 1] ^ c[e + 1]; c[r] = v, c[r + 1] = p, i(c, n, r), p = c[t] ^ c[n], v = c[t + 1] ^ c[n + 1], c[t] = p >>> 24 ^ v << 8, c[t + 1] = v >>> 24 ^ p << 8, i(c, e, t), o(c, e, d, h), p = c[r] ^ c[e], v = c[r + 1] ^ c[e + 1], c[r] = p >>> 16 ^ v << 16, c[r + 1] = v >>> 16 ^ p << 16, i(c, n, r), p = c[t] ^ c[n], v = c[t + 1] ^ c[n + 1], c[t] = v >>> 31 ^ p << 1, c[t + 1] = p >>> 31 ^ v << 1 } let l = new Uint32Array([4089235720, 1779033703, 2227873595, 3144134277, 4271175723, 1013904242, 1595750129, 2773480762, 2917565137, 1359893119, 725511199, 2600822924, 4215389547, 528734635, 327033209, 1541459225]), u = new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3, 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4, 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8, 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13, 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9, 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11, 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10, 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5, 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3].map(function(e) { return 2 * e })), c = new Uint32Array(32), f = new Uint32Array(32); function d(e, t) { let n = 0; for (n = 0; n < 16; n++)c[n] = e.h[n], c[n + 16] = l[n]; for (c[24] = c[24] ^ e.t, c[25] = c[25] ^ e.t / 4294967296, t && (c[28] = ~c[28], c[29] = ~c[29]), n = 0; n < 32; n++)f[n] = a(e.b, 4 * n); for (n = 0; n < 12; n++)s(0, 8, 16, 24, u[16 * n + 0], u[16 * n + 1]), s(2, 10, 18, 26, u[16 * n + 2], u[16 * n + 3]), s(4, 12, 20, 28, u[16 * n + 4], u[16 * n + 5]), s(6, 14, 22, 30, u[16 * n + 6], u[16 * n + 7]), s(0, 10, 20, 30, u[16 * n + 8], u[16 * n + 9]), s(2, 12, 22, 24, u[16 * n + 10], u[16 * n + 11]), s(4, 14, 16, 26, u[16 * n + 12], u[16 * n + 13]), s(6, 8, 18, 28, u[16 * n + 14], u[16 * n + 15]); for (n = 0; n < 16; n++)e.h[n] = e.h[n] ^ c[n] ^ c[n + 16] } let h = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); function p(e, t, n, r) { if (0 === e || e > 64) throw Error("Illegal output length, expected 0 < length <= 64"); if (t && t.length > 64) throw Error("Illegal key, expected Uint8Array with 0 < length <= 64"); if (n && 16 !== n.length) throw Error("Illegal salt, expected Uint8Array with length is 16"); if (r && 16 !== r.length) throw Error("Illegal personal, expected Uint8Array with length is 16"); let i = { b: new Uint8Array(128), h: new Uint32Array(16), t: 0, c: 0, outlen: e }; h.fill(0), h[0] = e, t && (h[1] = t.length), h[2] = 1, h[3] = 1, n && h.set(n, 32), r && h.set(r, 48); for (let o = 0; o < 16; o++)i.h[o] = l[o] ^ a(h, 4 * o); return t && (v(i, t), i.c = 128), i } function v(e, t) { for (let n = 0; n < t.length; n++)128 === e.c && (e.t += e.c, d(e, !1), e.c = 0), e.b[e.c++] = t[n] } function m(e) { for (e.t += e.c; e.c < 128;)e.b[e.c++] = 0; d(e, !0); let t = new Uint8Array(e.outlen); for (let n = 0; n < e.outlen; n++)t[n] = e.h[n >> 2] >> 8 * (3 & n); return t } function g(e, t, n, i, o) { n = n || 64, e = r.normalizeInput(e), i && (i = r.normalizeInput(i)), o && (o = r.normalizeInput(o)); let a = p(n, t, i, o); return v(a, e), m(a) } e.exports = { blake2b: g, blake2bHex: function(e, t, n, i, o) { let a = g(e, t, n, i, o); return r.toHex(a) }, blake2bInit: p, blake2bUpdate: v, blake2bFinal: m } }, 39962: function(e, t, n) { let r = n(7967); function i(e, t, n, r, i, a) { l[e] = l[e] + l[t] + i, l[r] = o(l[r] ^ l[e], 16), l[n] = l[n] + l[r], l[t] = o(l[t] ^ l[n], 12), l[e] = l[e] + l[t] + a, l[r] = o(l[r] ^ l[e], 8), l[n] = l[n] + l[r], l[t] = o(l[t] ^ l[n], 7) } function o(e, t) { return e >>> t ^ e << 32 - t } let a = new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]), s = new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3, 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4, 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8, 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13, 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9, 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11, 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10, 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5, 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0]), l = new Uint32Array(16), u = new Uint32Array(16); function c(e, t) { let n = 0; for (n = 0; n < 8; n++)l[n] = e.h[n], l[n + 8] = a[n]; for (l[12] ^= e.t, l[13] ^= e.t / 4294967296, t && (l[14] = ~l[14]), n = 0; n < 16; n++) { var r, o; u[n] = (r = e.b)[o = 4 * n] ^ r[o + 1] << 8 ^ r[o + 2] << 16 ^ r[o + 3] << 24 } for (n = 0; n < 10; n++)i(0, 4, 8, 12, u[s[16 * n + 0]], u[s[16 * n + 1]]), i(1, 5, 9, 13, u[s[16 * n + 2]], u[s[16 * n + 3]]), i(2, 6, 10, 14, u[s[16 * n + 4]], u[s[16 * n + 5]]), i(3, 7, 11, 15, u[s[16 * n + 6]], u[s[16 * n + 7]]), i(0, 5, 10, 15, u[s[16 * n + 8]], u[s[16 * n + 9]]), i(1, 6, 11, 12, u[s[16 * n + 10]], u[s[16 * n + 11]]), i(2, 7, 8, 13, u[s[16 * n + 12]], u[s[16 * n + 13]]), i(3, 4, 9, 14, u[s[16 * n + 14]], u[s[16 * n + 15]]); for (n = 0; n < 8; n++)e.h[n] ^= l[n] ^ l[n + 8] } function f(e, t) { if (!(e > 0 && e <= 32)) throw Error("Incorrect output length, should be in [1, 32]"); let n = t ? t.length : 0; if (t && !(n > 0 && n <= 32)) throw Error("Incorrect key length, should be in [1, 32]"); let r = { h: new Uint32Array(a), b: new Uint8Array(64), c: 0, t: 0, outlen: e }; return r.h[0] ^= 16842752 ^ n << 8 ^ e, n > 0 && (d(r, t), r.c = 64), r } function d(e, t) { for (let n = 0; n < t.length; n++)64 === e.c && (e.t += e.c, c(e, !1), e.c = 0), e.b[e.c++] = t[n] } function h(e) { for (e.t += e.c; e.c < 64;)e.b[e.c++] = 0; c(e, !0); let t = new Uint8Array(e.outlen); for (let n = 0; n < e.outlen; n++)t[n] = e.h[n >> 2] >> 8 * (3 & n) & 255; return t } function p(e, t, n) { n = n || 32, e = r.normalizeInput(e); let i = f(n, t); return d(i, e), h(i) } e.exports = { blake2s: p, blake2sHex: function(e, t, n) { let i = p(e, t, n); return r.toHex(i) }, blake2sInit: f, blake2sUpdate: d, blake2sFinal: h } }, 81395: function(e, t, n) { let r = n(70651), i = n(39962); e.exports = { blake2b: r.blake2b, blake2bHex: r.blake2bHex, blake2bInit: r.blake2bInit, blake2bUpdate: r.blake2bUpdate, blake2bFinal: r.blake2bFinal, blake2s: i.blake2s, blake2sHex: i.blake2sHex, blake2sInit: i.blake2sInit, blake2sUpdate: i.blake2sUpdate, blake2sFinal: i.blake2sFinal } }, 7967: function(e) { function t(e) { return (4294967296 + e).toString(16).substring(1) } e.exports = { normalizeInput: function(e) { let t; if (e instanceof Uint8Array) t = e; else if ("string" == typeof e) { let n = new TextEncoder; t = n.encode(e) } else throw Error("Input must be an string, Buffer or Uint8Array"); return t }, toHex: function(e) { return Array.prototype.map.call(e, function(e) { return (e < 16 ? "0" : "") + e.toString(16) }).join("") }, debugPrint: function(e, n, r) { let i = "\n" + e + " = "; for (let o = 0; o < n.length; o += 2) { if (32 === r) i += t(n[o]).toUpperCase() + " " + t(n[o + 1]).toUpperCase(); else if (64 === r) i += t(n[o + 1]).toUpperCase() + t(n[o]).toUpperCase(); else throw Error("Invalid size " + r); o % 6 == 4 ? i += "\n" + Array(e.length + 4).join(" ") : o < n.length - 2 && (i += " ") } console.log(i) }, testSpeed: function(e, t, n) { let r = new Date().getTime(), i = new Uint8Array(t); for (let o = 0; o < t; o++)i[o] = o % 256; let a = new Date().getTime(); console.log("Generated random input in " + (a - r) + "ms"), r = a; for (let s = 0; s < n; s++) { let l = e(i), u = new Date().getTime(), c = u - r; r = u, console.log("Hashed in " + c + "ms: " + l.substring(0, 20) + "..."), console.log(Math.round(t / 1048576 / (c / 1e3) * 100) / 100 + " MB PER SECOND") } } } }, 48834: function(e, t, n) { + "use strict";/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */var r=n(95766),i=n(62333),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),r=a(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(A(e,Uint8Array)){var t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return d(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var i=function(e){if(s.isBuffer(e)){var t,n=0|h(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|h(e))}function f(e){for(var t=e.length<0?0:0|h(e.length),n=a(t),r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return O(e).length;default:if(i)return r?-1:S(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,n){var i,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var f=!0,d=0;d239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function w(e,t,n,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function _(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function E(e,t,n,r,o){return t=+t,n>>>=0,o||_(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function k(e,t,n,r,o){return t=+t,n>>>=0,o||_(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(n){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);ir.length?s.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else if(s.isBuffer(o))o.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,l=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,f,d=this.length-t;if((void 0===n||n>d)&&(n=d),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var h=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,f);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||x(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;w(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;w(this,e,t,n,i,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return E(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return E(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return k(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return k(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function O(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function C(e,t,n,r){for(var i=0;i=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function A(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var T=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},44905:function(e,t,n){"use strict";n.d(t,{cx:function(){return i},j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=function(){for(var e=arguments.length,t=Array(e),n=0;nn=>{var o;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==n?void 0:n[e],i=null==s?void 0:s[e];if(null===t)return null;let o=r(t)||r(i);return a[e][o]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),c=null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return({...s,...u})[t]===n})?[...e,n,r]:e},[]);return i(e,l,c,null==n?void 0:n.class,null==n?void 0:n.className)}},72779:function(e,t){var n;/*! + */var r = n(95766), i = n(62333), o = "function" == typeof Symbol && "function" == typeof Symbol.for ? Symbol.for("nodejs.util.inspect.custom") : null; function a(e) { if (e > 2147483647) throw RangeError('The value "' + e + '" is invalid for option "size"'); var t = new Uint8Array(e); return Object.setPrototypeOf(t, s.prototype), t } function s(e, t, n) { if ("number" == typeof e) { if ("string" == typeof t) throw TypeError('The "string" argument must be of type string. Received type number'); return c(e) } return l(e, t, n) } function l(e, t, n) { if ("string" == typeof e) return function(e, t) { if (("string" != typeof t || "" === t) && (t = "utf8"), !s.isEncoding(t)) throw TypeError("Unknown encoding: " + t); var n = 0 | p(e, t), r = a(n), i = r.write(e, t); return i !== n && (r = r.slice(0, i)), r }(e, t); if (ArrayBuffer.isView(e)) return function(e) { if (A(e, Uint8Array)) { var t = new Uint8Array(e); return d(t.buffer, t.byteOffset, t.byteLength) } return f(e) }(e); if (null == e) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e); if (A(e, ArrayBuffer) || e && A(e.buffer, ArrayBuffer) || "undefined" != typeof SharedArrayBuffer && (A(e, SharedArrayBuffer) || e && A(e.buffer, SharedArrayBuffer))) return d(e, t, n); if ("number" == typeof e) throw TypeError('The "value" argument must not be of type number. Received type number'); var r = e.valueOf && e.valueOf(); if (null != r && r !== e) return s.from(r, t, n); var i = function(e) { if (s.isBuffer(e)) { var t, n = 0 | h(e.length), r = a(n); return 0 === r.length || e.copy(r, 0, 0, n), r } return void 0 !== e.length ? "number" != typeof e.length || (t = e.length) != t ? a(0) : f(e) : "Buffer" === e.type && Array.isArray(e.data) ? f(e.data) : void 0 }(e); if (i) return i; if ("undefined" != typeof Symbol && null != Symbol.toPrimitive && "function" == typeof e[Symbol.toPrimitive]) return s.from(e[Symbol.toPrimitive]("string"), t, n); throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e) } function u(e) { if ("number" != typeof e) throw TypeError('"size" argument must be of type number'); if (e < 0) throw RangeError('The value "' + e + '" is invalid for option "size"') } function c(e) { return u(e), a(e < 0 ? 0 : 0 | h(e)) } function f(e) { for (var t = e.length < 0 ? 0 : 0 | h(e.length), n = a(t), r = 0; r < t; r += 1)n[r] = 255 & e[r]; return n } function d(e, t, n) { var r; if (t < 0 || e.byteLength < t) throw RangeError('"offset" is outside of buffer bounds'); if (e.byteLength < t + (n || 0)) throw RangeError('"length" is outside of buffer bounds'); return Object.setPrototypeOf(r = void 0 === t && void 0 === n ? new Uint8Array(e) : void 0 === n ? new Uint8Array(e, t) : new Uint8Array(e, t, n), s.prototype), r } function h(e) { if (e >= 2147483647) throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes"); return 0 | e } function p(e, t) { if (s.isBuffer(e)) return e.length; if (ArrayBuffer.isView(e) || A(e, ArrayBuffer)) return e.byteLength; if ("string" != typeof e) throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof e); var n = e.length, r = arguments.length > 2 && !0 === arguments[2]; if (!r && 0 === n) return 0; for (var i = !1; ;)switch (t) { case "ascii": case "latin1": case "binary": return n; case "utf8": case "utf-8": return S(e).length; case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return 2 * n; case "hex": return n >>> 1; case "base64": return O(e).length; default: if (i) return r ? -1 : S(e).length; t = ("" + t).toLowerCase(), i = !0 } } function v(e, t, n) { var i, o, a = !1; if ((void 0 === t || t < 0) && (t = 0), t > this.length || ((void 0 === n || n > this.length) && (n = this.length), n <= 0 || (n >>>= 0) <= (t >>>= 0))) return ""; for (e || (e = "utf8"); ;)switch (e) { case "hex": return function(e, t, n) { var r = e.length; (!t || t < 0) && (t = 0), (!n || n < 0 || n > r) && (n = r); for (var i = "", o = t; o < n; ++o)i += T[e[o]]; return i }(this, t, n); case "utf8": case "utf-8": return b(this, t, n); case "ascii": return function(e, t, n) { var r = ""; n = Math.min(e.length, n); for (var i = t; i < n; ++i)r += String.fromCharCode(127 & e[i]); return r }(this, t, n); case "latin1": case "binary": return function(e, t, n) { var r = ""; n = Math.min(e.length, n); for (var i = t; i < n; ++i)r += String.fromCharCode(e[i]); return r }(this, t, n); case "base64": return i = t, o = n, 0 === i && o === this.length ? r.fromByteArray(this) : r.fromByteArray(this.slice(i, o)); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return function(e, t, n) { for (var r = e.slice(t, n), i = "", o = 0; o < r.length - 1; o += 2)i += String.fromCharCode(r[o] + 256 * r[o + 1]); return i }(this, t, n); default: if (a) throw TypeError("Unknown encoding: " + e); e = (e + "").toLowerCase(), a = !0 } } function m(e, t, n) { var r = e[t]; e[t] = e[n], e[n] = r } function g(e, t, n, r, i) { var o; if (0 === e.length) return -1; if ("string" == typeof n ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), (o = n = +n) != o && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) { if (i) return -1; n = e.length - 1 } else if (n < 0) { if (!i) return -1; n = 0 } if ("string" == typeof t && (t = s.from(t, r)), s.isBuffer(t)) return 0 === t.length ? -1 : y(e, t, n, r, i); if ("number" == typeof t) return (t &= 255, "function" == typeof Uint8Array.prototype.indexOf) ? i ? Uint8Array.prototype.indexOf.call(e, t, n) : Uint8Array.prototype.lastIndexOf.call(e, t, n) : y(e, [t], n, r, i); throw TypeError("val must be string, number or Buffer") } function y(e, t, n, r, i) { var o, a = 1, s = e.length, l = t.length; if (void 0 !== r && ("ucs2" === (r = String(r).toLowerCase()) || "ucs-2" === r || "utf16le" === r || "utf-16le" === r)) { if (e.length < 2 || t.length < 2) return -1; a = 2, s /= 2, l /= 2, n /= 2 } function u(e, t) { return 1 === a ? e[t] : e.readUInt16BE(t * a) } if (i) { var c = -1; for (o = n; o < s; o++)if (u(e, o) === u(t, -1 === c ? 0 : o - c)) { if (-1 === c && (c = o), o - c + 1 === l) return c * a } else -1 !== c && (o -= o - c), c = -1 } else for (n + l > s && (n = s - l), o = n; o >= 0; o--) { for (var f = !0, d = 0; d < l; d++)if (u(e, o + d) !== u(t, d)) { f = !1; break } if (f) return o } return -1 } function b(e, t, n) { n = Math.min(e.length, n); for (var r = [], i = t; i < n;) { var o, a, s, l, u = e[i], c = null, f = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1; if (i + f <= n) switch (f) { case 1: u < 128 && (c = u); break; case 2: (192 & (o = e[i + 1])) == 128 && (l = (31 & u) << 6 | 63 & o) > 127 && (c = l); break; case 3: o = e[i + 1], a = e[i + 2], (192 & o) == 128 && (192 & a) == 128 && (l = (15 & u) << 12 | (63 & o) << 6 | 63 & a) > 2047 && (l < 55296 || l > 57343) && (c = l); break; case 4: o = e[i + 1], a = e[i + 2], s = e[i + 3], (192 & o) == 128 && (192 & a) == 128 && (192 & s) == 128 && (l = (15 & u) << 18 | (63 & o) << 12 | (63 & a) << 6 | 63 & s) > 65535 && l < 1114112 && (c = l) }null === c ? (c = 65533, f = 1) : c > 65535 && (c -= 65536, r.push(c >>> 10 & 1023 | 55296), c = 56320 | 1023 & c), r.push(c), i += f } return function(e) { var t = e.length; if (t <= 4096) return String.fromCharCode.apply(String, e); for (var n = "", r = 0; r < t;)n += String.fromCharCode.apply(String, e.slice(r, r += 4096)); return n }(r) } function x(e, t, n) { if (e % 1 != 0 || e < 0) throw RangeError("offset is not uint"); if (e + t > n) throw RangeError("Trying to access beyond buffer length") } function w(e, t, n, r, i, o) { if (!s.isBuffer(e)) throw TypeError('"buffer" argument must be a Buffer instance'); if (t > i || t < o) throw RangeError('"value" argument is out of bounds'); if (n + r > e.length) throw RangeError("Index out of range") } function _(e, t, n, r, i, o) { if (n + r > e.length || n < 0) throw RangeError("Index out of range") } function E(e, t, n, r, o) { return t = +t, n >>>= 0, o || _(e, t, n, 4, 34028234663852886e22, -34028234663852886e22), i.write(e, t, n, r, 23, 4), n + 4 } function k(e, t, n, r, o) { return t = +t, n >>>= 0, o || _(e, t, n, 8, 17976931348623157e292, -17976931348623157e292), i.write(e, t, n, r, 52, 8), n + 8 } t.lW = s, t.h2 = 50, s.TYPED_ARRAY_SUPPORT = function() { try { var e = new Uint8Array(1), t = { foo: function() { return 42 } }; return Object.setPrototypeOf(t, Uint8Array.prototype), Object.setPrototypeOf(e, t), 42 === e.foo() } catch (n) { return !1 } }(), s.TYPED_ARRAY_SUPPORT || "undefined" == typeof console || "function" != typeof console.error || console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."), Object.defineProperty(s.prototype, "parent", { enumerable: !0, get: function() { if (s.isBuffer(this)) return this.buffer } }), Object.defineProperty(s.prototype, "offset", { enumerable: !0, get: function() { if (s.isBuffer(this)) return this.byteOffset } }), s.poolSize = 8192, s.from = function(e, t, n) { return l(e, t, n) }, Object.setPrototypeOf(s.prototype, Uint8Array.prototype), Object.setPrototypeOf(s, Uint8Array), s.alloc = function(e, t, n) { return (u(e), e <= 0) ? a(e) : void 0 !== t ? "string" == typeof n ? a(e).fill(t, n) : a(e).fill(t) : a(e) }, s.allocUnsafe = function(e) { return c(e) }, s.allocUnsafeSlow = function(e) { return c(e) }, s.isBuffer = function(e) { return null != e && !0 === e._isBuffer && e !== s.prototype }, s.compare = function(e, t) { if (A(e, Uint8Array) && (e = s.from(e, e.offset, e.byteLength)), A(t, Uint8Array) && (t = s.from(t, t.offset, t.byteLength)), !s.isBuffer(e) || !s.isBuffer(t)) throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'); if (e === t) return 0; for (var n = e.length, r = t.length, i = 0, o = Math.min(n, r); i < o; ++i)if (e[i] !== t[i]) { n = e[i], r = t[i]; break } return n < r ? -1 : r < n ? 1 : 0 }, s.isEncoding = function(e) { switch (String(e).toLowerCase()) { case "hex": case "utf8": case "utf-8": case "ascii": case "latin1": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return !0; default: return !1 } }, s.concat = function(e, t) { if (!Array.isArray(e)) throw TypeError('"list" argument must be an Array of Buffers'); if (0 === e.length) return s.alloc(0); if (void 0 === t) for (n = 0, t = 0; n < e.length; ++n)t += e[n].length; var n, r = s.allocUnsafe(t), i = 0; for (n = 0; n < e.length; ++n) { var o = e[n]; if (A(o, Uint8Array)) i + o.length > r.length ? s.from(o).copy(r, i) : Uint8Array.prototype.set.call(r, o, i); else if (s.isBuffer(o)) o.copy(r, i); else throw TypeError('"list" argument must be an Array of Buffers'); i += o.length } return r }, s.byteLength = p, s.prototype._isBuffer = !0, s.prototype.swap16 = function() { var e = this.length; if (e % 2 != 0) throw RangeError("Buffer size must be a multiple of 16-bits"); for (var t = 0; t < e; t += 2)m(this, t, t + 1); return this }, s.prototype.swap32 = function() { var e = this.length; if (e % 4 != 0) throw RangeError("Buffer size must be a multiple of 32-bits"); for (var t = 0; t < e; t += 4)m(this, t, t + 3), m(this, t + 1, t + 2); return this }, s.prototype.swap64 = function() { var e = this.length; if (e % 8 != 0) throw RangeError("Buffer size must be a multiple of 64-bits"); for (var t = 0; t < e; t += 8)m(this, t, t + 7), m(this, t + 1, t + 6), m(this, t + 2, t + 5), m(this, t + 3, t + 4); return this }, s.prototype.toString = function() { var e = this.length; return 0 === e ? "" : 0 == arguments.length ? b(this, 0, e) : v.apply(this, arguments) }, s.prototype.toLocaleString = s.prototype.toString, s.prototype.equals = function(e) { if (!s.isBuffer(e)) throw TypeError("Argument must be a Buffer"); return this === e || 0 === s.compare(this, e) }, s.prototype.inspect = function() { var e = "", n = t.h2; return e = this.toString("hex", 0, n).replace(/(.{2})/g, "$1 ").trim(), this.length > n && (e += " ... "), "" }, o && (s.prototype[o] = s.prototype.inspect), s.prototype.compare = function(e, t, n, r, i) { if (A(e, Uint8Array) && (e = s.from(e, e.offset, e.byteLength)), !s.isBuffer(e)) throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e); if (void 0 === t && (t = 0), void 0 === n && (n = e ? e.length : 0), void 0 === r && (r = 0), void 0 === i && (i = this.length), t < 0 || n > e.length || r < 0 || i > this.length) throw RangeError("out of range index"); if (r >= i && t >= n) return 0; if (r >= i) return -1; if (t >= n) return 1; if (t >>>= 0, n >>>= 0, r >>>= 0, i >>>= 0, this === e) return 0; for (var o = i - r, a = n - t, l = Math.min(o, a), u = this.slice(r, i), c = e.slice(t, n), f = 0; f < l; ++f)if (u[f] !== c[f]) { o = u[f], a = c[f]; break } return o < a ? -1 : a < o ? 1 : 0 }, s.prototype.includes = function(e, t, n) { return -1 !== this.indexOf(e, t, n) }, s.prototype.indexOf = function(e, t, n) { return g(this, e, t, n, !0) }, s.prototype.lastIndexOf = function(e, t, n) { return g(this, e, t, n, !1) }, s.prototype.write = function(e, t, n, r) { if (void 0 === t) r = "utf8", n = this.length, t = 0; else if (void 0 === n && "string" == typeof t) r = t, n = this.length, t = 0; else if (isFinite(t)) t >>>= 0, isFinite(n) ? (n >>>= 0, void 0 === r && (r = "utf8")) : (r = n, n = void 0); else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); var i, o, a, s, l, u, c, f, d = this.length - t; if ((void 0 === n || n > d) && (n = d), e.length > 0 && (n < 0 || t < 0) || t > this.length) throw RangeError("Attempt to write outside buffer bounds"); r || (r = "utf8"); for (var h = !1; ;)switch (r) { case "hex": return function(e, t, n, r) { n = Number(n) || 0; var i = e.length - n; r ? (r = Number(r)) > i && (r = i) : r = i; var o = t.length; r > o / 2 && (r = o / 2); for (var a = 0; a < r; ++a) { var s = parseInt(t.substr(2 * a, 2), 16); if (s != s) break; e[n + a] = s } return a }(this, e, t, n); case "utf8": case "utf-8": return i = t, o = n, C(S(e, this.length - i), this, i, o); case "ascii": case "latin1": case "binary": return a = t, s = n, C(function(e) { for (var t = [], n = 0; n < e.length; ++n)t.push(255 & e.charCodeAt(n)); return t }(e), this, a, s); case "base64": return l = t, u = n, C(O(e), this, l, u); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return c = t, f = n, C(function(e, t) { for (var n, r, i = [], o = 0; o < e.length && !((t -= 2) < 0); ++o)r = (n = e.charCodeAt(o)) >> 8, i.push(n % 256), i.push(r); return i }(e, this.length - c), this, c, f); default: if (h) throw TypeError("Unknown encoding: " + r); r = ("" + r).toLowerCase(), h = !0 } }, s.prototype.toJSON = function() { return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) } }, s.prototype.slice = function(e, t) { var n = this.length; e = ~~e, t = void 0 === t ? n : ~~t, e < 0 ? (e += n) < 0 && (e = 0) : e > n && (e = n), t < 0 ? (t += n) < 0 && (t = 0) : t > n && (t = n), t < e && (t = e); var r = this.subarray(e, t); return Object.setPrototypeOf(r, s.prototype), r }, s.prototype.readUintLE = s.prototype.readUIntLE = function(e, t, n) { e >>>= 0, t >>>= 0, n || x(e, t, this.length); for (var r = this[e], i = 1, o = 0; ++o < t && (i *= 256);)r += this[e + o] * i; return r }, s.prototype.readUintBE = s.prototype.readUIntBE = function(e, t, n) { e >>>= 0, t >>>= 0, n || x(e, t, this.length); for (var r = this[e + --t], i = 1; t > 0 && (i *= 256);)r += this[e + --t] * i; return r }, s.prototype.readUint8 = s.prototype.readUInt8 = function(e, t) { return e >>>= 0, t || x(e, 1, this.length), this[e] }, s.prototype.readUint16LE = s.prototype.readUInt16LE = function(e, t) { return e >>>= 0, t || x(e, 2, this.length), this[e] | this[e + 1] << 8 }, s.prototype.readUint16BE = s.prototype.readUInt16BE = function(e, t) { return e >>>= 0, t || x(e, 2, this.length), this[e] << 8 | this[e + 1] }, s.prototype.readUint32LE = s.prototype.readUInt32LE = function(e, t) { return e >>>= 0, t || x(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3] }, s.prototype.readUint32BE = s.prototype.readUInt32BE = function(e, t) { return e >>>= 0, t || x(e, 4, this.length), 16777216 * this[e] + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]) }, s.prototype.readIntLE = function(e, t, n) { e >>>= 0, t >>>= 0, n || x(e, t, this.length); for (var r = this[e], i = 1, o = 0; ++o < t && (i *= 256);)r += this[e + o] * i; return r >= (i *= 128) && (r -= Math.pow(2, 8 * t)), r }, s.prototype.readIntBE = function(e, t, n) { e >>>= 0, t >>>= 0, n || x(e, t, this.length); for (var r = t, i = 1, o = this[e + --r]; r > 0 && (i *= 256);)o += this[e + --r] * i; return o >= (i *= 128) && (o -= Math.pow(2, 8 * t)), o }, s.prototype.readInt8 = function(e, t) { return (e >>>= 0, t || x(e, 1, this.length), 128 & this[e]) ? -((255 - this[e] + 1) * 1) : this[e] }, s.prototype.readInt16LE = function(e, t) { e >>>= 0, t || x(e, 2, this.length); var n = this[e] | this[e + 1] << 8; return 32768 & n ? 4294901760 | n : n }, s.prototype.readInt16BE = function(e, t) { e >>>= 0, t || x(e, 2, this.length); var n = this[e + 1] | this[e] << 8; return 32768 & n ? 4294901760 | n : n }, s.prototype.readInt32LE = function(e, t) { return e >>>= 0, t || x(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24 }, s.prototype.readInt32BE = function(e, t) { return e >>>= 0, t || x(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3] }, s.prototype.readFloatLE = function(e, t) { return e >>>= 0, t || x(e, 4, this.length), i.read(this, e, !0, 23, 4) }, s.prototype.readFloatBE = function(e, t) { return e >>>= 0, t || x(e, 4, this.length), i.read(this, e, !1, 23, 4) }, s.prototype.readDoubleLE = function(e, t) { return e >>>= 0, t || x(e, 8, this.length), i.read(this, e, !0, 52, 8) }, s.prototype.readDoubleBE = function(e, t) { return e >>>= 0, t || x(e, 8, this.length), i.read(this, e, !1, 52, 8) }, s.prototype.writeUintLE = s.prototype.writeUIntLE = function(e, t, n, r) { if (e = +e, t >>>= 0, n >>>= 0, !r) { var i = Math.pow(2, 8 * n) - 1; w(this, e, t, n, i, 0) } var o = 1, a = 0; for (this[t] = 255 & e; ++a < n && (o *= 256);)this[t + a] = e / o & 255; return t + n }, s.prototype.writeUintBE = s.prototype.writeUIntBE = function(e, t, n, r) { if (e = +e, t >>>= 0, n >>>= 0, !r) { var i = Math.pow(2, 8 * n) - 1; w(this, e, t, n, i, 0) } var o = n - 1, a = 1; for (this[t + o] = 255 & e; --o >= 0 && (a *= 256);)this[t + o] = e / a & 255; return t + n }, s.prototype.writeUint8 = s.prototype.writeUInt8 = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 1, 255, 0), this[t] = 255 & e, t + 1 }, s.prototype.writeUint16LE = s.prototype.writeUInt16LE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 2, 65535, 0), this[t] = 255 & e, this[t + 1] = e >>> 8, t + 2 }, s.prototype.writeUint16BE = s.prototype.writeUInt16BE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = 255 & e, t + 2 }, s.prototype.writeUint32LE = s.prototype.writeUInt32LE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = 255 & e, t + 4 }, s.prototype.writeUint32BE = s.prototype.writeUInt32BE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e, t + 4 }, s.prototype.writeIntLE = function(e, t, n, r) { if (e = +e, t >>>= 0, !r) { var i = Math.pow(2, 8 * n - 1); w(this, e, t, n, i - 1, -i) } var o = 0, a = 1, s = 0; for (this[t] = 255 & e; ++o < n && (a *= 256);)e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), this[t + o] = (e / a >> 0) - s & 255; return t + n }, s.prototype.writeIntBE = function(e, t, n, r) { if (e = +e, t >>>= 0, !r) { var i = Math.pow(2, 8 * n - 1); w(this, e, t, n, i - 1, -i) } var o = n - 1, a = 1, s = 0; for (this[t + o] = 255 & e; --o >= 0 && (a *= 256);)e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), this[t + o] = (e / a >> 0) - s & 255; return t + n }, s.prototype.writeInt8 = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = 255 & e, t + 1 }, s.prototype.writeInt16LE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 2, 32767, -32768), this[t] = 255 & e, this[t + 1] = e >>> 8, t + 2 }, s.prototype.writeInt16BE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = 255 & e, t + 2 }, s.prototype.writeInt32LE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 4, 2147483647, -2147483648), this[t] = 255 & e, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4 }, s.prototype.writeInt32BE = function(e, t, n) { return e = +e, t >>>= 0, n || w(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e, t + 4 }, s.prototype.writeFloatLE = function(e, t, n) { return E(this, e, t, !0, n) }, s.prototype.writeFloatBE = function(e, t, n) { return E(this, e, t, !1, n) }, s.prototype.writeDoubleLE = function(e, t, n) { return k(this, e, t, !0, n) }, s.prototype.writeDoubleBE = function(e, t, n) { return k(this, e, t, !1, n) }, s.prototype.copy = function(e, t, n, r) { if (!s.isBuffer(e)) throw TypeError("argument should be a Buffer"); if (n || (n = 0), r || 0 === r || (r = this.length), t >= e.length && (t = e.length), t || (t = 0), r > 0 && r < n && (r = n), r === n || 0 === e.length || 0 === this.length) return 0; if (t < 0) throw RangeError("targetStart out of bounds"); if (n < 0 || n >= this.length) throw RangeError("Index out of range"); if (r < 0) throw RangeError("sourceEnd out of bounds"); r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n); var i = r - n; return this === e && "function" == typeof Uint8Array.prototype.copyWithin ? this.copyWithin(t, n, r) : Uint8Array.prototype.set.call(e, this.subarray(n, r), t), i }, s.prototype.fill = function(e, t, n, r) { if ("string" == typeof e) { if ("string" == typeof t ? (r = t, t = 0, n = this.length) : "string" == typeof n && (r = n, n = this.length), void 0 !== r && "string" != typeof r) throw TypeError("encoding must be a string"); if ("string" == typeof r && !s.isEncoding(r)) throw TypeError("Unknown encoding: " + r); if (1 === e.length) { var i, o = e.charCodeAt(0); ("utf8" === r && o < 128 || "latin1" === r) && (e = o) } } else "number" == typeof e ? e &= 255 : "boolean" == typeof e && (e = Number(e)); if (t < 0 || this.length < t || this.length < n) throw RangeError("Out of range index"); if (n <= t) return this; if (t >>>= 0, n = void 0 === n ? this.length : n >>> 0, e || (e = 0), "number" == typeof e) for (i = t; i < n; ++i)this[i] = e; else { var a = s.isBuffer(e) ? e : s.from(e, r), l = a.length; if (0 === l) throw TypeError('The value "' + e + '" is invalid for argument "value"'); for (i = 0; i < n - t; ++i)this[i + t] = a[i % l] } return this }; var j = /[^+/0-9A-Za-z-_]/g; function S(e, t) { t = t || 1 / 0; for (var n, r = e.length, i = null, o = [], a = 0; a < r; ++a) { if ((n = e.charCodeAt(a)) > 55295 && n < 57344) { if (!i) { if (n > 56319 || a + 1 === r) { (t -= 3) > -1 && o.push(239, 191, 189); continue } i = n; continue } if (n < 56320) { (t -= 3) > -1 && o.push(239, 191, 189), i = n; continue } n = (i - 55296 << 10 | n - 56320) + 65536 } else i && (t -= 3) > -1 && o.push(239, 191, 189); if (i = null, n < 128) { if ((t -= 1) < 0) break; o.push(n) } else if (n < 2048) { if ((t -= 2) < 0) break; o.push(n >> 6 | 192, 63 & n | 128) } else if (n < 65536) { if ((t -= 3) < 0) break; o.push(n >> 12 | 224, n >> 6 & 63 | 128, 63 & n | 128) } else if (n < 1114112) { if ((t -= 4) < 0) break; o.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, 63 & n | 128) } else throw Error("Invalid code point") } return o } function O(e) { return r.toByteArray(function(e) { if ((e = (e = e.split("=")[0]).trim().replace(j, "")).length < 2) return ""; for (; e.length % 4 != 0;)e += "="; return e }(e)) } function C(e, t, n, r) { for (var i = 0; i < r && !(i + n >= t.length) && !(i >= e.length); ++i)t[i + n] = e[i]; return i } function A(e, t) { return e instanceof t || null != e && null != e.constructor && null != e.constructor.name && e.constructor.name === t.name } var T = function() { for (var e = "0123456789abcdef", t = Array(256), n = 0; n < 16; ++n)for (var r = 16 * n, i = 0; i < 16; ++i)t[r + i] = e[n] + e[i]; return t }() + }, 44905: function(e, t, n) { "use strict"; n.d(t, { cx: function() { return i }, j: function() { return o } }); let r = e => "boolean" == typeof e ? "".concat(e) : 0 === e ? "0" : e, i = function() { for (var e = arguments.length, t = Array(e), n = 0; n < e; n++)t[n] = arguments[n]; return t.flat(1 / 0).filter(Boolean).join(" ") }, o = (e, t) => n => { var o; if ((null == t ? void 0 : t.variants) == null) return i(e, null == n ? void 0 : n.class, null == n ? void 0 : n.className); let { variants: a, defaultVariants: s } = t, l = Object.keys(a).map(e => { let t = null == n ? void 0 : n[e], i = null == s ? void 0 : s[e]; if (null === t) return null; let o = r(t) || r(i); return a[e][o] }), u = n && Object.entries(n).reduce((e, t) => { let [n, r] = t; return void 0 === r || (e[n] = r), e }, {}), c = null == t ? void 0 : null === (o = t.compoundVariants) || void 0 === o ? void 0 : o.reduce((e, t) => { let { class: n, className: r, ...i } = t; return Object.entries(i).every(e => { let [t, n] = e; return ({ ...s, ...u })[t] === n }) ? [...e, n, r] : e }, []); return i(e, l, c, null == n ? void 0 : n.class, null == n ? void 0 : n.className) } }, 72779: function(e, t) { + var n;/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t=0;)(u=e(r,i,o,a,h+1,l+1))>p&&(h===s?u*=1:t.test(r.charAt(h-1))?(u*=.9,(f=r.slice(s,h-1).match(n))&&s>0&&(u*=Math.pow(.999,f.length))):t.test(r.slice(s,h-1))?(u*=0,s>0&&(u*=Math.pow(.999,h-s))):(u*=.3,s>0&&(u*=Math.pow(.999,h-s))),r.charAt(h)!==i.charAt(l)&&(u*=.9999)),u<.1&&o.charAt(h-1)===a.charAt(l+1)&&o.charAt(h-1)!==a.charAt(l)&&.1*(c=e(r,i,o,a,h+1,l+2))>u&&(u=.1*c),u>p&&(p=u),h=o.indexOf(d,h+1);return p}(e,r,e.toLowerCase(),r.toLowerCase(),0,0)}},68847:function(e,t,n){"use strict";n.d(t,{B8:function(){return k},Il:function(){return i},J5:function(){return a},SU:function(){return E},Ss:function(){return j},Ym:function(){return M},ZP:function(){return x},xV:function(){return o}});var r=n(40948);function i(){}var o=.7,a=1.4285714285714286,s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,f=RegExp("^rgb\\("+[s,s,s]+"\\)$"),d=RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=RegExp("^rgba\\("+[s,s,s,l]+"\\)$"),p=RegExp("^rgba\\("+[u,u,u,l]+"\\)$"),v=RegExp("^hsl\\("+[l,u,u]+"\\)$"),m=RegExp("^hsla\\("+[l,u,u,l]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function y(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=c.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?w(t):3===n?new j(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?_(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new j(t[1],t[2],t[3],1):(t=d.exec(e))?new j(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=h.exec(e))?_(t[1],t[2],t[3],t[4]):(t=p.exec(e))?_(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=v.exec(e))?A(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?A(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?w(g[e]):"transparent"===e?new j(NaN,NaN,NaN,0):null}function w(e){return new j(e>>16&255,e>>8&255,255&e,1)}function _(e,t,n,r){return r<=0&&(e=t=n=NaN),new j(e,t,n,r)}function E(e){return(e instanceof i||(e=x(e)),e)?(e=e.rgb(),new j(e.r,e.g,e.b,e.opacity)):new j}function k(e,t,n,r){return 1==arguments.length?E(e):new j(e,t,n,null==r?1:r)}function j(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function S(){return"#"+C(this.r)+C(this.g)+C(this.b)}function O(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function C(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function A(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new P(e,t,n,r)}function T(e){if(e instanceof P)return new P(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=x(e)),!e)return new P;if(e instanceof P)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=NaN,l=a-o,u=(a+o)/2;return l?(s=t===a?(n-r)/l+(n0&&u<1?0:s,new P(s,l,u,e.opacity)}function M(e,t,n,r){return 1==arguments.length?T(e):new P(e,t,n,null==r?1:r)}function P(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function N(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}(0,r.Z)(i,x,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return T(this).formatHsl()},formatRgb:b,toString:b}),(0,r.Z)(j,k,(0,r.l)(i,{brighter:function(e){return e=null==e?a:Math.pow(a,e),new j(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?o:Math.pow(o,e),new j(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:O,toString:O})),(0,r.Z)(P,M,(0,r.l)(i,{brighter:function(e){return e=null==e?a:Math.pow(a,e),new P(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?o:Math.pow(o,e),new P(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new j(N(e>=240?e-240:e+120,i,r),N(e,i,r),N(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},40948:function(e,t,n){"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function i(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}n.d(t,{Z:function(){return r},l:function(){return i}})},20966:function(e,t,n){"use strict";n.d(t,{Uc:function(){return g},ZP:function(){return f}});var r=n(40948),i=n(68847),o=n(10810),a=4/29,s=6/29,l=3*(6/29)*(6/29),u=6/29*(6/29)*(6/29);function c(e){if(e instanceof d)return new d(e.l,e.a,e.b,e.opacity);if(e instanceof y)return b(e);e instanceof i.Ss||(e=(0,i.SU)(e));var t,n,r=m(e.r),o=m(e.g),a=m(e.b),s=h((.2225045*r+.7168786*o+.0606169*a)/1);return r===o&&o===a?t=n=s:(t=h((.4360747*r+.3850649*o+.1430804*a)/.96422),n=h((.0139322*r+.0971045*o+.7141733*a)/.82521)),new d(116*s-16,500*(t-s),200*(s-n),e.opacity)}function f(e,t,n,r){return 1==arguments.length?c(e):new d(e,t,n,null==r?1:r)}function d(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function h(e){return e>u?Math.pow(e,1/3):e/l+a}function p(e){return e>s?e*e*e:l*(e-a)}function v(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function m(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function g(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof y)return new y(e.h,e.c,e.l,e.opacity);if(e instanceof d||(e=c(e)),0===e.a&&0===e.b)return new y(NaN,0i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}var f={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:u.Z,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>c(100*e,t),r:c,s:function(e,t){var n=(0,u.V)(e,t);if(!n)return e+"";var i=n[0],o=n[1],a=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=i.length;return a===s?i:a>s?i+Array(a-s+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+(0,u.V)(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function d(e){return e}var h=Array.prototype.map,p=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(i=function(e){var t,n,i,o=void 0===e.grouping||void 0===e.thousands?d:(t=h.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",u=void 0===e.currency?"":e.currency[1]+"",c=void 0===e.decimal?".":e.decimal+"",v=void 0===e.numerals?d:(i=h.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return i[+e]})}),m=void 0===e.percent?"%":e.percent+"",g=void 0===e.minus?"−":e.minus+"",y=void 0===e.nan?"NaN":e.nan+"";function b(e){var t=(e=(0,l.Z)(e)).fill,n=e.align,i=e.sign,s=e.symbol,d=e.zero,h=e.width,b=e.comma,x=e.precision,w=e.trim,_=e.type;"n"===_?(b=!0,_="g"):f[_]||(void 0===x&&(x=12),w=!0,_="g"),(d||"0"===t&&"="===n)&&(d=!0,t="0",n="=");var E="$"===s?a:"#"===s&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",k="$"===s?u:/[%p]/.test(_)?m:"",j=f[_],S=/[defgprs%]/.test(_);function O(e){var a,s,l,u=E,f=k;if("c"===_)f=j(e)+f,e="";else{var m=(e=+e)<0||1/e<0;if(e=isNaN(e)?y:j(Math.abs(e),x),w&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),m&&0==+e&&"+"!==i&&(m=!1),u=(m?"("===i?i:g:"-"===i||"("===i?"":i)+u,f=("s"===_?p[8+r/3]:"")+f+(m&&"("===i?")":""),S){for(a=-1,s=e.length;++a(l=e.charCodeAt(a))||l>57){f=(46===l?c+e.slice(a+1):e.slice(a))+f,e=e.slice(0,a);break}}}b&&!d&&(e=o(e,1/0));var O=u.length+e.length+f.length,C=O>1)+u+e+f+C.slice(O);break;default:e=C+u+e+f}return v(e)}return x=void 0===x?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),O.toString=function(){return e+""},O}return{format:b,formatPrefix:function(e,t){var n=b(((e=(0,l.Z)(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor((0,s.Z)(t)/3))),i=Math.pow(10,-r),o=p[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=i.formatPrefix},23733:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(39801);function i(e){return(e=(0,r.V)(Math.abs(e)))?e[1]:NaN}},39801:function(e,t,n){"use strict";function r(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function i(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}n.d(t,{V:function(){return i},Z:function(){return r}})},52328:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(e){var t;if(!(t=r.exec(e)))throw Error("invalid format: "+e);return new o({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function o(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},12766:function(e,t){!function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,s=!0,l=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==o.return||o.return()}finally{if(l)throw a}}}}function o(e){var t={};return 4===e.length&&(t.x2=e[2][0],t.y2=e[2][1]),e.length>=3&&(t.x1=e[1][0],t.y1=e[1][1]),t.x=e[e.length-1][0],t.y=e[e.length-1][1],4===e.length?t.type="C":3===e.length?t.type="Q":t.type="L",t}var a=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,s={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};function l(e,t){for(var n=Array(e),r=0;r0?o-=1:o0&&(o-=1)),t[o]=(t[o]||0)+1,t},[]).reduce(function(n,r,i){if(i===e.length-1){var a=l(r,t({},e[e.length-1]));return"M"===a[0].type&&a.forEach(function(e){e.type="L"}),n.concat(a)}return n.concat(function(e,n,r){var i,a=[];if("L"===n.type||"Q"===n.type||"C"===n.type)a=a.concat((i=[[e.x,e.y]],null!=n.x1&&i.push([n.x1,n.y1]),null!=n.x2&&i.push([n.x2,n.y2]),i.push([n.x,n.y]),(function(e,t){for(var n=[],r=e,i=1/(t=t||2),o=0;o0&&"Z"===o[o.length-1].type&&o.pop(),a.length>0&&"Z"===a[a.length-1].type&&a.pop(),o.length?a.length||a.push(o[0]):o.push(a[0]),0!==Math.abs(a.length-o.length)&&(a.length>o.length?o=u(o,a,r):a.length0)for(var n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[i],a=e[i+1],s=i>0?e[i-1]:2*o-a,l=i180||n<-180?n-360*Math.round(n/360):n):(0,r.Z)(isNaN(e)?t:e)}function a(e){return 1==(e=+e)?s:function(t,n){var i,o,a;return n-t?(i=t,o=n,i=Math.pow(i,a=e),o=Math.pow(o,a)-i,a=1/a,function(e){return Math.pow(i+e*o,a)}):(0,r.Z)(isNaN(t)?n:t)}}function s(e,t){var n=t-e;return n?i(e,n):(0,r.Z)(isNaN(e)?t:e)}},88992:function(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{Z:function(){return r}})},77636:function(e,t,n){"use strict";n.d(t,{B:function(){return d},Z:function(){return f}});var r=n(40948),i=n(68847),o=n(10810),a=-1.78277*.29227-.1347134789;function s(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof l)return new l(e.h,e.s,e.l,e.opacity);e instanceof i.Ss||(e=(0,i.SU)(e));var t=e.r/255,n=e.g/255,r=e.b/255,s=(a*r+-1.7884503806*t-3.5172982438*n)/(a+-1.7884503806-3.5172982438),u=r-s,c=-((1.97294*(n-s)- -.29227*u)/.90649),f=Math.sqrt(c*c+u*u)/(1.97294*s*(1-s)),d=f?Math.atan2(c,u)*o.B-120:NaN;return new l(d<0?d+360:d,f,s,e.opacity)}(e):new l(e,t,n,null==r?1:r)}function l(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,r.Z)(l,s,(0,r.l)(i.Il,{brighter:function(e){return e=null==e?i.J5:Math.pow(i.J5,e),new l(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?i.xV:Math.pow(i.xV,e),new l(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*o.V,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new i.Ss(255*(t+n*(-.14861*r+1.78277*a)),255*(t+n*(-.29227*r+-.90649*a)),255*(t+n*(1.97294*r)),this.opacity)}}));var u=n(1234);function c(e){return function t(n){function r(t,r){var i=e((t=s(t)).h,(r=s(r)).h),o=(0,u.ZP)(t.s,r.s),a=(0,u.ZP)(t.l,r.l),l=(0,u.ZP)(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=l(e),t+""}}return n=+n,r.gamma=t,r}(1)}var f=c(u.wx),d=c(u.ZP)},91255:function(e,t,n){"use strict";function r(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}n.d(t,{Z:function(){return r}})},87286:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(20966),i=n(1234);function o(e){return function(t,n){var o=e((t=(0,r.Uc)(t)).h,(n=(0,r.Uc)(n)).h),a=(0,i.ZP)(t.c,n.c),s=(0,i.ZP)(t.l,n.l),l=(0,i.ZP)(t.opacity,n.opacity);return function(e){return t.h=o(e),t.c=a(e),t.l=s(e),t.opacity=l(e),t+""}}}t.Z=o(i.wx);var a=o(i.ZP)},43780:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(68847),i=n(1234);function o(e){return function(t,n){var o=e((t=(0,r.Ym)(t)).h,(n=(0,r.Ym)(n)).h),a=(0,i.ZP)(t.s,n.s),s=(0,i.ZP)(t.l,n.l),l=(0,i.ZP)(t.opacity,n.opacity);return function(e){return t.h=o(e),t.s=a(e),t.l=s(e),t.opacity=l(e),t+""}}}t.Z=o(i.wx);var a=o(i.ZP)},31380:function(e,t,n){"use strict";n.r(t),n.d(t,{interpolate:function(){return s.Z},interpolateArray:function(){return l.Z},interpolateBasis:function(){return u.Z},interpolateBasisClosed:function(){return c.Z},interpolateCubehelix:function(){return N.Z},interpolateCubehelixLong:function(){return N.B},interpolateDate:function(){return f.Z},interpolateDiscrete:function(){return d},interpolateHcl:function(){return P.Z},interpolateHclLong:function(){return P.b},interpolateHsl:function(){return T.Z},interpolateHslLong:function(){return T.q},interpolateHue:function(){return p},interpolateLab:function(){return M.Z},interpolateNumber:function(){return v.Z},interpolateNumberArray:function(){return m.Z},interpolateObject:function(){return g.Z},interpolateRgb:function(){return A.ZP},interpolateRgbBasis:function(){return A.hD},interpolateRgbBasisClosed:function(){return A.YD},interpolateRound:function(){return y.Z},interpolateString:function(){return b.Z},interpolateTransformCss:function(){return k},interpolateTransformSvg:function(){return j},interpolateZoom:function(){return C},piecewise:function(){return R.Z},quantize:function(){return D}});var r,i,o,a,s=n(69777),l=n(47639),u=n(67855),c=n(6984),f=n(91255);function d(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var h=n(1234);function p(e,t){var n=(0,h.wx)(+e,+t);return function(e){var t=n(e);return t-360*Math.floor(t/360)}}var v=n(98876),m=n(43289),g=n(73363),y=n(74672),b=n(76060),x=180/Math.PI,w={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _(e,t,n,r,i,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r180?l+=360:l-s>180&&(s+=360),d.push({i:f.push(i(f)+"rotate(",null,r)-2,x:(0,v.Z)(s,l)})):l&&f.push(i(f)+"rotate("+l+r),(u=o.skewX)!==(c=a.skewX)?d.push({i:f.push(i(f)+"skewX(",null,r)-2,x:(0,v.Z)(u,c)}):c&&f.push(i(f)+"skewX("+c+r),!function(e,t,n,r,o,a){if(e!==n||t!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:(0,v.Z)(e,n)},{i:s-2,x:(0,v.Z)(t,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,f,d),o=a=null,function(e){for(var t,n=-1,r=d.length;++nc&&(u=t.slice(c,u),d[f]?d[f]+=u:d[++f]=u),(s=s[0])===(l=l[0])?d[f]?d[f]+=l:d[++f]=l:(d[++f]=null,h.push({i:f,x:(0,r.Z)(s,l)})),c=o.lastIndex;return c1e-6){if(Math.abs(f*l-u*c)>1e-6&&o){var h=r-a,p=i-s,v=l*l+u*u,m=Math.sqrt(v),g=Math.sqrt(d),y=o*Math.tan((n-Math.acos((v+d-(h*h+p*p))/(2*m*g)))/2),b=y/g,x=y/m;Math.abs(b-1)>1e-6&&(this._+="L"+(e+b*c)+","+(t+b*f)),this._+="A"+o+","+o+",0,0,"+ +(f*h>c*p)+","+(this._x1=e+x*l)+","+(this._y1=t+x*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t)}},arc:function(e,t,o,a,s,l){e=+e,t=+t,o=+o,l=!!l;var u=o*Math.cos(a),c=o*Math.sin(a),f=e+u,d=t+c,h=1^l,p=l?a-s:s-a;if(o<0)throw Error("negative radius: "+o);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),o&&(p<0&&(p=p%r+r),p>i?this._+="A"+o+","+o+",0,1,"+h+","+(e-u)+","+(t-c)+"A"+o+","+o+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>1e-6&&(this._+="A"+o+","+o+",0,"+ +(p>=n)+","+h+","+(this._x1=e+o*Math.cos(s))+","+(this._y1=t+o*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.Z=a},1169:function(e,t,n){"use strict";function r(e,t){return et?1:e>=t?0:NaN}n.d(t,{Z:function(){return r}})},98038:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(1169);function i(e){let t=e,n=e;function i(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;0>n(e[o],t)?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=(t,n)=>(0,r.Z)(e(t),n)),{left:i,center:function(e,n,r,o){null==r&&(r=0),null==o&&(o=e.length);let a=i(e,n,r,o-1);return a>r&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}var o=n(81048);let a=i(r.Z),s=a.right;a.left,i(o.Z).center;var l=s},81048:function(e,t,n){"use strict";function r(e){return null===e?NaN:+e}function*i(e,t){if(void 0===t)for(let n of e)null!=n&&(n=+n)>=n&&(yield n);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(i=+i)>=i&&(yield i)}}n.d(t,{K:function(){return i},Z:function(){return r}})},33907:function(e,t,n){"use strict";function r(e,t){let n;if(void 0===t)for(let r of e)null!=r&&(n=r)&&(n=r);else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(n=o)&&(n=o)}return n}function i(e,t){let n;if(void 0===t)for(let r of e)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(n>o||void 0===n&&o>=o)&&(n=o)}return n}n.d(t,{Z:function(){return l},s:function(){return u}});var o=n(1169);function a(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}var s=n(81048);function l(e,t,n){if(l=(e=Float64Array.from((0,s.K)(e,n))).length){if((t=+t)<=0||l<2)return i(e);if(t>=1)return r(e);var l,u=(l-1)*t,c=Math.floor(u),f=r((function e(t,n,r=0,i=t.length-1,s=o.Z){for(;i>r;){if(i-r>600){let l=i-r+1,u=n-r+1,c=Math.log(l),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(l-f)/l)*(u-l/2<0?-1:1),h=Math.max(r,Math.floor(n-u*f/l+d)),p=Math.min(i,Math.floor(n+(l-u)*f/l+d));e(t,n,h,p,s)}let v=t[n],m=r,g=i;for(a(t,r,n),s(t[i],v)>0&&a(t,r,i);ms(t[m],v);)++m;for(;s(t[g],v)>0;)--g}0===s(t[r],v)?a(t,r,g):a(t,++g,i),g<=n&&(r=g+1),n<=g&&(i=g-1)}return t})(e,c).subarray(0,c+1));return f+(i(e.subarray(c+1))-f)*(u-c)}}function u(e,t,n=s.Z){if(r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(i-o)}}},32071:function(e,t,n){"use strict";n.d(t,{G9:function(){return s},ZP:function(){return a},ly:function(){return l}});var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(e,t,n){var r,i,o,a,l=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t0){let u=Math.round(e/a),c=Math.round(t/a);for(u*at&&--c,o=Array(i=c-u+1);++lt&&--d,o=Array(i=d-f+1);++l=0?(l>=r?10:l>=i?5:l>=o?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(l>=r?10:l>=i?5:l>=o?2:1)}function l(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),l=a/s;return l>=r?s*=10:l>=i?s*=5:l>=o&&(s*=2),t[e.toLowerCase(),t]))}function E(e,t,n){var r=m.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function k(e,t,n){var r=m.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function j(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function S(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function O(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function C(e,t,n){var r=m.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function A(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function T(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function M(e,t,n){var r=m.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function P(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function N(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function R(e,t,n){var r=m.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function D(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function L(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function F(e,t,n){var r=m.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function I(e,t,n){var r=m.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function z(e,t,n){var r=m.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function V(e,t,n){var r=g.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function B(e,t,n){var r=m.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Z(e,t,n){var r=m.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function U(e,t){return b(e.getDate(),t,2)}function H(e,t){return b(e.getHours(),t,2)}function W(e,t){return b(e.getHours()%12||12,t,2)}function q(e,t){return b(1+u.Z.count((0,c.Z)(e),e),t,3)}function $(e,t){return b(e.getMilliseconds(),t,3)}function Y(e,t){return $(e,t)+"000"}function G(e,t){return b(e.getMonth()+1,t,2)}function K(e,t){return b(e.getMinutes(),t,2)}function X(e,t){return b(e.getSeconds(),t,2)}function Q(e){var t=e.getDay();return 0===t?7:t}function J(e,t){return b(l.OM.count((0,c.Z)(e)-1,e),t,2)}function ee(e){var t=e.getDay();return t>=4||0===t?(0,l.bL)(e):l.bL.ceil(e)}function et(e,t){return e=ee(e),b(l.bL.count((0,c.Z)(e),e)+(4===(0,c.Z)(e).getDay()),t,2)}function en(e){return e.getDay()}function er(e,t){return b(l.wA.count((0,c.Z)(e)-1,e),t,2)}function ei(e,t){return b(e.getFullYear()%100,t,2)}function eo(e,t){return b((e=ee(e)).getFullYear()%100,t,2)}function ea(e,t){return b(e.getFullYear()%1e4,t,4)}function es(e,t){var n=e.getDay();return b((e=n>=4||0===n?(0,l.bL)(e):l.bL.ceil(e)).getFullYear()%1e4,t,4)}function el(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+b(t/60|0,"0",2)+b(t%60,"0",2)}function eu(e,t){return b(e.getUTCDate(),t,2)}function ec(e,t){return b(e.getUTCHours(),t,2)}function ef(e,t){return b(e.getUTCHours()%12||12,t,2)}function ed(e,t){return b(1+s.Z.count((0,f.Z)(e),e),t,3)}function eh(e,t){return b(e.getUTCMilliseconds(),t,3)}function ep(e,t){return eh(e,t)+"000"}function ev(e,t){return b(e.getUTCMonth()+1,t,2)}function em(e,t){return b(e.getUTCMinutes(),t,2)}function eg(e,t){return b(e.getUTCSeconds(),t,2)}function ey(e){var t=e.getUTCDay();return 0===t?7:t}function eb(e,t){return b(a.Ox.count((0,f.Z)(e)-1,e),t,2)}function ex(e){var t=e.getUTCDay();return t>=4||0===t?(0,a.hB)(e):a.hB.ceil(e)}function ew(e,t){return e=ex(e),b(a.hB.count((0,f.Z)(e),e)+(4===(0,f.Z)(e).getUTCDay()),t,2)}function e_(e){return e.getUTCDay()}function eE(e,t){return b(a.l6.count((0,f.Z)(e)-1,e),t,2)}function ek(e,t){return b(e.getUTCFullYear()%100,t,2)}function ej(e,t){return b((e=ex(e)).getUTCFullYear()%100,t,2)}function eS(e,t){return b(e.getUTCFullYear()%1e4,t,4)}function eO(e,t){var n=e.getUTCDay();return b((e=n>=4||0===n?(0,a.hB)(e):a.hB.ceil(e)).getUTCFullYear()%1e4,t,4)}function eC(){return"+0000"}function eA(){return"%"}function eT(e){return+e}function eM(e){return Math.floor(+e/1e3)}i=(r=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,c=e.shortDays,f=e.months,m=e.shortMonths,g=w(i),y=_(i),b=w(o),x=_(o),ee=w(c),ex=_(c),eP=w(f),eN=_(f),eR=w(m),eD=_(m),eL={a:function(e){return c[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return m[e.getMonth()]},B:function(e){return f[e.getMonth()]},c:null,d:U,e:U,f:Y,g:eo,G:es,H:H,I:W,j:q,L:$,m:G,M:K,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:eT,s:eM,S:X,u:Q,U:J,V:et,w:en,W:er,x:null,X:null,y:ei,Y:ea,Z:el,"%":eA},eF={a:function(e){return c[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return m[e.getUTCMonth()]},B:function(e){return f[e.getUTCMonth()]},c:null,d:eu,e:eu,f:ep,g:ej,G:eO,H:ec,I:ef,j:ed,L:eh,m:ev,M:em,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:eT,s:eM,S:eg,u:ey,U:eb,V:ew,w:e_,W:eE,x:null,X:null,y:ek,Y:eS,Z:eC,"%":eA},eI={a:function(e,t,n){var r=ee.exec(t.slice(n));return r?(e.w=ex.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=b.exec(t.slice(n));return r?(e.w=x.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=eR.exec(t.slice(n));return r?(e.m=eD.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=eP.exec(t.slice(n));return r?(e.m=eN.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return eB(e,t,n,r)},d:N,e:N,f:z,g:A,G:C,H:D,I:D,j:R,L:I,m:P,M:L,p:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.p=y.get(r[0].toLowerCase()),n+r[0].length):-1},q:M,Q:B,s:Z,S:F,u:k,U:j,V:S,w:E,W:O,x:function(e,t,r){return eB(e,n,t,r)},X:function(e,t,n){return eB(e,r,t,n)},y:A,Y:C,Z:T,"%":V};function ez(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=h(p(o.y,0,1))).getUTCDay())>4||0===i?a.l6.ceil(r):(0,a.l6)(r),r=s.Z.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=d(p(o.y,0,1))).getDay())>4||0===i?l.wA.ceil(r):(0,l.wA)(r),r=u.Z.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?h(p(o.y,0,1)).getUTCDay():d(p(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,h(o)):d(o)}}function eB(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a=l)return -1;if(37===(i=t.charCodeAt(a++))){if(!(o=eI[(i=t.charAt(a++))in v?t.charAt(a++):i])||(r=o(e,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return eL.x=ez(n,eL),eL.X=ez(r,eL),eL.c=ez(t,eL),eF.x=ez(n,eF),eF.X=ez(r,eF),eF.c=ez(t,eF),{format:function(e){var t=ez(e+="",eL);return t.toString=function(){return e},t},parse:function(e){var t=eV(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=ez(e+="",eF);return t.toString=function(){return e},t},utcParse:function(e){var t=eV(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,r.parse,o=r.utcFormat,r.utcParse},48623:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},x:function(){return a}});var r=n(22274),i=n(34130);function o(){var e,t,n=(0,i.Z)().unknown(void 0),a=n.domain,s=n.range,l=0,u=1,c=!1,f=0,d=0,h=.5;function p(){var n=a().length,r=u(t=p[i-1])&&(n=e,e=t,t=n),g=function(n){return Math.max(e,Math.min(t,n))}),r=i>2?d:f,c=h=null,b}function b(t){return null==t||isNaN(t=+t)?n:(c||(c=r(p.map(e),v,m)))(e(g(t)))}return b.invert=function(n){return g(t((h||(h=r(v,p.map(e),o.Z)))(n)))},b.domain=function(e){return arguments.length?(p=Array.from(e,s.Z),y()):p.slice()},b.range=function(e){return arguments.length?(v=Array.from(e),y()):v.slice()},b.rangeRound=function(e){return v=Array.from(e),m=a.Z,y()},b.clamp=function(e){return arguments.length?(g=!!e||u,y()):g!==u},b.interpolate=function(e){return arguments.length?(m=e,y()):m},b.unknown=function(e){return arguments.length?(n=e,b):n},function(n,r){return e=n,t=r,y()}}function v(){return p()(u,u)}},79870:function(e,t,n){"use strict";n.r(t),n.d(t,{scaleBand:function(){return r.Z},scaleDiverging:function(){return function e(){var t=(0,i.Q)(C()(y.yR));return t.copy=function(){return w(t,e())},b.O.apply(t,arguments)}},scaleDivergingLog:function(){return function e(){var t=(0,a.Q)(C()).domain([.1,1,10]);return t.copy=function(){return w(t,e()).base(t.base())},b.O.apply(t,arguments)}},scaleDivergingPow:function(){return A},scaleDivergingSqrt:function(){return T},scaleDivergingSymlog:function(){return function e(){var t=(0,s.P)(C());return t.copy=function(){return w(t,e()).constant(t.constant())},b.O.apply(t,arguments)}},scaleIdentity:function(){return function e(t){var n;function r(e){return null==e||isNaN(e=+e)?n:e}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,o.Z),r):t.slice()},r.unknown=function(e){return arguments.length?(n=e,r):n},r.copy=function(){return e(t).unknown(n)},t=arguments.length?Array.from(t,o.Z):[0,1],(0,i.Q)(r)}},scaleImplicit:function(){return l.O},scaleLinear:function(){return i.Z},scaleLog:function(){return a.Z},scaleOrdinal:function(){return l.Z},scalePoint:function(){return r.x},scalePow:function(){return u.ZP},scaleQuantile:function(){return f.Z},scaleQuantize:function(){return d.Z},scaleRadial:function(){return c.Z},scaleSequential:function(){return function e(){var t=(0,i.Q)(x()(y.yR));return t.copy=function(){return w(t,e())},b.O.apply(t,arguments)}},scaleSequentialLog:function(){return function e(){var t=(0,a.Q)(x()).domain([1,10]);return t.copy=function(){return w(t,e()).base(t.base())},b.O.apply(t,arguments)}},scaleSequentialPow:function(){return _},scaleSequentialQuantile:function(){return function e(){var t=[],n=y.yR;function r(e){if(null!=e&&!isNaN(e=+e))return n(((0,k.ZP)(t,e,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();for(let n of(t=[],e))null==n||isNaN(n=+n)||t.push(n);return t.sort(j.Z),r},r.interpolator=function(e){return arguments.length?(n=e,r):n},r.range=function(){return t.map((e,r)=>n(r/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(n,r)=>(0,S.Z)(t,r/e))},r.copy=function(){return e(n).domain(t)},b.O.apply(r,arguments)}},scaleSequentialSqrt:function(){return E},scaleSequentialSymlog:function(){return function e(){var t=(0,s.P)(x());return t.copy=function(){return w(t,e()).constant(t.constant())},b.O.apply(t,arguments)}},scaleSqrt:function(){return u._b},scaleSymlog:function(){return s.Z},scaleThreshold:function(){return h.Z},scaleTime:function(){return p.Z},scaleUtc:function(){return v.Z},tickFormat:function(){return M.Z}});var r=n(48623),i=n(93963),o=n(5497),a=n(13641),s=n(46494),l=n(34130),u=n(72851),c=n(19637),f=n(96417),d=n(73408),h=n(74995),p=n(37932),v=n(83803),m=n(69777),g=n(74672),y=n(70552),b=n(22274);function x(){var e,t,n,r,i,o=0,a=1,s=y.yR,l=!1;function u(t){return null==t||isNaN(t=+t)?i:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function c(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),u):[s(0),s(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,n=(e=r(o=+o))===(t=r(a=+a))?0:1/(t-e),u):[o,a]},u.clamp=function(e){return arguments.length?(l=!!e,u):l},u.interpolator=function(e){return arguments.length?(s=e,u):s},u.range=c(m.Z),u.rangeRound=c(g.Z),u.unknown=function(e){return arguments.length?(i=e,u):i},function(i){return r=i,n=(e=i(o))===(t=i(a))?0:1/(t-e),u}}function w(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function _(){var e=(0,u.Hh)(x());return e.copy=function(){return w(e,_()).exponent(e.exponent())},b.O.apply(e,arguments)}function E(){return _.apply(null,arguments).exponent(.5)}var k=n(98038),j=n(1169),S=n(33907),O=n(87475);function C(){var e,t,n,r,i,o,a,s=0,l=.5,u=1,c=1,f=y.yR,d=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(c*e0;){if((o=(0,r.G9)(u,c,n))===i)return a[s]=u,a[l]=c,t(a);if(o>0)u=Math.floor(u/o)*o,c=Math.ceil(c/o)*o;else if(o<0)u=Math.ceil(u*o)/o,c=Math.floor(c*o)/o;else break;i=o}return e},e}},13641:function(e,t,n){"use strict";n.d(t,{Q:function(){return p},Z:function(){return function e(){var t=p((0,a.l4)()).domain([1,10]);return t.copy=function(){return(0,a.JG)(t,e()).base(t.base())},s.o.apply(t,arguments),t}}});var r=n(32071),i=n(11192),o=n(10070),a=n(70552),s=n(22274);function l(e){return Math.log(e)}function u(e){return Math.exp(e)}function c(e){return-Math.log(-e)}function f(e){return-Math.exp(-e)}function d(e){return isFinite(e)?+("1e"+e):e<0?0:e}function h(e){return function(t){return-e(-t)}}function p(e){var t,n,a=e(l,u),s=a.domain,p=10;function v(){var r,i;return t=(r=p)===Math.E?Math.log:10===r&&Math.log10||2===r&&Math.log2||(r=Math.log(r),function(e){return Math.log(e)/r}),n=10===(i=p)?d:i===Math.E?Math.exp:function(e){return Math.pow(i,e)},s()[0]<0?(t=h(t),n=h(n),e(c,f)):e(l,u),a}return a.base=function(e){return arguments.length?(p=+e,v()):p},a.domain=function(e){return arguments.length?(s(e),v()):s()},a.ticks=function(e){var i,o=s(),a=o[0],l=o[o.length-1];(i=l0){for(;d<=h;++d)for(c=1,u=n(d);cl)break;m.push(f)}}else for(;d<=h;++d)for(c=p-1,u=n(d);c>=1;--c)if(!((f=u*c)l)break;m.push(f)}2*m.length0?l[t-1]:n[0],t=s?[l[s-1],a]:[l[t-1],l[t]]},c.unknown=function(e){return arguments.length&&(t=e),c},c.thresholds=function(){return l.slice()},c.copy=function(){return e().domain([n,a]).range(u).unknown(t)},o.o.apply((0,i.Q)(c),arguments)}}});var r=n(98038),i=n(93963),o=n(22274)},19637:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(){var t,n=(0,r.ZP)(),l=[0,1],u=!1;function c(e){var r,i=Math.sign(r=n(e))*Math.sqrt(Math.abs(r));return isNaN(i)?t:u?Math.round(i):i}return c.invert=function(e){return n.invert(s(e))},c.domain=function(e){return arguments.length?(n.domain(e),c):n.domain()},c.range=function(e){return arguments.length?(n.range((l=Array.from(e,a.Z)).map(s)),c):l.slice()},c.rangeRound=function(e){return c.range(e).round(!0)},c.round=function(e){return arguments.length?(u=!!e,c):u},c.clamp=function(e){return arguments.length?(n.clamp(e),c):n.clamp()},c.unknown=function(e){return arguments.length?(t=e,c):t},c.copy=function(){return e(n.domain(),l).round(u).clamp(n.clamp()).unknown(t)},i.o.apply(c,arguments),(0,o.Q)(c)}}});var r=n(70552),i=n(22274),o=n(93963),a=n(5497);function s(e){return Math.sign(e)*e*e}},46494:function(e,t,n){"use strict";n.d(t,{P:function(){return l},Z:function(){return function e(){var t=l((0,i.l4)());return t.copy=function(){return(0,i.JG)(t,e()).constant(t.constant())},o.o.apply(t,arguments)}}});var r=n(93963),i=n(70552),o=n(22274);function a(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function s(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function l(e){var t=1,n=e(a(1),s(t));return n.constant=function(n){return arguments.length?e(a(t=+n),s(t)):t},(0,r.Q)(n)}},74995:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(){var t,n=[.5],o=[0,1],a=1;function s(e){return null!=e&&e<=e?o[(0,r.ZP)(n,e,0,a)]:t}return s.domain=function(e){return arguments.length?(a=Math.min((n=Array.from(e)).length,o.length-1),s):n.slice()},s.range=function(e){return arguments.length?(o=Array.from(e),a=Math.min(n.length,o.length-1),s):o.slice()},s.invertExtent=function(e){var t=o.indexOf(e);return[n[t-1],n[t]]},s.unknown=function(e){return arguments.length?(t=e,s):t},s.copy=function(){return e().domain(n).range(o).unknown(t)},i.o.apply(s,arguments)}}});var r=n(98038),i=n(22274)},62498:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(32071),i=n(52328),o=n(23733),a=n(11192);function s(e,t,n,s){var l,u,c,f=(0,r.ly)(e,t,n);switch((s=(0,i.Z)(null==s?",f":s)).type){case"s":var d=Math.max(Math.abs(e),Math.abs(t));return null!=s.precision||isNaN(c=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,o.Z)(d)/3)))-(0,o.Z)(Math.abs(f))))||(s.precision=c),(0,a.jH)(s,d);case"":case"e":case"g":case"p":case"r":null!=s.precision||isNaN((l=f,u=Math.abs(u=Math.max(Math.abs(e),Math.abs(t)))-(l=Math.abs(l)),c=Math.max(0,(0,o.Z)(u)-(0,o.Z)(l))+1))||(s.precision=c-("e"===s.type));break;case"f":case"%":null!=s.precision||isNaN(c=Math.max(0,-(0,o.Z)(Math.abs(f))))||(s.precision=c-("%"===s.type)*2)}return(0,a.WU)(s)}},37932:function(e,t,n){"use strict";n.d(t,{Y:function(){return g},Z:function(){return y}});var r=n(1381),i=n(97344),o=n(50690),a=n(76231),s=n(68603),l=n(54076),u=n(18450),c=n(52546),f=n(61743),d=n(70552),h=n(22274),p=n(10070);function v(e){return new Date(e)}function m(e){return e instanceof Date?+e:+new Date(+e)}function g(e,t,n,r,i,o,a,s,l,u){var c=(0,d.ZP)(),f=c.invert,h=c.domain,y=u(".%L"),b=u(":%S"),x=u("%I:%M"),w=u("%I %p"),_=u("%a %d"),E=u("%b %d"),k=u("%B"),j=u("%Y");function S(e){return(l(e)M*M+P*P&&(j=O,S=C),{cx:j,cy:S,x01:-f,y01:-d,x11:j*(i/_-1),y11:S*(i/_-1)}}function d(){var e=a,t=s,n=(0,i.Z)(0),d=null,h=l,p=u,v=c,m=null;function g(){var i,a,s=+e.apply(this,arguments),l=+t.apply(this,arguments),u=h.apply(this,arguments)-o.ou,c=p.apply(this,arguments)-o.ou,g=(0,o.Wn)(c-u),y=c>u;if(m||(m=i=(0,r.Z)()),lo.Ho){if(g>o.BZ-o.Ho)m.moveTo(l*(0,o.mC)(u),l*(0,o.O$)(u)),m.arc(0,0,l,u,c,!y),s>o.Ho&&(m.moveTo(s*(0,o.mC)(c),s*(0,o.O$)(c)),m.arc(0,0,s,c,u,y));else{var b,x,w=u,_=c,E=u,k=c,j=g,S=g,O=v.apply(this,arguments)/2,C=O>o.Ho&&(d?+d.apply(this,arguments):(0,o._b)(s*s+l*l)),A=(0,o.VV)((0,o.Wn)(l-s)/2,+n.apply(this,arguments)),T=A,M=A;if(C>o.Ho){var P=(0,o.ZR)(C/s*(0,o.O$)(O)),N=(0,o.ZR)(C/l*(0,o.O$)(O));(j-=2*P)>o.Ho?(P*=y?1:-1,E+=P,k-=P):(j=0,E=k=(u+c)/2),(S-=2*N)>o.Ho?(N*=y?1:-1,w+=N,_-=N):(S=0,w=_=(u+c)/2)}var R=l*(0,o.mC)(w),D=l*(0,o.O$)(w),L=s*(0,o.mC)(k),F=s*(0,o.O$)(k);if(A>o.Ho){var I,z=l*(0,o.mC)(_),V=l*(0,o.O$)(_),B=s*(0,o.mC)(E),Z=s*(0,o.O$)(E);if(go.Ho?M>o.Ho?(b=f(B,Z,R,D,l,M,y),x=f(z,V,L,F,l,M,y),m.moveTo(b.cx+b.x01,b.cy+b.y01),Mo.Ho&&j>o.Ho?T>o.Ho?(b=f(L,F,z,V,s,-T,y),x=f(R,D,B,Z,s,-T,y),m.lineTo(b.cx+b.x01,b.cy+b.y01),T=a;--s)d.point(g[s],y[s]);d.lineEnd(),d.areaEnd()}}m&&(g[o]=+e(h,o,i),y[o]=+n(h,o,i),d.point(t?+t(h,o,i):g[o],l?+l(h,o,i):y[o]))}if(p)return d=null,p+""||null}function p(){return(0,a.Z)().defined(u).curve(f).context(c)}return h.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,i.Z)(+n),t=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),h):e},h.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,i.Z)(+e),h):t},h.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.Z)(+e),l=null,h):n},h.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.Z)(+e),h):n},h.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,i.Z)(+e),h):l},h.lineX0=h.lineY0=function(){return p().x(e).y(n)},h.lineY1=function(){return p().x(e).y(l)},h.lineX1=function(){return p().x(t).y(n)},h.defined=function(e){return arguments.length?(u="function"==typeof e?e:(0,i.Z)(!!e),h):u},h.curve=function(e){return arguments.length?(f=e,null!=c&&(d=f(c)),h):f},h.context=function(e){return arguments.length?(null==e?c=d=null:d=f(c=e),h):c},h}},72299:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r=Array.prototype.slice},33554:function(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{Z:function(){return r}})},46385:function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function i(e,t){this._context=e,this._k=(1-t)/6}n.d(t,{pC:function(){return i},xm:function(){return r}}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:r(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.ZP=function e(t){function n(e){return new i(e,t)}return n.tension=function(t){return e(+t)},n}(0)},20651:function(e,t,n){"use strict";function r(e){this._context=e}function i(e){return new r(e)}n.d(t,{Z:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},27266:function(e,t,n){"use strict";function r(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function i(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function o(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function a(e){this._context=e}function s(e){this._context=new l(e)}function l(e){this._context=e}function u(e){return new a(e)}function c(e){return new s(e)}n.d(t,{Z:function(){return u},s:function(){return c}}),a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:o(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,n=r(this,e,t)),n);break;default:o(this,this._t0,n=r(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(s.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},l.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}}},23165:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},j:function(){return r}});var r=o(n(20651).Z);function i(e){this._curve=e}function o(e){function t(t){return new i(e(t))}return t._curve=e,t}i.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),-(t*Math.cos(e)))}}},45742:function(e,t,n){"use strict";function r(e,t){this._context=e,this._t=t}function i(e){return new r(e,.5)}function o(e){return new r(e,0)}function a(e){return new r(e,1)}n.d(t,{RN:function(){return o},ZP:function(){return i},cD:function(){return a}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},59207:function(e,t,n){"use strict";n.r(t),n.d(t,{arc:function(){return r.Z},area:function(){return i.Z},areaRadial:function(){return u},curveBasis:function(){return E},curveBasisClosed:function(){return j},curveBasisOpen:function(){return O},curveBundle:function(){return A},curveCardinal:function(){return T.ZP},curveCardinalClosed:function(){return P},curveCardinalOpen:function(){return R},curveCatmullRom:function(){return I},curveCatmullRomClosed:function(){return V},curveCatmullRomOpen:function(){return Z},curveLinear:function(){return W.Z},curveLinearClosed:function(){return H},curveMonotoneX:function(){return q.Z},curveMonotoneY:function(){return q.s},curveNatural:function(){return G},curveStep:function(){return K.ZP},curveStepAfter:function(){return K.cD},curveStepBefore:function(){return K.RN},line:function(){return o.Z},lineRadial:function(){return l.Z},linkHorizontal:function(){return f.h5},linkRadial:function(){return f.M4},linkVertical:function(){return f.rR},pie:function(){return a.Z},pointRadial:function(){return c.Z},radialArea:function(){return u},radialLine:function(){return l.Z},stack:function(){return X.Z},stackOffsetDiverging:function(){return J.Z},stackOffsetExpand:function(){return Q.Z},stackOffsetNone:function(){return ee.Z},stackOffsetSilhouette:function(){return et.Z},stackOffsetWiggle:function(){return en.Z},stackOrderAppearance:function(){return er.Z},stackOrderAscending:function(){return ei.Z},stackOrderDescending:function(){return eo.Z},stackOrderInsideOut:function(){return ea.Z},stackOrderNone:function(){return es.Z},stackOrderReverse:function(){return el.Z},symbol:function(){return d.Z},symbolCircle:function(){return h.Z},symbolCross:function(){return p.Z},symbolDiamond:function(){return v.Z},symbolSquare:function(){return m.Z},symbolStar:function(){return g.Z},symbolTriangle:function(){return y.Z},symbolWye:function(){return b.Z},symbols:function(){return d.u}});var r=n(38764),i=n(79493),o=n(79767),a=n(69619),s=n(23165),l=n(8329);function u(){var e=(0,i.Z)().curve(s.j),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,l.X)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,l.X)(r())},delete e.lineX1,e.lineInnerRadius=function(){return(0,l.X)(o())},delete e.lineY0,e.lineOuterRadius=function(){return(0,l.X)(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,s.Z)(e)):t()._curve},e}var c=n(3326),f=n(72215),d=n(24037),h=n(62628),p=n(9135),v=n(82893),m=n(44523),g=n(86707),y=n(42965),b=n(60598);function x(){}function w(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function _(e){this._context=e}function E(e){return new _(e)}function k(e){this._context=e}function j(e){return new k(e)}function S(e){this._context=e}function O(e){return new S(e)}function C(e,t){this._basis=new _(e),this._beta=t}_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:w(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:w(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},k.prototype={areaStart:x,areaEnd:x,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:w(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},S.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:w(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},C.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*a),this._beta*t[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var A=function e(t){function n(e){return 1===t?new _(e):new C(e,t)}return n.beta=function(t){return e(+t)},n}(.85),T=n(46385);function M(e,t){this._context=e,this._k=(1-t)/6}M.prototype={areaStart:x,areaEnd:x,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,T.xm)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var P=function e(t){function n(e){return new M(e,t)}return n.tension=function(t){return e(+t)},n}(0);function N(e,t){this._context=e,this._k=(1-t)/6}N.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,T.xm)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var R=function e(t){function n(e){return new N(e,t)}return n.tension=function(t){return e(+t)},n}(0),D=n(15);function L(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>D.Ho){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>D.Ho){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*u+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function F(e,t){this._context=e,this._alpha=t}F.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:L(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var I=function e(t){function n(e){return t?new F(e,t):new T.pC(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function z(e,t){this._context=e,this._alpha=t}z.prototype={areaStart:x,areaEnd:x,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:L(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var V=function e(t){function n(e){return t?new z(e,t):new M(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function B(e,t){this._context=e,this._alpha=t}B.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:L(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Z=function e(t){function n(e){return t?new B(e,t):new N(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function U(e){this._context=e}function H(e){return new U(e)}U.prototype={areaStart:x,areaEnd:x,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var W=n(20651),q=n(27266);function $(e){this._context=e}function Y(e){var t,n,r=e.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(t=0,o[r-1]=(e[r]+i[r-1])/2;t1?0:e<-1?f:Math.acos(e)}function v(e){return e>=1?d:e<=-1?-d:Math.asin(e)}},76751:function(e,t,n){"use strict";function r(e,t){if((s=e.length)>0)for(var n,r,i,o,a,s,l=0,u=e[t[0]].length;l0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}n.d(t,{Z:function(){return r}})},22254:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(90541);function i(e,t){if((i=e.length)>0){for(var n,i,o,a=0,s=e[0].length;a1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o0){for(var n,i=0,o=e[t[0]],a=o.length;i0&&(i=(n=e[t[0]]).length)>0){for(var n,i,o,a=0,s=1;so&&(o=t,r=n);return r}},19721:function(e,t,n){"use strict";n.d(t,{S:function(){return o},Z:function(){return i}});var r=n(81182);function i(e){var t=e.map(o);return(0,r.Z)(e).sort(function(e,n){return t[e]-t[n]})}function o(e){for(var t,n=0,r=-1,i=e.length;++r=0;)n[t]=t;return n}n.d(t,{Z:function(){return r}})},40277:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(81182);function i(e){return(0,r.Z)(e).reverse()}},69619:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(33554);function i(e,t){return te?1:t>=e?0:NaN}function o(e){return e}var a=n(15);function s(){var e=o,t=i,n=null,s=(0,r.Z)(0),l=(0,r.Z)(a.BZ),u=(0,r.Z)(0);function c(r){var i,o,c,f,d,h=r.length,p=0,v=Array(h),m=Array(h),g=+s.apply(this,arguments),y=Math.min(a.BZ,Math.max(-a.BZ,l.apply(this,arguments)-g)),b=Math.min(Math.abs(y)/h,u.apply(this,arguments)),x=b*(y<0?-1:1);for(i=0;i0&&(p+=d);for(null!=t?v.sort(function(e,n){return t(m[e],m[n])}):null!=n&&v.sort(function(e,t){return n(r[e],r[t])}),i=0,c=p?(y-h*x)/p:0;i0?d*c:0)+x,m[o]={data:r[o],index:i,value:d,startAngle:g,endAngle:f,padAngle:b};return m}return c.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.Z)(+t),c):e},c.sortValues=function(e){return arguments.length?(t=e,n=null,c):t},c.sort=function(e){return arguments.length?(n=e,t=null,c):n},c.startAngle=function(e){return arguments.length?(s="function"==typeof e?e:(0,r.Z)(+e),c):s},c.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.Z)(+e),c):l},c.padAngle=function(e){return arguments.length?(u="function"==typeof e?e:(0,r.Z)(+e),c):u},c}},11053:function(e,t,n){"use strict";function r(e){return e[0]}function i(e){return e[1]}n.d(t,{x:function(){return r},y:function(){return i}})},3326:function(e,t,n){"use strict";function r(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}n.d(t,{Z:function(){return r}})},98926:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(72299),i=n(33554),o=n(90541),a=n(81182);function s(e,t){return e[t]}function l(){var e=(0,i.Z)([]),t=a.Z,n=o.Z,l=s;function u(r){var i,o,a=e.apply(this,arguments),s=r.length,u=a.length,c=Array(u);for(i=0;ie.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.yB)/i.UD,e=>e.getDate()-1);t.Z=o;var a=o.range},1514:function(e,t,n){"use strict";n.d(t,{UD:function(){return a},Y2:function(){return o},Ym:function(){return r},iM:function(){return s},jz:function(){return l},qz:function(){return u},yB:function(){return i}});let r=1e3,i=60*r,o=60*i,a=24*o,s=7*a,l=30*a,u=365*a},54076:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(22179),i=n(1514),o=(0,r.Z)(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.Ym-e.getMinutes()*i.yB)},function(e,t){e.setTime(+e+t*i.Y2)},function(e,t){return(t-e)/i.Y2},function(e){return e.getHours()});t.Z=o;var a=o.range},11365:function(e,t,n){"use strict";n.r(t),n.d(t,{timeDay:function(){return l.Z},timeDays:function(){return l.a},timeFriday:function(){return u.mC},timeFridays:function(){return u.b$},timeHour:function(){return s.Z},timeHours:function(){return s.i},timeInterval:function(){return r.Z},timeMillisecond:function(){return i.Z},timeMilliseconds:function(){return i.m},timeMinute:function(){return a.Z},timeMinutes:function(){return a.L},timeMonday:function(){return u.wA},timeMondays:function(){return u.bJ},timeMonth:function(){return c.Z},timeMonths:function(){return c.e},timeSaturday:function(){return u.EY},timeSaturdays:function(){return u.Ff},timeSecond:function(){return o.Z},timeSeconds:function(){return o.m},timeSunday:function(){return u.OM},timeSundays:function(){return u.vm},timeThursday:function(){return u.bL},timeThursdays:function(){return u.$t},timeTickInterval:function(){return y._g},timeTicks:function(){return y.jK},timeTuesday:function(){return u.sy},timeTuesdays:function(){return u.aU},timeWednesday:function(){return u.zg},timeWednesdays:function(){return u.Ld},timeWeek:function(){return u.OM},timeWeeks:function(){return u.vm},timeYear:function(){return f.Z},timeYears:function(){return f.g},utcDay:function(){return p.Z},utcDays:function(){return p.y},utcFriday:function(){return v.QQ},utcFridays:function(){return v.fz},utcHour:function(){return h.Z},utcHours:function(){return h.X},utcMillisecond:function(){return i.Z},utcMilliseconds:function(){return i.m},utcMinute:function(){return d.Z},utcMinutes:function(){return d.N},utcMonday:function(){return v.l6},utcMondays:function(){return v.$3},utcMonth:function(){return m.Z},utcMonths:function(){return m.K},utcSaturday:function(){return v.g4},utcSaturdays:function(){return v.Q_},utcSecond:function(){return o.Z},utcSeconds:function(){return o.m},utcSunday:function(){return v.Ox},utcSundays:function(){return v.SU},utcThursday:function(){return v.hB},utcThursdays:function(){return v.xj},utcTickInterval:function(){return y.jo},utcTicks:function(){return y.WG},utcTuesday:function(){return v.J1},utcTuesdays:function(){return v.DK},utcWednesday:function(){return v.b3},utcWednesdays:function(){return v.uy},utcWeek:function(){return v.Ox},utcWeeks:function(){return v.SU},utcYear:function(){return g.Z},utcYears:function(){return g.D}});var r=n(22179),i=n(30356),o=n(52546),a=n(18450),s=n(54076),l=n(68603),u=n(76231),c=n(50690),f=n(97344),d=n(52004),h=n(28239),p=n(12370),v=n(97631),m=n(94758),g=n(2908),y=n(1381)},22179:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(t,n,o,a){function s(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},s.round=function(e){var t=s(e),n=s.ceil(e);return e-t0))return a;do a.push(o=new Date(+e)),n(e,i),t(e);while(o=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e){if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););}})},o&&(s.count=function(e,n){return r.setTime(+e),i.setTime(+n),t(r),t(i),Math.floor(o(r,i))},s.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?s.filter(a?function(t){return a(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}}});var r=new Date,i=new Date},30356:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(22179),i=(0,r.Z)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});i.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?(0,r.Z)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):i:null},t.Z=i;var o=i.range},18450:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(22179),i=n(1514),o=(0,r.Z)(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.Ym)},function(e,t){e.setTime(+e+t*i.yB)},function(e,t){return(t-e)/i.yB},function(e){return e.getMinutes()});t.Z=o;var a=o.range},50690:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=(0,n(22179).Z)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});t.Z=r;var i=r.range},52546:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var r=n(22179),i=n(1514),o=(0,r.Z)(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*i.Ym)},function(e,t){return(t-e)/i.Ym},function(e){return e.getUTCSeconds()});t.Z=o;var a=o.range},1381:function(e,t,n){"use strict";n.d(t,{_g:function(){return S},jK:function(){return j},jo:function(){return k},WG:function(){return E}});var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),l=a/s;return l>=r?s*=10:l>=i?s*=5:l>=o&&(s*=2),t>>1;0>n(e[o],t)?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=(t,n)=>{var r;return(r=e(t))n?1:r>=n?0:NaN}),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);let a=r(e,n,i,o-1);return a>i&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;n(e[o],t)>0?i=o:r=o+1}return r}}})(([,,e])=>e).right(c,i);if(o===c.length)return e.every(a(t/s.qz,n/s.qz,r));if(0===o)return l.Z.every(Math.max(a(t,n,r),1));let[u,f]=c[i/c[o-1][2]0?(0,r.Z)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.Z=i;var o=i.range},76231:function(e,t,n){"use strict";n.d(t,{$t:function(){return g},EY:function(){return d},Ff:function(){return b},Ld:function(){return m},OM:function(){return a},aU:function(){return v},b$:function(){return y},bJ:function(){return p},bL:function(){return c},mC:function(){return f},sy:function(){return l},vm:function(){return h},wA:function(){return s},zg:function(){return u}});var r=n(22179),i=n(1514);function o(e){return(0,r.Z)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.yB)/i.iM})}var a=o(0),s=o(1),l=o(2),u=o(3),c=o(4),f=o(5),d=o(6),h=a.range,p=s.range,v=l.range,m=u.range,g=c.range,y=f.range,b=d.range},97344:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(22179),i=(0,r.Z)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});i.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,r.Z)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.Z=i;var o=i.range},19785:function(e,t,n){"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},66700:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19785);function i(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(Error().stack)),new Date(NaN))}},36386:function(e){function t(e,t,n){function r(){var u=Date.now()-s;u=0?i=setTimeout(r,t-u):(i=null,n||(l=e.apply(a,o),a=o=null))}null==t&&(t=100);var i,o,a,s,l,u=function(){a=this,o=arguments,s=Date.now();var u=n&&!i;return i||(i=setTimeout(r,t)),u&&(l=e.apply(a,o),a=o=null),l};return u.clear=function(){i&&(clearTimeout(i),i=null)},u.flush=function(){i&&(l=e.apply(a,o),a=o=null,clearTimeout(i),i=null)},u}t.debounce=t,e.exports=t},63397:function(e,t,n){"use strict";n.d(t,{TA:function(){return nn}});var r,i,o,a=n(2784),s=n(78435),l=n.n(s),u=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==c},c="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function f(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h(Array.isArray(e)?[]:{},e,t):e}function d(e,t,n){return e.concat(t).map(function(e){return f(e,n)})}function h(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||d,n.isMergeableObject=n.isMergeableObject||u;var r,i,o=Array.isArray(t);return o!==Array.isArray(e)?f(t,n):o?n.arrayMerge(e,t,n):(i={},(r=n).isMergeableObject(e)&&Object.keys(e).forEach(function(t){i[t]=f(e[t],r)}),Object.keys(t).forEach(function(n){r.isMergeableObject(t[n])&&e[n]?i[n]=h(e[n],t[n],r):i[n]=f(t[n],r)}),i)}h.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return h(e,n,t)},{})};var p=h,v="object"==typeof global&&global&&global.Object===Object&&global,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=g.Symbol,b=Object.prototype,x=b.hasOwnProperty,w=b.toString,_=y?y.toStringTag:void 0,E=function(e){var t=x.call(e,_),n=e[_];try{e[_]=void 0;var r=!0}catch(i){}var o=w.call(e);return r&&(t?e[_]=n:delete e[_]),o},k=Object.prototype.toString,j=y?y.toStringTag:void 0,S=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":j&&j in Object(e)?E(e):k.call(e)},O=function(e,t){return function(n){return e(t(n))}},C=O(Object.getPrototypeOf,Object),A=function(e){return null!=e&&"object"==typeof e},T=Object.prototype,M=Function.prototype.toString,P=T.hasOwnProperty,N=M.call(Object),R=function(e){if(!A(e)||"[object Object]"!=S(e))return!1;var t=C(e);if(null===t)return!0;var n=P.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&M.call(n)==N},D=function(e,t){return e===t||e!=e&&t!=t},L=function(e,t){for(var n=e.length;n--;)if(D(e[n][0],t))return n;return -1},F=Array.prototype.splice;function I(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},I.prototype.set=function(e,t){var n=this.__data__,r=L(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var z=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},V=function(e){if(!z(e))return!1;var t=S(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},B=g["__core-js_shared__"],Z=(r=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",U=Function.prototype.toString,H=function(e){if(null!=e){try{return U.call(e)}catch(t){}try{return e+""}catch(n){}}return""},W=/^\[object .+?Constructor\]$/,q=Object.prototype,$=Function.prototype.toString,Y=q.hasOwnProperty,G=RegExp("^"+$.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=function(e,t){var n,r=null==e?void 0:e[t];return z(n=r)&&(!Z||!(Z in n))&&(V(n)?G:W).test(H(n))?r:void 0},X=K(g,"Map"),Q=K(Object,"create"),J=Object.prototype.hasOwnProperty,ee=Object.prototype.hasOwnProperty;function et(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},eS={};eS["[object Float32Array]"]=eS["[object Float64Array]"]=eS["[object Int8Array]"]=eS["[object Int16Array]"]=eS["[object Int32Array]"]=eS["[object Uint8Array]"]=eS["[object Uint8ClampedArray]"]=eS["[object Uint16Array]"]=eS["[object Uint32Array]"]=!0,eS["[object Arguments]"]=eS["[object Array]"]=eS["[object ArrayBuffer]"]=eS["[object Boolean]"]=eS["[object DataView]"]=eS["[object Date]"]=eS["[object Error]"]=eS["[object Function]"]=eS["[object Map]"]=eS["[object Number]"]=eS["[object Object]"]=eS["[object RegExp]"]=eS["[object Set]"]=eS["[object String]"]=eS["[object WeakMap]"]=!1;var eO=function(e){return function(t){return e(t)}},eC="object"==typeof exports&&exports&&!exports.nodeType&&exports,eA=eC&&"object"==typeof module&&module&&!module.nodeType&&module,eT=eA&&eA.exports===eC&&v.process,eM=function(){try{var e=eA&&eA.require&&eA.require("util").types;if(e)return e;return eT&&eT.binding&&eT.binding("util")}catch(t){}}(),eP=eM&&eM.isTypedArray,eN=eP?eO(eP):function(e){return A(e)&&ej(e.length)&&!!eS[S(e)]},eR=Object.prototype.hasOwnProperty,eD=function(e,t){var n=ey(e),r=!n&&eg(e),i=!n&&!r&&e_(e),o=!n&&!r&&!i&&eN(e),a=n||r||i||o,s=a?ed(e.length,String):[],l=s.length;for(var u in e)(t||eR.call(e,u))&&!(a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ek(u,l)))&&s.push(u);return s},eL=Object.prototype,eF=function(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||eL;return e===n},eI=O(Object.keys,Object),ez=Object.prototype.hasOwnProperty,eV=function(e){if(!eF(e))return eI(e);var t=[];for(var n in Object(e))ez.call(e,n)&&"constructor"!=n&&t.push(n);return t},eB=function(e){return null!=e&&ej(e.length)&&!V(e)},eZ=function(e){return eB(e)?eD(e):eV(e)},eU=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},eH=Object.prototype.hasOwnProperty,eW=function(e){if(!z(e))return eU(e);var t=eF(e),n=[];for(var r in e)"constructor"==r&&(t||!eH.call(e,r))||n.push(r);return n},eq=function(e){return eB(e)?eD(e,!0):eW(e)},e$="object"==typeof exports&&exports&&!exports.nodeType&&exports,eY=e$&&"object"==typeof module&&module&&!module.nodeType&&module,eG=eY&&eY.exports===e$?g.Buffer:void 0,eK=eG?eG.allocUnsafe:void 0,eX=function(e,t){if(t)return e.slice();var n=e.length,r=eK?eK(n):new e.constructor(n);return e.copy(r),r},eQ=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0||(i[n]=e[n]);return i}function t0(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n(73463);var t1=function(e){return Array.isArray(e)&&0===e.length},t2=function(e){return"function"==typeof e},t4=function(e){return null!==e&&"object"==typeof e},t3=function(e){return"[object String]"===Object.prototype.toString.call(e)},t5=function(e){return t4(e)&&t2(e.then)};function t6(e,t,n,r){void 0===r&&(r=0);for(var i=tK(t);e&&r=0?[]:{}}}return(0===o?e:i)[a[o]]===n?e:(void 0===n?delete i[a[o]]:i[a[o]]=n,0===o&&void 0===n&&delete r[a[o]],r)}var t7=(0,a.createContext)(void 0);function t9(e,t){switch(t.type){case"SET_VALUES":return tQ({},e,{values:t.payload});case"SET_TOUCHED":return tQ({},e,{touched:t.payload});case"SET_ERRORS":if(l()(e.errors,t.payload))return e;return tQ({},e,{errors:t.payload});case"SET_STATUS":return tQ({},e,{status:t.payload});case"SET_ISSUBMITTING":return tQ({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return tQ({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return tQ({},e,{values:t8(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return tQ({},e,{touched:t8(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return tQ({},e,{errors:t8(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return tQ({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return tQ({},e,{touched:function e(t,n,r,i){void 0===r&&(r=new WeakMap),void 0===i&&(i={});for(var o=0,a=Object.keys(t);o=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var o,a=o;t6(t,a.path)||(t=t8(t,a.path,a.message))}}return t}(n)):t(n)})})},[h.validationSchema]),S=(0,a.useCallback)(function(e,t){return new Promise(function(n){return n(x.current[e].validate(t))})},[]),O=(0,a.useCallback)(function(e){var t=Object.keys(x.current).filter(function(e){return t2(x.current[e].validate)});return Promise.all(t.length>0?t.map(function(t){return S(t,t6(e,t))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")]).then(function(e){return e.reduce(function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=t8(e,t[r],n)),e},{})})},[S]),C=(0,a.useCallback)(function(e){return Promise.all([O(e),h.validationSchema?j(e):{},h.validate?k(e):{}]).then(function(e){var t=e[0],n=e[1],r=e[2];return p.all([t,n,r],{arrayMerge:nr})})},[h.validate,h.validationSchema,O,k,j]),A=no(function(e){return void 0===e&&(e=_.values),E({type:"SET_ISVALIDATING",payload:!0}),C(e).then(function(e){return b.current&&(E({type:"SET_ISVALIDATING",payload:!1}),E({type:"SET_ERRORS",payload:e})),e})});(0,a.useEffect)(function(){s&&!0===b.current&&l()(v.current,h.initialValues)&&A(v.current)},[s,A]);var T=(0,a.useCallback)(function(e){var t=e&&e.values?e.values:v.current,n=e&&e.errors?e.errors:m.current?m.current:h.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:h.initialTouched||{},i=e&&e.status?e.status:y.current?y.current:h.initialStatus;v.current=t,m.current=n,g.current=r,y.current=i;var o=function(){E({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(h.onReset){var a=h.onReset(_.values,K);t5(a)?a.then(o):o()}else o()},[h.initialErrors,h.initialStatus,h.initialTouched]);(0,a.useEffect)(function(){!0===b.current&&!l()(v.current,h.initialValues)&&(f&&(v.current=h.initialValues,T()),s&&A(v.current))},[f,h.initialValues,T,s,A]),(0,a.useEffect)(function(){f&&!0===b.current&&!l()(m.current,h.initialErrors)&&(m.current=h.initialErrors||ne,E({type:"SET_ERRORS",payload:h.initialErrors||ne}))},[f,h.initialErrors]),(0,a.useEffect)(function(){f&&!0===b.current&&!l()(g.current,h.initialTouched)&&(g.current=h.initialTouched||nt,E({type:"SET_TOUCHED",payload:h.initialTouched||nt}))},[f,h.initialTouched]),(0,a.useEffect)(function(){f&&!0===b.current&&!l()(y.current,h.initialStatus)&&(y.current=h.initialStatus,E({type:"SET_STATUS",payload:h.initialStatus}))},[f,h.initialStatus,h.initialTouched]);var M=no(function(e){if(x.current[e]&&t2(x.current[e].validate)){var t=t6(_.values,e),n=x.current[e].validate(t);return t5(n)?(E({type:"SET_ISVALIDATING",payload:!0}),n.then(function(e){return e}).then(function(t){E({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),E({type:"SET_ISVALIDATING",payload:!1})})):(E({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return h.validationSchema?(E({type:"SET_ISVALIDATING",payload:!0}),j(_.values,e).then(function(e){return e}).then(function(t){E({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),E({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),P=(0,a.useCallback)(function(e,t){var n=t.validate;x.current[e]={validate:n}},[]),N=(0,a.useCallback)(function(e){delete x.current[e]},[]),D=no(function(e,t){return E({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?A(_.values):Promise.resolve()}),L=(0,a.useCallback)(function(e){E({type:"SET_ERRORS",payload:e})},[]),F=no(function(e,t){var r=t2(e)?e(_.values):e;return E({type:"SET_VALUES",payload:r}),(void 0===t?n:t)?A(r):Promise.resolve()}),I=(0,a.useCallback)(function(e,t){E({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})},[]),z=no(function(e,t,r){return E({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?A(t8(_.values,e,t)):Promise.resolve()}),V=(0,a.useCallback)(function(e,t){var n,r=t,i=e;if(!t3(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,a=o.type,s=o.name,l=o.id,u=o.value,c=o.checked,f=(o.outerHTML,o.options),d=o.multiple;r=t||s||l,i=/number|range/.test(a)?isNaN(n=parseFloat(u))?"":n:/checkbox/.test(a)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,i=(o=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}(t6(_.values,r),c,u):f&&d?Array.from(f).filter(function(e){return e.selected}).map(function(e){return e.value}):u}r&&z(r,i)},[z,_.values]),B=no(function(e){if(t3(e))return function(t){return V(t,e)};V(e)}),Z=no(function(e,t,n){return void 0===t&&(t=!0),E({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?A(_.values):Promise.resolve()}),U=(0,a.useCallback)(function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id;n.outerHTML,Z(t||r||i,!0)},[Z]),H=no(function(e){if(t3(e))return function(t){return U(t,e)};U(e)}),W=(0,a.useCallback)(function(e){t2(e)?E({type:"SET_FORMIK_STATE",payload:e}):E({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),q=(0,a.useCallback)(function(e){E({type:"SET_STATUS",payload:e})},[]),$=(0,a.useCallback)(function(e){E({type:"SET_ISSUBMITTING",payload:e})},[]),Y=no(function(){return E({type:"SUBMIT_ATTEMPT"}),A().then(function(e){var t,n=e instanceof Error;if(!n&&0===Object.keys(e).length){try{if(t=X(),void 0===t)return}catch(r){throw r}return Promise.resolve(t).then(function(e){return b.current&&E({type:"SUBMIT_SUCCESS"}),e}).catch(function(e){if(b.current)throw E({type:"SUBMIT_FAILURE"}),e})}if(b.current&&(E({type:"SUBMIT_FAILURE"}),n))throw e})}),G=no(function(e){e&&e.preventDefault&&t2(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&t2(e.stopPropagation)&&e.stopPropagation(),Y().catch(function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)})}),K={resetForm:T,validateForm:A,validateField:M,setErrors:L,setFieldError:I,setFieldTouched:Z,setFieldValue:z,setStatus:q,setSubmitting:$,setTouched:D,setValues:F,setFormikState:W,submitForm:Y},X=no(function(){return d(_.values,K)}),Q=no(function(e){e&&e.preventDefault&&t2(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&t2(e.stopPropagation)&&e.stopPropagation(),T()}),J=(0,a.useCallback)(function(e){return{value:t6(_.values,e),error:t6(_.errors,e),touched:!!t6(_.touched,e),initialValue:t6(v.current,e),initialTouched:!!t6(g.current,e),initialError:t6(m.current,e)}},[_.errors,_.touched,_.values]),ee=(0,a.useCallback)(function(e){return{setValue:function(t,n){return z(e,t,n)},setTouched:function(t,n){return Z(e,t,n)},setError:function(t){return I(e,t)}}},[z,Z,I]),et=(0,a.useCallback)(function(e){var t=t4(e),n=t?e.name:e,r=t6(_.values,n),i={name:n,value:r,onChange:B,onBlur:H};if(t){var o=e.type,a=e.value,s=e.as,l=e.multiple;"checkbox"===o?void 0===a?i.checked=!!r:(i.checked=!!(Array.isArray(r)&&~r.indexOf(a)),i.value=a):"radio"===o?(i.checked=r===a,i.value=a):"select"===s&&l&&(i.value=i.value||[],i.multiple=!0)}return i},[H,B,_.values]),en=(0,a.useMemo)(function(){return!l()(v.current,_.values)},[v.current,_.values]),er=(0,a.useMemo)(function(){return void 0!==u?en?_.errors&&0===Object.keys(_.errors).length:!1!==u&&t2(u)?u(h):u:_.errors&&0===Object.keys(_.errors).length},[u,en,_.errors,h]);return tQ({},_,{initialValues:v.current,initialErrors:m.current,initialTouched:g.current,initialStatus:y.current,handleBlur:H,handleChange:B,handleReset:Q,handleSubmit:G,resetForm:T,setErrors:L,setFormikState:W,setFieldTouched:Z,setFieldValue:z,setFieldError:I,setStatus:q,setSubmitting:$,setTouched:D,setValues:F,submitForm:Y,validateForm:A,validateField:M,isValid:er,dirty:en,unregisterField:N,registerField:P,getFieldProps:et,getFieldMeta:J,getFieldHelpers:ee,validateOnBlur:i,validateOnChange:n,validateOnMount:s})}function nr(e,t,n){var r=e.slice();return t.forEach(function(t,i){if(void 0===r[i]){var o=!1!==n.clone&&n.isMergeableObject(t);r[i]=o?p(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[i]=p(e[i],t,n):-1===e.indexOf(t)&&r.push(t)}),r}var ni="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect;function no(e){var t=(0,a.useRef)(e);return ni(function(){t.current=e}),(0,a.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;re?t:e},0);return Array.from(tQ({},e,{length:t+1}))};(function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var i=n.props,o=i.name;(0,i.formik.setFormikState)(function(n){var i=t8(n.values,o,e(t6(n.values,o))),a=r?("function"==typeof r?r:e)(t6(n.errors,o)):void 0,s=t?("function"==typeof t?t:e)(t6(n.touched,o)):void 0;return t1(a)&&(a=void 0),t1(s)&&(s=void 0),tQ({},n,{values:i,errors:r?t8(n.errors,o,a):n.errors,touched:t?t8(n.touched,o,s):n.touched})})},n.push=function(e){return n.updateArrayField(function(t){return[].concat(nc(t),[tL(e,5)])},!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField(function(n){return ns(n,e,t)},!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField(function(n){return na(n,e,t)},!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField(function(n){return nl(n,e,t)},function(t){return nl(t,e,null)},function(t){return nl(t,e,null)})},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField(function(n){return nu(n,e,t)},!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField(function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r},function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n},function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(t0(n)),n.pop=n.pop.bind(t0(n)),n}(n=t).prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e;var n,r=t.prototype;return r.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!l()(t6(e.formik.values,e.name),t6(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(e){var t;return this.updateArrayField(function(n){var r=n?nc(n):[];return t||(t=r[e]),t2(r.splice)&&r.splice(e,1),r},!0,!0),t},r.pop=function(){var e;return this.updateArrayField(function(t){return e||(e=t&&t.pop&&t.pop()),t},!0,!0),e},r.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,i=t.children,o=t.name,s=tQ({},e,{form:tJ(t.formik,["validate","validationSchema"]),name:o});return n?(0,a.createElement)(n,s):r?r(s):i?"function"==typeof i?i(s):0===a.Children.count(i)?null:a.Children.only(i):null},t})(a.Component).defaultProps={validateOnChange:!0},a.Component,a.Component},73463:function(e,t,n){"use strict";var r=n(73887),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=l(t),v=l(n),m=0;m= 0;)(u = e(r, i, o, a, h + 1, l + 1)) > p && (h === s ? u *= 1 : t.test(r.charAt(h - 1)) ? (u *= .9, (f = r.slice(s, h - 1).match(n)) && s > 0 && (u *= Math.pow(.999, f.length))) : t.test(r.slice(s, h - 1)) ? (u *= 0, s > 0 && (u *= Math.pow(.999, h - s))) : (u *= .3, s > 0 && (u *= Math.pow(.999, h - s))), r.charAt(h) !== i.charAt(l) && (u *= .9999)), u < .1 && o.charAt(h - 1) === a.charAt(l + 1) && o.charAt(h - 1) !== a.charAt(l) && .1 * (c = e(r, i, o, a, h + 1, l + 2)) > u && (u = .1 * c), u > p && (p = u), h = o.indexOf(d, h + 1); return p }(e, r, e.toLowerCase(), r.toLowerCase(), 0, 0) } }, 68847: function(e, t, n) { "use strict"; n.d(t, { B8: function() { return k }, Il: function() { return i }, J5: function() { return a }, SU: function() { return E }, Ss: function() { return j }, Ym: function() { return M }, ZP: function() { return x }, xV: function() { return o } }); var r = n(40948); function i() { } var o = .7, a = 1.4285714285714286, s = "\\s*([+-]?\\d+)\\s*", l = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*", u = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*", c = /^#([0-9a-f]{3,8})$/, f = RegExp("^rgb\\(" + [s, s, s] + "\\)$"), d = RegExp("^rgb\\(" + [u, u, u] + "\\)$"), h = RegExp("^rgba\\(" + [s, s, s, l] + "\\)$"), p = RegExp("^rgba\\(" + [u, u, u, l] + "\\)$"), v = RegExp("^hsl\\(" + [l, u, u] + "\\)$"), m = RegExp("^hsla\\(" + [l, u, u, l] + "\\)$"), g = { aliceblue: 15792383, antiquewhite: 16444375, aqua: 65535, aquamarine: 8388564, azure: 15794175, beige: 16119260, bisque: 16770244, black: 0, blanchedalmond: 16772045, blue: 255, blueviolet: 9055202, brown: 10824234, burlywood: 14596231, cadetblue: 6266528, chartreuse: 8388352, chocolate: 13789470, coral: 16744272, cornflowerblue: 6591981, cornsilk: 16775388, crimson: 14423100, cyan: 65535, darkblue: 139, darkcyan: 35723, darkgoldenrod: 12092939, darkgray: 11119017, darkgreen: 25600, darkgrey: 11119017, darkkhaki: 12433259, darkmagenta: 9109643, darkolivegreen: 5597999, darkorange: 16747520, darkorchid: 10040012, darkred: 9109504, darksalmon: 15308410, darkseagreen: 9419919, darkslateblue: 4734347, darkslategray: 3100495, darkslategrey: 3100495, darkturquoise: 52945, darkviolet: 9699539, deeppink: 16716947, deepskyblue: 49151, dimgray: 6908265, dimgrey: 6908265, dodgerblue: 2003199, firebrick: 11674146, floralwhite: 16775920, forestgreen: 2263842, fuchsia: 16711935, gainsboro: 14474460, ghostwhite: 16316671, gold: 16766720, goldenrod: 14329120, gray: 8421504, green: 32768, greenyellow: 11403055, grey: 8421504, honeydew: 15794160, hotpink: 16738740, indianred: 13458524, indigo: 4915330, ivory: 16777200, khaki: 15787660, lavender: 15132410, lavenderblush: 16773365, lawngreen: 8190976, lemonchiffon: 16775885, lightblue: 11393254, lightcoral: 15761536, lightcyan: 14745599, lightgoldenrodyellow: 16448210, lightgray: 13882323, lightgreen: 9498256, lightgrey: 13882323, lightpink: 16758465, lightsalmon: 16752762, lightseagreen: 2142890, lightskyblue: 8900346, lightslategray: 7833753, lightslategrey: 7833753, lightsteelblue: 11584734, lightyellow: 16777184, lime: 65280, limegreen: 3329330, linen: 16445670, magenta: 16711935, maroon: 8388608, mediumaquamarine: 6737322, mediumblue: 205, mediumorchid: 12211667, mediumpurple: 9662683, mediumseagreen: 3978097, mediumslateblue: 8087790, mediumspringgreen: 64154, mediumturquoise: 4772300, mediumvioletred: 13047173, midnightblue: 1644912, mintcream: 16121850, mistyrose: 16770273, moccasin: 16770229, navajowhite: 16768685, navy: 128, oldlace: 16643558, olive: 8421376, olivedrab: 7048739, orange: 16753920, orangered: 16729344, orchid: 14315734, palegoldenrod: 15657130, palegreen: 10025880, paleturquoise: 11529966, palevioletred: 14381203, papayawhip: 16773077, peachpuff: 16767673, peru: 13468991, pink: 16761035, plum: 14524637, powderblue: 11591910, purple: 8388736, rebeccapurple: 6697881, red: 16711680, rosybrown: 12357519, royalblue: 4286945, saddlebrown: 9127187, salmon: 16416882, sandybrown: 16032864, seagreen: 3050327, seashell: 16774638, sienna: 10506797, silver: 12632256, skyblue: 8900331, slateblue: 6970061, slategray: 7372944, slategrey: 7372944, snow: 16775930, springgreen: 65407, steelblue: 4620980, tan: 13808780, teal: 32896, thistle: 14204888, tomato: 16737095, turquoise: 4251856, violet: 15631086, wheat: 16113331, white: 16777215, whitesmoke: 16119285, yellow: 16776960, yellowgreen: 10145074 }; function y() { return this.rgb().formatHex() } function b() { return this.rgb().formatRgb() } function x(e) { var t, n; return e = (e + "").trim().toLowerCase(), (t = c.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), 6 === n ? w(t) : 3 === n ? new j(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | 240 & t, (15 & t) << 4 | 15 & t, 1) : 8 === n ? _(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (255 & t) / 255) : 4 === n ? _(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | 240 & t, ((15 & t) << 4 | 15 & t) / 255) : null) : (t = f.exec(e)) ? new j(t[1], t[2], t[3], 1) : (t = d.exec(e)) ? new j(255 * t[1] / 100, 255 * t[2] / 100, 255 * t[3] / 100, 1) : (t = h.exec(e)) ? _(t[1], t[2], t[3], t[4]) : (t = p.exec(e)) ? _(255 * t[1] / 100, 255 * t[2] / 100, 255 * t[3] / 100, t[4]) : (t = v.exec(e)) ? A(t[1], t[2] / 100, t[3] / 100, 1) : (t = m.exec(e)) ? A(t[1], t[2] / 100, t[3] / 100, t[4]) : g.hasOwnProperty(e) ? w(g[e]) : "transparent" === e ? new j(NaN, NaN, NaN, 0) : null } function w(e) { return new j(e >> 16 & 255, e >> 8 & 255, 255 & e, 1) } function _(e, t, n, r) { return r <= 0 && (e = t = n = NaN), new j(e, t, n, r) } function E(e) { return (e instanceof i || (e = x(e)), e) ? (e = e.rgb(), new j(e.r, e.g, e.b, e.opacity)) : new j } function k(e, t, n, r) { return 1 == arguments.length ? E(e) : new j(e, t, n, null == r ? 1 : r) } function j(e, t, n, r) { this.r = +e, this.g = +t, this.b = +n, this.opacity = +r } function S() { return "#" + C(this.r) + C(this.g) + C(this.b) } function O() { var e = this.opacity; return (1 === (e = isNaN(e) ? 1 : Math.max(0, Math.min(1, e))) ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (1 === e ? ")" : ", " + e + ")") } function C(e) { return ((e = Math.max(0, Math.min(255, Math.round(e) || 0))) < 16 ? "0" : "") + e.toString(16) } function A(e, t, n, r) { return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new P(e, t, n, r) } function T(e) { if (e instanceof P) return new P(e.h, e.s, e.l, e.opacity); if (e instanceof i || (e = x(e)), !e) return new P; if (e instanceof P) return e; var t = (e = e.rgb()).r / 255, n = e.g / 255, r = e.b / 255, o = Math.min(t, n, r), a = Math.max(t, n, r), s = NaN, l = a - o, u = (a + o) / 2; return l ? (s = t === a ? (n - r) / l + (n < r) * 6 : n === a ? (r - t) / l + 2 : (t - n) / l + 4, l /= u < .5 ? a + o : 2 - a - o, s *= 60) : l = u > 0 && u < 1 ? 0 : s, new P(s, l, u, e.opacity) } function M(e, t, n, r) { return 1 == arguments.length ? T(e) : new P(e, t, n, null == r ? 1 : r) } function P(e, t, n, r) { this.h = +e, this.s = +t, this.l = +n, this.opacity = +r } function N(e, t, n) { return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255 } (0, r.Z)(i, x, { copy: function(e) { return Object.assign(new this.constructor, this, e) }, displayable: function() { return this.rgb().displayable() }, hex: y, formatHex: y, formatHsl: function() { return T(this).formatHsl() }, formatRgb: b, toString: b }), (0, r.Z)(j, k, (0, r.l)(i, { brighter: function(e) { return e = null == e ? a : Math.pow(a, e), new j(this.r * e, this.g * e, this.b * e, this.opacity) }, darker: function(e) { return e = null == e ? o : Math.pow(o, e), new j(this.r * e, this.g * e, this.b * e, this.opacity) }, rgb: function() { return this }, displayable: function() { return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1 }, hex: S, formatHex: S, formatRgb: O, toString: O })), (0, r.Z)(P, M, (0, r.l)(i, { brighter: function(e) { return e = null == e ? a : Math.pow(a, e), new P(this.h, this.s, this.l * e, this.opacity) }, darker: function(e) { return e = null == e ? o : Math.pow(o, e), new P(this.h, this.s, this.l * e, this.opacity) }, rgb: function() { var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r; return new j(N(e >= 240 ? e - 240 : e + 120, i, r), N(e, i, r), N(e < 120 ? e + 240 : e - 120, i, r), this.opacity) }, displayable: function() { return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1 }, formatHsl: function() { var e = this.opacity; return (1 === (e = isNaN(e) ? 1 : Math.max(0, Math.min(1, e))) ? "hsl(" : "hsla(") + (this.h || 0) + ", " + 100 * (this.s || 0) + "%, " + 100 * (this.l || 0) + "%" + (1 === e ? ")" : ", " + e + ")") } })) }, 40948: function(e, t, n) { "use strict"; function r(e, t, n) { e.prototype = t.prototype = n, n.constructor = e } function i(e, t) { var n = Object.create(e.prototype); for (var r in t) n[r] = t[r]; return n } n.d(t, { Z: function() { return r }, l: function() { return i } }) }, 20966: function(e, t, n) { "use strict"; n.d(t, { Uc: function() { return g }, ZP: function() { return f } }); var r = n(40948), i = n(68847), o = n(10810), a = 4 / 29, s = 6 / 29, l = 3 * (6 / 29) * (6 / 29), u = 6 / 29 * (6 / 29) * (6 / 29); function c(e) { if (e instanceof d) return new d(e.l, e.a, e.b, e.opacity); if (e instanceof y) return b(e); e instanceof i.Ss || (e = (0, i.SU)(e)); var t, n, r = m(e.r), o = m(e.g), a = m(e.b), s = h((.2225045 * r + .7168786 * o + .0606169 * a) / 1); return r === o && o === a ? t = n = s : (t = h((.4360747 * r + .3850649 * o + .1430804 * a) / .96422), n = h((.0139322 * r + .0971045 * o + .7141733 * a) / .82521)), new d(116 * s - 16, 500 * (t - s), 200 * (s - n), e.opacity) } function f(e, t, n, r) { return 1 == arguments.length ? c(e) : new d(e, t, n, null == r ? 1 : r) } function d(e, t, n, r) { this.l = +e, this.a = +t, this.b = +n, this.opacity = +r } function h(e) { return e > u ? Math.pow(e, 1 / 3) : e / l + a } function p(e) { return e > s ? e * e * e : l * (e - a) } function v(e) { return 255 * (e <= .0031308 ? 12.92 * e : 1.055 * Math.pow(e, 1 / 2.4) - .055) } function m(e) { return (e /= 255) <= .04045 ? e / 12.92 : Math.pow((e + .055) / 1.055, 2.4) } function g(e, t, n, r) { return 1 == arguments.length ? function(e) { if (e instanceof y) return new y(e.h, e.c, e.l, e.opacity); if (e instanceof d || (e = c(e)), 0 === e.a && 0 === e.b) return new y(NaN, 0 < e.l && e.l < 100 ? 0 : NaN, e.l, e.opacity); var t = Math.atan2(e.b, e.a) * o.B; return new y(t < 0 ? t + 360 : t, Math.sqrt(e.a * e.a + e.b * e.b), e.l, e.opacity) }(e) : new y(e, t, n, null == r ? 1 : r) } function y(e, t, n, r) { this.h = +e, this.c = +t, this.l = +n, this.opacity = +r } function b(e) { if (isNaN(e.h)) return new d(e.l, 0, 0, e.opacity); var t = e.h * o.V; return new d(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity) } (0, r.Z)(d, f, (0, r.l)(i.Il, { brighter: function(e) { return new d(this.l + 18 * (null == e ? 1 : e), this.a, this.b, this.opacity) }, darker: function(e) { return new d(this.l - 18 * (null == e ? 1 : e), this.a, this.b, this.opacity) }, rgb: function() { var e = (this.l + 16) / 116, t = isNaN(this.a) ? e : e + this.a / 500, n = isNaN(this.b) ? e : e - this.b / 200; return t = .96422 * p(t), e = 1 * p(e), n = .82521 * p(n), new i.Ss(v(3.1338561 * t - 1.6168667 * e - .4906146 * n), v(-.9787684 * t + 1.9161415 * e + .033454 * n), v(.0719453 * t - .2289914 * e + 1.4052427 * n), this.opacity) } })), (0, r.Z)(y, g, (0, r.l)(i.Il, { brighter: function(e) { return new y(this.h, this.c, this.l + 18 * (null == e ? 1 : e), this.opacity) }, darker: function(e) { return new y(this.h, this.c, this.l - 18 * (null == e ? 1 : e), this.opacity) }, rgb: function() { return b(this).rgb() } })) }, 10810: function(e, t, n) { "use strict"; n.d(t, { B: function() { return i }, V: function() { return r } }); var r = Math.PI / 180, i = 180 / Math.PI }, 11192: function(e, t, n) { "use strict"; n.d(t, { WU: function() { return o }, jH: function() { return a } }); var r, i, o, a, s = n(23733), l = n(52328), u = n(39801); function c(e, t) { var n = (0, u.V)(e, t); if (!n) return e + ""; var r = n[0], i = n[1]; return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0") } var f = { "%": (e, t) => (100 * e).toFixed(t), b: e => Math.round(e).toString(2), c: e => e + "", d: u.Z, e: (e, t) => e.toExponential(t), f: (e, t) => e.toFixed(t), g: (e, t) => e.toPrecision(t), o: e => Math.round(e).toString(8), p: (e, t) => c(100 * e, t), r: c, s: function(e, t) { var n = (0, u.V)(e, t); if (!n) return e + ""; var i = n[0], o = n[1], a = o - (r = 3 * Math.max(-8, Math.min(8, Math.floor(o / 3)))) + 1, s = i.length; return a === s ? i : a > s ? i + Array(a - s + 1).join("0") : a > 0 ? i.slice(0, a) + "." + i.slice(a) : "0." + Array(1 - a).join("0") + (0, u.V)(e, Math.max(0, t + a - 1))[0] }, X: e => Math.round(e).toString(16).toUpperCase(), x: e => Math.round(e).toString(16) }; function d(e) { return e } var h = Array.prototype.map, p = ["y", "z", "a", "f", "p", "n", "\xb5", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"]; o = (i = function(e) { var t, n, i, o = void 0 === e.grouping || void 0 === e.thousands ? d : (t = h.call(e.grouping, Number), n = e.thousands + "", function(e, r) { for (var i = e.length, o = [], a = 0, s = t[0], l = 0; i > 0 && s > 0 && (l + s + 1 > r && (s = Math.max(1, r - l)), o.push(e.substring(i -= s, i + s)), !((l += s + 1) > r));)s = t[a = (a + 1) % t.length]; return o.reverse().join(n) }), a = void 0 === e.currency ? "" : e.currency[0] + "", u = void 0 === e.currency ? "" : e.currency[1] + "", c = void 0 === e.decimal ? "." : e.decimal + "", v = void 0 === e.numerals ? d : (i = h.call(e.numerals, String), function(e) { return e.replace(/[0-9]/g, function(e) { return i[+e] }) }), m = void 0 === e.percent ? "%" : e.percent + "", g = void 0 === e.minus ? "−" : e.minus + "", y = void 0 === e.nan ? "NaN" : e.nan + ""; function b(e) { var t = (e = (0, l.Z)(e)).fill, n = e.align, i = e.sign, s = e.symbol, d = e.zero, h = e.width, b = e.comma, x = e.precision, w = e.trim, _ = e.type; "n" === _ ? (b = !0, _ = "g") : f[_] || (void 0 === x && (x = 12), w = !0, _ = "g"), (d || "0" === t && "=" === n) && (d = !0, t = "0", n = "="); var E = "$" === s ? a : "#" === s && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", k = "$" === s ? u : /[%p]/.test(_) ? m : "", j = f[_], S = /[defgprs%]/.test(_); function O(e) { var a, s, l, u = E, f = k; if ("c" === _) f = j(e) + f, e = ""; else { var m = (e = +e) < 0 || 1 / e < 0; if (e = isNaN(e) ? y : j(Math.abs(e), x), w && (e = function(e) { e: for (var t, n = e.length, r = 1, i = -1; r < n; ++r)switch (e[r]) { case ".": i = t = r; break; case "0": 0 === i && (i = r), t = r; break; default: if (!+e[r]) break e; i > 0 && (i = 0) }return i > 0 ? e.slice(0, i) + e.slice(t + 1) : e }(e)), m && 0 == +e && "+" !== i && (m = !1), u = (m ? "(" === i ? i : g : "-" === i || "(" === i ? "" : i) + u, f = ("s" === _ ? p[8 + r / 3] : "") + f + (m && "(" === i ? ")" : ""), S) { for (a = -1, s = e.length; ++a < s;)if (48 > (l = e.charCodeAt(a)) || l > 57) { f = (46 === l ? c + e.slice(a + 1) : e.slice(a)) + f, e = e.slice(0, a); break } } } b && !d && (e = o(e, 1 / 0)); var O = u.length + e.length + f.length, C = O < h ? Array(h - O + 1).join(t) : ""; switch (b && d && (e = o(C + e, C.length ? h - f.length : 1 / 0), C = ""), n) { case "<": e = u + e + f + C; break; case "=": e = u + C + e + f; break; case "^": e = C.slice(0, O = C.length >> 1) + u + e + f + C.slice(O); break; default: e = C + u + e + f }return v(e) } return x = void 0 === x ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, x)) : Math.max(0, Math.min(20, x)), O.toString = function() { return e + "" }, O } return { format: b, formatPrefix: function(e, t) { var n = b(((e = (0, l.Z)(e)).type = "f", e)), r = 3 * Math.max(-8, Math.min(8, Math.floor((0, s.Z)(t) / 3))), i = Math.pow(10, -r), o = p[8 + r / 3]; return function(e) { return n(i * e) + o } } } }({ thousands: ",", grouping: [3], currency: ["$", ""] })).format, a = i.formatPrefix }, 23733: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(39801); function i(e) { return (e = (0, r.V)(Math.abs(e))) ? e[1] : NaN } }, 39801: function(e, t, n) { "use strict"; function r(e) { return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10) } function i(e, t) { if ((n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e")) < 0) return null; var n, r = e.slice(0, n); return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)] } n.d(t, { V: function() { return i }, Z: function() { return r } }) }, 52328: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i; function i(e) { var t; if (!(t = r.exec(e))) throw Error("invalid format: " + e); return new o({ fill: t[1], align: t[2], sign: t[3], symbol: t[4], zero: t[5], width: t[6], comma: t[7], precision: t[8] && t[8].slice(1), trim: t[9], type: t[10] }) } function o(e) { this.fill = void 0 === e.fill ? " " : e.fill + "", this.align = void 0 === e.align ? ">" : e.align + "", this.sign = void 0 === e.sign ? "-" : e.sign + "", this.symbol = void 0 === e.symbol ? "" : e.symbol + "", this.zero = !!e.zero, this.width = void 0 === e.width ? void 0 : +e.width, this.comma = !!e.comma, this.precision = void 0 === e.precision ? void 0 : +e.precision, this.trim = !!e.trim, this.type = void 0 === e.type ? "" : e.type + "" } i.prototype = o.prototype, o.prototype.toString = function() { return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (void 0 === this.width ? "" : Math.max(1, 0 | this.width)) + (this.comma ? "," : "") + (void 0 === this.precision ? "" : "." + Math.max(0, 0 | this.precision)) + (this.trim ? "~" : "") + this.type } }, 12766: function(e, t) { !function(e) { "use strict"; function t() { return (t = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function n(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), n.push.apply(n, r) } return n } function r(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = Array(t); n < t; n++)r[n] = e[n]; return r } function i(e, t) { if ("undefined" == typeof Symbol || null == e[Symbol.iterator]) { if (Array.isArray(e) || (o = function(e, t) { if (e) { if ("string" == typeof e) return r(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); if ("Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n) return Array.from(e); if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return r(e, t) } }(e)) || t && e && "number" == typeof e.length) { o && (e = o); var n = 0, i = function() { }; return { s: i, n: function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] } }, e: function(e) { throw e }, f: i } } throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") } var o, a, s = !0, l = !1; return { s: function() { o = e[Symbol.iterator]() }, n: function() { var e = o.next(); return s = e.done, e }, e: function(e) { l = !0, a = e }, f: function() { try { s || null == o.return || o.return() } finally { if (l) throw a } } } } function o(e) { var t = {}; return 4 === e.length && (t.x2 = e[2][0], t.y2 = e[2][1]), e.length >= 3 && (t.x1 = e[1][0], t.y1 = e[1][1]), t.x = e[e.length - 1][0], t.y = e[e.length - 1][1], 4 === e.length ? t.type = "C" : 3 === e.length ? t.type = "Q" : t.type = "L", t } var a = /[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g, s = { M: ["x", "y"], L: ["x", "y"], H: ["x"], V: ["y"], C: ["x1", "y1", "x2", "y2", "x", "y"], S: ["x2", "y2", "x", "y"], Q: ["x1", "y1", "x", "y"], T: ["x", "y"], A: ["rx", "ry", "xAxisRotation", "largeArcFlag", "sweepFlag", "x", "y"], Z: [] }; function l(e, t) { for (var n = Array(e), r = 0; r < e; r++)n[r] = t; return n } function u(e, n, r) { var i = e.length - 1, a = n.length - 1, s = i / a, u = l(a).reduce(function(t, n, i) { var o = Math.floor(s * i); return r && o < e.length - 1 && r(e[o], e[o + 1]) && t[o] && (s * i % 1 < .5 ? o > 0 ? o -= 1 : o < e.length - 1 && (o += 1) : o < e.length - 1 ? o += 1 : o > 0 && (o -= 1)), t[o] = (t[o] || 0) + 1, t }, []).reduce(function(n, r, i) { if (i === e.length - 1) { var a = l(r, t({}, e[e.length - 1])); return "M" === a[0].type && a.forEach(function(e) { e.type = "L" }), n.concat(a) } return n.concat(function(e, n, r) { var i, a = []; if ("L" === n.type || "Q" === n.type || "C" === n.type) a = a.concat((i = [[e.x, e.y]], null != n.x1 && i.push([n.x1, n.y1]), null != n.x2 && i.push([n.x2, n.y2]), i.push([n.x, n.y]), (function(e, t) { for (var n = [], r = e, i = 1 / (t = t || 2), o = 0; o < t - 1; o++) { var a = function(e, t) { var n = [], r = []; return e.length && function e(t, i) { if (1 === t.length) n.push(t[0]), r.push(t[0]); else { for (var o = Array(t.length - 1), a = 0; a < o.length; a++)0 === a && n.push(t[0]), a === o.length - 1 && r.push(t[a + 1]), o[a] = [(1 - i) * t[a][0] + i * t[a + 1][0], (1 - i) * t[a][1] + i * t[a + 1][1]]; e(o, i) } }(e, t), { left: n, right: r.reverse() } }(r, i / (1 - i * o)); n.push(a.left), r = a.right } return n.push(r), n })(i, r).map(o))); else { var s = t({}, e); "M" === s.type && (s.type = "L"), (a = a.concat(l(r - 1).map(function() { return s }))).push(n) } return a }(e[i], e[i + 1], r)) }, []); return u.unshift(e[0]), u } function c(e) { for (var t, n, r = (e || "").match(a) || [], i = [], o = 0; o < r.length; ++o)if (t = s[r[o]]) { n = { type: r[o] }; for (var l = 0; l < t.length; ++l)n[t[l]] = +r[o + l + 1]; o += t.length, i.push(n) } return i } function f(e, t, r) { var o = null == e ? [] : e.slice(), a = null == t ? [] : t.slice(); if (!o.length && !a.length) return function() { return [] }; var l = (0 === o.length || "Z" === o[o.length - 1].type) && (0 === a.length || "Z" === a[a.length - 1].type); o.length > 0 && "Z" === o[o.length - 1].type && o.pop(), a.length > 0 && "Z" === a[a.length - 1].type && a.pop(), o.length ? a.length || a.push(o[0]) : o.push(a[0]), 0 !== Math.abs(a.length - o.length) && (a.length > o.length ? o = u(o, a, r) : a.length < o.length && (a = u(a, o, r))); var c = (o = o.map(function(e, t) { return function(e, t) { var n = { x1: "x", y1: "y", x2: "x", y2: "y" }, r = ["xAxisRotation", "largeArcFlag", "sweepFlag"]; if (e.type !== t.type && "M" !== t.type.toUpperCase()) { var i = {}; Object.keys(t).forEach(function(o) { var a = t[o], s = e[o]; void 0 === s && (r.includes(o) ? s = a : (void 0 === s && n[o] && (s = e[n[o]]), void 0 === s && (s = 0))), i[o] = s }), i.type = t.type, e = i } return e }(e, a[t]) })).map(function(e) { return function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? n(Object(r), !0).forEach(function(t) { var n, i; n = e, i = r[t], t in n ? Object.defineProperty(n, t, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = i }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : n(Object(r)).forEach(function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) }) } return e }({}, e) }); return l && c.push({ type: "Z" }), function(e) { if (1 === e) return null == t ? [] : t; if (e > 0) for (var n = 0; n < c.length; ++n) { var r, l = o[n], u = a[n], f = c[n], d = i(s[f.type]); try { for (d.s(); !(r = d.n()).done;) { var h = r.value; f[h] = (1 - e) * l[h] + e * u[h], ("largeArcFlag" === h || "sweepFlag" === h) && (f[h] = Math.round(f[h])) } } catch (p) { d.e(p) } finally { d.f() } } return c } } Object.keys(s).forEach(function(e) { s[e.toLowerCase()] = s[e] }), e.interpolatePath = function(e, t, n) { var r = c(e), o = c(t); if (!r.length && !o.length) return function() { return "" }; var a = f(r, o, n); return function(e) { if (1 === e) return null == t ? "" : t; var n, r = a(e), o = "", l = i(r); try { for (l.s(); !(n = l.n()).done;) { var u = n.value; o += function(e) { return "".concat(e.type).concat(s[e.type].map(function(t) { return e[t] }).join(",")) }(u) } } catch (c) { l.e(c) } finally { l.f() } return o } }, e.interpolatePathCommands = f, e.pathCommandsFromString = c, Object.defineProperty(e, "__esModule", { value: !0 }) }(t) }, 47639: function(e, t, n) { "use strict"; n.d(t, { M: function() { return a }, Z: function() { return o } }); var r = n(69777), i = n(43289); function o(e, t) { return ((0, i.v)(t) ? i.Z : a)(e, t) } function a(e, t) { var n, i = t ? t.length : 0, o = e ? Math.min(i, e.length) : 0, a = Array(o), s = Array(i); for (n = 0; n < o; ++n)a[n] = (0, r.Z)(e[n], t[n]); for (; n < i; ++n)s[n] = t[n]; return function(e) { for (n = 0; n < o; ++n)s[n] = a[n](e); return s } } }, 67855: function(e, t, n) { "use strict"; function r(e, t, n, r, i) { var o = e * e, a = o * e; return ((1 - 3 * e + 3 * o - a) * t + (4 - 6 * o + 3 * a) * n + (1 + 3 * e + 3 * o - 3 * a) * r + a * i) / 6 } function i(e) { var t = e.length - 1; return function(n) { var i = n <= 0 ? n = 0 : n >= 1 ? (n = 1, t - 1) : Math.floor(n * t), o = e[i], a = e[i + 1], s = i > 0 ? e[i - 1] : 2 * o - a, l = i < t - 1 ? e[i + 2] : 2 * a - o; return r((n - i / t) * t, s, o, a, l) } } n.d(t, { Z: function() { return i }, t: function() { return r } }) }, 6984: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(67855); function i(e) { var t = e.length; return function(n) { var i = Math.floor(((n %= 1) < 0 ? ++n : n) * t), o = e[(i + t - 1) % t], a = e[i % t], s = e[(i + 1) % t], l = e[(i + 2) % t]; return (0, r.t)((n - i / t) * t, o, a, s, l) } } }, 1234: function(e, t, n) { "use strict"; n.d(t, { ZP: function() { return s }, wx: function() { return o }, yi: function() { return a } }); var r = n(88992); function i(e, t) { return function(n) { return e + n * t } } function o(e, t) { var n = t - e; return n ? i(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : (0, r.Z)(isNaN(e) ? t : e) } function a(e) { return 1 == (e = +e) ? s : function(t, n) { var i, o, a; return n - t ? (i = t, o = n, i = Math.pow(i, a = e), o = Math.pow(o, a) - i, a = 1 / a, function(e) { return Math.pow(i + e * o, a) }) : (0, r.Z)(isNaN(t) ? n : t) } } function s(e, t) { var n = t - e; return n ? i(e, n) : (0, r.Z)(isNaN(e) ? t : e) } }, 88992: function(e, t, n) { "use strict"; function r(e) { return function() { return e } } n.d(t, { Z: function() { return r } }) }, 77636: function(e, t, n) { "use strict"; n.d(t, { B: function() { return d }, Z: function() { return f } }); var r = n(40948), i = n(68847), o = n(10810), a = -1.78277 * .29227 - .1347134789; function s(e, t, n, r) { return 1 == arguments.length ? function(e) { if (e instanceof l) return new l(e.h, e.s, e.l, e.opacity); e instanceof i.Ss || (e = (0, i.SU)(e)); var t = e.r / 255, n = e.g / 255, r = e.b / 255, s = (a * r + -1.7884503806 * t - 3.5172982438 * n) / (a + -1.7884503806 - 3.5172982438), u = r - s, c = -((1.97294 * (n - s) - -.29227 * u) / .90649), f = Math.sqrt(c * c + u * u) / (1.97294 * s * (1 - s)), d = f ? Math.atan2(c, u) * o.B - 120 : NaN; return new l(d < 0 ? d + 360 : d, f, s, e.opacity) }(e) : new l(e, t, n, null == r ? 1 : r) } function l(e, t, n, r) { this.h = +e, this.s = +t, this.l = +n, this.opacity = +r } (0, r.Z)(l, s, (0, r.l)(i.Il, { brighter: function(e) { return e = null == e ? i.J5 : Math.pow(i.J5, e), new l(this.h, this.s, this.l * e, this.opacity) }, darker: function(e) { return e = null == e ? i.xV : Math.pow(i.xV, e), new l(this.h, this.s, this.l * e, this.opacity) }, rgb: function() { var e = isNaN(this.h) ? 0 : (this.h + 120) * o.V, t = +this.l, n = isNaN(this.s) ? 0 : this.s * t * (1 - t), r = Math.cos(e), a = Math.sin(e); return new i.Ss(255 * (t + n * (-.14861 * r + 1.78277 * a)), 255 * (t + n * (-.29227 * r + -.90649 * a)), 255 * (t + n * (1.97294 * r)), this.opacity) } })); var u = n(1234); function c(e) { return function t(n) { function r(t, r) { var i = e((t = s(t)).h, (r = s(r)).h), o = (0, u.ZP)(t.s, r.s), a = (0, u.ZP)(t.l, r.l), l = (0, u.ZP)(t.opacity, r.opacity); return function(e) { return t.h = i(e), t.s = o(e), t.l = a(Math.pow(e, n)), t.opacity = l(e), t + "" } } return n = +n, r.gamma = t, r }(1) } var f = c(u.wx), d = c(u.ZP) }, 91255: function(e, t, n) { "use strict"; function r(e, t) { var n = new Date; return e = +e, t = +t, function(r) { return n.setTime(e * (1 - r) + t * r), n } } n.d(t, { Z: function() { return r } }) }, 87286: function(e, t, n) { "use strict"; n.d(t, { b: function() { return a } }); var r = n(20966), i = n(1234); function o(e) { return function(t, n) { var o = e((t = (0, r.Uc)(t)).h, (n = (0, r.Uc)(n)).h), a = (0, i.ZP)(t.c, n.c), s = (0, i.ZP)(t.l, n.l), l = (0, i.ZP)(t.opacity, n.opacity); return function(e) { return t.h = o(e), t.c = a(e), t.l = s(e), t.opacity = l(e), t + "" } } } t.Z = o(i.wx); var a = o(i.ZP) }, 43780: function(e, t, n) { "use strict"; n.d(t, { q: function() { return a } }); var r = n(68847), i = n(1234); function o(e) { return function(t, n) { var o = e((t = (0, r.Ym)(t)).h, (n = (0, r.Ym)(n)).h), a = (0, i.ZP)(t.s, n.s), s = (0, i.ZP)(t.l, n.l), l = (0, i.ZP)(t.opacity, n.opacity); return function(e) { return t.h = o(e), t.s = a(e), t.l = s(e), t.opacity = l(e), t + "" } } } t.Z = o(i.wx); var a = o(i.ZP) }, 31380: function(e, t, n) { "use strict"; n.r(t), n.d(t, { interpolate: function() { return s.Z }, interpolateArray: function() { return l.Z }, interpolateBasis: function() { return u.Z }, interpolateBasisClosed: function() { return c.Z }, interpolateCubehelix: function() { return N.Z }, interpolateCubehelixLong: function() { return N.B }, interpolateDate: function() { return f.Z }, interpolateDiscrete: function() { return d }, interpolateHcl: function() { return P.Z }, interpolateHclLong: function() { return P.b }, interpolateHsl: function() { return T.Z }, interpolateHslLong: function() { return T.q }, interpolateHue: function() { return p }, interpolateLab: function() { return M.Z }, interpolateNumber: function() { return v.Z }, interpolateNumberArray: function() { return m.Z }, interpolateObject: function() { return g.Z }, interpolateRgb: function() { return A.ZP }, interpolateRgbBasis: function() { return A.hD }, interpolateRgbBasisClosed: function() { return A.YD }, interpolateRound: function() { return y.Z }, interpolateString: function() { return b.Z }, interpolateTransformCss: function() { return k }, interpolateTransformSvg: function() { return j }, interpolateZoom: function() { return C }, piecewise: function() { return R.Z }, quantize: function() { return D } }); var r, i, o, a, s = n(69777), l = n(47639), u = n(67855), c = n(6984), f = n(91255); function d(e) { var t = e.length; return function(n) { return e[Math.max(0, Math.min(t - 1, Math.floor(n * t)))] } } var h = n(1234); function p(e, t) { var n = (0, h.wx)(+e, +t); return function(e) { var t = n(e); return t - 360 * Math.floor(t / 360) } } var v = n(98876), m = n(43289), g = n(73363), y = n(74672), b = n(76060), x = 180 / Math.PI, w = { translateX: 0, translateY: 0, rotate: 0, skewX: 0, scaleX: 1, scaleY: 1 }; function _(e, t, n, r, i, o) { var a, s, l; return (a = Math.sqrt(e * e + t * t)) && (e /= a, t /= a), (l = e * n + t * r) && (n -= e * l, r -= t * l), (s = Math.sqrt(n * n + r * r)) && (n /= s, r /= s, l /= s), e * r < t * n && (e = -e, t = -t, l = -l, a = -a), { translateX: i, translateY: o, rotate: Math.atan2(t, e) * x, skewX: Math.atan(l) * x, scaleX: a, scaleY: s } } function E(e, t, n, r) { function i(e) { return e.length ? e.pop() + " " : "" } return function(o, a) { var s, l, u, c, f = [], d = []; return o = e(o), a = e(a), !function(e, r, i, o, a, s) { if (e !== i || r !== o) { var l = a.push("translate(", null, t, null, n); s.push({ i: l - 4, x: (0, v.Z)(e, i) }, { i: l - 2, x: (0, v.Z)(r, o) }) } else (i || o) && a.push("translate(" + i + t + o + n) }(o.translateX, o.translateY, a.translateX, a.translateY, f, d), (s = o.rotate) !== (l = a.rotate) ? (s - l > 180 ? l += 360 : l - s > 180 && (s += 360), d.push({ i: f.push(i(f) + "rotate(", null, r) - 2, x: (0, v.Z)(s, l) })) : l && f.push(i(f) + "rotate(" + l + r), (u = o.skewX) !== (c = a.skewX) ? d.push({ i: f.push(i(f) + "skewX(", null, r) - 2, x: (0, v.Z)(u, c) }) : c && f.push(i(f) + "skewX(" + c + r), !function(e, t, n, r, o, a) { if (e !== n || t !== r) { var s = o.push(i(o) + "scale(", null, ",", null, ")"); a.push({ i: s - 4, x: (0, v.Z)(e, n) }, { i: s - 2, x: (0, v.Z)(t, r) }) } else (1 !== n || 1 !== r) && o.push(i(o) + "scale(" + n + "," + r + ")") }(o.scaleX, o.scaleY, a.scaleX, a.scaleY, f, d), o = a = null, function(e) { for (var t, n = -1, r = d.length; ++n < r;)f[(t = d[n]).i] = t.x(e); return f.join("") } } } var k = E(function(e) { return "none" === e ? w : (r || (r = document.createElement("DIV"), i = document.documentElement, o = document.defaultView), r.style.transform = e, e = o.getComputedStyle(i.appendChild(r), null).getPropertyValue("transform"), i.removeChild(r), _(+(e = e.slice(7, -1).split(","))[0], +e[1], +e[2], +e[3], +e[4], +e[5])) }, "px, ", "px)", "deg)"), j = E(function(e) { return null == e ? w : (a || (a = document.createElementNS("http://www.w3.org/2000/svg", "g")), a.setAttribute("transform", e), e = a.transform.baseVal.consolidate()) ? _((e = e.matrix).a, e.b, e.c, e.d, e.e, e.f) : w }, ", ", ")", ")"), S = Math.SQRT2; function O(e) { return ((e = Math.exp(e)) + 1 / e) / 2 } function C(e, t) { var n, r, i = e[0], o = e[1], a = e[2], s = t[0], l = t[1], u = t[2], c = s - i, f = l - o, d = c * c + f * f; if (d < 1e-12) r = Math.log(u / a) / S, n = function(e) { return [i + e * c, o + e * f, a * Math.exp(S * e * r)] }; else { var h = Math.sqrt(d), p = (u * u - a * a + 4 * d) / (2 * a * 2 * h), v = (u * u - a * a - 4 * d) / (2 * u * 2 * h), m = Math.log(Math.sqrt(p * p + 1) - p); r = (Math.log(Math.sqrt(v * v + 1) - v) - m) / S, n = function(e) { var t, n, s = e * r, l = O(m), u = a / (2 * h) * (l * (((t = Math.exp(2 * (t = S * s + m))) - 1) / (t + 1)) - ((n = Math.exp(n = m)) - 1 / n) / 2); return [i + u * c, o + u * f, a * l / O(S * s + m)] } } return n.duration = 1e3 * r, n } var A = n(78978), T = n(43780), M = n(88751), P = n(87286), N = n(77636), R = n(87475); function D(e, t) { for (var n = Array(t), r = 0; r < t; ++r)n[r] = e(r / (t - 1)); return n } }, 88751: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(20966), i = n(1234); function o(e, t) { var n = (0, i.ZP)((e = (0, r.ZP)(e)).l, (t = (0, r.ZP)(t)).l), o = (0, i.ZP)(e.a, t.a), a = (0, i.ZP)(e.b, t.b), s = (0, i.ZP)(e.opacity, t.opacity); return function(t) { return e.l = n(t), e.a = o(t), e.b = a(t), e.opacity = s(t), e + "" } } }, 98876: function(e, t, n) { "use strict"; function r(e, t) { return e = +e, t = +t, function(n) { return e * (1 - n) + t * n } } n.d(t, { Z: function() { return r } }) }, 43289: function(e, t, n) { "use strict"; function r(e, t) { t || (t = []); var n, r = e ? Math.min(t.length, e.length) : 0, i = t.slice(); return function(o) { for (n = 0; n < r; ++n)i[n] = e[n] * (1 - o) + t[n] * o; return i } } function i(e) { return ArrayBuffer.isView(e) && !(e instanceof DataView) } n.d(t, { Z: function() { return r }, v: function() { return i } }) }, 73363: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(69777); function i(e, t) { var n, i = {}, o = {}; for (n in (null === e || "object" != typeof e) && (e = {}), (null === t || "object" != typeof t) && (t = {}), t) n in e ? i[n] = (0, r.Z)(e[n], t[n]) : o[n] = t[n]; return function(e) { for (n in i) o[n] = i[n](e); return o } } }, 87475: function(e, t, n) { "use strict"; function r(e, t) { for (var n = 0, r = t.length - 1, i = t[0], o = Array(r < 0 ? 0 : r); n < r;)o[n] = e(i, i = t[++n]); return function(e) { var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r))); return o[t](e - t) } } n.d(t, { Z: function() { return r } }) }, 78978: function(e, t, n) { "use strict"; n.d(t, { YD: function() { return u }, hD: function() { return l } }); var r = n(68847), i = n(67855), o = n(6984), a = n(1234); function s(e) { return function(t) { var n, i, o = t.length, a = Array(o), s = Array(o), l = Array(o); for (n = 0; n < o; ++n)i = (0, r.B8)(t[n]), a[n] = i.r || 0, s[n] = i.g || 0, l[n] = i.b || 0; return a = e(a), s = e(s), l = e(l), i.opacity = 1, function(e) { return i.r = a(e), i.g = s(e), i.b = l(e), i + "" } } } t.ZP = function e(t) { var n = (0, a.yi)(t); function i(e, t) { var i = n((e = (0, r.B8)(e)).r, (t = (0, r.B8)(t)).r), o = n(e.g, t.g), s = n(e.b, t.b), l = (0, a.ZP)(e.opacity, t.opacity); return function(t) { return e.r = i(t), e.g = o(t), e.b = s(t), e.opacity = l(t), e + "" } } return i.gamma = e, i }(1); var l = s(i.Z), u = s(o.Z) }, 74672: function(e, t, n) { "use strict"; function r(e, t) { return e = +e, t = +t, function(n) { return Math.round(e * (1 - n) + t * n) } } n.d(t, { Z: function() { return r } }) }, 76060: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return a } }); var r = n(98876), i = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, o = RegExp(i.source, "g"); function a(e, t) { var n, a, s, l, u, c = i.lastIndex = o.lastIndex = 0, f = -1, d = [], h = []; for (e += "", t += ""; (s = i.exec(e)) && (l = o.exec(t));)(u = l.index) > c && (u = t.slice(c, u), d[f] ? d[f] += u : d[++f] = u), (s = s[0]) === (l = l[0]) ? d[f] ? d[f] += l : d[++f] = l : (d[++f] = null, h.push({ i: f, x: (0, r.Z)(s, l) })), c = o.lastIndex; return c < t.length && (u = t.slice(c), d[f] ? d[f] += u : d[++f] = u), d.length < 2 ? h[0] ? (n = h[0].x, function(e) { return n(e) + "" }) : (a = t, function() { return a }) : (t = h.length, function(e) { for (var n, r = 0; r < t; ++r)d[(n = h[r]).i] = n.x(e); return d.join("") }) } }, 69777: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return d } }); var r = n(68847), i = n(78978), o = n(47639), a = n(91255), s = n(98876), l = n(73363), u = n(76060), c = n(88992), f = n(43289); function d(e, t) { var n, d = typeof t; return null == t || "boolean" === d ? (0, c.Z)(t) : ("number" === d ? s.Z : "string" === d ? (n = (0, r.ZP)(t)) ? (t = n, i.ZP) : u.Z : t instanceof r.ZP ? i.ZP : t instanceof Date ? a.Z : (0, f.v)(t) ? f.Z : Array.isArray(t) ? o.M : "function" != typeof t.valueOf && "function" != typeof t.toString || isNaN(t) ? l.Z : s.Z)(e, t) } }, 91672: function(e, t) { "use strict"; var n = Math.PI, r = 2 * n, i = r - 1e-6; function o() { this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "" } function a() { return new o } o.prototype = a.prototype = { constructor: o, moveTo: function(e, t) { this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) }, closePath: function() { null !== this._x1 && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z") }, lineTo: function(e, t) { this._ += "L" + (this._x1 = +e) + "," + (this._y1 = +t) }, quadraticCurveTo: function(e, t, n, r) { this._ += "Q" + +e + "," + +t + "," + (this._x1 = +n) + "," + (this._y1 = +r) }, bezierCurveTo: function(e, t, n, r, i, o) { this._ += "C" + +e + "," + +t + "," + +n + "," + +r + "," + (this._x1 = +i) + "," + (this._y1 = +o) }, arcTo: function(e, t, r, i, o) { e = +e, t = +t, r = +r, i = +i, o = +o; var a = this._x1, s = this._y1, l = r - e, u = i - t, c = a - e, f = s - t, d = c * c + f * f; if (o < 0) throw Error("negative radius: " + o); if (null === this._x1) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t); else if (d > 1e-6) { if (Math.abs(f * l - u * c) > 1e-6 && o) { var h = r - a, p = i - s, v = l * l + u * u, m = Math.sqrt(v), g = Math.sqrt(d), y = o * Math.tan((n - Math.acos((v + d - (h * h + p * p)) / (2 * m * g))) / 2), b = y / g, x = y / m; Math.abs(b - 1) > 1e-6 && (this._ += "L" + (e + b * c) + "," + (t + b * f)), this._ += "A" + o + "," + o + ",0,0," + +(f * h > c * p) + "," + (this._x1 = e + x * l) + "," + (this._y1 = t + x * u) } else this._ += "L" + (this._x1 = e) + "," + (this._y1 = t) } }, arc: function(e, t, o, a, s, l) { e = +e, t = +t, o = +o, l = !!l; var u = o * Math.cos(a), c = o * Math.sin(a), f = e + u, d = t + c, h = 1 ^ l, p = l ? a - s : s - a; if (o < 0) throw Error("negative radius: " + o); null === this._x1 ? this._ += "M" + f + "," + d : (Math.abs(this._x1 - f) > 1e-6 || Math.abs(this._y1 - d) > 1e-6) && (this._ += "L" + f + "," + d), o && (p < 0 && (p = p % r + r), p > i ? this._ += "A" + o + "," + o + ",0,1," + h + "," + (e - u) + "," + (t - c) + "A" + o + "," + o + ",0,1," + h + "," + (this._x1 = f) + "," + (this._y1 = d) : p > 1e-6 && (this._ += "A" + o + "," + o + ",0," + +(p >= n) + "," + h + "," + (this._x1 = e + o * Math.cos(s)) + "," + (this._y1 = t + o * Math.sin(s)))) }, rect: function(e, t, n, r) { this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z" }, toString: function() { return this._ } }, t.Z = a }, 1169: function(e, t, n) { "use strict"; function r(e, t) { return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN } n.d(t, { Z: function() { return r } }) }, 98038: function(e, t, n) { "use strict"; n.d(t, { ZP: function() { return l } }); var r = n(1169); function i(e) { let t = e, n = e; function i(e, t, r, i) { for (null == r && (r = 0), null == i && (i = e.length); r < i;) { let o = r + i >>> 1; 0 > n(e[o], t) ? r = o + 1 : i = o } return r } return 1 === e.length && (t = (t, n) => e(t) - n, n = (t, n) => (0, r.Z)(e(t), n)), { left: i, center: function(e, n, r, o) { null == r && (r = 0), null == o && (o = e.length); let a = i(e, n, r, o - 1); return a > r && t(e[a - 1], n) > -t(e[a], n) ? a - 1 : a }, right: function(e, t, r, i) { for (null == r && (r = 0), null == i && (i = e.length); r < i;) { let o = r + i >>> 1; n(e[o], t) > 0 ? i = o : r = o + 1 } return r } } } var o = n(81048); let a = i(r.Z), s = a.right; a.left, i(o.Z).center; var l = s }, 81048: function(e, t, n) { "use strict"; function r(e) { return null === e ? NaN : +e } function* i(e, t) { if (void 0 === t) for (let n of e) null != n && (n = +n) >= n && (yield n); else { let r = -1; for (let i of e) null != (i = t(i, ++r, e)) && (i = +i) >= i && (yield i) } } n.d(t, { K: function() { return i }, Z: function() { return r } }) }, 33907: function(e, t, n) { "use strict"; function r(e, t) { let n; if (void 0 === t) for (let r of e) null != r && (n < r || void 0 === n && r >= r) && (n = r); else { let i = -1; for (let o of e) null != (o = t(o, ++i, e)) && (n < o || void 0 === n && o >= o) && (n = o) } return n } function i(e, t) { let n; if (void 0 === t) for (let r of e) null != r && (n > r || void 0 === n && r >= r) && (n = r); else { let i = -1; for (let o of e) null != (o = t(o, ++i, e)) && (n > o || void 0 === n && o >= o) && (n = o) } return n } n.d(t, { Z: function() { return l }, s: function() { return u } }); var o = n(1169); function a(e, t, n) { let r = e[t]; e[t] = e[n], e[n] = r } var s = n(81048); function l(e, t, n) { if (l = (e = Float64Array.from((0, s.K)(e, n))).length) { if ((t = +t) <= 0 || l < 2) return i(e); if (t >= 1) return r(e); var l, u = (l - 1) * t, c = Math.floor(u), f = r((function e(t, n, r = 0, i = t.length - 1, s = o.Z) { for (; i > r;) { if (i - r > 600) { let l = i - r + 1, u = n - r + 1, c = Math.log(l), f = .5 * Math.exp(2 * c / 3), d = .5 * Math.sqrt(c * f * (l - f) / l) * (u - l / 2 < 0 ? -1 : 1), h = Math.max(r, Math.floor(n - u * f / l + d)), p = Math.min(i, Math.floor(n + (l - u) * f / l + d)); e(t, n, h, p, s) } let v = t[n], m = r, g = i; for (a(t, r, n), s(t[i], v) > 0 && a(t, r, i); m < g;) { for (a(t, m, g), ++m, --g; 0 > s(t[m], v);)++m; for (; s(t[g], v) > 0;)--g } 0 === s(t[r], v) ? a(t, r, g) : a(t, ++g, i), g <= n && (r = g + 1), n <= g && (i = g - 1) } return t })(e, c).subarray(0, c + 1)); return f + (i(e.subarray(c + 1)) - f) * (u - c) } } function u(e, t, n = s.Z) { if (r = e.length) { if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e); if (t >= 1) return +n(e[r - 1], r - 1, e); var r, i = (r - 1) * t, o = Math.floor(i), a = +n(e[o], o, e); return a + (+n(e[o + 1], o + 1, e) - a) * (i - o) } } }, 32071: function(e, t, n) { "use strict"; n.d(t, { G9: function() { return s }, ZP: function() { return a }, ly: function() { return l } }); var r = Math.sqrt(50), i = Math.sqrt(10), o = Math.sqrt(2); function a(e, t, n) { var r, i, o, a, l = -1; if (n = +n, (e = +e) == (t = +t) && n > 0) return [e]; if ((r = t < e) && (i = e, e = t, t = i), 0 === (a = s(e, t, n)) || !isFinite(a)) return []; if (a > 0) { let u = Math.round(e / a), c = Math.round(t / a); for (u * a < e && ++u, c * a > t && --c, o = Array(i = c - u + 1); ++l < i;)o[l] = (u + l) * a } else { let f = Math.round(e * (a = -a)), d = Math.round(t * a); for (f / a < e && ++f, d / a > t && --d, o = Array(i = d - f + 1); ++l < i;)o[l] = (f + l) / a } return r && o.reverse(), o } function s(e, t, n) { var a = (t - e) / Math.max(0, n), s = Math.floor(Math.log(a) / Math.LN10), l = a / Math.pow(10, s); return s >= 0 ? (l >= r ? 10 : l >= i ? 5 : l >= o ? 2 : 1) * Math.pow(10, s) : -Math.pow(10, -s) / (l >= r ? 10 : l >= i ? 5 : l >= o ? 2 : 1) } function l(e, t, n) { var a = Math.abs(t - e) / Math.max(0, n), s = Math.pow(10, Math.floor(Math.log(a) / Math.LN10)), l = a / s; return l >= r ? s *= 10 : l >= i ? s *= 5 : l >= o && (s *= 2), t < e ? -s : s } }, 61743: function(e, t, n) { "use strict"; n.d(t, { i$: function() { return i }, g0: function() { return o } }); var r, i, o, a = n(97631), s = n(12370), l = n(76231), u = n(68603), c = n(97344), f = n(2908); function d(e) { if (0 <= e.y && e.y < 100) { var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L); return t.setFullYear(e.y), t } return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L) } function h(e) { if (0 <= e.y && e.y < 100) { var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L)); return t.setUTCFullYear(e.y), t } return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L)) } function p(e, t, n) { return { y: e, m: t, d: n, H: 0, M: 0, S: 0, L: 0 } } var v = { "-": "", _: " ", 0: "0" }, m = /^\s*\d+/, g = /^%/, y = /[\\^$*+?|[\]().{}]/g; function b(e, t, n) { var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", o = i.length; return r + (o < n ? Array(n - o + 1).join(t) + i : i) } function x(e) { return e.replace(y, "\\$&") } function w(e) { return RegExp("^(?:" + e.map(x).join("|") + ")", "i") } function _(e) { return new Map(e.map((e, t) => [e.toLowerCase(), t])) } function E(e, t, n) { var r = m.exec(t.slice(n, n + 1)); return r ? (e.w = +r[0], n + r[0].length) : -1 } function k(e, t, n) { var r = m.exec(t.slice(n, n + 1)); return r ? (e.u = +r[0], n + r[0].length) : -1 } function j(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.U = +r[0], n + r[0].length) : -1 } function S(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.V = +r[0], n + r[0].length) : -1 } function O(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.W = +r[0], n + r[0].length) : -1 } function C(e, t, n) { var r = m.exec(t.slice(n, n + 4)); return r ? (e.y = +r[0], n + r[0].length) : -1 } function A(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1 } function T(e, t, n) { var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6)); return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1 } function M(e, t, n) { var r = m.exec(t.slice(n, n + 1)); return r ? (e.q = 3 * r[0] - 3, n + r[0].length) : -1 } function P(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.m = r[0] - 1, n + r[0].length) : -1 } function N(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.d = +r[0], n + r[0].length) : -1 } function R(e, t, n) { var r = m.exec(t.slice(n, n + 3)); return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1 } function D(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.H = +r[0], n + r[0].length) : -1 } function L(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.M = +r[0], n + r[0].length) : -1 } function F(e, t, n) { var r = m.exec(t.slice(n, n + 2)); return r ? (e.S = +r[0], n + r[0].length) : -1 } function I(e, t, n) { var r = m.exec(t.slice(n, n + 3)); return r ? (e.L = +r[0], n + r[0].length) : -1 } function z(e, t, n) { var r = m.exec(t.slice(n, n + 6)); return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1 } function V(e, t, n) { var r = g.exec(t.slice(n, n + 1)); return r ? n + r[0].length : -1 } function B(e, t, n) { var r = m.exec(t.slice(n)); return r ? (e.Q = +r[0], n + r[0].length) : -1 } function Z(e, t, n) { var r = m.exec(t.slice(n)); return r ? (e.s = +r[0], n + r[0].length) : -1 } function U(e, t) { return b(e.getDate(), t, 2) } function H(e, t) { return b(e.getHours(), t, 2) } function W(e, t) { return b(e.getHours() % 12 || 12, t, 2) } function q(e, t) { return b(1 + u.Z.count((0, c.Z)(e), e), t, 3) } function $(e, t) { return b(e.getMilliseconds(), t, 3) } function Y(e, t) { return $(e, t) + "000" } function G(e, t) { return b(e.getMonth() + 1, t, 2) } function K(e, t) { return b(e.getMinutes(), t, 2) } function X(e, t) { return b(e.getSeconds(), t, 2) } function Q(e) { var t = e.getDay(); return 0 === t ? 7 : t } function J(e, t) { return b(l.OM.count((0, c.Z)(e) - 1, e), t, 2) } function ee(e) { var t = e.getDay(); return t >= 4 || 0 === t ? (0, l.bL)(e) : l.bL.ceil(e) } function et(e, t) { return e = ee(e), b(l.bL.count((0, c.Z)(e), e) + (4 === (0, c.Z)(e).getDay()), t, 2) } function en(e) { return e.getDay() } function er(e, t) { return b(l.wA.count((0, c.Z)(e) - 1, e), t, 2) } function ei(e, t) { return b(e.getFullYear() % 100, t, 2) } function eo(e, t) { return b((e = ee(e)).getFullYear() % 100, t, 2) } function ea(e, t) { return b(e.getFullYear() % 1e4, t, 4) } function es(e, t) { var n = e.getDay(); return b((e = n >= 4 || 0 === n ? (0, l.bL)(e) : l.bL.ceil(e)).getFullYear() % 1e4, t, 4) } function el(e) { var t = e.getTimezoneOffset(); return (t > 0 ? "-" : (t *= -1, "+")) + b(t / 60 | 0, "0", 2) + b(t % 60, "0", 2) } function eu(e, t) { return b(e.getUTCDate(), t, 2) } function ec(e, t) { return b(e.getUTCHours(), t, 2) } function ef(e, t) { return b(e.getUTCHours() % 12 || 12, t, 2) } function ed(e, t) { return b(1 + s.Z.count((0, f.Z)(e), e), t, 3) } function eh(e, t) { return b(e.getUTCMilliseconds(), t, 3) } function ep(e, t) { return eh(e, t) + "000" } function ev(e, t) { return b(e.getUTCMonth() + 1, t, 2) } function em(e, t) { return b(e.getUTCMinutes(), t, 2) } function eg(e, t) { return b(e.getUTCSeconds(), t, 2) } function ey(e) { var t = e.getUTCDay(); return 0 === t ? 7 : t } function eb(e, t) { return b(a.Ox.count((0, f.Z)(e) - 1, e), t, 2) } function ex(e) { var t = e.getUTCDay(); return t >= 4 || 0 === t ? (0, a.hB)(e) : a.hB.ceil(e) } function ew(e, t) { return e = ex(e), b(a.hB.count((0, f.Z)(e), e) + (4 === (0, f.Z)(e).getUTCDay()), t, 2) } function e_(e) { return e.getUTCDay() } function eE(e, t) { return b(a.l6.count((0, f.Z)(e) - 1, e), t, 2) } function ek(e, t) { return b(e.getUTCFullYear() % 100, t, 2) } function ej(e, t) { return b((e = ex(e)).getUTCFullYear() % 100, t, 2) } function eS(e, t) { return b(e.getUTCFullYear() % 1e4, t, 4) } function eO(e, t) { var n = e.getUTCDay(); return b((e = n >= 4 || 0 === n ? (0, a.hB)(e) : a.hB.ceil(e)).getUTCFullYear() % 1e4, t, 4) } function eC() { return "+0000" } function eA() { return "%" } function eT(e) { return +e } function eM(e) { return Math.floor(+e / 1e3) } i = (r = function(e) { var t = e.dateTime, n = e.date, r = e.time, i = e.periods, o = e.days, c = e.shortDays, f = e.months, m = e.shortMonths, g = w(i), y = _(i), b = w(o), x = _(o), ee = w(c), ex = _(c), eP = w(f), eN = _(f), eR = w(m), eD = _(m), eL = { a: function(e) { return c[e.getDay()] }, A: function(e) { return o[e.getDay()] }, b: function(e) { return m[e.getMonth()] }, B: function(e) { return f[e.getMonth()] }, c: null, d: U, e: U, f: Y, g: eo, G: es, H: H, I: W, j: q, L: $, m: G, M: K, p: function(e) { return i[+(e.getHours() >= 12)] }, q: function(e) { return 1 + ~~(e.getMonth() / 3) }, Q: eT, s: eM, S: X, u: Q, U: J, V: et, w: en, W: er, x: null, X: null, y: ei, Y: ea, Z: el, "%": eA }, eF = { a: function(e) { return c[e.getUTCDay()] }, A: function(e) { return o[e.getUTCDay()] }, b: function(e) { return m[e.getUTCMonth()] }, B: function(e) { return f[e.getUTCMonth()] }, c: null, d: eu, e: eu, f: ep, g: ej, G: eO, H: ec, I: ef, j: ed, L: eh, m: ev, M: em, p: function(e) { return i[+(e.getUTCHours() >= 12)] }, q: function(e) { return 1 + ~~(e.getUTCMonth() / 3) }, Q: eT, s: eM, S: eg, u: ey, U: eb, V: ew, w: e_, W: eE, x: null, X: null, y: ek, Y: eS, Z: eC, "%": eA }, eI = { a: function(e, t, n) { var r = ee.exec(t.slice(n)); return r ? (e.w = ex.get(r[0].toLowerCase()), n + r[0].length) : -1 }, A: function(e, t, n) { var r = b.exec(t.slice(n)); return r ? (e.w = x.get(r[0].toLowerCase()), n + r[0].length) : -1 }, b: function(e, t, n) { var r = eR.exec(t.slice(n)); return r ? (e.m = eD.get(r[0].toLowerCase()), n + r[0].length) : -1 }, B: function(e, t, n) { var r = eP.exec(t.slice(n)); return r ? (e.m = eN.get(r[0].toLowerCase()), n + r[0].length) : -1 }, c: function(e, n, r) { return eB(e, t, n, r) }, d: N, e: N, f: z, g: A, G: C, H: D, I: D, j: R, L: I, m: P, M: L, p: function(e, t, n) { var r = g.exec(t.slice(n)); return r ? (e.p = y.get(r[0].toLowerCase()), n + r[0].length) : -1 }, q: M, Q: B, s: Z, S: F, u: k, U: j, V: S, w: E, W: O, x: function(e, t, r) { return eB(e, n, t, r) }, X: function(e, t, n) { return eB(e, r, t, n) }, y: A, Y: C, Z: T, "%": V }; function ez(e, t) { return function(n) { var r, i, o, a = [], s = -1, l = 0, u = e.length; for (n instanceof Date || (n = new Date(+n)); ++s < u;)37 === e.charCodeAt(s) && (a.push(e.slice(l, s)), null != (i = v[r = e.charAt(++s)]) ? r = e.charAt(++s) : i = "e" === r ? " " : "0", (o = t[r]) && (r = o(n, i)), a.push(r), l = s + 1); return a.push(e.slice(l, s)), a.join("") } } function eV(e, t) { return function(n) { var r, i, o = p(1900, void 0, 1); if (eB(o, e, n += "", 0) != n.length) return null; if ("Q" in o) return new Date(o.Q); if ("s" in o) return new Date(1e3 * o.s + ("L" in o ? o.L : 0)); if (!t || "Z" in o || (o.Z = 0), "p" in o && (o.H = o.H % 12 + 12 * o.p), void 0 === o.m && (o.m = "q" in o ? o.q : 0), "V" in o) { if (o.V < 1 || o.V > 53) return null; "w" in o || (o.w = 1), "Z" in o ? (r = (i = (r = h(p(o.y, 0, 1))).getUTCDay()) > 4 || 0 === i ? a.l6.ceil(r) : (0, a.l6)(r), r = s.Z.offset(r, (o.V - 1) * 7), o.y = r.getUTCFullYear(), o.m = r.getUTCMonth(), o.d = r.getUTCDate() + (o.w + 6) % 7) : (r = (i = (r = d(p(o.y, 0, 1))).getDay()) > 4 || 0 === i ? l.wA.ceil(r) : (0, l.wA)(r), r = u.Z.offset(r, (o.V - 1) * 7), o.y = r.getFullYear(), o.m = r.getMonth(), o.d = r.getDate() + (o.w + 6) % 7) } else ("W" in o || "U" in o) && ("w" in o || (o.w = "u" in o ? o.u % 7 : "W" in o ? 1 : 0), i = "Z" in o ? h(p(o.y, 0, 1)).getUTCDay() : d(p(o.y, 0, 1)).getDay(), o.m = 0, o.d = "W" in o ? (o.w + 6) % 7 + 7 * o.W - (i + 5) % 7 : o.w + 7 * o.U - (i + 6) % 7); return "Z" in o ? (o.H += o.Z / 100 | 0, o.M += o.Z % 100, h(o)) : d(o) } } function eB(e, t, n, r) { for (var i, o, a = 0, s = t.length, l = n.length; a < s;) { if (r >= l) return -1; if (37 === (i = t.charCodeAt(a++))) { if (!(o = eI[(i = t.charAt(a++)) in v ? t.charAt(a++) : i]) || (r = o(e, n, r)) < 0) return -1 } else if (i != n.charCodeAt(r++)) return -1 } return r } return eL.x = ez(n, eL), eL.X = ez(r, eL), eL.c = ez(t, eL), eF.x = ez(n, eF), eF.X = ez(r, eF), eF.c = ez(t, eF), { format: function(e) { var t = ez(e += "", eL); return t.toString = function() { return e }, t }, parse: function(e) { var t = eV(e += "", !1); return t.toString = function() { return e }, t }, utcFormat: function(e) { var t = ez(e += "", eF); return t.toString = function() { return e }, t }, utcParse: function(e) { var t = eV(e += "", !0); return t.toString = function() { return e }, t } } }({ dateTime: "%x, %X", date: "%-m/%-d/%Y", time: "%-I:%M:%S %p", periods: ["AM", "PM"], days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] })).format, r.parse, o = r.utcFormat, r.utcParse }, 48623: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o }, x: function() { return a } }); var r = n(22274), i = n(34130); function o() { var e, t, n = (0, i.Z)().unknown(void 0), a = n.domain, s = n.range, l = 0, u = 1, c = !1, f = 0, d = 0, h = .5; function p() { var n = a().length, r = u < l, i = r ? u : l, o = r ? l : u; e = (o - i) / Math.max(1, n - f + 2 * d), c && (e = Math.floor(e)), i += (o - i - e * (n - f)) * h, t = e * (1 - f), c && (i = Math.round(i), t = Math.round(t)); var p = (function(e, t, n) { e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n; for (var r = -1, i = 0 | Math.max(0, Math.ceil((t - e) / n)), o = Array(i); ++r < i;)o[r] = e + r * n; return o })(n).map(function(t) { return i + e * t }); return s(r ? p.reverse() : p) } return delete n.unknown, n.domain = function(e) { return arguments.length ? (a(e), p()) : a() }, n.range = function(e) { return arguments.length ? ([l, u] = e, l = +l, u = +u, p()) : [l, u] }, n.rangeRound = function(e) { return [l, u] = e, l = +l, u = +u, c = !0, p() }, n.bandwidth = function() { return t }, n.step = function() { return e }, n.round = function(e) { return arguments.length ? (c = !!e, p()) : c }, n.padding = function(e) { return arguments.length ? (f = Math.min(1, d = +e), p()) : f }, n.paddingInner = function(e) { return arguments.length ? (f = Math.min(1, e), p()) : f }, n.paddingOuter = function(e) { return arguments.length ? (d = +e, p()) : d }, n.align = function(e) { return arguments.length ? (h = Math.max(0, Math.min(1, e)), p()) : h }, n.copy = function() { return o(a(), [l, u]).round(c).paddingInner(f).paddingOuter(d).align(h) }, r.o.apply(p(), arguments) } function a() { return function e(t) { var n = t.copy; return t.padding = t.paddingOuter, delete t.paddingInner, delete t.paddingOuter, t.copy = function() { return e(n()) }, t }(o.apply(null, arguments).paddingInner(1)) } }, 70552: function(e, t, n) { "use strict"; n.d(t, { JG: function() { return h }, ZP: function() { return v }, yR: function() { return u }, l4: function() { return p } }); var r = n(98038), i = n(69777), o = n(98876), a = n(74672), s = n(5497), l = [0, 1]; function u(e) { return e } function c(e, t) { var n; return (t -= e = +e) ? function(n) { return (n - e) / t } : (n = isNaN(t) ? NaN : .5, function() { return n }) } function f(e, t, n) { var r = e[0], i = e[1], o = t[0], a = t[1]; return i < r ? (r = c(i, r), o = n(a, o)) : (r = c(r, i), o = n(o, a)), function(e) { return o(r(e)) } } function d(e, t, n) { var i = Math.min(e.length, t.length) - 1, o = Array(i), a = Array(i), s = -1; for (e[i] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++s < i;)o[s] = c(e[s], e[s + 1]), a[s] = n(t[s], t[s + 1]); return function(t) { var n = (0, r.ZP)(e, t, 1, i) - 1; return a[n](o[n](t)) } } function h(e, t) { return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown()) } function p() { var e, t, n, r, c, h, p = l, v = l, m = i.Z, g = u; function y() { var e, t, n, i = Math.min(p.length, v.length); return g !== u && ((e = p[0]) > (t = p[i - 1]) && (n = e, e = t, t = n), g = function(n) { return Math.max(e, Math.min(t, n)) }), r = i > 2 ? d : f, c = h = null, b } function b(t) { return null == t || isNaN(t = +t) ? n : (c || (c = r(p.map(e), v, m)))(e(g(t))) } return b.invert = function(n) { return g(t((h || (h = r(v, p.map(e), o.Z)))(n))) }, b.domain = function(e) { return arguments.length ? (p = Array.from(e, s.Z), y()) : p.slice() }, b.range = function(e) { return arguments.length ? (v = Array.from(e), y()) : v.slice() }, b.rangeRound = function(e) { return v = Array.from(e), m = a.Z, y() }, b.clamp = function(e) { return arguments.length ? (g = !!e || u, y()) : g !== u }, b.interpolate = function(e) { return arguments.length ? (m = e, y()) : m }, b.unknown = function(e) { return arguments.length ? (n = e, b) : n }, function(n, r) { return e = n, t = r, y() } } function v() { return p()(u, u) } }, 79870: function(e, t, n) { "use strict"; n.r(t), n.d(t, { scaleBand: function() { return r.Z }, scaleDiverging: function() { return function e() { var t = (0, i.Q)(C()(y.yR)); return t.copy = function() { return w(t, e()) }, b.O.apply(t, arguments) } }, scaleDivergingLog: function() { return function e() { var t = (0, a.Q)(C()).domain([.1, 1, 10]); return t.copy = function() { return w(t, e()).base(t.base()) }, b.O.apply(t, arguments) } }, scaleDivergingPow: function() { return A }, scaleDivergingSqrt: function() { return T }, scaleDivergingSymlog: function() { return function e() { var t = (0, s.P)(C()); return t.copy = function() { return w(t, e()).constant(t.constant()) }, b.O.apply(t, arguments) } }, scaleIdentity: function() { return function e(t) { var n; function r(e) { return null == e || isNaN(e = +e) ? n : e } return r.invert = r, r.domain = r.range = function(e) { return arguments.length ? (t = Array.from(e, o.Z), r) : t.slice() }, r.unknown = function(e) { return arguments.length ? (n = e, r) : n }, r.copy = function() { return e(t).unknown(n) }, t = arguments.length ? Array.from(t, o.Z) : [0, 1], (0, i.Q)(r) } }, scaleImplicit: function() { return l.O }, scaleLinear: function() { return i.Z }, scaleLog: function() { return a.Z }, scaleOrdinal: function() { return l.Z }, scalePoint: function() { return r.x }, scalePow: function() { return u.ZP }, scaleQuantile: function() { return f.Z }, scaleQuantize: function() { return d.Z }, scaleRadial: function() { return c.Z }, scaleSequential: function() { return function e() { var t = (0, i.Q)(x()(y.yR)); return t.copy = function() { return w(t, e()) }, b.O.apply(t, arguments) } }, scaleSequentialLog: function() { return function e() { var t = (0, a.Q)(x()).domain([1, 10]); return t.copy = function() { return w(t, e()).base(t.base()) }, b.O.apply(t, arguments) } }, scaleSequentialPow: function() { return _ }, scaleSequentialQuantile: function() { return function e() { var t = [], n = y.yR; function r(e) { if (null != e && !isNaN(e = +e)) return n(((0, k.ZP)(t, e, 1) - 1) / (t.length - 1)) } return r.domain = function(e) { if (!arguments.length) return t.slice(); for (let n of (t = [], e)) null == n || isNaN(n = +n) || t.push(n); return t.sort(j.Z), r }, r.interpolator = function(e) { return arguments.length ? (n = e, r) : n }, r.range = function() { return t.map((e, r) => n(r / (t.length - 1))) }, r.quantiles = function(e) { return Array.from({ length: e + 1 }, (n, r) => (0, S.Z)(t, r / e)) }, r.copy = function() { return e(n).domain(t) }, b.O.apply(r, arguments) } }, scaleSequentialSqrt: function() { return E }, scaleSequentialSymlog: function() { return function e() { var t = (0, s.P)(x()); return t.copy = function() { return w(t, e()).constant(t.constant()) }, b.O.apply(t, arguments) } }, scaleSqrt: function() { return u._b }, scaleSymlog: function() { return s.Z }, scaleThreshold: function() { return h.Z }, scaleTime: function() { return p.Z }, scaleUtc: function() { return v.Z }, tickFormat: function() { return M.Z } }); var r = n(48623), i = n(93963), o = n(5497), a = n(13641), s = n(46494), l = n(34130), u = n(72851), c = n(19637), f = n(96417), d = n(73408), h = n(74995), p = n(37932), v = n(83803), m = n(69777), g = n(74672), y = n(70552), b = n(22274); function x() { var e, t, n, r, i, o = 0, a = 1, s = y.yR, l = !1; function u(t) { return null == t || isNaN(t = +t) ? i : s(0 === n ? .5 : (t = (r(t) - e) * n, l ? Math.max(0, Math.min(1, t)) : t)) } function c(e) { return function(t) { var n, r; return arguments.length ? ([n, r] = t, s = e(n, r), u) : [s(0), s(1)] } } return u.domain = function(i) { return arguments.length ? ([o, a] = i, n = (e = r(o = +o)) === (t = r(a = +a)) ? 0 : 1 / (t - e), u) : [o, a] }, u.clamp = function(e) { return arguments.length ? (l = !!e, u) : l }, u.interpolator = function(e) { return arguments.length ? (s = e, u) : s }, u.range = c(m.Z), u.rangeRound = c(g.Z), u.unknown = function(e) { return arguments.length ? (i = e, u) : i }, function(i) { return r = i, n = (e = i(o)) === (t = i(a)) ? 0 : 1 / (t - e), u } } function w(e, t) { return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown()) } function _() { var e = (0, u.Hh)(x()); return e.copy = function() { return w(e, _()).exponent(e.exponent()) }, b.O.apply(e, arguments) } function E() { return _.apply(null, arguments).exponent(.5) } var k = n(98038), j = n(1169), S = n(33907), O = n(87475); function C() { var e, t, n, r, i, o, a, s = 0, l = .5, u = 1, c = 1, f = y.yR, d = !1; function h(e) { return isNaN(e = +e) ? a : (e = .5 + ((e = +o(e)) - t) * (c * e < c * t ? r : i), f(d ? Math.max(0, Math.min(1, e)) : e)) } function p(e) { return function(t) { var n, r, i; return arguments.length ? ([n, r, i] = t, f = (0, O.Z)(e, [n, r, i]), h) : [f(0), f(.5), f(1)] } } return h.domain = function(a) { return arguments.length ? ([s, l, u] = a, e = o(s = +s), t = o(l = +l), n = o(u = +u), r = e === t ? 0 : .5 / (t - e), i = t === n ? 0 : .5 / (n - t), c = t < e ? -1 : 1, h) : [s, l, u] }, h.clamp = function(e) { return arguments.length ? (d = !!e, h) : d }, h.interpolator = function(e) { return arguments.length ? (f = e, h) : f }, h.range = p(m.Z), h.rangeRound = p(g.Z), h.unknown = function(e) { return arguments.length ? (a = e, h) : a }, function(a) { return o = a, e = a(s), t = a(l), n = a(u), r = e === t ? 0 : .5 / (t - e), i = t === n ? 0 : .5 / (n - t), c = t < e ? -1 : 1, h } } function A() { var e = (0, u.Hh)(C()); return e.copy = function() { return w(e, A()).exponent(e.exponent()) }, b.O.apply(e, arguments) } function T() { return A.apply(null, arguments).exponent(.5) } var M = n(62498) }, 22274: function(e, t, n) { "use strict"; function r(e, t) { switch (arguments.length) { case 0: break; case 1: this.range(e); break; default: this.range(t).domain(e) }return this } function i(e, t) { switch (arguments.length) { case 0: break; case 1: "function" == typeof e ? this.interpolator(e) : this.range(e); break; default: this.domain(e), "function" == typeof t ? this.interpolator(t) : this.range(t) }return this } n.d(t, { O: function() { return i }, o: function() { return r } }) }, 93963: function(e, t, n) { "use strict"; n.d(t, { Q: function() { return s }, Z: function() { return function e() { var t = (0, i.ZP)(); return t.copy = function() { return (0, i.JG)(t, e()) }, o.o.apply(t, arguments), s(t) } } }); var r = n(32071), i = n(70552), o = n(22274), a = n(62498); function s(e) { var t = e.domain; return e.ticks = function(e) { var n = t(); return (0, r.ZP)(n[0], n[n.length - 1], null == e ? 10 : e) }, e.tickFormat = function(e, n) { var r = t(); return (0, a.Z)(r[0], r[r.length - 1], null == e ? 10 : e, n) }, e.nice = function(n) { null == n && (n = 10); var i, o, a = t(), s = 0, l = a.length - 1, u = a[s], c = a[l], f = 10; for (c < u && (o = u, u = c, c = o, o = s, s = l, l = o); f-- > 0;) { if ((o = (0, r.G9)(u, c, n)) === i) return a[s] = u, a[l] = c, t(a); if (o > 0) u = Math.floor(u / o) * o, c = Math.ceil(c / o) * o; else if (o < 0) u = Math.ceil(u * o) / o, c = Math.floor(c * o) / o; else break; i = o } return e }, e } }, 13641: function(e, t, n) { "use strict"; n.d(t, { Q: function() { return p }, Z: function() { return function e() { var t = p((0, a.l4)()).domain([1, 10]); return t.copy = function() { return (0, a.JG)(t, e()).base(t.base()) }, s.o.apply(t, arguments), t } } }); var r = n(32071), i = n(11192), o = n(10070), a = n(70552), s = n(22274); function l(e) { return Math.log(e) } function u(e) { return Math.exp(e) } function c(e) { return -Math.log(-e) } function f(e) { return -Math.exp(-e) } function d(e) { return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e } function h(e) { return function(t) { return -e(-t) } } function p(e) { var t, n, a = e(l, u), s = a.domain, p = 10; function v() { var r, i; return t = (r = p) === Math.E ? Math.log : 10 === r && Math.log10 || 2 === r && Math.log2 || (r = Math.log(r), function(e) { return Math.log(e) / r }), n = 10 === (i = p) ? d : i === Math.E ? Math.exp : function(e) { return Math.pow(i, e) }, s()[0] < 0 ? (t = h(t), n = h(n), e(c, f)) : e(l, u), a } return a.base = function(e) { return arguments.length ? (p = +e, v()) : p }, a.domain = function(e) { return arguments.length ? (s(e), v()) : s() }, a.ticks = function(e) { var i, o = s(), a = o[0], l = o[o.length - 1]; (i = l < a) && (d = a, a = l, l = d); var u, c, f, d = t(a), h = t(l), v = null == e ? 10 : +e, m = []; if (!(p % 1) && h - d < v) { if (d = Math.floor(d), h = Math.ceil(h), a > 0) { for (; d <= h; ++d)for (c = 1, u = n(d); c < p; ++c)if (!((f = u * c) < a)) { if (f > l) break; m.push(f) } } else for (; d <= h; ++d)for (c = p - 1, u = n(d); c >= 1; --c)if (!((f = u * c) < a)) { if (f > l) break; m.push(f) } 2 * m.length < v && (m = (0, r.ZP)(a, l, v)) } else m = (0, r.ZP)(d, h, Math.min(h - d, v)).map(n); return i ? m.reverse() : m }, a.tickFormat = function(e, r) { if (null == r && (r = 10 === p ? ".0e" : ","), "function" != typeof r && (r = (0, i.WU)(r)), e === 1 / 0) return r; null == e && (e = 10); var o = Math.max(1, p * e / a.ticks().length); return function(e) { var i = e / n(Math.round(t(e))); return i * p < p - .5 && (i *= p), i <= o ? r(e) : "" } }, a.nice = function() { return s((0, o.Z)(s(), { floor: function(e) { return n(Math.floor(t(e))) }, ceil: function(e) { return n(Math.ceil(t(e))) } })) }, a } }, 10070: function(e, t, n) { "use strict"; function r(e, t) { e = e.slice(); var n, r = 0, i = e.length - 1, o = e[r], a = e[i]; return a < o && (n = r, r = i, i = n, n = o, o = a, a = n), e[r] = t.floor(o), e[i] = t.ceil(a), e } n.d(t, { Z: function() { return r } }) }, 5497: function(e, t, n) { "use strict"; function r(e) { return +e } n.d(t, { Z: function() { return r } }) }, 34130: function(e, t, n) { "use strict"; n.d(t, { O: function() { return i }, Z: function() { return function e() { var t = new Map, n = [], o = [], a = i; function s(e) { var r = e + "", s = t.get(r); if (!s) { if (a !== i) return a; t.set(r, s = n.push(e)) } return o[(s - 1) % o.length] } return s.domain = function(e) { if (!arguments.length) return n.slice(); for (let r of (n = [], t = new Map, e)) { let i = r + ""; t.has(i) || t.set(i, n.push(r)) } return s }, s.range = function(e) { return arguments.length ? (o = Array.from(e), s) : o.slice() }, s.unknown = function(e) { return arguments.length ? (a = e, s) : a }, s.copy = function() { return e(n, o).unknown(a) }, r.o.apply(s, arguments), s } } }); var r = n(22274); let i = Symbol("implicit") }, 72851: function(e, t, n) { "use strict"; n.d(t, { Hh: function() { return u }, ZP: function() { return c }, _b: function() { return f } }); var r = n(93963), i = n(70552), o = n(22274); function a(e) { return function(t) { return t < 0 ? -Math.pow(-t, e) : Math.pow(t, e) } } function s(e) { return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e) } function l(e) { return e < 0 ? -e * e : e * e } function u(e) { var t = e(i.yR, i.yR), n = 1; return t.exponent = function(t) { return arguments.length ? 1 == (n = +t) ? e(i.yR, i.yR) : .5 === n ? e(s, l) : e(a(n), a(1 / n)) : n }, (0, r.Q)(t) } function c() { var e = u((0, i.l4)()); return e.copy = function() { return (0, i.JG)(e, c()).exponent(e.exponent()) }, o.o.apply(e, arguments), e } function f() { return c.apply(null, arguments).exponent(.5) } }, 96417: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return function e() { var t, n = [], s = [], l = []; function u() { var e = 0, t = Math.max(1, s.length); for (l = Array(t - 1); ++e < t;)l[e - 1] = (0, r.s)(n, e / t); return c } function c(e) { return null == e || isNaN(e = +e) ? t : s[(0, i.ZP)(l, e)] } return c.invertExtent = function(e) { var t = s.indexOf(e); return t < 0 ? [NaN, NaN] : [t > 0 ? l[t - 1] : n[0], t < l.length ? l[t] : n[n.length - 1]] }, c.domain = function(e) { if (!arguments.length) return n.slice(); for (let t of (n = [], e)) null == t || isNaN(t = +t) || n.push(t); return n.sort(o.Z), u() }, c.range = function(e) { return arguments.length ? (s = Array.from(e), u()) : s.slice() }, c.unknown = function(e) { return arguments.length ? (t = e, c) : t }, c.quantiles = function() { return l.slice() }, c.copy = function() { return e().domain(n).range(s).unknown(t) }, a.o.apply(c, arguments) } } }); var r = n(33907), i = n(98038), o = n(1169), a = n(22274) }, 73408: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return function e() { var t, n = 0, a = 1, s = 1, l = [.5], u = [0, 1]; function c(e) { return null != e && e <= e ? u[(0, r.ZP)(l, e, 0, s)] : t } function f() { var e = -1; for (l = Array(s); ++e < s;)l[e] = ((e + 1) * a - (e - s) * n) / (s + 1); return c } return c.domain = function(e) { return arguments.length ? ([n, a] = e, n = +n, a = +a, f()) : [n, a] }, c.range = function(e) { return arguments.length ? (s = (u = Array.from(e)).length - 1, f()) : u.slice() }, c.invertExtent = function(e) { var t = u.indexOf(e); return t < 0 ? [NaN, NaN] : t < 1 ? [n, l[0]] : t >= s ? [l[s - 1], a] : [l[t - 1], l[t]] }, c.unknown = function(e) { return arguments.length && (t = e), c }, c.thresholds = function() { return l.slice() }, c.copy = function() { return e().domain([n, a]).range(u).unknown(t) }, o.o.apply((0, i.Q)(c), arguments) } } }); var r = n(98038), i = n(93963), o = n(22274) }, 19637: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return function e() { var t, n = (0, r.ZP)(), l = [0, 1], u = !1; function c(e) { var r, i = Math.sign(r = n(e)) * Math.sqrt(Math.abs(r)); return isNaN(i) ? t : u ? Math.round(i) : i } return c.invert = function(e) { return n.invert(s(e)) }, c.domain = function(e) { return arguments.length ? (n.domain(e), c) : n.domain() }, c.range = function(e) { return arguments.length ? (n.range((l = Array.from(e, a.Z)).map(s)), c) : l.slice() }, c.rangeRound = function(e) { return c.range(e).round(!0) }, c.round = function(e) { return arguments.length ? (u = !!e, c) : u }, c.clamp = function(e) { return arguments.length ? (n.clamp(e), c) : n.clamp() }, c.unknown = function(e) { return arguments.length ? (t = e, c) : t }, c.copy = function() { return e(n.domain(), l).round(u).clamp(n.clamp()).unknown(t) }, i.o.apply(c, arguments), (0, o.Q)(c) } } }); var r = n(70552), i = n(22274), o = n(93963), a = n(5497); function s(e) { return Math.sign(e) * e * e } }, 46494: function(e, t, n) { "use strict"; n.d(t, { P: function() { return l }, Z: function() { return function e() { var t = l((0, i.l4)()); return t.copy = function() { return (0, i.JG)(t, e()).constant(t.constant()) }, o.o.apply(t, arguments) } } }); var r = n(93963), i = n(70552), o = n(22274); function a(e) { return function(t) { return Math.sign(t) * Math.log1p(Math.abs(t / e)) } } function s(e) { return function(t) { return Math.sign(t) * Math.expm1(Math.abs(t)) * e } } function l(e) { var t = 1, n = e(a(1), s(t)); return n.constant = function(n) { return arguments.length ? e(a(t = +n), s(t)) : t }, (0, r.Q)(n) } }, 74995: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return function e() { var t, n = [.5], o = [0, 1], a = 1; function s(e) { return null != e && e <= e ? o[(0, r.ZP)(n, e, 0, a)] : t } return s.domain = function(e) { return arguments.length ? (a = Math.min((n = Array.from(e)).length, o.length - 1), s) : n.slice() }, s.range = function(e) { return arguments.length ? (o = Array.from(e), a = Math.min(n.length, o.length - 1), s) : o.slice() }, s.invertExtent = function(e) { var t = o.indexOf(e); return [n[t - 1], n[t]] }, s.unknown = function(e) { return arguments.length ? (t = e, s) : t }, s.copy = function() { return e().domain(n).range(o).unknown(t) }, i.o.apply(s, arguments) } } }); var r = n(98038), i = n(22274) }, 62498: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return s } }); var r = n(32071), i = n(52328), o = n(23733), a = n(11192); function s(e, t, n, s) { var l, u, c, f = (0, r.ly)(e, t, n); switch ((s = (0, i.Z)(null == s ? ",f" : s)).type) { case "s": var d = Math.max(Math.abs(e), Math.abs(t)); return null != s.precision || isNaN(c = Math.max(0, 3 * Math.max(-8, Math.min(8, Math.floor((0, o.Z)(d) / 3))) - (0, o.Z)(Math.abs(f)))) || (s.precision = c), (0, a.jH)(s, d); case "": case "e": case "g": case "p": case "r": null != s.precision || isNaN((l = f, u = Math.abs(u = Math.max(Math.abs(e), Math.abs(t))) - (l = Math.abs(l)), c = Math.max(0, (0, o.Z)(u) - (0, o.Z)(l)) + 1)) || (s.precision = c - ("e" === s.type)); break; case "f": case "%": null != s.precision || isNaN(c = Math.max(0, -(0, o.Z)(Math.abs(f)))) || (s.precision = c - ("%" === s.type) * 2) }return (0, a.WU)(s) } }, 37932: function(e, t, n) { "use strict"; n.d(t, { Y: function() { return g }, Z: function() { return y } }); var r = n(1381), i = n(97344), o = n(50690), a = n(76231), s = n(68603), l = n(54076), u = n(18450), c = n(52546), f = n(61743), d = n(70552), h = n(22274), p = n(10070); function v(e) { return new Date(e) } function m(e) { return e instanceof Date ? +e : +new Date(+e) } function g(e, t, n, r, i, o, a, s, l, u) { var c = (0, d.ZP)(), f = c.invert, h = c.domain, y = u(".%L"), b = u(":%S"), x = u("%I:%M"), w = u("%I %p"), _ = u("%a %d"), E = u("%b %d"), k = u("%B"), j = u("%Y"); function S(e) { return (l(e) < e ? y : s(e) < e ? b : a(e) < e ? x : o(e) < e ? w : r(e) < e ? i(e) < e ? _ : E : n(e) < e ? k : j)(e) } return c.invert = function(e) { return new Date(f(e)) }, c.domain = function(e) { return arguments.length ? h(Array.from(e, m)) : h().map(v) }, c.ticks = function(t) { var n = h(); return e(n[0], n[n.length - 1], null == t ? 10 : t) }, c.tickFormat = function(e, t) { return null == t ? S : u(t) }, c.nice = function(e) { var n = h(); return e && "function" == typeof e.range || (e = t(n[0], n[n.length - 1], null == e ? 10 : e)), e ? h((0, p.Z)(n, e)) : c }, c.copy = function() { return (0, d.JG)(c, g(e, t, n, r, i, o, a, s, l, u)) }, c } function y() { return h.o.apply(g(r.jK, r._g, i.Z, o.Z, a.OM, s.Z, l.Z, u.Z, c.Z, f.i$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments) } }, 83803: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return p } }); var r = n(1381), i = n(2908), o = n(94758), a = n(97631), s = n(12370), l = n(28239), u = n(52004), c = n(52546), f = n(61743), d = n(37932), h = n(22274); function p() { return h.o.apply((0, d.Y)(r.WG, r.jo, i.Z, o.Z, a.Ox, s.Z, l.Z, u.Z, c.Z, f.g0).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments) } }, 38764: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return d } }); var r = n(91672), i = n(33554), o = n(15); function a(e) { return e.innerRadius } function s(e) { return e.outerRadius } function l(e) { return e.startAngle } function u(e) { return e.endAngle } function c(e) { return e && e.padAngle } function f(e, t, n, r, i, a, s) { var l = e - n, u = t - r, c = (s ? a : -a) / (0, o._b)(l * l + u * u), f = c * u, d = -c * l, h = e + f, p = t + d, v = n + f, m = r + d, g = (h + v) / 2, y = (p + m) / 2, b = v - h, x = m - p, w = b * b + x * x, _ = i - a, E = h * m - v * p, k = (x < 0 ? -1 : 1) * (0, o._b)((0, o.Fp)(0, _ * _ * w - E * E)), j = (E * x - b * k) / w, S = (-E * b - x * k) / w, O = (E * x + b * k) / w, C = (-E * b + x * k) / w, A = j - g, T = S - y, M = O - g, P = C - y; return A * A + T * T > M * M + P * P && (j = O, S = C), { cx: j, cy: S, x01: -f, y01: -d, x11: j * (i / _ - 1), y11: S * (i / _ - 1) } } function d() { var e = a, t = s, n = (0, i.Z)(0), d = null, h = l, p = u, v = c, m = null; function g() { var i, a, s = +e.apply(this, arguments), l = +t.apply(this, arguments), u = h.apply(this, arguments) - o.ou, c = p.apply(this, arguments) - o.ou, g = (0, o.Wn)(c - u), y = c > u; if (m || (m = i = (0, r.Z)()), l < s && (a = l, l = s, s = a), l > o.Ho) { if (g > o.BZ - o.Ho) m.moveTo(l * (0, o.mC)(u), l * (0, o.O$)(u)), m.arc(0, 0, l, u, c, !y), s > o.Ho && (m.moveTo(s * (0, o.mC)(c), s * (0, o.O$)(c)), m.arc(0, 0, s, c, u, y)); else { var b, x, w = u, _ = c, E = u, k = c, j = g, S = g, O = v.apply(this, arguments) / 2, C = O > o.Ho && (d ? +d.apply(this, arguments) : (0, o._b)(s * s + l * l)), A = (0, o.VV)((0, o.Wn)(l - s) / 2, +n.apply(this, arguments)), T = A, M = A; if (C > o.Ho) { var P = (0, o.ZR)(C / s * (0, o.O$)(O)), N = (0, o.ZR)(C / l * (0, o.O$)(O)); (j -= 2 * P) > o.Ho ? (P *= y ? 1 : -1, E += P, k -= P) : (j = 0, E = k = (u + c) / 2), (S -= 2 * N) > o.Ho ? (N *= y ? 1 : -1, w += N, _ -= N) : (S = 0, w = _ = (u + c) / 2) } var R = l * (0, o.mC)(w), D = l * (0, o.O$)(w), L = s * (0, o.mC)(k), F = s * (0, o.O$)(k); if (A > o.Ho) { var I, z = l * (0, o.mC)(_), V = l * (0, o.O$)(_), B = s * (0, o.mC)(E), Z = s * (0, o.O$)(E); if (g < o.pi && (I = function(e, t, n, r, i, a, s, l) { var u = n - e, c = r - t, f = s - i, d = l - a, h = d * u - f * c; if (!(h * h < o.Ho)) return h = (f * (t - a) - d * (e - i)) / h, [e + h * u, t + h * c] }(R, D, B, Z, z, V, L, F))) { var U = R - I[0], H = D - I[1], W = z - I[0], q = V - I[1], $ = 1 / (0, o.O$)((0, o.Kh)((U * W + H * q) / ((0, o._b)(U * U + H * H) * (0, o._b)(W * W + q * q))) / 2), Y = (0, o._b)(I[0] * I[0] + I[1] * I[1]); T = (0, o.VV)(A, (s - Y) / ($ - 1)), M = (0, o.VV)(A, (l - Y) / ($ + 1)) } } S > o.Ho ? M > o.Ho ? (b = f(B, Z, R, D, l, M, y), x = f(z, V, L, F, l, M, y), m.moveTo(b.cx + b.x01, b.cy + b.y01), M < A ? m.arc(b.cx, b.cy, M, (0, o.fv)(b.y01, b.x01), (0, o.fv)(x.y01, x.x01), !y) : (m.arc(b.cx, b.cy, M, (0, o.fv)(b.y01, b.x01), (0, o.fv)(b.y11, b.x11), !y), m.arc(0, 0, l, (0, o.fv)(b.cy + b.y11, b.cx + b.x11), (0, o.fv)(x.cy + x.y11, x.cx + x.x11), !y), m.arc(x.cx, x.cy, M, (0, o.fv)(x.y11, x.x11), (0, o.fv)(x.y01, x.x01), !y))) : (m.moveTo(R, D), m.arc(0, 0, l, w, _, !y)) : m.moveTo(R, D), s > o.Ho && j > o.Ho ? T > o.Ho ? (b = f(L, F, z, V, s, -T, y), x = f(R, D, B, Z, s, -T, y), m.lineTo(b.cx + b.x01, b.cy + b.y01), T < A ? m.arc(b.cx, b.cy, T, (0, o.fv)(b.y01, b.x01), (0, o.fv)(x.y01, x.x01), !y) : (m.arc(b.cx, b.cy, T, (0, o.fv)(b.y01, b.x01), (0, o.fv)(b.y11, b.x11), !y), m.arc(0, 0, s, (0, o.fv)(b.cy + b.y11, b.cx + b.x11), (0, o.fv)(x.cy + x.y11, x.cx + x.x11), y), m.arc(x.cx, x.cy, T, (0, o.fv)(x.y11, x.x11), (0, o.fv)(x.y01, x.x01), !y))) : m.arc(0, 0, s, k, E, y) : m.lineTo(L, F) } } else m.moveTo(0, 0); if (m.closePath(), i) return m = null, i + "" || null } return g.centroid = function() { var n = (+e.apply(this, arguments) + +t.apply(this, arguments)) / 2, r = (+h.apply(this, arguments) + +p.apply(this, arguments)) / 2 - o.pi / 2; return [(0, o.mC)(r) * n, (0, o.O$)(r) * n] }, g.innerRadius = function(t) { return arguments.length ? (e = "function" == typeof t ? t : (0, i.Z)(+t), g) : e }, g.outerRadius = function(e) { return arguments.length ? (t = "function" == typeof e ? e : (0, i.Z)(+e), g) : t }, g.cornerRadius = function(e) { return arguments.length ? (n = "function" == typeof e ? e : (0, i.Z)(+e), g) : n }, g.padRadius = function(e) { return arguments.length ? (d = null == e ? null : "function" == typeof e ? e : (0, i.Z)(+e), g) : d }, g.startAngle = function(e) { return arguments.length ? (h = "function" == typeof e ? e : (0, i.Z)(+e), g) : h }, g.endAngle = function(e) { return arguments.length ? (p = "function" == typeof e ? e : (0, i.Z)(+e), g) : p }, g.padAngle = function(e) { return arguments.length ? (v = "function" == typeof e ? e : (0, i.Z)(+e), g) : v }, g.context = function(e) { return arguments.length ? (m = null == e ? null : e, g) : m }, g } }, 79493: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return l } }); var r = n(91672), i = n(33554), o = n(20651), a = n(79767), s = n(11053); function l() { var e = s.x, t = null, n = (0, i.Z)(0), l = s.y, u = (0, i.Z)(!0), c = null, f = o.Z, d = null; function h(i) { var o, a, s, h, p, v = i.length, m = !1, g = Array(v), y = Array(v); for (null == c && (d = f(p = (0, r.Z)())), o = 0; o <= v; ++o) { if (!(o < v && u(h = i[o], o, i)) === m) { if (m = !m) a = o, d.areaStart(), d.lineStart(); else { for (d.lineEnd(), d.lineStart(), s = o - 1; s >= a; --s)d.point(g[s], y[s]); d.lineEnd(), d.areaEnd() } } m && (g[o] = +e(h, o, i), y[o] = +n(h, o, i), d.point(t ? +t(h, o, i) : g[o], l ? +l(h, o, i) : y[o])) } if (p) return d = null, p + "" || null } function p() { return (0, a.Z)().defined(u).curve(f).context(c) } return h.x = function(n) { return arguments.length ? (e = "function" == typeof n ? n : (0, i.Z)(+n), t = null, h) : e }, h.x0 = function(t) { return arguments.length ? (e = "function" == typeof t ? t : (0, i.Z)(+t), h) : e }, h.x1 = function(e) { return arguments.length ? (t = null == e ? null : "function" == typeof e ? e : (0, i.Z)(+e), h) : t }, h.y = function(e) { return arguments.length ? (n = "function" == typeof e ? e : (0, i.Z)(+e), l = null, h) : n }, h.y0 = function(e) { return arguments.length ? (n = "function" == typeof e ? e : (0, i.Z)(+e), h) : n }, h.y1 = function(e) { return arguments.length ? (l = null == e ? null : "function" == typeof e ? e : (0, i.Z)(+e), h) : l }, h.lineX0 = h.lineY0 = function() { return p().x(e).y(n) }, h.lineY1 = function() { return p().x(e).y(l) }, h.lineX1 = function() { return p().x(t).y(n) }, h.defined = function(e) { return arguments.length ? (u = "function" == typeof e ? e : (0, i.Z)(!!e), h) : u }, h.curve = function(e) { return arguments.length ? (f = e, null != c && (d = f(c)), h) : f }, h.context = function(e) { return arguments.length ? (null == e ? c = d = null : d = f(c = e), h) : c }, h } }, 72299: function(e, t, n) { "use strict"; n.d(t, { t: function() { return r } }); var r = Array.prototype.slice }, 33554: function(e, t, n) { "use strict"; function r(e) { return function() { return e } } n.d(t, { Z: function() { return r } }) }, 46385: function(e, t, n) { "use strict"; function r(e, t, n) { e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2) } function i(e, t) { this._context = e, this._k = (1 - t) / 6 } n.d(t, { pC: function() { return i }, xm: function() { return r } }), i.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0 }, lineEnd: function() { switch (this._point) { case 2: this._context.lineTo(this._x2, this._y2); break; case 3: r(this, this._x1, this._y1) }(this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t); break; case 1: this._point = 2, this._x1 = e, this._y1 = t; break; case 2: this._point = 3; default: r(this, e, t) }this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t } }, t.ZP = function e(t) { function n(e) { return new i(e, t) } return n.tension = function(t) { return e(+t) }, n }(0) }, 20651: function(e, t, n) { "use strict"; function r(e) { this._context = e } function i(e) { return new r(e) } n.d(t, { Z: function() { return i } }), r.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._point = 0 }, lineEnd: function() { (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t); break; case 1: this._point = 2; default: this._context.lineTo(e, t) } } } }, 27266: function(e, t, n) { "use strict"; function r(e, t, n) { var r = e._x1 - e._x0, i = t - e._x1, o = (e._y1 - e._y0) / (r || i < 0 && -0), a = (n - e._y1) / (i || r < 0 && -0); return ((o < 0 ? -1 : 1) + (a < 0 ? -1 : 1)) * Math.min(Math.abs(o), Math.abs(a), .5 * Math.abs((o * i + a * r) / (r + i))) || 0 } function i(e, t) { var n = e._x1 - e._x0; return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t } function o(e, t, n) { var r = e._x0, i = e._y0, o = e._x1, a = e._y1, s = (o - r) / 3; e._context.bezierCurveTo(r + s, i + s * t, o - s, a - s * n, o, a) } function a(e) { this._context = e } function s(e) { this._context = new l(e) } function l(e) { this._context = e } function u(e) { return new a(e) } function c(e) { return new s(e) } n.d(t, { Z: function() { return u }, s: function() { return c } }), a.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0 }, lineEnd: function() { switch (this._point) { case 2: this._context.lineTo(this._x1, this._y1); break; case 3: o(this, this._t0, i(this, this._t0)) }(this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { var n = NaN; if (t = +t, (e = +e) !== this._x1 || t !== this._y1) { switch (this._point) { case 0: this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t); break; case 1: this._point = 2; break; case 2: this._point = 3, o(this, i(this, n = r(this, e, t)), n); break; default: o(this, this._t0, n = r(this, e, t)) }this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n } } }, (s.prototype = Object.create(a.prototype)).point = function(e, t) { a.prototype.point.call(this, t, e) }, l.prototype = { moveTo: function(e, t) { this._context.moveTo(t, e) }, closePath: function() { this._context.closePath() }, lineTo: function(e, t) { this._context.lineTo(t, e) }, bezierCurveTo: function(e, t, n, r, i, o) { this._context.bezierCurveTo(t, e, r, n, o, i) } } }, 23165: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o }, j: function() { return r } }); var r = o(n(20651).Z); function i(e) { this._curve = e } function o(e) { function t(t) { return new i(e(t)) } return t._curve = e, t } i.prototype = { areaStart: function() { this._curve.areaStart() }, areaEnd: function() { this._curve.areaEnd() }, lineStart: function() { this._curve.lineStart() }, lineEnd: function() { this._curve.lineEnd() }, point: function(e, t) { this._curve.point(t * Math.sin(e), -(t * Math.cos(e))) } } }, 45742: function(e, t, n) { "use strict"; function r(e, t) { this._context = e, this._t = t } function i(e) { return new r(e, .5) } function o(e) { return new r(e, 0) } function a(e) { return new r(e, 1) } n.d(t, { RN: function() { return o }, ZP: function() { return i }, cD: function() { return a } }), r.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x = this._y = NaN, this._point = 0 }, lineEnd: function() { 0 < this._t && this._t < 1 && 2 === this._point && this._context.lineTo(this._x, this._y), (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line) }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t); break; case 1: this._point = 2; default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t); else { var n = this._x * (1 - this._t) + e * this._t; this._context.lineTo(n, this._y), this._context.lineTo(n, t) } }this._x = e, this._y = t } } }, 59207: function(e, t, n) { "use strict"; n.r(t), n.d(t, { arc: function() { return r.Z }, area: function() { return i.Z }, areaRadial: function() { return u }, curveBasis: function() { return E }, curveBasisClosed: function() { return j }, curveBasisOpen: function() { return O }, curveBundle: function() { return A }, curveCardinal: function() { return T.ZP }, curveCardinalClosed: function() { return P }, curveCardinalOpen: function() { return R }, curveCatmullRom: function() { return I }, curveCatmullRomClosed: function() { return V }, curveCatmullRomOpen: function() { return Z }, curveLinear: function() { return W.Z }, curveLinearClosed: function() { return H }, curveMonotoneX: function() { return q.Z }, curveMonotoneY: function() { return q.s }, curveNatural: function() { return G }, curveStep: function() { return K.ZP }, curveStepAfter: function() { return K.cD }, curveStepBefore: function() { return K.RN }, line: function() { return o.Z }, lineRadial: function() { return l.Z }, linkHorizontal: function() { return f.h5 }, linkRadial: function() { return f.M4 }, linkVertical: function() { return f.rR }, pie: function() { return a.Z }, pointRadial: function() { return c.Z }, radialArea: function() { return u }, radialLine: function() { return l.Z }, stack: function() { return X.Z }, stackOffsetDiverging: function() { return J.Z }, stackOffsetExpand: function() { return Q.Z }, stackOffsetNone: function() { return ee.Z }, stackOffsetSilhouette: function() { return et.Z }, stackOffsetWiggle: function() { return en.Z }, stackOrderAppearance: function() { return er.Z }, stackOrderAscending: function() { return ei.Z }, stackOrderDescending: function() { return eo.Z }, stackOrderInsideOut: function() { return ea.Z }, stackOrderNone: function() { return es.Z }, stackOrderReverse: function() { return el.Z }, symbol: function() { return d.Z }, symbolCircle: function() { return h.Z }, symbolCross: function() { return p.Z }, symbolDiamond: function() { return v.Z }, symbolSquare: function() { return m.Z }, symbolStar: function() { return g.Z }, symbolTriangle: function() { return y.Z }, symbolWye: function() { return b.Z }, symbols: function() { return d.u } }); var r = n(38764), i = n(79493), o = n(79767), a = n(69619), s = n(23165), l = n(8329); function u() { var e = (0, i.Z)().curve(s.j), t = e.curve, n = e.lineX0, r = e.lineX1, o = e.lineY0, a = e.lineY1; return e.angle = e.x, delete e.x, e.startAngle = e.x0, delete e.x0, e.endAngle = e.x1, delete e.x1, e.radius = e.y, delete e.y, e.innerRadius = e.y0, delete e.y0, e.outerRadius = e.y1, delete e.y1, e.lineStartAngle = function() { return (0, l.X)(n()) }, delete e.lineX0, e.lineEndAngle = function() { return (0, l.X)(r()) }, delete e.lineX1, e.lineInnerRadius = function() { return (0, l.X)(o()) }, delete e.lineY0, e.lineOuterRadius = function() { return (0, l.X)(a()) }, delete e.lineY1, e.curve = function(e) { return arguments.length ? t((0, s.Z)(e)) : t()._curve }, e } var c = n(3326), f = n(72215), d = n(24037), h = n(62628), p = n(9135), v = n(82893), m = n(44523), g = n(86707), y = n(42965), b = n(60598); function x() { } function w(e, t, n) { e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6) } function _(e) { this._context = e } function E(e) { return new _(e) } function k(e) { this._context = e } function j(e) { return new k(e) } function S(e) { this._context = e } function O(e) { return new S(e) } function C(e, t) { this._basis = new _(e), this._beta = t } _.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0 }, lineEnd: function() { switch (this._point) { case 3: w(this, this._x1, this._y1); case 2: this._context.lineTo(this._x1, this._y1) }(this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t); break; case 1: this._point = 2; break; case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); default: w(this, e, t) }this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t } }, k.prototype = { areaStart: x, areaEnd: x, lineStart: function() { this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0 }, lineEnd: function() { switch (this._point) { case 1: this._context.moveTo(this._x2, this._y2), this._context.closePath(); break; case 2: this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath(); break; case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4) } }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1, this._x2 = e, this._y2 = t; break; case 1: this._point = 2, this._x3 = e, this._y3 = t; break; case 2: this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6); break; default: w(this, e, t) }this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t } }, S.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0 }, lineEnd: function() { (this._line || 0 !== this._line && 3 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1; break; case 1: this._point = 2; break; case 2: this._point = 3; var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6; this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r); break; case 3: this._point = 4; default: w(this, e, t) }this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t } }, C.prototype = { lineStart: function() { this._x = [], this._y = [], this._basis.lineStart() }, lineEnd: function() { var e = this._x, t = this._y, n = e.length - 1; if (n > 0) for (var r, i = e[0], o = t[0], a = e[n] - i, s = t[n] - o, l = -1; ++l <= n;)r = l / n, this._basis.point(this._beta * e[l] + (1 - this._beta) * (i + r * a), this._beta * t[l] + (1 - this._beta) * (o + r * s)); this._x = this._y = null, this._basis.lineEnd() }, point: function(e, t) { this._x.push(+e), this._y.push(+t) } }; var A = function e(t) { function n(e) { return 1 === t ? new _(e) : new C(e, t) } return n.beta = function(t) { return e(+t) }, n }(.85), T = n(46385); function M(e, t) { this._context = e, this._k = (1 - t) / 6 } M.prototype = { areaStart: x, areaEnd: x, lineStart: function() { this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0 }, lineEnd: function() { switch (this._point) { case 1: this._context.moveTo(this._x3, this._y3), this._context.closePath(); break; case 2: this._context.lineTo(this._x3, this._y3), this._context.closePath(); break; case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5) } }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1, this._x3 = e, this._y3 = t; break; case 1: this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t); break; case 2: this._point = 3, this._x5 = e, this._y5 = t; break; default: (0, T.xm)(this, e, t) }this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t } }; var P = function e(t) { function n(e) { return new M(e, t) } return n.tension = function(t) { return e(+t) }, n }(0); function N(e, t) { this._context = e, this._k = (1 - t) / 6 } N.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0 }, lineEnd: function() { (this._line || 0 !== this._line && 3 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { switch (e = +e, t = +t, this._point) { case 0: this._point = 1; break; case 1: this._point = 2; break; case 2: this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break; case 3: this._point = 4; default: (0, T.xm)(this, e, t) }this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t } }; var R = function e(t) { function n(e) { return new N(e, t) } return n.tension = function(t) { return e(+t) }, n }(0), D = n(15); function L(e, t, n) { var r = e._x1, i = e._y1, o = e._x2, a = e._y2; if (e._l01_a > D.Ho) { var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, l = 3 * e._l01_a * (e._l01_a + e._l12_a); r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / l, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / l } if (e._l23_a > D.Ho) { var u = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, c = 3 * e._l23_a * (e._l23_a + e._l12_a); o = (o * u + e._x1 * e._l23_2a - t * e._l12_2a) / c, a = (a * u + e._y1 * e._l23_2a - n * e._l12_2a) / c } e._context.bezierCurveTo(r, i, o, a, e._x2, e._y2) } function F(e, t) { this._context = e, this._alpha = t } F.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0 }, lineEnd: function() { switch (this._point) { case 2: this._context.lineTo(this._x2, this._y2); break; case 3: this.point(this._x2, this._y2) }(this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { if (e = +e, t = +t, this._point) { var n = this._x2 - e, r = this._y2 - t; this._l23_a = Math.sqrt(this._l23_2a = Math.pow(n * n + r * r, this._alpha)) } switch (this._point) { case 0: this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t); break; case 1: this._point = 2; break; case 2: this._point = 3; default: L(this, e, t) }this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t } }; var I = function e(t) { function n(e) { return t ? new F(e, t) : new T.pC(e, 0) } return n.alpha = function(t) { return e(+t) }, n }(.5); function z(e, t) { this._context = e, this._alpha = t } z.prototype = { areaStart: x, areaEnd: x, lineStart: function() { this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0 }, lineEnd: function() { switch (this._point) { case 1: this._context.moveTo(this._x3, this._y3), this._context.closePath(); break; case 2: this._context.lineTo(this._x3, this._y3), this._context.closePath(); break; case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5) } }, point: function(e, t) { if (e = +e, t = +t, this._point) { var n = this._x2 - e, r = this._y2 - t; this._l23_a = Math.sqrt(this._l23_2a = Math.pow(n * n + r * r, this._alpha)) } switch (this._point) { case 0: this._point = 1, this._x3 = e, this._y3 = t; break; case 1: this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t); break; case 2: this._point = 3, this._x5 = e, this._y5 = t; break; default: L(this, e, t) }this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t } }; var V = function e(t) { function n(e) { return t ? new z(e, t) : new M(e, 0) } return n.alpha = function(t) { return e(+t) }, n }(.5); function B(e, t) { this._context = e, this._alpha = t } B.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0 }, lineEnd: function() { (this._line || 0 !== this._line && 3 === this._point) && this._context.closePath(), this._line = 1 - this._line }, point: function(e, t) { if (e = +e, t = +t, this._point) { var n = this._x2 - e, r = this._y2 - t; this._l23_a = Math.sqrt(this._l23_2a = Math.pow(n * n + r * r, this._alpha)) } switch (this._point) { case 0: this._point = 1; break; case 1: this._point = 2; break; case 2: this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break; case 3: this._point = 4; default: L(this, e, t) }this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t } }; var Z = function e(t) { function n(e) { return t ? new B(e, t) : new N(e, 0) } return n.alpha = function(t) { return e(+t) }, n }(.5); function U(e) { this._context = e } function H(e) { return new U(e) } U.prototype = { areaStart: x, areaEnd: x, lineStart: function() { this._point = 0 }, lineEnd: function() { this._point && this._context.closePath() }, point: function(e, t) { e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t)) } }; var W = n(20651), q = n(27266); function $(e) { this._context = e } function Y(e) { var t, n, r = e.length - 1, i = Array(r), o = Array(r), a = Array(r); for (i[0] = 0, o[0] = 2, a[0] = e[0] + 2 * e[1], t = 1; t < r - 1; ++t)i[t] = 1, o[t] = 4, a[t] = 4 * e[t] + 2 * e[t + 1]; for (i[r - 1] = 2, o[r - 1] = 7, a[r - 1] = 8 * e[r - 1] + e[r], t = 1; t < r; ++t)n = i[t] / o[t - 1], o[t] -= n, a[t] -= n * a[t - 1]; for (i[r - 1] = a[r - 1] / o[r - 1], t = r - 2; t >= 0; --t)i[t] = (a[t] - i[t + 1]) / o[t]; for (t = 0, o[r - 1] = (e[r] + i[r - 1]) / 2; t < r - 1; ++t)o[t] = 2 * e[t + 1] - i[t + 1]; return [i, o] } function G(e) { return new $(e) } $.prototype = { areaStart: function() { this._line = 0 }, areaEnd: function() { this._line = NaN }, lineStart: function() { this._x = [], this._y = [] }, lineEnd: function() { var e = this._x, t = this._y, n = e.length; if (n) { if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), 2 === n) this._context.lineTo(e[1], t[1]); else for (var r = Y(e), i = Y(t), o = 0, a = 1; a < n; ++o, ++a)this._context.bezierCurveTo(r[0][o], i[0][o], r[1][o], i[1][o], e[a], t[a]) } (this._line || 0 !== this._line && 1 === n) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null }, point: function(e, t) { this._x.push(+e), this._y.push(+t) } }; var K = n(45742), X = n(98926), Q = n(22254), J = n(76751), ee = n(90541), et = n(36538), en = n(34928), er = n(42467), ei = n(19721), eo = n(82564), ea = n(12197), es = n(81182), el = n(40277) }, 79767: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return s } }); var r = n(91672), i = n(33554), o = n(20651), a = n(11053); function s() { var e = a.x, t = a.y, n = (0, i.Z)(!0), s = null, l = o.Z, u = null; function c(i) { var o, a, c, f = i.length, d = !1; for (null == s && (u = l(c = (0, r.Z)())), o = 0; o <= f; ++o)!(o < f && n(a = i[o], o, i)) === d && ((d = !d) ? u.lineStart() : u.lineEnd()), d && u.point(+e(a, o, i), +t(a, o, i)); if (c) return u = null, c + "" || null } return c.x = function(t) { return arguments.length ? (e = "function" == typeof t ? t : (0, i.Z)(+t), c) : e }, c.y = function(e) { return arguments.length ? (t = "function" == typeof e ? e : (0, i.Z)(+e), c) : t }, c.defined = function(e) { return arguments.length ? (n = "function" == typeof e ? e : (0, i.Z)(!!e), c) : n }, c.curve = function(e) { return arguments.length ? (l = e, null != s && (u = l(s)), c) : l }, c.context = function(e) { return arguments.length ? (null == e ? s = u = null : u = l(s = e), c) : s }, c } }, 8329: function(e, t, n) { "use strict"; n.d(t, { X: function() { return o }, Z: function() { return a } }); var r = n(23165), i = n(79767); function o(e) { var t = e.curve; return e.angle = e.x, delete e.x, e.radius = e.y, delete e.y, e.curve = function(e) { return arguments.length ? t((0, r.Z)(e)) : t()._curve }, e } function a() { return o((0, i.Z)().curve(r.j)) } }, 72215: function(e, t, n) { "use strict"; n.d(t, { M4: function() { return m }, h5: function() { return p }, rR: function() { return v } }); var r = n(91672), i = n(72299), o = n(33554), a = n(11053), s = n(3326); function l(e) { return e.source } function u(e) { return e.target } function c(e) { var t = l, n = u, s = a.x, c = a.y, f = null; function d() { var o, a = i.t.call(arguments), l = t.apply(this, a), u = n.apply(this, a); if (f || (f = o = (0, r.Z)()), e(f, +s.apply(this, (a[0] = l, a)), +c.apply(this, a), +s.apply(this, (a[0] = u, a)), +c.apply(this, a)), o) return f = null, o + "" || null } return d.source = function(e) { return arguments.length ? (t = e, d) : t }, d.target = function(e) { return arguments.length ? (n = e, d) : n }, d.x = function(e) { return arguments.length ? (s = "function" == typeof e ? e : (0, o.Z)(+e), d) : s }, d.y = function(e) { return arguments.length ? (c = "function" == typeof e ? e : (0, o.Z)(+e), d) : c }, d.context = function(e) { return arguments.length ? (f = null == e ? null : e, d) : f }, d } function f(e, t, n, r, i) { e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i) } function d(e, t, n, r, i) { e.moveTo(t, n), e.bezierCurveTo(t, n = (n + i) / 2, r, n, r, i) } function h(e, t, n, r, i) { var o = (0, s.Z)(t, n), a = (0, s.Z)(t, n = (n + i) / 2), l = (0, s.Z)(r, n), u = (0, s.Z)(r, i); e.moveTo(o[0], o[1]), e.bezierCurveTo(a[0], a[1], l[0], l[1], u[0], u[1]) } function p() { return c(f) } function v() { return c(d) } function m() { var e = c(h); return e.angle = e.x, delete e.x, e.radius = e.y, delete e.y, e } }, 15: function(e, t, n) { "use strict"; n.d(t, { BZ: function() { return h }, Fp: function() { return a }, Ho: function() { return c }, Kh: function() { return p }, O$: function() { return l }, VV: function() { return s }, Wn: function() { return r }, ZR: function() { return v }, _b: function() { return u }, fv: function() { return i }, mC: function() { return o }, ou: function() { return d }, pi: function() { return f } }); var r = Math.abs, i = Math.atan2, o = Math.cos, a = Math.max, s = Math.min, l = Math.sin, u = Math.sqrt, c = 1e-12, f = Math.PI, d = f / 2, h = 2 * f; function p(e) { return e > 1 ? 0 : e < -1 ? f : Math.acos(e) } function v(e) { return e >= 1 ? d : e <= -1 ? -d : Math.asin(e) } }, 76751: function(e, t, n) { "use strict"; function r(e, t) { if ((s = e.length) > 0) for (var n, r, i, o, a, s, l = 0, u = e[t[0]].length; l < u; ++l)for (o = a = 0, n = 0; n < s; ++n)(i = (r = e[t[n]][l])[1] - r[0]) > 0 ? (r[0] = o, r[1] = o += i) : i < 0 ? (r[1] = a, r[0] = a += i) : (r[0] = 0, r[1] = i) } n.d(t, { Z: function() { return r } }) }, 22254: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(90541); function i(e, t) { if ((i = e.length) > 0) { for (var n, i, o, a = 0, s = e[0].length; a < s; ++a) { for (o = n = 0; n < i; ++n)o += e[n][a][1] || 0; if (o) for (n = 0; n < i; ++n)e[n][a][1] /= o } (0, r.Z)(e, t) } } }, 90541: function(e, t, n) { "use strict"; function r(e, t) { if ((i = e.length) > 1) for (var n, r, i, o = 1, a = e[t[0]], s = a.length; o < i; ++o)for (r = a, a = e[t[o]], n = 0; n < s; ++n)a[n][1] += a[n][0] = isNaN(r[n][1]) ? r[n][0] : r[n][1] } n.d(t, { Z: function() { return r } }) }, 36538: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(90541); function i(e, t) { if ((n = e.length) > 0) { for (var n, i = 0, o = e[t[0]], a = o.length; i < a; ++i) { for (var s = 0, l = 0; s < n; ++s)l += e[s][i][1] || 0; o[i][1] += o[i][0] = -l / 2 } (0, r.Z)(e, t) } } }, 34928: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(90541); function i(e, t) { if ((o = e.length) > 0 && (i = (n = e[t[0]]).length) > 0) { for (var n, i, o, a = 0, s = 1; s < i; ++s) { for (var l = 0, u = 0, c = 0; l < o; ++l) { for (var f = e[t[l]], d = f[s][1] || 0, h = (d - (f[s - 1][1] || 0)) / 2, p = 0; p < l; ++p) { var v = e[t[p]]; h += (v[s][1] || 0) - (v[s - 1][1] || 0) } u += d, c += h * d } n[s - 1][1] += n[s - 1][0] = a, u && (a -= c / u) } n[s - 1][1] += n[s - 1][0] = a, (0, r.Z)(e, t) } } }, 42467: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(81182); function i(e) { var t = e.map(o); return (0, r.Z)(e).sort(function(e, n) { return t[e] - t[n] }) } function o(e) { for (var t, n = -1, r = 0, i = e.length, o = -1 / 0; ++n < i;)(t = +e[n][1]) > o && (o = t, r = n); return r } }, 19721: function(e, t, n) { "use strict"; n.d(t, { S: function() { return o }, Z: function() { return i } }); var r = n(81182); function i(e) { var t = e.map(o); return (0, r.Z)(e).sort(function(e, n) { return t[e] - t[n] }) } function o(e) { for (var t, n = 0, r = -1, i = e.length; ++r < i;)(t = +e[r][1]) && (n += t); return n } }, 82564: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(19721); function i(e) { return (0, r.Z)(e).reverse() } }, 12197: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return o } }); var r = n(42467), i = n(19721); function o(e) { var t, n, o = e.length, a = e.map(i.S), s = (0, r.Z)(e), l = 0, u = 0, c = [], f = []; for (t = 0; t < o; ++t)n = s[t], l < u ? (l += a[n], c.push(n)) : (u += a[n], f.push(n)); return f.reverse().concat(c) } }, 81182: function(e, t, n) { "use strict"; function r(e) { for (var t = e.length, n = Array(t); --t >= 0;)n[t] = t; return n } n.d(t, { Z: function() { return r } }) }, 40277: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(81182); function i(e) { return (0, r.Z)(e).reverse() } }, 69619: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return s } }); var r = n(33554); function i(e, t) { return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN } function o(e) { return e } var a = n(15); function s() { var e = o, t = i, n = null, s = (0, r.Z)(0), l = (0, r.Z)(a.BZ), u = (0, r.Z)(0); function c(r) { var i, o, c, f, d, h = r.length, p = 0, v = Array(h), m = Array(h), g = +s.apply(this, arguments), y = Math.min(a.BZ, Math.max(-a.BZ, l.apply(this, arguments) - g)), b = Math.min(Math.abs(y) / h, u.apply(this, arguments)), x = b * (y < 0 ? -1 : 1); for (i = 0; i < h; ++i)(d = m[v[i] = i] = +e(r[i], i, r)) > 0 && (p += d); for (null != t ? v.sort(function(e, n) { return t(m[e], m[n]) }) : null != n && v.sort(function(e, t) { return n(r[e], r[t]) }), i = 0, c = p ? (y - h * x) / p : 0; i < h; ++i, g = f)d = m[o = v[i]], f = g + (d > 0 ? d * c : 0) + x, m[o] = { data: r[o], index: i, value: d, startAngle: g, endAngle: f, padAngle: b }; return m } return c.value = function(t) { return arguments.length ? (e = "function" == typeof t ? t : (0, r.Z)(+t), c) : e }, c.sortValues = function(e) { return arguments.length ? (t = e, n = null, c) : t }, c.sort = function(e) { return arguments.length ? (n = e, t = null, c) : n }, c.startAngle = function(e) { return arguments.length ? (s = "function" == typeof e ? e : (0, r.Z)(+e), c) : s }, c.endAngle = function(e) { return arguments.length ? (l = "function" == typeof e ? e : (0, r.Z)(+e), c) : l }, c.padAngle = function(e) { return arguments.length ? (u = "function" == typeof e ? e : (0, r.Z)(+e), c) : u }, c } }, 11053: function(e, t, n) { "use strict"; function r(e) { return e[0] } function i(e) { return e[1] } n.d(t, { x: function() { return r }, y: function() { return i } }) }, 3326: function(e, t, n) { "use strict"; function r(e, t) { return [(t = +t) * Math.cos(e -= Math.PI / 2), t * Math.sin(e)] } n.d(t, { Z: function() { return r } }) }, 98926: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return l } }); var r = n(72299), i = n(33554), o = n(90541), a = n(81182); function s(e, t) { return e[t] } function l() { var e = (0, i.Z)([]), t = a.Z, n = o.Z, l = s; function u(r) { var i, o, a = e.apply(this, arguments), s = r.length, u = a.length, c = Array(u); for (i = 0; i < u; ++i) { for (var f, d = a[i], h = c[i] = Array(s), p = 0; p < s; ++p)h[p] = f = [0, +l(r[p], d, p, r)], f.data = r[p]; h.key = d } for (i = 0, o = t(c); i < u; ++i)c[o[i]].index = i; return n(c, o), c } return u.keys = function(t) { return arguments.length ? (e = "function" == typeof t ? t : (0, i.Z)(r.t.call(t)), u) : e }, u.value = function(e) { return arguments.length ? (l = "function" == typeof e ? e : (0, i.Z)(+e), u) : l }, u.order = function(e) { return arguments.length ? (t = null == e ? a.Z : "function" == typeof e ? e : (0, i.Z)(r.t.call(e)), u) : t }, u.offset = function(e) { return arguments.length ? (n = null == e ? o.Z : e, u) : n }, u } }, 24037: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return h }, u: function() { return d } }); var r = n(91672), i = n(62628), o = n(9135), a = n(82893), s = n(86707), l = n(44523), u = n(42965), c = n(60598), f = n(33554), d = [i.Z, o.Z, a.Z, l.Z, s.Z, u.Z, c.Z]; function h() { var e = (0, f.Z)(i.Z), t = (0, f.Z)(64), n = null; function o() { var i; if (n || (n = i = (0, r.Z)()), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null } return o.type = function(t) { return arguments.length ? (e = "function" == typeof t ? t : (0, f.Z)(t), o) : e }, o.size = function(e) { return arguments.length ? (t = "function" == typeof e ? e : (0, f.Z)(+e), o) : t }, o.context = function(e) { return arguments.length ? (n = null == e ? null : e, o) : n }, o } }, 62628: function(e, t, n) { "use strict"; var r = n(15); t.Z = { draw: function(e, t) { var n = Math.sqrt(t / r.pi); e.moveTo(n, 0), e.arc(0, 0, n, 0, r.BZ) } } }, 9135: function(e, t) { "use strict"; t.Z = { draw: function(e, t) { var n = Math.sqrt(t / 5) / 2; e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath() } } }, 82893: function(e, t) { "use strict"; var n = Math.sqrt(1 / 3), r = 2 * n; t.Z = { draw: function(e, t) { var i = Math.sqrt(t / r), o = i * n; e.moveTo(0, -i), e.lineTo(o, 0), e.lineTo(0, i), e.lineTo(-o, 0), e.closePath() } } }, 44523: function(e, t) { "use strict"; t.Z = { draw: function(e, t) { var n = Math.sqrt(t), r = -n / 2; e.rect(r, r, n, n) } } }, 86707: function(e, t, n) { "use strict"; var r = n(15), i = Math.sin(r.pi / 10) / Math.sin(7 * r.pi / 10), o = Math.sin(r.BZ / 10) * i, a = -Math.cos(r.BZ / 10) * i; t.Z = { draw: function(e, t) { var n = Math.sqrt(.8908130915292852 * t), i = o * n, s = a * n; e.moveTo(0, -n), e.lineTo(i, s); for (var l = 1; l < 5; ++l) { var u = r.BZ * l / 5, c = Math.cos(u), f = Math.sin(u); e.lineTo(f * n, -c * n), e.lineTo(c * i - f * s, f * i + c * s) } e.closePath() } } }, 42965: function(e, t) { "use strict"; var n = Math.sqrt(3); t.Z = { draw: function(e, t) { var r = -Math.sqrt(t / (3 * n)); e.moveTo(0, 2 * r), e.lineTo(-n * r, -r), e.lineTo(n * r, -r), e.closePath() } } }, 60598: function(e, t) { "use strict"; var n = Math.sqrt(3) / 2, r = 1 / Math.sqrt(12), i = (r / 2 + 1) * 3; t.Z = { draw: function(e, t) { var o = Math.sqrt(t / i), a = o / 2, s = o * r, l = o * r + o, u = -a; e.moveTo(a, s), e.lineTo(a, l), e.lineTo(u, l), e.lineTo(-.5 * a - n * s, n * a + -.5 * s), e.lineTo(-.5 * a - n * l, n * a + -.5 * l), e.lineTo(-.5 * u - n * l, n * u + -.5 * l), e.lineTo(-.5 * a + n * s, -.5 * s - n * a), e.lineTo(-.5 * a + n * l, -.5 * l - n * a), e.lineTo(-.5 * u + n * l, -.5 * l - n * u), e.closePath() } } }, 68603: function(e, t, n) { "use strict"; n.d(t, { a: function() { return a } }); var r = n(22179), i = n(1514), o = (0, r.Z)(e => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * i.yB) / i.UD, e => e.getDate() - 1); t.Z = o; var a = o.range }, 1514: function(e, t, n) { "use strict"; n.d(t, { UD: function() { return a }, Y2: function() { return o }, Ym: function() { return r }, iM: function() { return s }, jz: function() { return l }, qz: function() { return u }, yB: function() { return i } }); let r = 1e3, i = 60 * r, o = 60 * i, a = 24 * o, s = 7 * a, l = 30 * a, u = 365 * a }, 54076: function(e, t, n) { "use strict"; n.d(t, { i: function() { return a } }); var r = n(22179), i = n(1514), o = (0, r.Z)(function(e) { e.setTime(e - e.getMilliseconds() - e.getSeconds() * i.Ym - e.getMinutes() * i.yB) }, function(e, t) { e.setTime(+e + t * i.Y2) }, function(e, t) { return (t - e) / i.Y2 }, function(e) { return e.getHours() }); t.Z = o; var a = o.range }, 11365: function(e, t, n) { "use strict"; n.r(t), n.d(t, { timeDay: function() { return l.Z }, timeDays: function() { return l.a }, timeFriday: function() { return u.mC }, timeFridays: function() { return u.b$ }, timeHour: function() { return s.Z }, timeHours: function() { return s.i }, timeInterval: function() { return r.Z }, timeMillisecond: function() { return i.Z }, timeMilliseconds: function() { return i.m }, timeMinute: function() { return a.Z }, timeMinutes: function() { return a.L }, timeMonday: function() { return u.wA }, timeMondays: function() { return u.bJ }, timeMonth: function() { return c.Z }, timeMonths: function() { return c.e }, timeSaturday: function() { return u.EY }, timeSaturdays: function() { return u.Ff }, timeSecond: function() { return o.Z }, timeSeconds: function() { return o.m }, timeSunday: function() { return u.OM }, timeSundays: function() { return u.vm }, timeThursday: function() { return u.bL }, timeThursdays: function() { return u.$t }, timeTickInterval: function() { return y._g }, timeTicks: function() { return y.jK }, timeTuesday: function() { return u.sy }, timeTuesdays: function() { return u.aU }, timeWednesday: function() { return u.zg }, timeWednesdays: function() { return u.Ld }, timeWeek: function() { return u.OM }, timeWeeks: function() { return u.vm }, timeYear: function() { return f.Z }, timeYears: function() { return f.g }, utcDay: function() { return p.Z }, utcDays: function() { return p.y }, utcFriday: function() { return v.QQ }, utcFridays: function() { return v.fz }, utcHour: function() { return h.Z }, utcHours: function() { return h.X }, utcMillisecond: function() { return i.Z }, utcMilliseconds: function() { return i.m }, utcMinute: function() { return d.Z }, utcMinutes: function() { return d.N }, utcMonday: function() { return v.l6 }, utcMondays: function() { return v.$3 }, utcMonth: function() { return m.Z }, utcMonths: function() { return m.K }, utcSaturday: function() { return v.g4 }, utcSaturdays: function() { return v.Q_ }, utcSecond: function() { return o.Z }, utcSeconds: function() { return o.m }, utcSunday: function() { return v.Ox }, utcSundays: function() { return v.SU }, utcThursday: function() { return v.hB }, utcThursdays: function() { return v.xj }, utcTickInterval: function() { return y.jo }, utcTicks: function() { return y.WG }, utcTuesday: function() { return v.J1 }, utcTuesdays: function() { return v.DK }, utcWednesday: function() { return v.b3 }, utcWednesdays: function() { return v.uy }, utcWeek: function() { return v.Ox }, utcWeeks: function() { return v.SU }, utcYear: function() { return g.Z }, utcYears: function() { return g.D } }); var r = n(22179), i = n(30356), o = n(52546), a = n(18450), s = n(54076), l = n(68603), u = n(76231), c = n(50690), f = n(97344), d = n(52004), h = n(28239), p = n(12370), v = n(97631), m = n(94758), g = n(2908), y = n(1381) }, 22179: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return function e(t, n, o, a) { function s(e) { return t(e = 0 == arguments.length ? new Date : new Date(+e)), e } return s.floor = function(e) { return t(e = new Date(+e)), e }, s.ceil = function(e) { return t(e = new Date(e - 1)), n(e, 1), t(e), e }, s.round = function(e) { var t = s(e), n = s.ceil(e); return e - t < n - e ? t : n }, s.offset = function(e, t) { return n(e = new Date(+e), null == t ? 1 : Math.floor(t)), e }, s.range = function(e, r, i) { var o, a = []; if (e = s.ceil(e), i = null == i ? 1 : Math.floor(i), !(e < r) || !(i > 0)) return a; do a.push(o = new Date(+e)), n(e, i), t(e); while (o < e && e < r); return a }, s.filter = function(r) { return e(function(e) { if (e >= e) for (; t(e), !r(e);)e.setTime(e - 1) }, function(e, t) { if (e >= e) { if (t < 0) for (; ++t <= 0;)for (; n(e, -1), !r(e);); else for (; --t >= 0;)for (; n(e, 1), !r(e);); } }) }, o && (s.count = function(e, n) { return r.setTime(+e), i.setTime(+n), t(r), t(i), Math.floor(o(r, i)) }, s.every = function(e) { return isFinite(e = Math.floor(e)) && e > 0 ? e > 1 ? s.filter(a ? function(t) { return a(t) % e == 0 } : function(t) { return s.count(0, t) % e == 0 }) : s : null }), s } } }); var r = new Date, i = new Date }, 30356: function(e, t, n) { "use strict"; n.d(t, { m: function() { return o } }); var r = n(22179), i = (0, r.Z)(function() { }, function(e, t) { e.setTime(+e + t) }, function(e, t) { return t - e }); i.every = function(e) { return isFinite(e = Math.floor(e)) && e > 0 ? e > 1 ? (0, r.Z)(function(t) { t.setTime(Math.floor(t / e) * e) }, function(t, n) { t.setTime(+t + n * e) }, function(t, n) { return (n - t) / e }) : i : null }, t.Z = i; var o = i.range }, 18450: function(e, t, n) { "use strict"; n.d(t, { L: function() { return a } }); var r = n(22179), i = n(1514), o = (0, r.Z)(function(e) { e.setTime(e - e.getMilliseconds() - e.getSeconds() * i.Ym) }, function(e, t) { e.setTime(+e + t * i.yB) }, function(e, t) { return (t - e) / i.yB }, function(e) { return e.getMinutes() }); t.Z = o; var a = o.range }, 50690: function(e, t, n) { "use strict"; n.d(t, { e: function() { return i } }); var r = (0, n(22179).Z)(function(e) { e.setDate(1), e.setHours(0, 0, 0, 0) }, function(e, t) { e.setMonth(e.getMonth() + t) }, function(e, t) { return t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12 }, function(e) { return e.getMonth() }); t.Z = r; var i = r.range }, 52546: function(e, t, n) { "use strict"; n.d(t, { m: function() { return a } }); var r = n(22179), i = n(1514), o = (0, r.Z)(function(e) { e.setTime(e - e.getMilliseconds()) }, function(e, t) { e.setTime(+e + t * i.Ym) }, function(e, t) { return (t - e) / i.Ym }, function(e) { return e.getUTCSeconds() }); t.Z = o; var a = o.range }, 1381: function(e, t, n) { "use strict"; n.d(t, { _g: function() { return S }, jK: function() { return j }, jo: function() { return k }, WG: function() { return E } }); var r = Math.sqrt(50), i = Math.sqrt(10), o = Math.sqrt(2); function a(e, t, n) { var a = Math.abs(t - e) / Math.max(0, n), s = Math.pow(10, Math.floor(Math.log(a) / Math.LN10)), l = a / s; return l >= r ? s *= 10 : l >= i ? s *= 5 : l >= o && (s *= 2), t < e ? -s : s } var s = n(1514), l = n(30356), u = n(52546), c = n(18450), f = n(54076), d = n(68603), h = n(76231), p = n(50690), v = n(97344), m = n(52004), g = n(28239), y = n(12370), b = n(97631), x = n(94758), w = n(2908); function _(e, t, n, r, i, o) { let c = [[u.Z, 1, s.Ym], [u.Z, 5, 5 * s.Ym], [u.Z, 15, 15 * s.Ym], [u.Z, 30, 30 * s.Ym], [o, 1, s.yB], [o, 5, 5 * s.yB], [o, 15, 15 * s.yB], [o, 30, 30 * s.yB], [i, 1, s.Y2], [i, 3, 3 * s.Y2], [i, 6, 6 * s.Y2], [i, 12, 12 * s.Y2], [r, 1, s.UD], [r, 2, 2 * s.UD], [n, 1, s.iM], [t, 1, s.jz], [t, 3, 3 * s.jz], [e, 1, s.qz]]; function f(t, n, r) { let i = Math.abs(n - t) / r, o = (function(e) { let t = e, n = e; function r(e, t, r, i) { for (null == r && (r = 0), null == i && (i = e.length); r < i;) { let o = r + i >>> 1; 0 > n(e[o], t) ? r = o + 1 : i = o } return r } return 1 === e.length && (t = (t, n) => e(t) - n, n = (t, n) => { var r; return (r = e(t)) < n ? -1 : r > n ? 1 : r >= n ? 0 : NaN }), { left: r, center: function(e, n, i, o) { null == i && (i = 0), null == o && (o = e.length); let a = r(e, n, i, o - 1); return a > i && t(e[a - 1], n) > -t(e[a], n) ? a - 1 : a }, right: function(e, t, r, i) { for (null == r && (r = 0), null == i && (i = e.length); r < i;) { let o = r + i >>> 1; n(e[o], t) > 0 ? i = o : r = o + 1 } return r } } })(([, , e]) => e).right(c, i); if (o === c.length) return e.every(a(t / s.qz, n / s.qz, r)); if (0 === o) return l.Z.every(Math.max(a(t, n, r), 1)); let [u, f] = c[i / c[o - 1][2] < c[o][2] / i ? o - 1 : o]; return u.every(f) } return [function(e, t, n) { let r = t < e; r && ([e, t] = [t, e]); let i = n && "function" == typeof n.range ? n : f(e, t, n), o = i ? i.range(e, +t + 1) : []; return r ? o.reverse() : o }, f] } let [E, k] = _(w.Z, x.Z, b.Ox, y.Z, g.Z, m.Z), [j, S] = _(v.Z, p.Z, h.OM, d.Z, f.Z, c.Z) }, 12370: function(e, t, n) { "use strict"; n.d(t, { y: function() { return a } }); var r = n(22179), i = n(1514), o = (0, r.Z)(function(e) { e.setUTCHours(0, 0, 0, 0) }, function(e, t) { e.setUTCDate(e.getUTCDate() + t) }, function(e, t) { return (t - e) / i.UD }, function(e) { return e.getUTCDate() - 1 }); t.Z = o; var a = o.range }, 28239: function(e, t, n) { "use strict"; n.d(t, { X: function() { return a } }); var r = n(22179), i = n(1514), o = (0, r.Z)(function(e) { e.setUTCMinutes(0, 0, 0) }, function(e, t) { e.setTime(+e + t * i.Y2) }, function(e, t) { return (t - e) / i.Y2 }, function(e) { return e.getUTCHours() }); t.Z = o; var a = o.range }, 52004: function(e, t, n) { "use strict"; n.d(t, { N: function() { return a } }); var r = n(22179), i = n(1514), o = (0, r.Z)(function(e) { e.setUTCSeconds(0, 0) }, function(e, t) { e.setTime(+e + t * i.yB) }, function(e, t) { return (t - e) / i.yB }, function(e) { return e.getUTCMinutes() }); t.Z = o; var a = o.range }, 94758: function(e, t, n) { "use strict"; n.d(t, { K: function() { return i } }); var r = (0, n(22179).Z)(function(e) { e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0) }, function(e, t) { e.setUTCMonth(e.getUTCMonth() + t) }, function(e, t) { return t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12 }, function(e) { return e.getUTCMonth() }); t.Z = r; var i = r.range }, 97631: function(e, t, n) { "use strict"; n.d(t, { $3: function() { return p }, DK: function() { return v }, J1: function() { return l }, Ox: function() { return a }, QQ: function() { return f }, Q_: function() { return b }, SU: function() { return h }, b3: function() { return u }, fz: function() { return y }, g4: function() { return d }, hB: function() { return c }, l6: function() { return s }, uy: function() { return m }, xj: function() { return g } }); var r = n(22179), i = n(1514); function o(e) { return (0, r.Z)(function(t) { t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0) }, function(e, t) { e.setUTCDate(e.getUTCDate() + 7 * t) }, function(e, t) { return (t - e) / i.iM }) } var a = o(0), s = o(1), l = o(2), u = o(3), c = o(4), f = o(5), d = o(6), h = a.range, p = s.range, v = l.range, m = u.range, g = c.range, y = f.range, b = d.range }, 2908: function(e, t, n) { "use strict"; n.d(t, { D: function() { return o } }); var r = n(22179), i = (0, r.Z)(function(e) { e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0) }, function(e, t) { e.setUTCFullYear(e.getUTCFullYear() + t) }, function(e, t) { return t.getUTCFullYear() - e.getUTCFullYear() }, function(e) { return e.getUTCFullYear() }); i.every = function(e) { return isFinite(e = Math.floor(e)) && e > 0 ? (0, r.Z)(function(t) { t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0) }, function(t, n) { t.setUTCFullYear(t.getUTCFullYear() + n * e) }) : null }, t.Z = i; var o = i.range }, 76231: function(e, t, n) { "use strict"; n.d(t, { $t: function() { return g }, EY: function() { return d }, Ff: function() { return b }, Ld: function() { return m }, OM: function() { return a }, aU: function() { return v }, b$: function() { return y }, bJ: function() { return p }, bL: function() { return c }, mC: function() { return f }, sy: function() { return l }, vm: function() { return h }, wA: function() { return s }, zg: function() { return u } }); var r = n(22179), i = n(1514); function o(e) { return (0, r.Z)(function(t) { t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0) }, function(e, t) { e.setDate(e.getDate() + 7 * t) }, function(e, t) { return (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * i.yB) / i.iM }) } var a = o(0), s = o(1), l = o(2), u = o(3), c = o(4), f = o(5), d = o(6), h = a.range, p = s.range, v = l.range, m = u.range, g = c.range, y = f.range, b = d.range }, 97344: function(e, t, n) { "use strict"; n.d(t, { g: function() { return o } }); var r = n(22179), i = (0, r.Z)(function(e) { e.setMonth(0, 1), e.setHours(0, 0, 0, 0) }, function(e, t) { e.setFullYear(e.getFullYear() + t) }, function(e, t) { return t.getFullYear() - e.getFullYear() }, function(e) { return e.getFullYear() }); i.every = function(e) { return isFinite(e = Math.floor(e)) && e > 0 ? (0, r.Z)(function(t) { t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0) }, function(t, n) { t.setFullYear(t.getFullYear() + n * e) }) : null }, t.Z = i; var o = i.range }, 19785: function(e, t, n) { "use strict"; function r(e, t) { if (t.length < e) throw TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present") } n.d(t, { Z: function() { return r } }) }, 66700: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return i } }); var r = n(19785); function i(e) { (0, r.Z)(1, arguments); var t = Object.prototype.toString.call(e); return e instanceof Date || "object" == typeof e && "[object Date]" === t ? new Date(e.getTime()) : "number" == typeof e || "[object Number]" === t ? new Date(e) : (("string" == typeof e || "[object String]" === t) && "undefined" != typeof console && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"), console.warn(Error().stack)), new Date(NaN)) } }, 36386: function(e) { function t(e, t, n) { function r() { var u = Date.now() - s; u < t && u >= 0 ? i = setTimeout(r, t - u) : (i = null, n || (l = e.apply(a, o), a = o = null)) } null == t && (t = 100); var i, o, a, s, l, u = function() { a = this, o = arguments, s = Date.now(); var u = n && !i; return i || (i = setTimeout(r, t)), u && (l = e.apply(a, o), a = o = null), l }; return u.clear = function() { i && (clearTimeout(i), i = null) }, u.flush = function() { i && (l = e.apply(a, o), a = o = null, clearTimeout(i), i = null) }, u } t.debounce = t, e.exports = t }, 63397: function(e, t, n) { "use strict"; n.d(t, { TA: function() { return nn } }); var r, i, o, a = n(2784), s = n(78435), l = n.n(s), u = function(e) { var t; return !!e && "object" == typeof e && "[object RegExp]" !== (t = Object.prototype.toString.call(e)) && "[object Date]" !== t && e.$$typeof !== c }, c = "function" == typeof Symbol && Symbol.for ? Symbol.for("react.element") : 60103; function f(e, t) { return !1 !== t.clone && t.isMergeableObject(e) ? h(Array.isArray(e) ? [] : {}, e, t) : e } function d(e, t, n) { return e.concat(t).map(function(e) { return f(e, n) }) } function h(e, t, n) { (n = n || {}).arrayMerge = n.arrayMerge || d, n.isMergeableObject = n.isMergeableObject || u; var r, i, o = Array.isArray(t); return o !== Array.isArray(e) ? f(t, n) : o ? n.arrayMerge(e, t, n) : (i = {}, (r = n).isMergeableObject(e) && Object.keys(e).forEach(function(t) { i[t] = f(e[t], r) }), Object.keys(t).forEach(function(n) { r.isMergeableObject(t[n]) && e[n] ? i[n] = h(e[n], t[n], r) : i[n] = f(t[n], r) }), i) } h.all = function(e, t) { if (!Array.isArray(e)) throw Error("first argument should be an array"); return e.reduce(function(e, n) { return h(e, n, t) }, {}) }; var p = h, v = "object" == typeof global && global && global.Object === Object && global, m = "object" == typeof self && self && self.Object === Object && self, g = v || m || Function("return this")(), y = g.Symbol, b = Object.prototype, x = b.hasOwnProperty, w = b.toString, _ = y ? y.toStringTag : void 0, E = function(e) { var t = x.call(e, _), n = e[_]; try { e[_] = void 0; var r = !0 } catch (i) { } var o = w.call(e); return r && (t ? e[_] = n : delete e[_]), o }, k = Object.prototype.toString, j = y ? y.toStringTag : void 0, S = function(e) { return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : j && j in Object(e) ? E(e) : k.call(e) }, O = function(e, t) { return function(n) { return e(t(n)) } }, C = O(Object.getPrototypeOf, Object), A = function(e) { return null != e && "object" == typeof e }, T = Object.prototype, M = Function.prototype.toString, P = T.hasOwnProperty, N = M.call(Object), R = function(e) { if (!A(e) || "[object Object]" != S(e)) return !1; var t = C(e); if (null === t) return !0; var n = P.call(t, "constructor") && t.constructor; return "function" == typeof n && n instanceof n && M.call(n) == N }, D = function(e, t) { return e === t || e != e && t != t }, L = function(e, t) { for (var n = e.length; n--;)if (D(e[n][0], t)) return n; return -1 }, F = Array.prototype.splice; function I(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } I.prototype.clear = function() { this.__data__ = [], this.size = 0 }, I.prototype.delete = function(e) { var t = this.__data__, n = L(t, e); return !(n < 0) && (n == t.length - 1 ? t.pop() : F.call(t, n, 1), --this.size, !0) }, I.prototype.get = function(e) { var t = this.__data__, n = L(t, e); return n < 0 ? void 0 : t[n][1] }, I.prototype.has = function(e) { return L(this.__data__, e) > -1 }, I.prototype.set = function(e, t) { var n = this.__data__, r = L(n, e); return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this }; var z = function(e) { var t = typeof e; return null != e && ("object" == t || "function" == t) }, V = function(e) { if (!z(e)) return !1; var t = S(e); return "[object Function]" == t || "[object GeneratorFunction]" == t || "[object AsyncFunction]" == t || "[object Proxy]" == t }, B = g["__core-js_shared__"], Z = (r = /[^.]+$/.exec(B && B.keys && B.keys.IE_PROTO || "")) ? "Symbol(src)_1." + r : "", U = Function.prototype.toString, H = function(e) { if (null != e) { try { return U.call(e) } catch (t) { } try { return e + "" } catch (n) { } } return "" }, W = /^\[object .+?Constructor\]$/, q = Object.prototype, $ = Function.prototype.toString, Y = q.hasOwnProperty, G = RegExp("^" + $.call(Y).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), K = function(e, t) { var n, r = null == e ? void 0 : e[t]; return z(n = r) && (!Z || !(Z in n)) && (V(n) ? G : W).test(H(n)) ? r : void 0 }, X = K(g, "Map"), Q = K(Object, "create"), J = Object.prototype.hasOwnProperty, ee = Object.prototype.hasOwnProperty; function et(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } et.prototype.clear = function() { this.__data__ = Q ? Q(null) : {}, this.size = 0 }, et.prototype.delete = function(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t }, et.prototype.get = function(e) { var t = this.__data__; if (Q) { var n = t[e]; return "__lodash_hash_undefined__" === n ? void 0 : n } return J.call(t, e) ? t[e] : void 0 }, et.prototype.has = function(e) { var t = this.__data__; return Q ? void 0 !== t[e] : ee.call(t, e) }, et.prototype.set = function(e, t) { var n = this.__data__; return this.size += this.has(e) ? 0 : 1, n[e] = Q && void 0 === t ? "__lodash_hash_undefined__" : t, this }; var en = function(e) { var t = typeof e; return "string" == t || "number" == t || "symbol" == t || "boolean" == t ? "__proto__" !== e : null === e }, er = function(e, t) { var n = e.__data__; return en(t) ? n["string" == typeof t ? "string" : "hash"] : n.map }; function ei(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } function eo(e) { var t = this.__data__ = new I(e); this.size = t.size } ei.prototype.clear = function() { this.size = 0, this.__data__ = { hash: new et, map: new (X || I), string: new et } }, ei.prototype.delete = function(e) { var t = er(this, e).delete(e); return this.size -= t ? 1 : 0, t }, ei.prototype.get = function(e) { return er(this, e).get(e) }, ei.prototype.has = function(e) { return er(this, e).has(e) }, ei.prototype.set = function(e, t) { var n = er(this, e), r = n.size; return n.set(e, t), this.size += n.size == r ? 0 : 1, this }, eo.prototype.clear = function() { this.__data__ = new I, this.size = 0 }, eo.prototype.delete = function(e) { var t = this.__data__, n = t.delete(e); return this.size = t.size, n }, eo.prototype.get = function(e) { return this.__data__.get(e) }, eo.prototype.has = function(e) { return this.__data__.has(e) }, eo.prototype.set = function(e, t) { var n = this.__data__; if (n instanceof I) { var r = n.__data__; if (!X || r.length < 199) return r.push([e, t]), this.size = ++n.size, this; n = this.__data__ = new ei(r) } return n.set(e, t), this.size = n.size, this }; var ea = function(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r && !1 !== t(e[n], n, e);); return e }, es = function() { try { var e = K(Object, "defineProperty"); return e({}, "", {}), e } catch (t) { } }(), el = function(e, t, n) { "__proto__" == t && es ? es(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 }) : e[t] = n }, eu = Object.prototype.hasOwnProperty, ec = function(e, t, n) { var r = e[t]; eu.call(e, t) && D(r, n) && (void 0 !== n || t in e) || el(e, t, n) }, ef = function(e, t, n, r) { var i = !n; n || (n = {}); for (var o = -1, a = t.length; ++o < a;) { var s = t[o], l = r ? r(n[s], e[s], s, n, e) : void 0; void 0 === l && (l = e[s]), i ? el(n, s, l) : ec(n, s, l) } return n }, ed = function(e, t) { for (var n = -1, r = Array(e); ++n < e;)r[n] = t(n); return r }, eh = function(e) { return A(e) && "[object Arguments]" == S(e) }, ep = Object.prototype, ev = ep.hasOwnProperty, em = ep.propertyIsEnumerable, eg = eh(function() { return arguments }()) ? eh : function(e) { return A(e) && ev.call(e, "callee") && !em.call(e, "callee") }, ey = Array.isArray, eb = "object" == typeof exports && exports && !exports.nodeType && exports, ex = eb && "object" == typeof module && module && !module.nodeType && module, ew = ex && ex.exports === eb ? g.Buffer : void 0, e_ = (ew ? ew.isBuffer : void 0) || function() { return !1 }, eE = /^(?:0|[1-9]\d*)$/, ek = function(e, t) { var n = typeof e; return !!(t = null == t ? 9007199254740991 : t) && ("number" == n || "symbol" != n && eE.test(e)) && e > -1 && e % 1 == 0 && e < t }, ej = function(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 }, eS = {}; eS["[object Float32Array]"] = eS["[object Float64Array]"] = eS["[object Int8Array]"] = eS["[object Int16Array]"] = eS["[object Int32Array]"] = eS["[object Uint8Array]"] = eS["[object Uint8ClampedArray]"] = eS["[object Uint16Array]"] = eS["[object Uint32Array]"] = !0, eS["[object Arguments]"] = eS["[object Array]"] = eS["[object ArrayBuffer]"] = eS["[object Boolean]"] = eS["[object DataView]"] = eS["[object Date]"] = eS["[object Error]"] = eS["[object Function]"] = eS["[object Map]"] = eS["[object Number]"] = eS["[object Object]"] = eS["[object RegExp]"] = eS["[object Set]"] = eS["[object String]"] = eS["[object WeakMap]"] = !1; var eO = function(e) { return function(t) { return e(t) } }, eC = "object" == typeof exports && exports && !exports.nodeType && exports, eA = eC && "object" == typeof module && module && !module.nodeType && module, eT = eA && eA.exports === eC && v.process, eM = function() { try { var e = eA && eA.require && eA.require("util").types; if (e) return e; return eT && eT.binding && eT.binding("util") } catch (t) { } }(), eP = eM && eM.isTypedArray, eN = eP ? eO(eP) : function(e) { return A(e) && ej(e.length) && !!eS[S(e)] }, eR = Object.prototype.hasOwnProperty, eD = function(e, t) { var n = ey(e), r = !n && eg(e), i = !n && !r && e_(e), o = !n && !r && !i && eN(e), a = n || r || i || o, s = a ? ed(e.length, String) : [], l = s.length; for (var u in e) (t || eR.call(e, u)) && !(a && ("length" == u || i && ("offset" == u || "parent" == u) || o && ("buffer" == u || "byteLength" == u || "byteOffset" == u) || ek(u, l))) && s.push(u); return s }, eL = Object.prototype, eF = function(e) { var t = e && e.constructor, n = "function" == typeof t && t.prototype || eL; return e === n }, eI = O(Object.keys, Object), ez = Object.prototype.hasOwnProperty, eV = function(e) { if (!eF(e)) return eI(e); var t = []; for (var n in Object(e)) ez.call(e, n) && "constructor" != n && t.push(n); return t }, eB = function(e) { return null != e && ej(e.length) && !V(e) }, eZ = function(e) { return eB(e) ? eD(e) : eV(e) }, eU = function(e) { var t = []; if (null != e) for (var n in Object(e)) t.push(n); return t }, eH = Object.prototype.hasOwnProperty, eW = function(e) { if (!z(e)) return eU(e); var t = eF(e), n = []; for (var r in e) "constructor" == r && (t || !eH.call(e, r)) || n.push(r); return n }, eq = function(e) { return eB(e) ? eD(e, !0) : eW(e) }, e$ = "object" == typeof exports && exports && !exports.nodeType && exports, eY = e$ && "object" == typeof module && module && !module.nodeType && module, eG = eY && eY.exports === e$ ? g.Buffer : void 0, eK = eG ? eG.allocUnsafe : void 0, eX = function(e, t) { if (t) return e.slice(); var n = e.length, r = eK ? eK(n) : new e.constructor(n); return e.copy(r), r }, eQ = function(e, t) { var n = -1, r = e.length; for (t || (t = Array(r)); ++n < r;)t[n] = e[n]; return t }, eJ = function(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = 0, o = []; ++n < r;) { var a = e[n]; t(a, n, e) && (o[i++] = a) } return o }, e0 = function() { return [] }, e1 = Object.prototype.propertyIsEnumerable, e2 = Object.getOwnPropertySymbols, e4 = e2 ? function(e) { return null == e ? [] : eJ(e2(e = Object(e)), function(t) { return e1.call(e, t) }) } : e0, e3 = function(e, t) { for (var n = -1, r = t.length, i = e.length; ++n < r;)e[i + n] = t[n]; return e }, e5 = Object.getOwnPropertySymbols ? function(e) { for (var t = []; e;)e3(t, e4(e)), e = C(e); return t } : e0, e6 = function(e, t, n) { var r = t(e); return ey(e) ? r : e3(r, n(e)) }, e8 = function(e) { return e6(e, eZ, e4) }, e7 = function(e) { return e6(e, eq, e5) }, e9 = K(g, "DataView"), te = K(g, "Promise"), tt = K(g, "Set"), tn = K(g, "WeakMap"), tr = "[object Map]", ti = "[object Promise]", to = "[object Set]", ta = "[object WeakMap]", ts = "[object DataView]", tl = H(e9), tu = H(X), tc = H(te), tf = H(tt), td = H(tn), th = S; (e9 && th(new e9(new ArrayBuffer(1))) != ts || X && th(new X) != tr || te && th(te.resolve()) != ti || tt && th(new tt) != to || tn && th(new tn) != ta) && (th = function(e) { var t = S(e), n = "[object Object]" == t ? e.constructor : void 0, r = n ? H(n) : ""; if (r) switch (r) { case tl: return ts; case tu: return tr; case tc: return ti; case tf: return to; case td: return ta }return t }); var tp = th, tv = Object.prototype.hasOwnProperty, tm = function(e) { var t = e.length, n = new e.constructor(t); return t && "string" == typeof e[0] && tv.call(e, "index") && (n.index = e.index, n.input = e.input), n }, tg = g.Uint8Array, ty = function(e) { var t = new e.constructor(e.byteLength); return new tg(t).set(new tg(e)), t }, tb = function(e, t) { var n = t ? ty(e.buffer) : e.buffer; return new e.constructor(n, e.byteOffset, e.byteLength) }, tx = /\w*$/, tw = function(e) { var t = new e.constructor(e.source, tx.exec(e)); return t.lastIndex = e.lastIndex, t }, t_ = y ? y.prototype : void 0, tE = t_ ? t_.valueOf : void 0, tk = function(e, t) { var n = t ? ty(e.buffer) : e.buffer; return new e.constructor(n, e.byteOffset, e.length) }, tj = function(e, t, n) { var r = e.constructor; switch (t) { case "[object ArrayBuffer]": return ty(e); case "[object Boolean]": case "[object Date]": return new r(+e); case "[object DataView]": return tb(e, n); case "[object Float32Array]": case "[object Float64Array]": case "[object Int8Array]": case "[object Int16Array]": case "[object Int32Array]": case "[object Uint8Array]": case "[object Uint8ClampedArray]": case "[object Uint16Array]": case "[object Uint32Array]": return tk(e, n); case "[object Map]": case "[object Set]": return new r; case "[object Number]": case "[object String]": return new r(e); case "[object RegExp]": return tw(e); case "[object Symbol]": return tE ? Object(tE.call(e)) : {} } }, tS = Object.create, tO = function() { function e() { } return function(t) { if (!z(t)) return {}; if (tS) return tS(t); e.prototype = t; var n = new e; return e.prototype = void 0, n } }(), tC = eM && eM.isMap, tA = tC ? eO(tC) : function(e) { return A(e) && "[object Map]" == tp(e) }, tT = eM && eM.isSet, tM = tT ? eO(tT) : function(e) { return A(e) && "[object Set]" == tp(e) }, tP = "[object Arguments]", tN = "[object Function]", tR = "[object Object]", tD = {}; tD[tP] = tD["[object Array]"] = tD["[object ArrayBuffer]"] = tD["[object DataView]"] = tD["[object Boolean]"] = tD["[object Date]"] = tD["[object Float32Array]"] = tD["[object Float64Array]"] = tD["[object Int8Array]"] = tD["[object Int16Array]"] = tD["[object Int32Array]"] = tD["[object Map]"] = tD["[object Number]"] = tD[tR] = tD["[object RegExp]"] = tD["[object Set]"] = tD["[object String]"] = tD["[object Symbol]"] = tD["[object Uint8Array]"] = tD["[object Uint8ClampedArray]"] = tD["[object Uint16Array]"] = tD["[object Uint32Array]"] = !0, tD["[object Error]"] = tD[tN] = tD["[object WeakMap]"] = !1; var tL = function e(t, n, r, i, o, a) { var s, l = 1 & n, u = 2 & n; if (r && (s = o ? r(t, i, o, a) : r(t)), void 0 !== s) return s; if (!z(t)) return t; var c = ey(t); if (c) { if (s = tm(t), !l) return eQ(t, s) } else { var f, d, h, p, v = tp(t), m = v == tN || "[object GeneratorFunction]" == v; if (e_(t)) return eX(t, l); if (v == tR || v == tP || m && !o) { if (s = u || m ? {} : "function" != typeof t.constructor || eF(t) ? {} : tO(C(t)), !l) return u ? (d = (f = s) && ef(t, eq(t), f), ef(t, e5(t), d)) : (p = (h = s) && ef(t, eZ(t), h), ef(t, e4(t), p)) } else { if (!tD[v]) return o ? t : {}; s = tj(t, v, l) } } a || (a = new eo); var g = a.get(t); if (g) return g; a.set(t, s), tM(t) ? t.forEach(function(i) { s.add(e(i, n, r, i, t, a)) }) : tA(t) && t.forEach(function(i, o) { s.set(o, e(i, n, r, o, t, a)) }); var y = c ? void 0 : (4 & n ? u ? e7 : e8 : u ? eq : eZ)(t); return ea(y || t, function(i, o) { y && (i = t[o = i]), ec(s, o, e(i, n, r, o, t, a)) }), s }, tF = function(e) { return tL(e, 4) }, tI = function(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = Array(r); ++n < r;)i[n] = t(e[n], n, e); return i }, tz = function(e) { return "symbol" == typeof e || A(e) && "[object Symbol]" == S(e) }; function tV(e, t) { if ("function" != typeof e || null != t && "function" != typeof t) throw TypeError("Expected a function"); var n = function() { var r = arguments, i = t ? t.apply(this, r) : r[0], o = n.cache; if (o.has(i)) return o.get(i); var a = e.apply(this, r); return n.cache = o.set(i, a) || o, a }; return n.cache = new (tV.Cache || ei), n } tV.Cache = ei; var tB = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, tZ = /\\(\\)?/g, tU = (o = (i = tV(function(e) { var t = []; return 46 === e.charCodeAt(0) && t.push(""), e.replace(tB, function(e, n, r, i) { t.push(r ? i.replace(tZ, "$1") : n || e) }), t }, function(e) { return 500 === o.size && o.clear(), e })).cache, i), tH = 1 / 0, tW = function(e) { if ("string" == typeof e || tz(e)) return e; var t = e + ""; return "0" == t && 1 / e == -tH ? "-0" : t }, tq = 1 / 0, t$ = y ? y.prototype : void 0, tY = t$ ? t$.toString : void 0, tG = function e(t) { if ("string" == typeof t) return t; if (ey(t)) return tI(t, e) + ""; if (tz(t)) return tY ? tY.call(t) : ""; var n = t + ""; return "0" == n && 1 / t == -tq ? "-0" : n }, tK = function(e) { return ey(e) ? tI(e, tW) : tz(e) ? [e] : eQ(tU(null == e ? "" : tG(e))) }, tX = function(e, t) { }; function tQ() { return (tQ = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function tJ(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i } function t0(e) { if (void 0 === e) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } n(73463); var t1 = function(e) { return Array.isArray(e) && 0 === e.length }, t2 = function(e) { return "function" == typeof e }, t4 = function(e) { return null !== e && "object" == typeof e }, t3 = function(e) { return "[object String]" === Object.prototype.toString.call(e) }, t5 = function(e) { return t4(e) && t2(e.then) }; function t6(e, t, n, r) { void 0 === r && (r = 0); for (var i = tK(t); e && r < i.length;)e = e[i[r++]]; return void 0 === e ? n : e } function t8(e, t, n) { for (var r = tF(e), i = r, o = 0, a = tK(t); o < a.length - 1; o++) { var s = a[o], l = t6(e, a.slice(0, o + 1)); if (l && (t4(l) || Array.isArray(l))) i = i[s] = tF(l); else { var u = a[o + 1]; i = i[s] = String(Math.floor(Number(u))) === u && Number(u) >= 0 ? [] : {} } } return (0 === o ? e : i)[a[o]] === n ? e : (void 0 === n ? delete i[a[o]] : i[a[o]] = n, 0 === o && void 0 === n && delete r[a[o]], r) } var t7 = (0, a.createContext)(void 0); function t9(e, t) { switch (t.type) { case "SET_VALUES": return tQ({}, e, { values: t.payload }); case "SET_TOUCHED": return tQ({}, e, { touched: t.payload }); case "SET_ERRORS": if (l()(e.errors, t.payload)) return e; return tQ({}, e, { errors: t.payload }); case "SET_STATUS": return tQ({}, e, { status: t.payload }); case "SET_ISSUBMITTING": return tQ({}, e, { isSubmitting: t.payload }); case "SET_ISVALIDATING": return tQ({}, e, { isValidating: t.payload }); case "SET_FIELD_VALUE": return tQ({}, e, { values: t8(e.values, t.payload.field, t.payload.value) }); case "SET_FIELD_TOUCHED": return tQ({}, e, { touched: t8(e.touched, t.payload.field, t.payload.value) }); case "SET_FIELD_ERROR": return tQ({}, e, { errors: t8(e.errors, t.payload.field, t.payload.value) }); case "RESET_FORM": return tQ({}, e, t.payload); case "SET_FORMIK_STATE": return t.payload(e); case "SUBMIT_ATTEMPT": return tQ({}, e, { touched: function e(t, n, r, i) { void 0 === r && (r = new WeakMap), void 0 === i && (i = {}); for (var o = 0, a = Object.keys(t); o < a.length; o++) { var s = a[o], l = t[s]; t4(l) ? r.get(l) || (r.set(l, !0), i[s] = Array.isArray(l) ? [] : {}, e(l, n, r, i[s])) : i[s] = n } return i }(e.values, !0), isSubmitting: !0, submitCount: e.submitCount + 1 }); case "SUBMIT_FAILURE": case "SUBMIT_SUCCESS": return tQ({}, e, { isSubmitting: !1 }); default: return e } } t7.displayName = "FormikContext", t7.Provider, t7.Consumer; var ne = {}, nt = {}; function nn(e) { var t = e.validateOnChange, n = void 0 === t || t, r = e.validateOnBlur, i = void 0 === r || r, o = e.validateOnMount, s = void 0 !== o && o, u = e.isInitialValid, c = e.enableReinitialize, f = void 0 !== c && c, d = e.onSubmit, h = tQ({ validateOnChange: n, validateOnBlur: i, validateOnMount: s, onSubmit: d }, tJ(e, ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"])), v = (0, a.useRef)(h.initialValues), m = (0, a.useRef)(h.initialErrors || ne), g = (0, a.useRef)(h.initialTouched || nt), y = (0, a.useRef)(h.initialStatus), b = (0, a.useRef)(!1), x = (0, a.useRef)({}); (0, a.useEffect)(function() { return b.current = !0, function() { b.current = !1 } }, []); var w = (0, a.useReducer)(t9, { values: h.initialValues, errors: h.initialErrors || ne, touched: h.initialTouched || nt, status: h.initialStatus, isSubmitting: !1, isValidating: !1, submitCount: 0 }), _ = w[0], E = w[1], k = (0, a.useCallback)(function(e, t) { return new Promise(function(n, r) { var i = h.validate(e, t); null == i ? n(ne) : t5(i) ? i.then(function(e) { n(e || ne) }, function(e) { r(e) }) : n(i) }) }, [h.validate]), j = (0, a.useCallback)(function(e, t) { var n, r, i, o = h.validationSchema, a = t2(o) ? o(t) : o, s = t && a.validateAt ? a.validateAt(t, e) : (void 0 === n && (n = !1), void 0 === r && (r = {}), i = function e(t) { var n = Array.isArray(t) ? [] : {}; for (var r in t) if (Object.prototype.hasOwnProperty.call(t, r)) { var i = String(r); !0 === Array.isArray(t[i]) ? n[i] = t[i].map(function(t) { return !0 === Array.isArray(t) || R(t) ? e(t) : "" !== t ? t : void 0 }) : R(t[i]) ? n[i] = e(t[i]) : n[i] = "" !== t[i] ? t[i] : void 0 } return n }(e), a[n ? "validateSync" : "validate"](i, { abortEarly: !1, context: r })); return new Promise(function(e, t) { s.then(function() { e(ne) }, function(n) { "ValidationError" === n.name ? e(function(e) { var t = {}; if (e.inner) { if (0 === e.inner.length) return t8(t, e.path, e.message); for (var n = e.inner, r = Array.isArray(n), i = 0, n = r ? n : n[Symbol.iterator](); ;) { if (r) { if (i >= n.length) break; o = n[i++] } else { if ((i = n.next()).done) break; o = i.value } var o, a = o; t6(t, a.path) || (t = t8(t, a.path, a.message)) } } return t }(n)) : t(n) }) }) }, [h.validationSchema]), S = (0, a.useCallback)(function(e, t) { return new Promise(function(n) { return n(x.current[e].validate(t)) }) }, []), O = (0, a.useCallback)(function(e) { var t = Object.keys(x.current).filter(function(e) { return t2(x.current[e].validate) }); return Promise.all(t.length > 0 ? t.map(function(t) { return S(t, t6(e, t)) }) : [Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")]).then(function(e) { return e.reduce(function(e, n, r) { return "DO_NOT_DELETE_YOU_WILL_BE_FIRED" === n || n && (e = t8(e, t[r], n)), e }, {}) }) }, [S]), C = (0, a.useCallback)(function(e) { return Promise.all([O(e), h.validationSchema ? j(e) : {}, h.validate ? k(e) : {}]).then(function(e) { var t = e[0], n = e[1], r = e[2]; return p.all([t, n, r], { arrayMerge: nr }) }) }, [h.validate, h.validationSchema, O, k, j]), A = no(function(e) { return void 0 === e && (e = _.values), E({ type: "SET_ISVALIDATING", payload: !0 }), C(e).then(function(e) { return b.current && (E({ type: "SET_ISVALIDATING", payload: !1 }), E({ type: "SET_ERRORS", payload: e })), e }) }); (0, a.useEffect)(function() { s && !0 === b.current && l()(v.current, h.initialValues) && A(v.current) }, [s, A]); var T = (0, a.useCallback)(function(e) { var t = e && e.values ? e.values : v.current, n = e && e.errors ? e.errors : m.current ? m.current : h.initialErrors || {}, r = e && e.touched ? e.touched : g.current ? g.current : h.initialTouched || {}, i = e && e.status ? e.status : y.current ? y.current : h.initialStatus; v.current = t, m.current = n, g.current = r, y.current = i; var o = function() { E({ type: "RESET_FORM", payload: { isSubmitting: !!e && !!e.isSubmitting, errors: n, touched: r, status: i, values: t, isValidating: !!e && !!e.isValidating, submitCount: e && e.submitCount && "number" == typeof e.submitCount ? e.submitCount : 0 } }) }; if (h.onReset) { var a = h.onReset(_.values, K); t5(a) ? a.then(o) : o() } else o() }, [h.initialErrors, h.initialStatus, h.initialTouched]); (0, a.useEffect)(function() { !0 === b.current && !l()(v.current, h.initialValues) && (f && (v.current = h.initialValues, T()), s && A(v.current)) }, [f, h.initialValues, T, s, A]), (0, a.useEffect)(function() { f && !0 === b.current && !l()(m.current, h.initialErrors) && (m.current = h.initialErrors || ne, E({ type: "SET_ERRORS", payload: h.initialErrors || ne })) }, [f, h.initialErrors]), (0, a.useEffect)(function() { f && !0 === b.current && !l()(g.current, h.initialTouched) && (g.current = h.initialTouched || nt, E({ type: "SET_TOUCHED", payload: h.initialTouched || nt })) }, [f, h.initialTouched]), (0, a.useEffect)(function() { f && !0 === b.current && !l()(y.current, h.initialStatus) && (y.current = h.initialStatus, E({ type: "SET_STATUS", payload: h.initialStatus })) }, [f, h.initialStatus, h.initialTouched]); var M = no(function(e) { if (x.current[e] && t2(x.current[e].validate)) { var t = t6(_.values, e), n = x.current[e].validate(t); return t5(n) ? (E({ type: "SET_ISVALIDATING", payload: !0 }), n.then(function(e) { return e }).then(function(t) { E({ type: "SET_FIELD_ERROR", payload: { field: e, value: t } }), E({ type: "SET_ISVALIDATING", payload: !1 }) })) : (E({ type: "SET_FIELD_ERROR", payload: { field: e, value: n } }), Promise.resolve(n)) } return h.validationSchema ? (E({ type: "SET_ISVALIDATING", payload: !0 }), j(_.values, e).then(function(e) { return e }).then(function(t) { E({ type: "SET_FIELD_ERROR", payload: { field: e, value: t[e] } }), E({ type: "SET_ISVALIDATING", payload: !1 }) })) : Promise.resolve() }), P = (0, a.useCallback)(function(e, t) { var n = t.validate; x.current[e] = { validate: n } }, []), N = (0, a.useCallback)(function(e) { delete x.current[e] }, []), D = no(function(e, t) { return E({ type: "SET_TOUCHED", payload: e }), (void 0 === t ? i : t) ? A(_.values) : Promise.resolve() }), L = (0, a.useCallback)(function(e) { E({ type: "SET_ERRORS", payload: e }) }, []), F = no(function(e, t) { var r = t2(e) ? e(_.values) : e; return E({ type: "SET_VALUES", payload: r }), (void 0 === t ? n : t) ? A(r) : Promise.resolve() }), I = (0, a.useCallback)(function(e, t) { E({ type: "SET_FIELD_ERROR", payload: { field: e, value: t } }) }, []), z = no(function(e, t, r) { return E({ type: "SET_FIELD_VALUE", payload: { field: e, value: t } }), (void 0 === r ? n : r) ? A(t8(_.values, e, t)) : Promise.resolve() }), V = (0, a.useCallback)(function(e, t) { var n, r = t, i = e; if (!t3(e)) { e.persist && e.persist(); var o = e.target ? e.target : e.currentTarget, a = o.type, s = o.name, l = o.id, u = o.value, c = o.checked, f = (o.outerHTML, o.options), d = o.multiple; r = t || s || l, i = /number|range/.test(a) ? isNaN(n = parseFloat(u)) ? "" : n : /checkbox/.test(a) ? function(e, t, n) { if ("boolean" == typeof e) return Boolean(t); var r = [], i = !1, o = -1; if (Array.isArray(e)) r = e, i = (o = e.indexOf(n)) >= 0; else if (!n || "true" == n || "false" == n) return Boolean(t); return t && n && !i ? r.concat(n) : i ? r.slice(0, o).concat(r.slice(o + 1)) : r }(t6(_.values, r), c, u) : f && d ? Array.from(f).filter(function(e) { return e.selected }).map(function(e) { return e.value }) : u } r && z(r, i) }, [z, _.values]), B = no(function(e) { if (t3(e)) return function(t) { return V(t, e) }; V(e) }), Z = no(function(e, t, n) { return void 0 === t && (t = !0), E({ type: "SET_FIELD_TOUCHED", payload: { field: e, value: t } }), (void 0 === n ? i : n) ? A(_.values) : Promise.resolve() }), U = (0, a.useCallback)(function(e, t) { e.persist && e.persist(); var n = e.target, r = n.name, i = n.id; n.outerHTML, Z(t || r || i, !0) }, [Z]), H = no(function(e) { if (t3(e)) return function(t) { return U(t, e) }; U(e) }), W = (0, a.useCallback)(function(e) { t2(e) ? E({ type: "SET_FORMIK_STATE", payload: e }) : E({ type: "SET_FORMIK_STATE", payload: function() { return e } }) }, []), q = (0, a.useCallback)(function(e) { E({ type: "SET_STATUS", payload: e }) }, []), $ = (0, a.useCallback)(function(e) { E({ type: "SET_ISSUBMITTING", payload: e }) }, []), Y = no(function() { return E({ type: "SUBMIT_ATTEMPT" }), A().then(function(e) { var t, n = e instanceof Error; if (!n && 0 === Object.keys(e).length) { try { if (t = X(), void 0 === t) return } catch (r) { throw r } return Promise.resolve(t).then(function(e) { return b.current && E({ type: "SUBMIT_SUCCESS" }), e }).catch(function(e) { if (b.current) throw E({ type: "SUBMIT_FAILURE" }), e }) } if (b.current && (E({ type: "SUBMIT_FAILURE" }), n)) throw e }) }), G = no(function(e) { e && e.preventDefault && t2(e.preventDefault) && e.preventDefault(), e && e.stopPropagation && t2(e.stopPropagation) && e.stopPropagation(), Y().catch(function(e) { console.warn("Warning: An unhandled error was caught from submitForm()", e) }) }), K = { resetForm: T, validateForm: A, validateField: M, setErrors: L, setFieldError: I, setFieldTouched: Z, setFieldValue: z, setStatus: q, setSubmitting: $, setTouched: D, setValues: F, setFormikState: W, submitForm: Y }, X = no(function() { return d(_.values, K) }), Q = no(function(e) { e && e.preventDefault && t2(e.preventDefault) && e.preventDefault(), e && e.stopPropagation && t2(e.stopPropagation) && e.stopPropagation(), T() }), J = (0, a.useCallback)(function(e) { return { value: t6(_.values, e), error: t6(_.errors, e), touched: !!t6(_.touched, e), initialValue: t6(v.current, e), initialTouched: !!t6(g.current, e), initialError: t6(m.current, e) } }, [_.errors, _.touched, _.values]), ee = (0, a.useCallback)(function(e) { return { setValue: function(t, n) { return z(e, t, n) }, setTouched: function(t, n) { return Z(e, t, n) }, setError: function(t) { return I(e, t) } } }, [z, Z, I]), et = (0, a.useCallback)(function(e) { var t = t4(e), n = t ? e.name : e, r = t6(_.values, n), i = { name: n, value: r, onChange: B, onBlur: H }; if (t) { var o = e.type, a = e.value, s = e.as, l = e.multiple; "checkbox" === o ? void 0 === a ? i.checked = !!r : (i.checked = !!(Array.isArray(r) && ~r.indexOf(a)), i.value = a) : "radio" === o ? (i.checked = r === a, i.value = a) : "select" === s && l && (i.value = i.value || [], i.multiple = !0) } return i }, [H, B, _.values]), en = (0, a.useMemo)(function() { return !l()(v.current, _.values) }, [v.current, _.values]), er = (0, a.useMemo)(function() { return void 0 !== u ? en ? _.errors && 0 === Object.keys(_.errors).length : !1 !== u && t2(u) ? u(h) : u : _.errors && 0 === Object.keys(_.errors).length }, [u, en, _.errors, h]); return tQ({}, _, { initialValues: v.current, initialErrors: m.current, initialTouched: g.current, initialStatus: y.current, handleBlur: H, handleChange: B, handleReset: Q, handleSubmit: G, resetForm: T, setErrors: L, setFormikState: W, setFieldTouched: Z, setFieldValue: z, setFieldError: I, setStatus: q, setSubmitting: $, setTouched: D, setValues: F, submitForm: Y, validateForm: A, validateField: M, isValid: er, dirty: en, unregisterField: N, registerField: P, getFieldProps: et, getFieldMeta: J, getFieldHelpers: ee, validateOnBlur: i, validateOnChange: n, validateOnMount: s }) } function nr(e, t, n) { var r = e.slice(); return t.forEach(function(t, i) { if (void 0 === r[i]) { var o = !1 !== n.clone && n.isMergeableObject(t); r[i] = o ? p(Array.isArray(t) ? [] : {}, t, n) : t } else n.isMergeableObject(t) ? r[i] = p(e[i], t, n) : -1 === e.indexOf(t) && r.push(t) }), r } var ni = "undefined" != typeof window && void 0 !== window.document && void 0 !== window.document.createElement ? a.useLayoutEffect : a.useEffect; function no(e) { var t = (0, a.useRef)(e); return ni(function() { t.current = e }), (0, a.useCallback)(function() { for (var e = arguments.length, n = Array(e), r = 0; r < e; r++)n[r] = arguments[r]; return t.current.apply(void 0, n) }, []) } (0, a.forwardRef)(function(e, t) { var n, r = e.action, i = tJ(e, ["action"]), o = ((n = (0, a.useContext)(t7)) || tX(!1), n), s = o.handleReset, l = o.handleSubmit; return (0, a.createElement)("form", Object.assign({ onSubmit: l, ref: t, onReset: s, action: null != r ? r : "#" }, i)) }).displayName = "Form"; var na = function(e, t, n) { var r = nc(e), i = r[t]; return r.splice(t, 1), r.splice(n, 0, i), r }, ns = function(e, t, n) { var r = nc(e), i = r[t]; return r[t] = r[n], r[n] = i, r }, nl = function(e, t, n) { var r = nc(e); return r.splice(t, 0, n), r }, nu = function(e, t, n) { var r = nc(e); return r[t] = n, r }, nc = function(e) { if (!e) return []; if (Array.isArray(e)) return [].concat(e); var t = Object.keys(e).map(function(e) { return parseInt(e) }).reduce(function(e, t) { return t > e ? t : e }, 0); return Array.from(tQ({}, e, { length: t + 1 })) }; (function(e) { function t(t) { var n; return (n = e.call(this, t) || this).updateArrayField = function(e, t, r) { var i = n.props, o = i.name; (0, i.formik.setFormikState)(function(n) { var i = t8(n.values, o, e(t6(n.values, o))), a = r ? ("function" == typeof r ? r : e)(t6(n.errors, o)) : void 0, s = t ? ("function" == typeof t ? t : e)(t6(n.touched, o)) : void 0; return t1(a) && (a = void 0), t1(s) && (s = void 0), tQ({}, n, { values: i, errors: r ? t8(n.errors, o, a) : n.errors, touched: t ? t8(n.touched, o, s) : n.touched }) }) }, n.push = function(e) { return n.updateArrayField(function(t) { return [].concat(nc(t), [tL(e, 5)]) }, !1, !1) }, n.handlePush = function(e) { return function() { return n.push(e) } }, n.swap = function(e, t) { return n.updateArrayField(function(n) { return ns(n, e, t) }, !0, !0) }, n.handleSwap = function(e, t) { return function() { return n.swap(e, t) } }, n.move = function(e, t) { return n.updateArrayField(function(n) { return na(n, e, t) }, !0, !0) }, n.handleMove = function(e, t) { return function() { return n.move(e, t) } }, n.insert = function(e, t) { return n.updateArrayField(function(n) { return nl(n, e, t) }, function(t) { return nl(t, e, null) }, function(t) { return nl(t, e, null) }) }, n.handleInsert = function(e, t) { return function() { return n.insert(e, t) } }, n.replace = function(e, t) { return n.updateArrayField(function(n) { return nu(n, e, t) }, !1, !1) }, n.handleReplace = function(e, t) { return function() { return n.replace(e, t) } }, n.unshift = function(e) { var t = -1; return n.updateArrayField(function(n) { var r = n ? [e].concat(n) : [e]; return t < 0 && (t = r.length), r }, function(e) { var n = e ? [null].concat(e) : [null]; return t < 0 && (t = n.length), n }, function(e) { var n = e ? [null].concat(e) : [null]; return t < 0 && (t = n.length), n }), t }, n.handleUnshift = function(e) { return function() { return n.unshift(e) } }, n.handleRemove = function(e) { return function() { return n.remove(e) } }, n.handlePop = function() { return function() { return n.pop() } }, n.remove = n.remove.bind(t0(n)), n.pop = n.pop.bind(t0(n)), n } (n = t).prototype = Object.create(e.prototype), n.prototype.constructor = n, n.__proto__ = e; var n, r = t.prototype; return r.componentDidUpdate = function(e) { this.props.validateOnChange && this.props.formik.validateOnChange && !l()(t6(e.formik.values, e.name), t6(this.props.formik.values, this.props.name)) && this.props.formik.validateForm(this.props.formik.values) }, r.remove = function(e) { var t; return this.updateArrayField(function(n) { var r = n ? nc(n) : []; return t || (t = r[e]), t2(r.splice) && r.splice(e, 1), r }, !0, !0), t }, r.pop = function() { var e; return this.updateArrayField(function(t) { return e || (e = t && t.pop && t.pop()), t }, !0, !0), e }, r.render = function() { var e = { push: this.push, pop: this.pop, swap: this.swap, move: this.move, insert: this.insert, replace: this.replace, unshift: this.unshift, remove: this.remove, handlePush: this.handlePush, handlePop: this.handlePop, handleSwap: this.handleSwap, handleMove: this.handleMove, handleInsert: this.handleInsert, handleReplace: this.handleReplace, handleUnshift: this.handleUnshift, handleRemove: this.handleRemove }, t = this.props, n = t.component, r = t.render, i = t.children, o = t.name, s = tQ({}, e, { form: tJ(t.formik, ["validate", "validationSchema"]), name: o }); return n ? (0, a.createElement)(n, s) : r ? r(s) : i ? "function" == typeof i ? i(s) : 0 === a.Children.count(i) ? null : a.Children.only(i) : null }, t })(a.Component).defaultProps = { validateOnChange: !0 }, a.Component, a.Component }, 73463: function(e, t, n) { "use strict"; var r = n(73887), i = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, o = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, a = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, s = {}; function l(e) { return r.isMemo(e) ? a : s[e.$$typeof] || i } s[r.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, s[r.Memo] = a; var u = Object.defineProperty, c = Object.getOwnPropertyNames, f = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, p = Object.prototype; e.exports = function e(t, n, r) { if ("string" != typeof n) { if (p) { var i = h(n); i && i !== p && e(t, i, r) } var a = c(n); f && (a = a.concat(f(n))); for (var s = l(t), v = l(n), m = 0; m < a.length; ++m) { var g = a[m]; if (!o[g] && !(r && r[g]) && !(v && v[g]) && !(s && s[g])) { var y = d(n, g); try { u(t, g, y) } catch (b) { } } } } return t } }, 43459: function(e, t) { + "use strict";/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case m:case v:case l:return e;default:return t}}case i:return t}}}function _(e){return w(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===c},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===v},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},73887:function(e,t,n){"use strict";e.exports=n(43459)},62333:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,d=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*v}},39515:function(e,t,n){var r=n(38761)(n(37772),"DataView");e.exports=r},89612:function(e,t,n){var r=n(52118),i=n(96909),o=n(98138),a=n(4174),s=n(7942);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++ti?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=i?e:r(e,t,n)}},24019:function(e,t,n){var r=n(37772)["__core-js_shared__"];e.exports=r},55463:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},83126:function(e,t,n){var r=n(23895),i=n(33880),o=n(8435),a=n(66188);e.exports=function(e){return function(t){var n=i(t=a(t))?o(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},34311:function(e,t,n){var r=n(81207),i=n(97329),o=n(11618),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},61655:function(e,t,n){var r=n(6435)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=r},83043:function(e,t,n){var r=n(38761),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},74871:function(e,t,n){var r=n(45386),i=n(87064),o=n(59950);e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,f=t.length;if(c!=f&&!(u&&f>c))return!1;var d=l.get(e),h=l.get(t);if(d&&h)return d==t&&h==e;var p=-1,v=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p-1&&e%1==0&&e-1}},94769:function(e,t,n){var r=n(22218);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},92411:function(e,t,n){var r=n(89612),i=n(80235),o=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},36417:function(e,t,n){var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:function(e,t,n){var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},18052:function(e,t,n){var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:function(e,t,n){var r=n(27937);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},75179:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},73477:function(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},77777:function(e,t,n){var r=n(30733);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},99191:function(e,t,n){var r=n(38761)(Object,"create");e.exports=r},54248:function(e,t,n){var r=n(60241)(Object.keys,Object);e.exports=r},4146:function(e,t,n){e=n.nmd(e);var r=n(51242),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},37157:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},60241:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},37772:function(e,t,n){var r=n(51242),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},52842:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},52482:function(e){e.exports=function(e){return this.__data__.has(e)}},16909:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},15243:function(e,t,n){var r=n(80235);e.exports=function(){this.__data__=new r,this.size=0}},72858:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:function(e){e.exports=function(e){return this.__data__.get(e)}},8605:function(e){e.exports=function(e){return this.__data__.has(e)}},71418:function(e,t,n){var r=n(80235),i=n(10326),o=n(96738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},8435:function(e,t,n){var r=n(50217),i=n(33880),o=n(63344);e.exports=function(e){return i(e)?o(e):r(e)}},54452:function(e,t,n){var r=n(77777),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},33812:function(e,t,n){var r=n(4795),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},87035:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(r){}}return""}},52153:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},63344:function(e){var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+t+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[i,o,a].join("|")+")"+l+s+")*",c=RegExp(r+"(?="+r+")|(?:"+[i+n+"?",n,o,a,"["+t+"]"].join("|")+")"+(l+s+u),"g");e.exports=function(e){return e.match(c)||[]}},75304:function(e){var t="\ud800-\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="['’]",s="["+o+"]",l="["+r+"]",u="[^"+t+o+"\\d+"+n+r+i+"]",c="(?:\ud83c[\udde6-\uddff]){2}",f="[\ud800-\udbff][\udc00-\udfff]",d="["+i+"]",h="(?:"+l+"|"+u+")",p="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",v="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",m="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",g="[\\ufe0e\\ufe0f]?",y="(?:\\u200d(?:"+["[^"+t+"]",c,f].join("|")+")"+g+m+")*",b="(?:"+["["+n+"]",c,f].join("|")+")"+(g+m+y),x=RegExp([d+"?"+l+"+"+p+"(?="+[s,d,"$"].join("|")+")","(?:"+d+"|"+u+")+"+v+"(?="+[s,d+h,"$"].join("|")+")",d+"?"+h+"+"+p,d+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g");e.exports=function(e){return e.match(x)||[]}},96009:function(e,t,n){var r=n(82108),i=n(34311)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=i},82108:function(e,t,n){var r=n(66188),i=n(23779);e.exports=function(e){return i(r(e).toLowerCase())}},54073:function(e,t,n){var r=n(29259),i=n(61100),o=n(7642),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,f,d,h,p=0,v=!1,m=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=l,r=u;return l=u=void 0,p=t,f=e.apply(r,n)}function b(e){var n=e-h,r=e-p;return void 0===h||n>=t||n<0||m&&r>=c}function x(){var e,n,r,o=i();if(b(o))return w(o);d=setTimeout(x,(e=o-h,n=o-p,r=t-e,m?s(r,c-n):r))}function w(e){return(d=void 0,g&&l)?y(e):(l=u=void 0,f)}function _(){var e,n=i(),r=b(n);if(l=arguments,u=this,h=n,r){if(void 0===d)return p=e=h,d=setTimeout(x,t),v?y(e):f;if(m)return clearTimeout(d),d=setTimeout(x,t),y(h)}return void 0===d&&(d=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(v=!!n.leading,c=(m="maxWait"in n)?a(o(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),_.cancel=function(){void 0!==d&&clearTimeout(d),p=0,l=h=u=d=void 0},_.flush=function(){return void 0===d?f:w(i())},_}},97329:function(e,t,n){var r=n(61655),i=n(66188),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},41225:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},72579:function(e,t,n){var r=n(13324);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},93352:function(e,t,n){var r=n(32726),i=n(1369);e.exports=function(e,t){return null!=e&&i(e,t,r)}},95041:function(e,t,n){var r=n(20187),i=n(1369);e.exports=function(e,t){return null!=e&&i(e,t,r)}},23059:function(e){e.exports=function(e){return e}},79631:function(e,t,n){var r=n(15183),i=n(15125),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},86152:function(e){var t=Array.isArray;e.exports=t},67878:function(e,t,n){var r=n(61049),i=n(61158);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},73226:function(e,t,n){e=n.nmd(e);var r=n(37772),i=n(36330),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},61049:function(e,t,n){var r=n(53366),i=n(29259);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},61158:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,n){var r=n(53366),i=n(15125);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},77598:function(e,t,n){var r=n(35522),i=n(47826),o=n(4146),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},90249:function(e,t,n){var r=n(1634),i=n(86411),o=n(67878);e.exports=function(e){return o(e)?r(e):i(e)}},76635:function(e,t,n){var r;e=n.nmd(e),(function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=1/0,u=0/0,c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],f="[object Arguments]",d="[object Array]",h="[object Boolean]",p="[object Date]",v="[object Error]",m="[object Function]",g="[object GeneratorFunction]",y="[object Map]",b="[object Number]",x="[object Object]",w="[object Promise]",_="[object RegExp]",E="[object Set]",k="[object String]",j="[object Symbol]",S="[object WeakMap]",O="[object ArrayBuffer]",C="[object DataView]",A="[object Float32Array]",T="[object Float64Array]",M="[object Int8Array]",P="[object Int16Array]",N="[object Int32Array]",R="[object Uint8Array]",D="[object Uint8ClampedArray]",L="[object Uint16Array]",F="[object Uint32Array]",I=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,B=/&(?:amp|lt|gt|quot|#39);/g,Z=/[&<>"']/g,U=RegExp(B.source),H=RegExp(Z.source),W=/<%-([\s\S]+?)%>/g,q=/<%([\s\S]+?)%>/g,$=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,K=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(X.source),J=/^\s+/,ee=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /,ei=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,eo=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,es=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,el=/\w*$/,eu=/^[-+]0x[0-9a-f]+$/i,ec=/^0b[01]+$/i,ef=/^\[object .+?Constructor\]$/,ed=/^0o[0-7]+$/i,eh=/^(?:0|[1-9]\d*)$/,ep=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ev=/($^)/,em=/['\n\r\u2028\u2029\\]/g,eg="\ud800-\udfff",ey="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",ex="a-z\\xdf-\\xf6\\xf8-\\xff",ew="A-Z\\xc0-\\xd6\\xd8-\\xde",e_="\\ufe0e\\ufe0f",eE="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ek="['’]",ej="["+eE+"]",eS="["+ey+"]",eO="["+ex+"]",eC="[^"+eg+eE+"\\d+"+eb+ex+ew+"]",eA="\ud83c[\udffb-\udfff]",eT="[^"+eg+"]",eM="(?:\ud83c[\udde6-\uddff]){2}",eP="[\ud800-\udbff][\udc00-\udfff]",eN="["+ew+"]",eR="\\u200d",eD="(?:"+eO+"|"+eC+")",eL="(?:"+ek+"(?:d|ll|m|re|s|t|ve))?",eF="(?:"+ek+"(?:D|LL|M|RE|S|T|VE))?",eI="(?:"+eS+"|"+eA+")?",ez="["+e_+"]?",eV="(?:"+eR+"(?:"+[eT,eM,eP].join("|")+")"+ez+eI+")*",eB=ez+eI+eV,eZ="(?:"+["["+eb+"]",eM,eP].join("|")+")"+eB,eU="(?:"+[eT+eS+"?",eS,eM,eP,"["+eg+"]"].join("|")+")",eH=RegExp(ek,"g"),eW=RegExp(eS,"g"),eq=RegExp(eA+"(?="+eA+")|"+eU+eB,"g"),e$=RegExp([eN+"?"+eO+"+"+eL+"(?="+[ej,eN,"$"].join("|")+")","(?:"+eN+"|"+eC+")+"+eF+"(?="+[ej,eN+eD,"$"].join("|")+")",eN+"?"+eD+"+"+eL,eN+"+"+eF,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eZ].join("|"),"g"),eY=RegExp("["+eR+eg+ey+e_+"]"),eG=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eK=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eX=-1,eQ={};eQ[A]=eQ[T]=eQ[M]=eQ[P]=eQ[N]=eQ[R]=eQ[D]=eQ[L]=eQ[F]=!0,eQ[f]=eQ[d]=eQ[O]=eQ[h]=eQ[C]=eQ[p]=eQ[v]=eQ[m]=eQ[y]=eQ[b]=eQ[x]=eQ[_]=eQ[E]=eQ[k]=eQ[S]=!1;var eJ={};eJ[f]=eJ[d]=eJ[O]=eJ[C]=eJ[h]=eJ[p]=eJ[A]=eJ[T]=eJ[M]=eJ[P]=eJ[N]=eJ[y]=eJ[b]=eJ[x]=eJ[_]=eJ[E]=eJ[k]=eJ[j]=eJ[R]=eJ[D]=eJ[L]=eJ[F]=!0,eJ[v]=eJ[m]=eJ[S]=!1;var e0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e1=parseFloat,e2=parseInt,e4="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,e3="object"==typeof self&&self&&self.Object===Object&&self,e5=e4||e3||Function("return this")(),e6=t&&!t.nodeType&&t,e8=e6&&e&&!e.nodeType&&e,e7=e8&&e8.exports===e6,e9=e7&&e4.process,te=function(){try{var e=e8&&e8.require&&e8.require("util").types;if(e)return e;return e9&&e9.binding&&e9.binding("util")}catch(t){}}(),tt=te&&te.isArrayBuffer,tn=te&&te.isDate,tr=te&&te.isMap,ti=te&&te.isRegExp,to=te&&te.isSet,ta=te&&te.isTypedArray;function ts(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function tl(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function tp(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function tF(e,t){for(var n=e.length;n--&&tE(t,e[n],0)>-1;);return n}var tI=tC({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tz=tC({"&":"&","<":"<",">":">",'"':""","'":"'"});function tV(e){return"\\"+e0[e]}function tB(e){return eY.test(e)}function tZ(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function tU(e,t){return function(n){return e(t(n))}}function tH(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"}),tK=function e(t){var n,r,ee,eg,ey=(t=null==t?e5:tK.defaults(e5.Object(),t,tK.pick(e5,eK))).Array,eb=t.Date,ex=t.Error,ew=t.Function,e_=t.Math,eE=t.Object,ek=t.RegExp,ej=t.String,eS=t.TypeError,eO=ey.prototype,eC=ew.prototype,eA=eE.prototype,eT=t["__core-js_shared__"],eM=eC.toString,eP=eA.hasOwnProperty,eN=0,eR=(n=/[^.]+$/.exec(eT&&eT.keys&&eT.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",eD=eA.toString,eL=eM.call(eE),eF=e5._,eI=ek("^"+eM.call(eP).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ez=e7?t.Buffer:i,eV=t.Symbol,eB=t.Uint8Array,eZ=ez?ez.allocUnsafe:i,eU=tU(eE.getPrototypeOf,eE),eq=eE.create,eY=eA.propertyIsEnumerable,e0=eO.splice,e4=eV?eV.isConcatSpreadable:i,e3=eV?eV.iterator:i,e6=eV?eV.toStringTag:i,e8=function(){try{var e=ib(eE,"defineProperty");return e({},"",{}),e}catch(t){}}(),e9=t.clearTimeout!==e5.clearTimeout&&t.clearTimeout,te=eb&&eb.now!==e5.Date.now&&eb.now,tx=t.setTimeout!==e5.setTimeout&&t.setTimeout,tC=e_.ceil,tX=e_.floor,tQ=eE.getOwnPropertySymbols,tJ=ez?ez.isBuffer:i,t0=t.isFinite,t1=eO.join,t2=tU(eE.keys,eE),t4=e_.max,t3=e_.min,t5=eb.now,t6=t.parseInt,t8=e_.random,t7=eO.reverse,t9=ib(t,"DataView"),ne=ib(t,"Map"),nt=ib(t,"Promise"),nn=ib(t,"Set"),nr=ib(t,"WeakMap"),ni=ib(eE,"create"),no=nr&&new nr,na={},ns=iH(t9),nl=iH(ne),nu=iH(nt),nc=iH(nn),nf=iH(nr),nd=eV?eV.prototype:i,nh=nd?nd.valueOf:i,np=nd?nd.toString:i;function nv(e){if(oX(e)&&!oV(e)&&!(e instanceof nb)){if(e instanceof ny)return e;if(eP.call(e,"__wrapped__"))return iW(e)}return new ny(e)}var nm=function(){function e(){}return function(t){if(!oK(t))return{};if(eq)return eq(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function ng(){}function ny(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function nb(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function nx(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function nF(e,t,n,r,o,a){var s,l=1&t,u=2&t;if(n&&(s=o?n(e,r,o,a):n(e)),i!==s)return s;if(!oK(e))return e;var c=oV(e);if(c){if(v=(d=e).length,w=new d.constructor(v),v&&"string"==typeof d[0]&&eP.call(d,"index")&&(w.index=d.index,w.input=d.input),s=w,!l)return rW(e,s)}else{var d,v,w,S,I,z,V=i_(e),B=V==m||V==g;if(oH(e))return rz(e,l);if(V==x||V==f||B&&!o){if(s=u||B?{}:ik(e),!l)return u?(S=(z=s)&&rq(e,ay(e),z),rq(e,iw(e),S)):(I=nN(s,e),rq(e,ix(e),I))}else{if(!eJ[V])return o?e:{};s=function(e,t,n){var r,i,o=e.constructor;switch(t){case O:return rV(e);case h:case p:return new o(+e);case C:return r=n?rV(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case A:case T:case M:case P:case N:case R:case D:case L:case F:return rB(e,n);case y:return new o;case b:case k:return new o(e);case _:return(i=new e.constructor(e.source,el.exec(e))).lastIndex=e.lastIndex,i;case E:return new o;case j:return nh?eE(nh.call(e)):{}}}(e,V,l)}}a||(a=new nk);var Z=a.get(e);if(Z)return Z;a.set(e,s),o2(e)?e.forEach(function(r){s.add(nF(r,t,n,r,e,a))}):oQ(e)&&e.forEach(function(r,i){s.set(i,nF(r,t,n,i,e,a))});var U=c?i:(4&t?u?id:ic:u?ay:ag)(e);return tu(U||e,function(r,i){U&&(r=e[i=r]),nT(s,i,nF(r,t,n,i,e,a))}),s}function nI(e,t,n){var r=n.length;if(null==e)return!r;for(e=eE(e);r--;){var o=n[r],a=t[o],s=e[o];if(i===s&&!(o in e)||!a(s))return!1}return!0}function nz(e,t,n){if("function"!=typeof e)throw new eS(o);return iF(function(){e.apply(i,n)},t)}function nV(e,t,n,r){var i=-1,o=th,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=tv(t,tN(n))),r?(o=tp,a=!1):t.length>=200&&(o=tD,a=!1,t=new nE(t));t:for(;++i-1},nw.prototype.set=function(e,t){var n=this.__data__,r=nM(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},n_.prototype.clear=function(){this.size=0,this.__data__={hash:new nx,map:new(ne||nw),string:new nx}},n_.prototype.delete=function(e){var t=ig(this,e).delete(e);return this.size-=t?1:0,t},n_.prototype.get=function(e){return ig(this,e).get(e)},n_.prototype.has=function(e){return ig(this,e).has(e)},n_.prototype.set=function(e,t){var n=ig(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},nE.prototype.add=nE.prototype.push=function(e){return this.__data__.set(e,a),this},nE.prototype.has=function(e){return this.__data__.has(e)},nk.prototype.clear=function(){this.__data__=new nw,this.size=0},nk.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},nk.prototype.get=function(e){return this.__data__.get(e)},nk.prototype.has=function(e){return this.__data__.has(e)},nk.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nw){var r=n.__data__;if(!ne||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new n_(r)}return n.set(e,t),this.size=n.size,this};var nB=rG(nG),nZ=rG(nK,!0);function nU(e,t){var n=!0;return nB(e,function(e,r,i){return n=!!t(e,r,i)}),n}function nH(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?nq(s,t-1,n,r,i):tm(i,s):r||(i[i.length]=s)}return i}var n$=rK(),nY=rK(!0);function nG(e,t){return e&&n$(e,t,ag)}function nK(e,t){return e&&nY(e,t,ag)}function nX(e,t){return td(t,function(t){return o$(e[t])})}function nQ(e,t){t=rL(t,e);for(var n=0,r=t.length;null!=e&&nt}function n2(e,t){return null!=e&&eP.call(e,t)}function n4(e,t){return null!=e&&t in eE(e)}function n3(e,t,n){for(var r=n?tp:th,o=e[0].length,a=e.length,s=a,l=ey(a),u=1/0,c=[];s--;){var f=e[s];s&&t&&(f=tv(f,tN(t))),u=t3(f.length,u),l[s]=!n&&(t||o>=120&&f.length>=120)?new nE(s&&f):i}f=e[0];var d=-1,h=l[0];t:for(;++d=s)return l;return l*("desc"==n[r]?-1:1)}}return e.index-t.index}(e,t,n)})}function ru(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&e0.call(s,l,1),e0.call(e,l,1);return e}function rf(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;iS(i)?e0.call(e,i,1):rC(e,i)}}return e}function rd(e,t){return e+tX(t8()*(t-e+1))}function rh(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do t%2&&(n+=e),(t=tX(t/2))&&(e+=e);while(t);return n}function rp(e,t){return iI(iN(e,t,aU),e+"")}function rv(e){return nS(aS(e))}function rm(e,t){var n=aS(e);return iB(n,nL(t,0,n.length))}function rg(e,t,n,r){if(!oK(e))return e;t=rL(t,e);for(var o=-1,a=t.length,s=a-1,l=e;null!=l&&++oi?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=ey(i);++r>>1,a=e[o];null!==a&&!o3(a)&&(n?a<=t:a=200){var u=t?null:it(e);if(u)return tW(u);a=!1,i=tD,l=new nE}else l=t?[]:s;t:for(;++r=r?e:rx(e,t,n)}var rI=e9||function(e){return e5.clearTimeout(e)};function rz(e,t){if(t)return e.slice();var n=e.length,r=eZ?eZ(n):new e.constructor(n);return e.copy(r),r}function rV(e){var t=new e.constructor(e.byteLength);return new eB(t).set(new eB(e)),t}function rB(e,t){var n=t?rV(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function rZ(e,t){if(e!==t){var n=i!==e,r=null===e,o=e==e,a=o3(e),s=i!==t,l=null===t,u=t==t,c=o3(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!c&&e1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&iO(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=eE(t);++r-1?o[a?t[s]:s]:i}}function r1(e){return iu(function(t){var n=t.length,r=n,a=ny.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new eS(o);if(a&&!l&&"wrapper"==ip(s))var l=new ny([],!0)}for(r=l?r:n;++r1&&b.reverse(),f&&ul))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=2&n?new nE:i;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+t+"] */\n")}(o,(r=(i=o.match(en))?i[1].split(er):[],tu(c,function(e){var t="_."+e[0];n&e[1]&&!th(r,t)&&r.push(t)}),r.sort())))}function iV(e){var t=0,n=0;return function(){var r=t5(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function iB(e,t){var n=-1,r=e.length,o=r-1;for(t=i===t?r:t;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,ot(e,n)});function ol(e){var t=nv(e);return t.__chain__=!0,t}function ou(e,t){return t(e)}var oc=iu(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return nD(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof nb&&iS(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ou,args:[o],thisArg:i}),new ny(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(o)}),of=r$(function(e,t,n){eP.call(e,n)?++e[n]:nR(e,n,1)}),od=r0(iG),oh=r0(iK);function op(e,t){return(oV(e)?tu:nB)(e,im(t,3))}function ov(e,t){return(oV(e)?tc:nZ)(e,im(t,3))}var om=r$(function(e,t,n){eP.call(e,n)?e[n].push(t):nR(e,n,[t])}),og=rp(function(e,t,n){var r=-1,i="function"==typeof t,o=oZ(e)?ey(e.length):[];return nB(e,function(e){o[++r]=i?ts(t,e,n):n5(e,t,n)}),o}),oy=r$(function(e,t,n){nR(e,n,t)});function ob(e,t){return(oV(e)?tv:rr)(e,im(t,3))}var ox=r$(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ow=rp(function(e,t){if(null==e)return[];var n=t.length;return n>1&&iO(e,t[0],t[1])?t=[]:n>2&&iO(t[0],t[1],t[2])&&(t=[t[0]]),rl(e,nq(t,1),[])}),o_=te||function(){return e5.Date.now()};function oE(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,ii(e,128,i,i,i,i,t)}function ok(e,t){var n;if("function"!=typeof t)throw new eS(o);return e=ae(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var oj=rp(function(e,t,n){var r=1;if(n.length){var i=tH(n,iv(oj));r|=32}return ii(e,r,t,n,i)}),oS=rp(function(e,t,n){var r=3;if(n.length){var i=tH(n,iv(oS));r|=32}return ii(t,r,e,n,i)});function oO(e,t,n){var r,a,s,l,u,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new eS(o);function v(t){var n=r,o=a;return r=a=i,f=t,l=e.apply(o,n)}function m(e){var n=e-c,r=e-f;return i===c||n>=t||n<0||h&&r>=s}function g(){var e,n,r,i=o_();if(m(i))return y(i);u=iF(g,(e=i-c,n=i-f,r=t-e,h?t3(r,s-n):r))}function y(e){return(u=i,p&&r)?v(e):(r=a=i,l)}function b(){var e,n=o_(),o=m(n);if(r=arguments,a=this,c=n,o){if(i===u)return f=e=c,u=iF(g,t),d?v(e):l;if(h)return rI(u),u=iF(g,t),v(c)}return i===u&&(u=iF(g,t)),l}return t=an(t)||0,oK(n)&&(d=!!n.leading,s=(h="maxWait"in n)?t4(an(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){i!==u&&rI(u),f=0,r=c=a=u=i},b.flush=function(){return i===u?l:y(o_())},b}var oC=rp(function(e,t){return nz(e,1,t)}),oA=rp(function(e,t,n){return nz(e,an(t)||0,n)});function oT(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new eS(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(oT.Cache||n_),n}function oM(e){if("function"!=typeof e)throw new eS(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}oT.Cache=n_;var oP=rp(function(e,t){var n=(t=1==t.length&&oV(t[0])?tv(t[0],tN(im())):tv(nq(t,1),tN(im()))).length;return rp(function(r){for(var i=-1,o=t3(r.length,n);++i=t}),oz=n6(function(){return arguments}())?n6:function(e){return oX(e)&&eP.call(e,"callee")&&!eY.call(e,"callee")},oV=ey.isArray,oB=tt?tN(tt):function(e){return oX(e)&&n0(e)==O};function oZ(e){return null!=e&&oG(e.length)&&!o$(e)}function oU(e){return oX(e)&&oZ(e)}var oH=tJ||a2,oW=tn?tN(tn):function(e){return oX(e)&&n0(e)==p};function oq(e){if(!oX(e))return!1;var t=n0(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!o0(e)}function o$(e){if(!oK(e))return!1;var t=n0(e);return t==m||t==g||"[object AsyncFunction]"==t||"[object Proxy]"==t}function oY(e){return"number"==typeof e&&e==ae(e)}function oG(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function oK(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function oX(e){return null!=e&&"object"==typeof e}var oQ=tr?tN(tr):function(e){return oX(e)&&i_(e)==y};function oJ(e){return"number"==typeof e||oX(e)&&n0(e)==b}function o0(e){if(!oX(e)||n0(e)!=x)return!1;var t=eU(e);if(null===t)return!0;var n=eP.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eM.call(n)==eL}var o1=ti?tN(ti):function(e){return oX(e)&&n0(e)==_},o2=to?tN(to):function(e){return oX(e)&&i_(e)==E};function o4(e){return"string"==typeof e||!oV(e)&&oX(e)&&n0(e)==k}function o3(e){return"symbol"==typeof e||oX(e)&&n0(e)==j}var o5=ta?tN(ta):function(e){return oX(e)&&oG(e.length)&&!!eQ[n0(e)]},o6=r7(rn),o8=r7(function(e,t){return e<=t});function o7(e){if(!e)return[];if(oZ(e))return o4(e)?t$(e):rW(e);if(e3&&e[e3])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[e3]());var t=i_(e);return(t==y?tZ:t==E?tW:aS)(e)}function o9(e){return e?(e=an(e))===l||e===-l?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function ae(e){var t=o9(e),n=t%1;return t==t?n?t-n:t:0}function at(e){return e?nL(ae(e),0,4294967295):0}function an(e){if("number"==typeof e)return e;if(o3(e))return u;if(oK(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=oK(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tP(e);var n=ec.test(e);return n||ed.test(e)?e2(e.slice(2),n?2:8):eu.test(e)?u:+e}function ar(e){return rq(e,ay(e))}function ai(e){return null==e?"":rS(e)}var ao=rY(function(e,t){if(iM(t)||oZ(t)){rq(t,ag(t),e);return}for(var n in t)eP.call(t,n)&&nT(e,n,t[n])}),aa=rY(function(e,t){rq(t,ay(t),e)}),as=rY(function(e,t,n,r){rq(t,ay(t),e,r)}),al=rY(function(e,t,n,r){rq(t,ag(t),e,r)}),au=iu(nD),ac=rp(function(e,t){e=eE(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&iO(t[0],t[1],o)&&(r=1);++n1),t}),rq(e,id(e),n),r&&(n=nF(n,7,is));for(var i=t.length;i--;)rC(n,t[i]);return n}),a_=iu(function(e,t){return null==e?{}:ru(e,t,function(t,n){return ah(e,n)})});function aE(e,t){if(null==e)return{};var n=tv(id(e),function(e){return[e]});return t=im(t),ru(e,n,function(e,n){return t(e,n[0])})}var ak=ir(ag),aj=ir(ay);function aS(e){return null==e?[]:tR(e,ag(e))}var aO=rQ(function(e,t,n){return t=t.toLowerCase(),e+(n?aC(t):t)});function aC(e){return aL(ai(e).toLowerCase())}function aA(e){return(e=ai(e))&&e.replace(ep,tI).replace(eW,"")}var aT=rQ(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),aM=rQ(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),aP=rX("toLowerCase"),aN=rQ(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),aR=rQ(function(e,t,n){return e+(n?" ":"")+aL(t)}),aD=rQ(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),aL=rX("toUpperCase");function aF(e,t,n){if(e=ai(e),t=n?i:t,i===t){var r;return(r=e,eG.test(r))?e.match(e$)||[]:e.match(ei)||[]}return e.match(t)||[]}var aI=rp(function(e,t){try{return ts(e,i,t)}catch(n){return oq(n)?n:new ex(n)}}),az=iu(function(e,t){return tu(t,function(t){nR(e,t=iU(t),oj(e[t],e))}),e});function aV(e){return function(){return e}}var aB=r1(),aZ=r1(!0);function aU(e){return e}function aH(e){return re("function"==typeof e?e:nF(e,1))}var aW=rp(function(e,t){return function(n){return n5(n,e,t)}}),aq=rp(function(e,t){return function(n){return n5(e,n,t)}});function a$(e,t,n){var r=ag(t),i=nX(t,r);null!=n||oK(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=nX(t,ag(t)));var o=!(oK(n)&&"chain"in n)||!!n.chain,a=o$(e);return tu(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=rW(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,tm([this.value()],arguments))})}),e}function aY(){}var aG=r5(tv),aK=r5(tf),aX=r5(tb);function aQ(e){return iC(e)?tO(iU(e)):function(t){return nQ(t,e)}}var aJ=r8(),a0=r8(!0);function a1(){return[]}function a2(){return!1}var a4=r3(function(e,t){return e+t},0),a3=ie("ceil"),a5=r3(function(e,t){return e/t},1),a6=ie("floor"),a8=r3(function(e,t){return e*t},1),a7=ie("round"),a9=r3(function(e,t){return e-t},0);return nv.after=function(e,t){if("function"!=typeof t)throw new eS(o);return e=ae(e),function(){if(--e<1)return t.apply(this,arguments)}},nv.ary=oE,nv.assign=ao,nv.assignIn=aa,nv.assignInWith=as,nv.assignWith=al,nv.at=au,nv.before=ok,nv.bind=oj,nv.bindAll=az,nv.bindKey=oS,nv.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return oV(e)?e:[e]},nv.chain=ol,nv.chunk=function(e,t,n){t=(n?iO(e,t,n):i===t)?1:t4(ae(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,a=0,s=ey(tC(r/t));oo?0:o+n),(r=i===r||r>o?o:ae(r))<0&&(r+=o),r=n>r?0:at(r);n>>0)?(e=ai(e))&&("string"==typeof t||null!=t&&!o1(t))&&!(t=rS(t))&&tB(e)?rF(t$(e),0,n):e.split(t,n):[]},nv.spread=function(e,t){if("function"!=typeof e)throw new eS(o);return t=null==t?0:t4(ae(t),0),rp(function(n){var r=n[t],i=rF(n,0,t);return r&&tm(i,r),ts(e,this,i)})},nv.tail=function(e){var t=null==e?0:e.length;return t?rx(e,1,t):[]},nv.take=function(e,t,n){return e&&e.length?rx(e,0,(t=n||i===t?1:ae(t))<0?0:t):[]},nv.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?rx(e,(t=r-(t=n||i===t?1:ae(t)))<0?0:t,r):[]},nv.takeRightWhile=function(e,t){return e&&e.length?rT(e,im(t,3),!1,!0):[]},nv.takeWhile=function(e,t){return e&&e.length?rT(e,im(t,3)):[]},nv.tap=function(e,t){return t(e),e},nv.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new eS(o);return oK(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),oO(e,t,{leading:r,maxWait:t,trailing:i})},nv.thru=ou,nv.toArray=o7,nv.toPairs=ak,nv.toPairsIn=aj,nv.toPath=function(e){return oV(e)?tv(e,iU):o3(e)?[e]:rW(iZ(ai(e)))},nv.toPlainObject=ar,nv.transform=function(e,t,n){var r=oV(e),i=r||oH(e)||o5(e);if(t=im(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:oK(e)&&o$(o)?nm(eU(e)):{}}return(i?tu:nG)(e,function(e,r,i){return t(n,e,r,i)}),n},nv.unary=function(e){return oE(e,1)},nv.union=i8,nv.unionBy=i7,nv.unionWith=i9,nv.uniq=function(e){return e&&e.length?rO(e):[]},nv.uniqBy=function(e,t){return e&&e.length?rO(e,im(t,2)):[]},nv.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?rO(e,i,t):[]},nv.unset=function(e,t){return null==e||rC(e,t)},nv.unzip=oe,nv.unzipWith=ot,nv.update=function(e,t,n){return null==e?e:rA(e,t,rD(n))},nv.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:rA(e,t,rD(n),r)},nv.values=aS,nv.valuesIn=function(e){return null==e?[]:tR(e,ay(e))},nv.without=on,nv.words=aF,nv.wrap=function(e,t){return oN(rD(t),e)},nv.xor=or,nv.xorBy=oi,nv.xorWith=oo,nv.zip=oa,nv.zipObject=function(e,t){return rN(e||[],t||[],nT)},nv.zipObjectDeep=function(e,t){return rN(e||[],t||[],rg)},nv.zipWith=os,nv.entries=ak,nv.entriesIn=aj,nv.extend=aa,nv.extendWith=as,a$(nv,nv),nv.add=a4,nv.attempt=aI,nv.camelCase=aO,nv.capitalize=aC,nv.ceil=a3,nv.clamp=function(e,t,n){return i===n&&(n=t,t=i),i!==n&&(n=(n=an(n))==n?n:0),i!==t&&(t=(t=an(t))==t?t:0),nL(an(e),t,n)},nv.clone=function(e){return nF(e,4)},nv.cloneDeep=function(e){return nF(e,5)},nv.cloneDeepWith=function(e,t){return nF(e,5,t="function"==typeof t?t:i)},nv.cloneWith=function(e,t){return nF(e,4,t="function"==typeof t?t:i)},nv.conformsTo=function(e,t){return null==t||nI(e,t,ag(t))},nv.deburr=aA,nv.defaultTo=function(e,t){return null==e||e!=e?t:e},nv.divide=a5,nv.endsWith=function(e,t,n){e=ai(e),t=rS(t);var r=e.length,o=n=i===n?r:nL(ae(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},nv.eq=oL,nv.escape=function(e){return(e=ai(e))&&H.test(e)?e.replace(Z,tz):e},nv.escapeRegExp=function(e){return(e=ai(e))&&Q.test(e)?e.replace(X,"\\$&"):e},nv.every=function(e,t,n){var r=oV(e)?tf:nU;return n&&iO(e,t,n)&&(t=i),r(e,im(t,3))},nv.find=od,nv.findIndex=iG,nv.findKey=function(e,t){return tw(e,im(t,3),nG)},nv.findLast=oh,nv.findLastIndex=iK,nv.findLastKey=function(e,t){return tw(e,im(t,3),nK)},nv.floor=a6,nv.forEach=op,nv.forEachRight=ov,nv.forIn=function(e,t){return null==e?e:n$(e,im(t,3),ay)},nv.forInRight=function(e,t){return null==e?e:nY(e,im(t,3),ay)},nv.forOwn=function(e,t){return e&&nG(e,im(t,3))},nv.forOwnRight=function(e,t){return e&&nK(e,im(t,3))},nv.get=ad,nv.gt=oF,nv.gte=oI,nv.has=function(e,t){return null!=e&&iE(e,t,n2)},nv.hasIn=ah,nv.head=iQ,nv.identity=aU,nv.includes=function(e,t,n,r){e=oZ(e)?e:aS(e),n=n&&!r?ae(n):0;var i=e.length;return n<0&&(n=t4(i+n,0)),o4(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&tE(e,t,n)>-1},nv.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=null==n?0:ae(n);return i<0&&(i=t4(r+i,0)),tE(e,t,i)},nv.inRange=function(e,t,n){var r,o,a;return t=o9(t),i===n?(n=t,t=0):n=o9(n),(r=e=an(e))>=t3(o=t,a=n)&&r=-9007199254740991&&e<=9007199254740991},nv.isSet=o2,nv.isString=o4,nv.isSymbol=o3,nv.isTypedArray=o5,nv.isUndefined=function(e){return i===e},nv.isWeakMap=function(e){return oX(e)&&i_(e)==S},nv.isWeakSet=function(e){return oX(e)&&"[object WeakSet]"==n0(e)},nv.join=function(e,t){return null==e?"":t1.call(e,t)},nv.kebabCase=aT,nv.last=i2,nv.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=r;return i!==n&&(o=(o=ae(n))<0?t4(r+o,0):t3(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--&&e[r]!==t;);return r}(e,t,o):t_(e,tj,o,!0)},nv.lowerCase=aM,nv.lowerFirst=aP,nv.lt=o6,nv.lte=o8,nv.max=function(e){return e&&e.length?nH(e,aU,n1):i},nv.maxBy=function(e,t){return e&&e.length?nH(e,im(t,2),n1):i},nv.mean=function(e){return tS(e,aU)},nv.meanBy=function(e,t){return tS(e,im(t,2))},nv.min=function(e){return e&&e.length?nH(e,aU,rn):i},nv.minBy=function(e,t){return e&&e.length?nH(e,im(t,2),rn):i},nv.stubArray=a1,nv.stubFalse=a2,nv.stubObject=function(){return{}},nv.stubString=function(){return""},nv.stubTrue=function(){return!0},nv.multiply=a8,nv.nth=function(e,t){return e&&e.length?rs(e,ae(t)):i},nv.noConflict=function(){return e5._===this&&(e5._=eF),this},nv.noop=aY,nv.now=o_,nv.pad=function(e,t,n){e=ai(e);var r=(t=ae(t))?tq(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return r6(tX(i),n)+e+r6(tC(i),n)},nv.padEnd=function(e,t,n){e=ai(e);var r=(t=ae(t))?tq(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=t8();return t3(e+o*(t-e+e1("1e-"+((o+"").length-1))),t)}return rd(e,t)},nv.reduce=function(e,t,n){var r=oV(e)?tg:tA,i=arguments.length<3;return r(e,im(t,4),n,i,nB)},nv.reduceRight=function(e,t,n){var r=oV(e)?ty:tA,i=arguments.length<3;return r(e,im(t,4),n,i,nZ)},nv.repeat=function(e,t,n){return t=(n?iO(e,t,n):i===t)?1:ae(t),rh(ai(e),t)},nv.replace=function(){var e=arguments,t=ai(e[0]);return e.length<3?t:t.replace(e[1],e[2])},nv.result=function(e,t,n){t=rL(t,e);var r=-1,o=t.length;for(o||(o=1,e=i);++r9007199254740991)return[];var n=4294967295,r=t3(e,4294967295);t=im(t),e-=4294967295;for(var i=tM(r,t);++n=a)return e;var l=n-tq(r);if(l<1)return r;var u=s?rF(s,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),o1(o)){if(e.slice(l).search(o)){var c,f=u;for(o.global||(o=ek(o.source,ai(el.exec(o))+"g")),o.lastIndex=0;c=o.exec(f);)var d=c.index;u=u.slice(0,i===d?l:d)}}else if(e.indexOf(rS(o),l)!=l){var h=u.lastIndexOf(o);h>-1&&(u=u.slice(0,h))}return u+r},nv.unescape=function(e){return(e=ai(e))&&U.test(e)?e.replace(B,tG):e},nv.uniqueId=function(e){var t=++eN;return ai(e)+t},nv.upperCase=aD,nv.upperFirst=aL,nv.each=op,nv.eachRight=ov,nv.first=iQ,a$(nv,(eg={},nG(nv,function(e,t){eP.call(nv.prototype,t)||(eg[t]=e)}),eg),{chain:!1}),nv.VERSION="4.17.21",tu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){nv[e].placeholder=nv}),tu(["drop","take"],function(e,t){nb.prototype[e]=function(n){n=i===n?1:t4(ae(n),0);var r=this.__filtered__&&!t?new nb(this):this.clone();return r.__filtered__?r.__takeCount__=t3(n,r.__takeCount__):r.__views__.push({size:t3(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},nb.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tu(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;nb.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:im(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),tu(["head","last"],function(e,t){var n="take"+(t?"Right":"");nb.prototype[e]=function(){return this[n](1).value()[0]}}),tu(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");nb.prototype[e]=function(){return this.__filtered__?new nb(this):this[n](1)}}),nb.prototype.compact=function(){return this.filter(aU)},nb.prototype.find=function(e){return this.filter(e).head()},nb.prototype.findLast=function(e){return this.reverse().find(e)},nb.prototype.invokeMap=rp(function(e,t){return"function"==typeof e?new nb(this):this.map(function(n){return n5(n,e,t)})}),nb.prototype.reject=function(e){return this.filter(oM(im(e)))},nb.prototype.slice=function(e,t){e=ae(e);var n=this;return n.__filtered__&&(e>0||t<0)?new nb(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),i!==t&&(n=(t=ae(t))<0?n.dropRight(-t):n.take(t-e)),n)},nb.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nb.prototype.toArray=function(){return this.take(4294967295)},nG(nb.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=nv[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(nv.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof nb,u=s[0],c=l||oV(t),f=function(e){var t=o.apply(nv,tm([e],s));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,v=l&&!h;if(!a&&c){t=v?t:new nb(this);var m=e.apply(t,s);return m.__actions__.push({func:ou,args:[f],thisArg:i}),new ny(m,d)}return p&&v?e.apply(this,s):(m=this.thru(f),p?r?m.value()[0]:m.value():m)})}),tu(["pop","push","shift","sort","splice","unshift"],function(e){var t=eO[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);nv.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(oV(i)?i:[],e)}return this[n](function(n){return t.apply(oV(n)?n:[],e)})}}),nG(nb.prototype,function(e,t){var n=nv[t];if(n){var r=n.name+"";eP.call(na,r)||(na[r]=[]),na[r].push({name:t,func:n})}}),na[r2(i,2).name]=[{name:"wrapper",func:i}],nb.prototype.clone=function(){var e=new nb(this.__wrapped__);return e.__actions__=rW(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rW(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rW(this.__views__),e},nb.prototype.reverse=function(){if(this.__filtered__){var e=new nb(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},nb.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=oV(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}},nv.prototype.plant=function(e){for(var t,n=this;n instanceof ng;){var r=iW(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},nv.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof nb){var t=e;return this.__actions__.length&&(t=new nb(this)),(t=t.reverse()).__actions__.push({func:ou,args:[i6],thisArg:i}),new ny(t,this.__chain__)}return this.thru(i6)},nv.prototype.toJSON=nv.prototype.valueOf=nv.prototype.value=function(){return rM(this.__wrapped__,this.__actions__)},nv.prototype.first=nv.prototype.head,e3&&(nv.prototype[e3]=function(){return this}),nv}();e5._=tK,r=(function(){return tK}).call(t,n,t,e),i!==r&&(e.exports=r)}).call(this)},19950:function(e,t,n){var r=n(13940),i=n(26548),o=n(68286);e.exports=function(e,t){var n={};return t=o(t,3),i(e,function(e,i,o){r(n,t(e,i,o),e)}),n}},34519:function(e,t,n){var r=n(13940),i=n(26548),o=n(68286);e.exports=function(e,t){var n={};return t=o(t,3),i(e,function(e,i,o){r(n,i,t(e,i,o))}),n}},30733:function(e,t,n){var r=n(96738);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},61100:function(e,t,n){var r=n(37772);e.exports=function(){return r.Date.now()}},65798:function(e,t,n){var r=n(20256),i=n(82952),o=n(21401),a=n(33812);e.exports=function(e){return o(e)?r(a(e)):i(e)}},57370:function(e,t,n){var r=n(34311)(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});e.exports=r},30981:function(e){e.exports=function(){return[]}},36330:function(e){e.exports=function(){return!1}},7642:function(e,t,n){var r=n(51704),i=n(29259),o=n(4795),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},66188:function(e,t,n){var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},23779:function(e,t,n){var r=n(83126)("toUpperCase");e.exports=r},11618:function(e,t,n){var r=n(45981),i=n(83559),o=n(66188),a=n(75304);e.exports=function(e,t,n){return(e=o(e),void 0===(t=n?void 0:t))?i(e)?a(e):r(e):e.match(t)||[]}},53207:function(e,t,n){var r=n(96570);r.prototype.formulaEval=function(){"use strict";for(var e,t,n,r=[],i=this.value,o=0;o"+t.value+""+i[o].show+""+e.value+"",type:10}):r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+""+e.value+"",type:1})):2===i[o].type||9===i[o].type?(e=r.pop(),t=r.pop(),r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+i[o].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:i[o].type})):12===i[o].type&&(e=r.pop(),t=r.pop(),n=r.pop(),r.push({value:i[o].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return r[0].value},e.exports=r},66655:function(e,t,n){"use strict";var r=n(72346);function i(e,t){for(var n=0;np.length-2?p.length-1:e.length-l;n>0;n--)if(void 0!==p[n])for(i=0;i0&&kn)s.push(e);else{for(;n>=i&&!c||c&&i1)throw new r.Exception("Uncaught Syntax error");return o[0].value>1e15?"Infinity":parseFloat(o[0].value.toFixed(15))},r.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0!==n?this.lex(e,t).toPostfix().postfixEval(n):void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t)},e.exports=r},38617:function(e,t,n){"use strict";n.d(t,{F:function(){return u},f:function(){return c}});var r=n(2784);let i=["light","dark"],o="(prefers-color-scheme: dark)",a="undefined"==typeof window,s=(0,r.createContext)(void 0),l={setTheme:e=>{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(s))&&void 0!==e?e:l},c=e=>(0,r.useContext)(s)?r.createElement(r.Fragment,null,e.children):r.createElement(d,e),f=["light","dark"],d=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:a=!0,storageKey:l="theme",themes:u=f,defaultTheme:c=n?"system":"light",attribute:d="data-theme",value:g,children:y,nonce:b})=>{let[x,w]=(0,r.useState)(()=>p(l,c)),[_,E]=(0,r.useState)(()=>p(l)),k=g?Object.values(g):u,j=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=m());let o=g?g[r]:r,s=t?v():null,l=document.documentElement;if("class"===d?(l.classList.remove(...k),o&&l.classList.add(o)):o?l.setAttribute(d,o):l.removeAttribute(d),a){let u=i.includes(c)?c:null,f=i.includes(r)?r:u;l.style.colorScheme=f}null==s||s()},[]),S=(0,r.useCallback)(e=>{w(e);try{localStorage.setItem(l,e)}catch(t){}},[e]),O=(0,r.useCallback)(t=>{let r=m(t);E(r),"system"===x&&n&&!e&&j("system")},[x,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(o);return e.addListener(O),O(e),()=>e.removeListener(O)},[O]),(0,r.useEffect)(()=>{let e=e=>{e.key===l&&S(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[S]),(0,r.useEffect)(()=>{j(null!=e?e:x)},[e,x]);let C=(0,r.useMemo)(()=>({theme:x,setTheme:S,forcedTheme:e,resolvedTheme:"system"===x?_:x,themes:n?[...u,"system"]:u,systemTheme:n?_:void 0}),[x,S,e,_,n,u]);return r.createElement(s.Provider,{value:C},r.createElement(h,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:a,storageKey:l,themes:u,defaultTheme:c,attribute:d,value:g,children:y,attrs:k,nonce:b}),y)},h=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:a,enableColorScheme:s,defaultTheme:l,value:u,attrs:c,nonce:f})=>{let d="system"===l,h="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=s?i.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",v=(e,t=!1,r=!0)=>{let o=u?u[e]:e,a=t?e+"|| ''":`'${o}'`,l="";return s&&r&&!t&&i.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||o?`c.add(${a})`:"null":o&&(l+=`d[s](n,${a})`),l},m=e?`!function(){${h}${v(e)}}()`:a?`!function(){try{${h}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${o}',m=window.matchMedia(t);if(m.media!==t||m.matches){${v("dark")}}else{${v("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${v(u?"x[e]":"e",!0)}}${d?"":"else{"+v(l,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${h}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${v(u?"x[e]":"e",!0)}}else{${v(l,!1,!1)};}${p}}catch(t){}}();`;return r.createElement("script",{nonce:f,dangerouslySetInnerHTML:{__html:m}})},()=>!0),p=(e,t)=>{let n;if(!a){try{n=localStorage.getItem(e)||void 0}catch(r){}return n||t}},v=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},m=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light")},93542:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(42351)},86570:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(52804)}])},80242:function(e,t,n){"use strict";n.d(t,{Ul:function(){return s},WD:function(){return l},fu:function(){return c},o4:function(){return u}});var r=n(52322),i=n(84031),o=n(44905),a=n(99182);function s(e){let{currentPage:t,parentPage:n,commandPage:s,className:l,...u}=e,c=(0,a.U8)(e=>e.search);if((null==n?void 0:n.namespace)===(null==t?void 0:t.namespace)&&!c)return(0,r.jsx)(a.mY.Item,{className:(0,o.cx)((0,i.Vkc)(),"group",l),value:"".concat(null==s?void 0:s.label," ").concat(u.children.toString()),...u})}function l(e){let{currentPage:t,commandPage:n,className:s,...l}=e,u=(0,a.U8)(e=>e.search),c=n.namespace.startsWith((null==t?void 0:t.namespace)||"");if(u&&c||n.namespace===(null==t?void 0:t.namespace))return(0,r.jsx)(a.mY.Item,{className:(0,o.cx)((0,i.Vkc)(),"group",s),value:"".concat(n.label," ").concat(l.children.toString()),...l})}function u(e){let{currentPage:t,commandPage:n,className:s,...l}=e,u=(0,a.U8)(e=>e.search),c=n.namespace.startsWith((null==t?void 0:t.namespace)||"");if(u&&c||!t||n.namespace===(null==t?void 0:t.namespace))return(0,r.jsx)(a.mY.Item,{className:(0,o.cx)((0,i.Vkc)(),"group",s),value:"".concat(n.label," ").concat(l.children.toString()),...l})}function c(e){let{heading:t,currentPage:n,commandPage:o,...s}=e,l=(0,a.U8)(e=>e.search);return(0,r.jsx)(a.mY.Group,{heading:l&&(null==n?void 0:n.namespace)!==o.namespace&&(0,r.jsx)(i.__J,{className:"px-1",size:"12",children:o.label}),...s})}n(2784)},11015:function(e,t,n){"use strict";n.d(t,{F:function(){return y}});var r=n(52322),i=n(80242);let o={namespace:"contracts/filterStatus",label:"Contracts filter by status"},a=[{id:"filterStatusActive",value:"active",label:"Contract is active"},{id:"filterStatusSuccessful",value:"successful",label:"Contract was successful"},{id:"filterStatusPending",value:"pending",label:"Contract is pending"},{id:"filterStatusRejected",value:"rejected",label:"Contract was rejected"},{id:"filterStatusFailed",value:"failed",label:"Contract has failed"}];function s(e){let{select:t,currentPage:n}=e;return(0,r.jsx)(i.fu,{currentPage:n,commandPage:o,children:a.map(e=>(0,r.jsx)(i.WD,{currentPage:n,commandPage:o,onSelect:()=>{t(e)},children:e.label},e.id+e.value))})}var l=n(50002),u=n(30080);let c={namespace:"contracts/filterAddress",label:"Contracts filter by ID"};function f(e){let{select:t,currentPage:n}=e,{openDialog:o}=(0,l.Rh)(),a=(0,u.O)("");return(0,r.jsx)(i.fu,{currentPage:n,commandPage:c,children:(0,r.jsx)(i.WD,{currentPage:n,commandPage:c,onSelect:()=>{t(),o("contractsFilterContractId")},children:a.label})})}function d(e){let{select:t,currentPage:n,parentPage:o,commandPage:a}=e,{openDialog:s}=(0,l.Rh)();return(0,r.jsx)(i.Ul,{currentPage:n,parentPage:o,commandPage:a,onSelect:()=>{t(),s("contractsFilterContractId")},children:c.label})}function h(e){let{currentPage:t,select:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{currentPage:t,select:n}),(0,r.jsx)(f,{currentPage:t,select:n})]})}let p={namespace:"contracts",label:"Contracts"};function v(e){let{currentPage:t,parentPage:n,pushPage:a,select:s}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ul,{currentPage:t,parentPage:n,commandPage:p,onSelect:()=>{a(o)},children:o.label}),(0,r.jsx)(d,{currentPage:t,parentPage:n,commandPage:p,select:s})]})}var m=n(21987),g=n(2784);function y(e){let{currentPage:t,parentPage:n,pushPage:i,beforeSelect:o,afterSelect:a}=e,{setFilter:s}=(0,m.G)(),l=(0,g.useCallback)(e=>{o&&o(),e&&s(e),a&&a()},[s,o,a]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{parentPage:n,currentPage:t,pushPage:i,select:l}),(0,r.jsx)(h,{currentPage:t,select:l})]})}},74881:function(e,t,n){"use strict";n.d(t,{_:function(){return i},h:function(){return o}});var r=n(13369);let i={home:"/",volumes:{index:"/volumes"},contracts:{index:"/contracts"},config:{index:"/config"},wallet:{view:"/wallet"},node:{index:"/node",txPool:"/node/txpool",peers:"/node/peers"},login:"/login"},o=r.dk},21987:function(e,t,n){"use strict";n.d(t,{x:function(){return g},G:function(){return m}});var r=n(52322),i=n(84031),o=n(5632),a=n(13369),s=n(2784),l=n(71762),u=n(2288),c=n(50002);function f(e){let{id:t,status:n,contentProps:o,buttonProps:l}=e,u=(0,a.kr)(),{openDialog:f}=(0,c.Rh)(),d=(0,s.useCallback)(async()=>{let e=await u.put({params:{id:t}});e.error?(0,i.OHV)(e.error):(0,i.OPV)((0,r.jsxs)(r.Fragment,{children:["Integrity check successfully started, depending on contract data size this operation can take a while. Check ",(0,r.jsx)(i.EKh,{children:"hostd"})," ",(0,r.jsx)(i.rUS,{onClick:()=>f("alerts"),children:"alerts"})," for status updates."]}),{duration:12e3})},[t,u,f]),h=["active","pending"].includes(n);return(0,r.jsxs)(i.h_2,{trigger:(0,r.jsx)(i.zxk,{variant:"ghost",icon:"hover",...l,children:(0,r.jsx)(i.iG7,{})}),contentProps:{align:"start",...o},children:[(0,r.jsx)("div",{className:"px-1.5 py-1",children:(0,r.jsxs)(i.xvT,{size:"14",weight:"medium",color:"subtle",children:["Contract ",t.slice(0,24),"..."]})}),(0,r.jsx)(i.Juw,{children:"Actions"}),(0,r.jsx)(i.ua7,{content:h?"Trigger a data integrity check":"Data integrity check only available for active or pending contracts",children:(0,r.jsx)("div",{children:(0,r.jsxs)(i.Xiv,{disabled:!h,onSelect:()=>d(),children:[(0,r.jsx)(i.KpP,{children:(0,r.jsx)(i.dDl,{})}),"Integrity check"]})})})]})}let d=[{id:"actions",label:"",fixed:!0,cellClassName:"w-[50px] !pl-2 !pr-4 [&+*]:!pl-0",render:e=>{let{data:{id:t,status:n}}=e;return(0,r.jsx)(f,{id:t,status:n})}},{id:"contractId",label:"contract ID",category:"general",render:e=>{let{data:t}=e,{id:n,renewedFrom:o,isRenewedFrom:a,renewedTo:s,isRenewedTo:l}=t;return(0,r.jsxs)("div",{className:"flex flex-col gap-1 w-full",children:[(0,r.jsx)(i.XxW,{size:"12",value:(0,i.I13)(n),label:"contract ID"}),a&&(0,r.jsx)(i.ua7,{content:"Renewed from",align:"start",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.xvT,{color:"subtle",children:(0,r.jsx)(i.L6f,{className:"scale-75"})}),(0,r.jsx)(i.XxW,{color:"subtle",size:"10",value:(0,i.I13)(o),label:"contract ID"})]})}),l&&(0,r.jsx)(i.ua7,{content:"Renewed to",align:"start",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.xvT,{color:"subtle",children:(0,r.jsx)(i.IRm,{className:"scale-75"})}),(0,r.jsx)(i.XxW,{color:"subtle",size:"10",value:(0,i.I13)(s),label:"contract ID"})]})})]})}},{id:"status",label:"status",category:"general",render:e=>{let{data:{status:t}}=e;return(0,r.jsx)(i.Cts,{variant:"active"===t?"amber":"failed"===t?"red":"pending"===t?"amber":"rejected"===t?"red":"successful"===t?"green":void 0,children:t})}},{id:"timeline",label:"timeline",category:"time",render:e=>{let{data:t,context:{currentHeight:n,contractsTimeRange:o}}=e,{contractHeightStart:a,contractHeightEnd:s,revision:l,status:u}=t;return(0,r.jsx)("div",{className:"w-[400px]",children:(0,r.jsx)(i.TaT,{currentHeight:n,contractHeightStart:a,contractHeightEnd:"rejected"===u?void 0:s,proofWindowHeightStart:"rejected"===u?void 0:l.windowStart,proofWindowHeightEnd:"rejected"===u?void 0:l.windowEnd,range:o})})}},{id:"contractHeightStart",label:"start date",category:"time",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{contractHeightStart:t},context:{currentHeight:n}}=e;return(0,r.jsx)(i.xvT,{size:"12",children:(0,u.rN)((0,i.jrD)(n,t))})}},{id:"contractHeightEnd",label:"expiration date",category:"time",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{contractHeightEnd:t},context:{currentHeight:n}}=e;return(0,r.jsx)(i.xvT,{size:"12",children:(0,u.rN)((0,i.jrD)(n,t))})}},{id:"payoutHeight",label:"payout date",category:"time",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{payoutHeight:t},context:{currentHeight:n}}=e;return(0,r.jsx)(i.xvT,{size:"12",children:(0,u.rN)((0,i.jrD)(n,t))})}},{id:"filesize",label:"data size",category:"general",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{revision:{filesize:t}}}=e;return(0,r.jsx)(i.m2c,{size:"12",value:t,variant:"value",format:e=>(0,u.vW)(e.toNumber())})}},{id:"fileMerkleRoot",label:"merkle root",category:"general",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{revision:{fileMerkleRoot:t}}}=e;return(0,r.jsx)(i.XxW,{size:"12",value:(0,i.I13)(t)})}},{id:"payout",label:"payout",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{revision:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.payout})}},{id:"lockedCollateral",label:"locked collateral",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{lockedCollateral:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t})}},{id:"usageRiskedCollateral",label:"risked collateral",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{usage:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.riskedCollateral})}},{id:"usageTotal",label:"total usage",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{usage:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.total})}},{id:"usageStorage",label:"storage usage",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{usage:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.storage})}},{id:"usageIngress",label:"ingress usage",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{usage:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.ingress})}},{id:"usageEgress",label:"egress usage",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{usage:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.egress})}},{id:"usageAccountFunding",label:"account funding usage",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{usage:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.accountFunding})}},{id:"usageRpc",label:"RPC usage",category:"financial",contentClassName:"w-[120px] justify-end",render:e=>{let{data:{usage:t}}=e;return(0,r.jsx)(i.YKL,{size:"12",value:t.rpc})}}].map(e=>({...e,..."financial"===e.category?{icon:(0,r.jsx)(i.dZ8,{className:"relative opacity-50 scale-75"}),label:e.label,tip:"financial: ".concat(e.label)}:{label:e.label,tip:e.label}}));var h=n(6391),p=n.n(h);let v=(0,s.createContext)({}),m=()=>(0,s.useContext)(v);function g(e){let{children:t}=e,n=function(){var e,t,n;let r=(0,o.useRouter)(),u=Number(r.query.limit||50),c=Number(r.query.offset||0),{filters:f,setFilter:h,removeFilter:v,removeLastFilter:m,resetFilters:g}=(0,i.Uu5)(),{configurableColumns:y,enabledColumns:b,sortableColumns:x,toggleColumnVisibility:w,setColumnsVisible:_,setColumnsHidden:E,toggleSort:k,setSortDirection:j,setSortField:S,sortField:O,sortDirection:C,resetDefaultColumnVisibility:A}=(0,i.oy6)("hostd/v0/contracts",{columns:d,columnsDefaultVisible:l.gd,sortOptions:l.Fo,defaultSortField:l.nw}),T=(0,a.GP)({payload:{limit:u,offset:c,sortField:null===(e=l.Fo.find(e=>e.id===O))||void 0===e?void 0:e.value,sortDesc:"desc"===C,contractIDs:f.filter(e=>"filterContractId"===e.id).map(e=>e.value),statuses:f.filter(e=>e.id.startsWith("filterStatus")).map(e=>e.value)}}),M=function(e){let{response:t}=e;return(0,s.useMemo)(()=>{var e;return t.data?(null===(e=t.data.contracts)||void 0===e?void 0:e.map(e=>(function(e){let t=new(p())(e.usage.accountFunding||0),n=new(p())(e.usage.egress||0),r=new(p())(e.usage.ingress||0),i=new(p())(e.usage.riskedCollateral||0),o=new(p())(e.usage.rpc||0),a=new(p())(e.usage.storage||0),s=t.plus(n).plus(r).plus(o).plus(a),l=e.resolutionHeight>0?e.resolutionHeight+144:e.revision.windowEnd+144;return{id:e.revision.parentID,revision:{parentID:e.revision.parentID,unlockConditions:e.revision.unlockConditions,filesize:new(p())(e.revision.filesize||0),fileMerkleRoot:e.revision.fileMerkleRoot,windowStart:e.revision.windowStart,windowEnd:e.revision.windowEnd,payout:new(p())("active"==e.status||e.resolutionHeight>0?e.revision.validProofOutputs[1].value:e.revision.missedProofOutputs[1].value),validProofOutputs:e.revision.validProofOutputs,missedProofOutputs:e.revision.missedProofOutputs,unlockHash:e.revision.unlockHash,revisionNumber:e.revision.revisionNumber},usage:{total:s,accountFunding:t,egress:n,ingress:r,riskedCollateral:i,rpc:o,storage:a},lockedCollateral:new(p())(e.lockedCollateral||0),hostSignature:e.hostSignature,renterSignature:e.renterSignature,status:e.status,negotiationHeight:e.negotiationHeight,formationConfirmed:e.formationConfirmed,revisionConfirmed:e.revisionConfirmed,resolutionHeight:e.resolutionHeight,payoutHeight:l,contractHeightStart:e.negotiationHeight,contractHeightEnd:e.revision.windowStart,renewedTo:e.renewedTo,renewedFrom:e.renewedFrom,isRenewedFrom:"fcid:0000000000000000000000000000000000000000000000000000000000000000"!==e.renewedFrom,isRenewedTo:"fcid:0000000000000000000000000000000000000000000000000000000000000000"!==e.renewedTo}})(e)))||[]:null},[t.data])}({response:T}),P=(0,s.useMemo)(()=>d.filter(e=>b.includes(e.id)),[b]),N=T.isValidating,R=T.error,D=(0,i.c2j)(M,N,R,f),L=(0,a.nH)(),F=(0,a.d$)({config:{swr:{refreshInterval:6e4}}}),I=(null===(t=F.data)||void 0===t?void 0:t.synced)?F.data.chainIndex.height:L,{range:z}=(0,s.useMemo)(()=>(0,i.EJC)(I,M||[]),[I,M]);return{dataState:D,offset:c,limit:u,cellContext:{contractsTimeRange:z,currentHeight:I},pageCount:(null==M?void 0:M.length)||0,totalCount:null===(n=T.data)||void 0===n?void 0:n.count,columns:P,dataset:M,configurableColumns:y,enabledColumns:b,sortableColumns:x,toggleColumnVisibility:w,setColumnsVisible:_,setColumnsHidden:E,toggleSort:k,setSortDirection:j,setSortField:S,sortField:O,sortDirection:C,resetDefaultColumnVisibility:A,filters:f,setFilter:h,removeFilter:v,removeLastFilter:m,resetFilters:g}}();return(0,r.jsx)(v.Provider,{value:n,children:t})}},71762:function(e,t,n){"use strict";n.d(t,{Fo:function(){return i},gd:function(){return r},nw:function(){return o}});let r=["contractId","status","usageTotal","lockedCollateral","timeline"],i=[{id:"status",value:"status",label:"status",category:"general"},{id:"timeline",value:"negotiationHeight",label:"timeline",category:"time"},{id:"contractHeightStart",value:"negotiationHeight",label:"start height",category:"time"},{id:"contractHeightEnd",value:"expirationHeight",label:"expiration height",category:"time"}],o="timeline"},50002:function(e,t,n){"use strict";n.d(t,{Tu:function(){return ev},xQ:function(){return em},Rh:function(){return ep}});var r=n(52322),i=n(2784),o=n(84031),a=n(13369),s=n(2288),l=n(63955);function u(e,t,n){var r=this,o=(0,i.useRef)(null),a=(0,i.useRef)(0),s=(0,i.useRef)(null),l=(0,i.useRef)([]),u=(0,i.useRef)(),c=(0,i.useRef)(),f=(0,i.useRef)(e),d=(0,i.useRef)(!0);(0,i.useEffect)(function(){f.current=e},[e]);var h=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var p=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,m="maxWait"in n,g=m?Math.max(+n.maxWait||0,t):null;return(0,i.useEffect)(function(){return d.current=!0,function(){d.current=!1}},[]),(0,i.useMemo)(function(){var e=function(e){var t=l.current,n=u.current;return l.current=u.current=null,a.current=e,c.current=f.current.apply(n,t)},n=function(e,t){h&&cancelAnimationFrame(s.current),s.current=h?requestAnimationFrame(e):setTimeout(e,t)},i=function(e){if(!d.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||m&&e-a.current>=g},y=function(t){return s.current=null,v&&l.current?e(t):(l.current=u.current=null,c.current)},b=function e(){var r=Date.now();if(i(r))return y(r);if(d.current){var s=t-(r-o.current);n(e,m?Math.min(s,g-(r-a.current)):s)}},x=function(){var f=Date.now(),h=i(f);if(l.current=[].slice.call(arguments),u.current=r,o.current=f,h){if(!s.current&&d.current)return a.current=o.current,n(b,t),p?e(o.current):c.current;if(m)return n(b,t),e(o.current)}return s.current||n(b,t),c.current};return x.cancel=function(){s.current&&(h?cancelAnimationFrame(s.current):clearTimeout(s.current)),a.current=0,l.current=o.current=u.current=s.current=null},x.isPending=function(){return!!s.current},x.flush=function(){return s.current?y(Date.now()):c.current},x},[p,m,t,g,v,h])}function c(e,t){return e===t}function f(e){return"function"==typeof e?function(){return e}:e}var d=n(99182),h=n(80242);function p(e){let{search:t}=e;return(0,r.jsxs)(o.xvT,{color:"verySubtle",className:"flex flex-col gap-2 justify-center items-center mt-5 mb-3",children:[(0,r.jsx)(o.xvT,{color:"verySubtle",className:"flex gap-2 justify-center items-center",children:(0,r.jsx)(o.Qbr,{})}),(0,r.jsx)(o.xvT,{size:"12",color:"verySubtle",className:"flex justify-center",children:t?"No matching directory.":"Select a directory to get started."})]})}function v(){var e;let t=(0,a.On)({config:{swr:{revalidateOnFocus:!1,keepPreviousData:!0}}});return(null===(e=t.data)||void 0===e?void 0:e.OS)==="windows"?"\\":"/"}var m=n(76635);function g(e){let{currentPath:t,childPath:n,separator:r}=e;return"\\"===t&&n.endsWith(":")?n+r:y(t,n,r)}function y(e,t,n){e=e===n?e:(0,m.trimEnd)(e,n),t=(0,m.trim)(t,n);let r="";return(r=e.length?t.length&&t!==n?e===n?n+t:e+n+t:e:t).endsWith(":")?r+n:r}function b(){return(0,r.jsxs)(o.xvT,{color:"verySubtle",className:"flex flex-col gap-2 justify-center items-center mt-5 mb-3",children:[(0,r.jsx)(o.xvT,{color:"verySubtle",className:"flex gap-2 justify-center items-center",children:(0,r.jsx)(o.Qbr,{})}),(0,r.jsx)(o.xvT,{size:"12",color:"verySubtle",className:"flex justify-center",children:"Error loading directory."})]})}function x(e){let{path:t,onCreate:n}=e,s=v(),l=(0,a.Kw)(),[u,c]=(0,i.useState)(""),f=(0,i.useCallback)(async()=>{let e=await l.put({payload:{path:g({currentPath:t,childPath:u,separator:s})}});e.error?(0,o.OHV)("Error creating directory: ".concat(e.error)):(n(u),c(""))},[l,u,n,t,s]);return(0,r.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden w-full",children:[(0,r.jsx)(o.xvT,{color:"verySubtle",className:"group-data-[selected=true]:text-gray-1000 dark:group-data-[selected=true]:text-graydark-1000",children:(0,r.jsx)(o.L37,{})}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(o.nvn,{focus:"none",variant:"ghost",placeholder:"type new directory name",className:"!pl-0 font-normal h-5",value:u,onChange:e=>{c(e.currentTarget.value)},onKeyUp:e=>{e.stopPropagation(),"Enter"===e.key&&f()},size:"small"})})]})}function w(e){let{path:t,setPath:n,commandPage:i,currentPage:a,beforeSelect:s,afterSelect:l}=e,u=v();return(0,r.jsx)(h.WD,{commandPage:i,currentPage:a,onSelect:()=>{t&&(s&&s(),n(function(e,t){if(e.endsWith(":\\"))return t;let n="".concat(e.split(t).slice(0,-1).join(t));return""===n?t:n.endsWith(":")?n+t:n}(t,u)),l&&l())},value:"..",children:(0,r.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,r.jsx)(o.xvT,{color:"verySubtle",className:"group-data-[selected=true]:text-gray-1000 dark:group-data-[selected=true]:text-graydark-1000",children:(0,r.jsx)(o.ROc,{size:16})}),(0,r.jsx)(o.xvT,{ellipsis:!0,children:".."})]})},"..")}let _={namespace:"volumes/directorySelect",label:"Directory select"};function E(e){var t,n,i,a,s,l,u;let{path:c,dir:f,setPath:m,currentPage:y,beforeSelect:E,afterSelect:k}=e,j=v(),S=(null===(t=f.data)||void 0===t?void 0:t.path)===j,O=(null===(n=f.data)||void 0===n?void 0:n.path)==="\\";return(0,r.jsxs)(h.fu,{currentPage:y,commandPage:_,children:[f.isValidating||!f.data||f.error?null:S?null:(0,r.jsx)(w,{path:f.data.path,setPath:m,currentPage:y,commandPage:_,afterSelect:k,beforeSelect:E}),(0,r.jsxs)(d.mY.Empty,{children:[!f.isValidating&&f.error?(0,r.jsx)(b,{}):null,f.isValidating||f.error||(null===(i=f.data)||void 0===i?void 0:null===(a=i.directories)||void 0===a?void 0:a.length)?null:(0,r.jsx)(p,{search:c})]}),!f.isValidating&&!f.error&&(null===(s=f.data)||void 0===s?void 0:null===(l=s.directories)||void 0===l?void 0:l.length)?f.data.directories.map(e=>(0,r.jsx)(h.WD,{commandPage:_,currentPage:y,onSelect:()=>{E&&E();let t=g({currentPath:f.data.path,childPath:e,separator:j});m(t),k&&k()},value:e,children:(0,r.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,r.jsx)(o.xvT,{color:"verySubtle",className:"group-data-[selected=true]:text-gray-1000 dark:group-data-[selected=true]:text-graydark-1000",children:(0,r.jsx)(o.ROc,{size:16})}),(0,r.jsx)(o.xvT,{ellipsis:!0,children:e})]})},e)):null,!O&&!f.isValidating&&!f.error&&(0,r.jsx)(h.WD,{commandPage:_,currentPage:y,value:"create new directory",children:(0,r.jsx)(x,{path:null===(u=f.data)||void 0===u?void 0:u.path,onCreate:e=>{f.mutate(t=>{var n;return{...t,directories:(null==t?void 0:null===(n=t.directories)||void 0===n?void 0:n.concat(e))||[e]}})}})})]})}function k(e){let{path:t,dir:n,onChange:i}=e;return(0,r.jsx)(d.mY,{label:"Select volume",shouldFilter:!1,children:(0,r.jsx)(o.s_4,{className:"h-[200px] p-1 overflow-hidden",children:(0,r.jsx)(o.xrM,{keyToResetScrollbars:t,children:(0,r.jsx)(d.mY.List,{children:(0,r.jsx)(E,{path:t,dir:n,setPath:i,currentPage:_})})})})})}var j=n(44905);function S(e){let{label:t,newSizeGB:n,currentSizeGB:i=0,maxSizeGB:a=0}=e,l=in;return(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsxs)("div",{className:"relative w-full h-1 rounded-lg bg-gray-300 dark:bg-graydark-300 overflow-hidden",children:[(0,r.jsx)("div",{className:(0,j.cx)("absolute h-1 rounded-tl-lg rounded-bl-lg",void 0!==n&&u?"bg-red-500 dark:bg-red-500":"bg-gray-700 dark:bg-graydark-800",l?"z-10":"z-0"),style:{width:a?"".concat(i/a*100,"%"):"0%"}}),(0,r.jsx)("div",{className:(0,j.cx)("absolute h-1 rounded-tl-lg rounded-bl-lg",n>a?"bg-amber-500 dark:bg-amber-500":void 0!==n&&l?"bg-green-500 dark:bg-green-500":"bg-gray-700 dark:bg-graydark-800",u?"z-10":"z-0"),style:{width:a?"".concat(n/a*100,"%"):"0%"}})]}),(0,r.jsxs)("div",{className:"h-4 flex justify-between",children:[t||(0,r.jsx)("div",{}),void 0!==n&&a?(0,r.jsx)(o.xvT,{size:"12",color:"subtle",children:"".concat((n/a*100).toFixed(0),"% of ").concat((0,s.vW)((0,o.Hzd)(a))," available")}):null]})]})}let O={size:void 0,name:"",path:"~",immediatePath:"~"};function C(e){var t;let{trigger:n,open:c,onOpenChange:f}=e,{closeDialog:d}=ep(),h=(0,a.HU)(),p=v(),m=(0,l.cI)({mode:"all",defaultValues:O}),g=m.watch("path"),b=m.watch("immediatePath"),x=m.watch("name"),w=m.watch("size"),_=u(()=>{g!==b&&m.setValue("path",b)},500);(0,i.useEffect)(()=>{_()},[b]),(0,i.useEffect)(()=>{g!==b&&m.setValue("immediatePath",g)},[g]);let E=(0,i.useCallback)(async e=>{let t=await h.post({payload:{localPath:y(g,x,p),maxSectors:(0,o.WN2)(e.size).toNumber()}});t.error?(0,o.OHV)(t.error):((0,o.OPV)("New volume created."),m.reset(O),d())},[m,h,d,x,g,p]),j=(0,a.cM)({disabled:!c,params:{path:""===g?p:g},config:{swr:{shouldRetryOnError:!1}}});(0,i.useEffect)(()=>{j.error&&m.setError("immediatePath",{message:"Directory does not exist"})},[j.error]),(0,i.useEffect)(()=>{j.data&&j.data.path!==g&&m.setValue("path",j.data.path)},[j.data]);let C=(null==w?void 0:w.toNumber())||0,A=j.data?(0,o.Uzc)(j.data.freeBytes).toNumber():0,T=(0,o.Uzc)((null===(t=j.data)||void 0===t?void 0:t.freeBytes)||0).toNumber(),M=(0,i.useMemo)(()=>({name:{type:"text",title:"Name",placeholder:"data.dat",validation:{required:"required"}},immediatePath:{type:"text",title:"Location",placeholder:"Enter a directory or select one below",validation:{required:"required",validate:{}}},path:{type:"text",title:"Location",validation:{required:"required",validate:{req:e=>"\\"!==e||"directory within a drive required"}}},size:{type:"number",title:"Size",decimalsLimit:0,units:"GB",placeholder:"1,000",validation:{required:"required",validate:{between:e=>{let t="Must be between ".concat((0,s.vW)((0,o.Hzd)(10))," and ").concat((0,s.vW)((0,o.Hzd)(T),{fixed:3}));return e<=T&&e>=10||t},nospace:()=>T>10||"not enough space in directory"}}}}),[T]),P=(0,o.WsO)(M);return m.register("path",M.path.validation),(0,r.jsx)(o.VqE,{title:"Create Volume",trigger:n,open:c,onOpenChange:e=>{e||m.reset(O),f(e)},contentVariants:{className:"w-[400px]"},onSubmit:m.handleSubmit(E,P),controls:(0,r.jsx)("div",{className:"flex flex-col gap-1",children:(0,r.jsx)(o.ZqQ,{form:m,children:"Create"})}),children:(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)(o.nvN,{size:"14",children:"Create a new volume. Select a system directory and specific the size of the volume."}),(0,r.jsx)(o.yEL,{name:"name",form:m,fields:M}),(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsx)("div",{className:"flex flex-col gap-1",children:(0,r.jsx)(o.yEL,{name:"immediatePath",form:m,fields:M})}),(0,r.jsx)(k,{path:g,dir:j,onChange:e=>m.setValue("path",e,{shouldDirty:!0,shouldTouch:!0,shouldValidate:!0})})]}),(0,r.jsx)(o.jIp,{name:"size",form:m,fields:M}),(0,r.jsx)(S,{newSizeGB:C,currentSizeGB:0,maxSizeGB:A})]})})}let A={size:void 0};function T(e){var t,n;let{trigger:u,open:c,onOpenChange:f}=e,{id:d,closeDialog:h}=ep(),p=v(),m=(0,a.ST)({disabled:!d,params:{id:d}}),g=(0,a.cM)({disabled:!c||!m.data,params:{path:null===(t=m.data)||void 0===t?void 0:t.localPath.split(p).slice(0,-1).join(p)}}),y=(0,a.G)(),b=(0,l.cI)({mode:"all",defaultValues:A}),x=b.watch("size"),w=(0,i.useCallback)(async e=>{let t=await y.put({params:{id:Number(d)},payload:{maxSectors:(0,o.WN2)(e.size).toNumber()}});t.error?(0,o.OHV)(t.error):((0,o.OPV)("Volume resizing initiated."),b.reset(A),h())},[b,d,y,h]);(0,i.useEffect)(()=>{m.data&&b.reset(A)},[m.data]);let _=null==x?void 0:x.toNumber(),E=m.data?(0,o.bjP)(m.data.totalSectors).toNumber():0,k=g.data?(0,o.Uzc)(g.data.totalBytes).toNumber():0,j=Math.abs(E-_)>=1,O=(0,i.useMemo)(()=>({size:{type:"number",title:"New size",decimalsLimit:0,units:"GB",placeholder:"1,000",validation:{required:"required",validate:{between:e=>{let t="Must be between ".concat((0,s.vW)((0,o.Hzd)(10))," and ").concat((0,s.vW)((0,o.Hzd)(k),{fixed:3}));return e<=k&&e>=10||t}}}}}),[k]),C=(0,o.WsO)(O);return(0,r.jsx)(o.VqE,{title:"Resize Volume",trigger:u,open:c,onOpenChange:e=>{e||b.reset(A),f(e)},contentVariants:{className:"max-w-[400px]"},onSubmit:b.handleSubmit(w,C),controls:(0,r.jsx)("div",{className:"flex flex-col gap-1",children:(0,r.jsx)(o.ZqQ,{form:b,children:"Resize"})}),children:(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsxs)(o.nvN,{size:"14",children:["Grow or shrink the volume. When growing a volume, make sure to check that there is enough space on-disk. When shrinking a volume, any data that needs to be moved will be placed into other volumes, meaning that no data will be lost. If ",(0,r.jsx)(o.EKh,{children:"hostd"})," is unable to migrate the data, an error will be returned and the operation will be stopped."]}),(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsx)(o.__J,{children:"Volume"}),(0,r.jsx)(o.xvT,{font:"mono",ellipsis:!0,children:null===(n=m.data)||void 0===n?void 0:n.localPath})]}),(0,r.jsx)(o.jIp,{name:"size",form:b,fields:O}),(0,r.jsx)(S,{currentSizeGB:E,newSizeGB:_,maxSizeGB:k,label:j?(0,r.jsx)(o.xvT,{size:"12",color:"subtle",children:E<_?"Increase by ".concat((0,s.vW)((0,o.Hzd)(_-E))):"Decrease by ".concat((0,s.vW)((0,o.Hzd)(E-_)))}):(0,r.jsx)(o.xvT,{size:"12",color:"subtle",children:"Current size is ".concat((0,s.vW)((0,o.Hzd)(E)))})})]})})}let M={path:"",force:!1};function P(e){var t,n,u;let{trigger:c,open:f,onOpenChange:d}=e,{id:h,closeDialog:p}=ep(),v=(0,a.uq)(),m=(0,a.ST)({disabled:!h,params:{id:h}}),g=(0,o.x9T)(null===(t=m.data)||void 0===t?void 0:t.totalSectors),y=(0,o.x9T)(null===(n=m.data)||void 0===n?void 0:n.usedSectors),b=null===(u=m.data)||void 0===u?void 0:u.localPath,x=(0,l.cI)({mode:"all",defaultValues:M}),w=(0,i.useCallback)(async e=>{var t;let n=await v.delete({params:{id:null===(t=m.data)||void 0===t?void 0:t.ID,force:e.force}});n.error?(0,o.OHV)(n.error):((0,o.OPV)("Volume permanently deleted."),x.reset(),p())},[x,m.data,v,p]),_=(0,i.useMemo)(()=>({path:{type:"text",title:"Path",placeholder:b,validation:{required:"required",validate:{equals:e=>e===b||"directory path does not match"}}},force:{type:"boolean",title:"Force",validation:{}}}),[b]),E=(0,o.WsO)(_);return(0,r.jsx)(o.VqE,{title:"Delete Volume",trigger:c,open:f,onOpenChange:e=>{e||x.reset(M),d(e)},contentVariants:{className:"w-[400px]"},onSubmit:x.handleSubmit(w,E),children:(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)(o.nvN,{size:"14",children:"Are you sure you would like to delete the volume?"}),(0,r.jsxs)(o.nvN,{size:"14",children:[(0,r.jsx)(o.EKh,{children:"hostd"})," will move"," ",(0,r.jsx)(o.xvT,{weight:"semibold",children:(0,s.vW)(y)})," of stored data and will lose ",(0,r.jsx)(o.xvT,{weight:"semibold",children:(0,s.vW)(g)})," ","of storage capacity. It is not recommended to remove or resize volumes when contracts are about to expire."]}),(0,r.jsx)(o.nvN,{size:"14",children:"Enter the volume path to confirm the removal."}),(0,r.jsx)(o.yEL,{name:"path",form:x,fields:_}),(0,r.jsxs)("div",{className:"flex gap-1",children:[(0,r.jsx)(o.QBj,{name:"force",size:"medium",form:x,fields:_}),(0,r.jsx)(o.Yqd,{children:(0,r.jsx)("div",{className:"flex gap-1 max-w-[200px]",children:(0,r.jsx)(o.nvN,{size:"14",children:"Force deleting a volume will remove the volume even if the data can NOT be relocated - this will result in severe data loss and contract failure. Be extremely careful when using this option."})})})]}),(0,r.jsx)(o.ZqQ,{variant:"red",form:x,children:"Delete"})]})})}var N=n(6391),R=n.n(N);function D(){let{dialog:e,openDialog:t,closeDialog:n}=ep(),s=(0,a.Os)(),l=(0,a.cj)(),u=(0,i.useCallback)(async e=>{let{sc:t,address:n}=e,r=await l.post({payload:{address:n,amount:t.toString()}});return r.error?{error:r.error}:{transactionId:r.data}},[l]);return(0,r.jsx)(o.weF,{balance:s.data?new(R())(s.data.spendable):void 0,send:u,open:"sendSiacoin"===e,onOpenChange:r=>r?t(e):n()})}function L(){let{id:e,dialog:t,openDialog:n,closeDialog:s}=ep(),l=(0,a.Qq)({params:{},config:{swr:{revalidateOnFocus:!1,refreshInterval:6e4}},disabled:"transactionDetails"!==t}),u=(0,i.useMemo)(()=>{var t;let n=null===(t=l.data)||void 0===t?void 0:t.find(t=>t.ID===e);return n?{txType:(0,o.leQ)(n.transaction,n.source),inflow:n.inflow,outflow:n.outflow,timestamp:n.timestamp,raw:n.transaction}:null},[l,e]);return(0,r.jsx)(o.mPE,{id:e,transaction:u,open:"transactionDetails"===t,onOpenChange:e=>e?n(t):s()})}var F=n(30080),I=n(41755),z=n(74881),V=n(5632);let B={namespace:"wallet",label:"Wallet"};function Z(e){let{currentPage:t,parentPage:n,pushPage:i}=e,{openDialog:s,closeDialog:l}=ep(),u=(0,V.useRouter)(),c=(0,a.On)({config:{swr:{revalidateOnFocus:!1,keepPreviousData:!0}}});return(0,r.jsxs)(h.fu,{currentPage:t,commandPage:B,children:[(0,r.jsx)(h.Ul,{currentPage:t,parentPage:n,commandPage:B,onSelect:()=>{i(B)},children:B.label}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:B,onSelect:()=>{u.push(z._.wallet.view),l()},children:"View wallet transactions"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:B,onSelect:()=>{s("sendSiacoin")},children:"Send siacoin"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:B,onSelect:()=>{s("addressDetails")},children:"Receive siacoin"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:B,onSelect:()=>{s("addressDetails")},children:"View wallet address"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:B,onSelect:()=>{var e;(0,o.vQq)(null===(e=c.data)||void 0===e?void 0:e.walletAddress,"wallet address"),l()},children:"Copy wallet address to clipboard"})]})}var U=n(38617);let H={namespace:"settings",label:"Settings"};function W(e){let{currentPage:t,parentPage:n}=e,{openDialog:i,closeDialog:o}=ep(),{setTheme:a}=(0,U.F)(),{settings:s,setSettings:l,lock:u,currencyOptions:c,setCurrency:f}=(0,I.Hv)();return(0,r.jsxs)(h.fu,{currentPage:t,commandPage:H,children:[(0,r.jsx)(h.Ul,{currentPage:t,parentPage:n,commandPage:H,onSelect:()=>{i("settings")},children:"Open settings"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:H,onSelect:()=>{l({siaCentral:!s.siaCentral}),o()},children:(s.siaCentral?"Disable":"Enable")+" external API - Sia Central exchange rates"}),(0,r.jsx)(h.o4,{currentPage:t,commandPage:H,onSelect:()=>{u(),o()},children:"Lock hostd"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:H,onSelect:()=>{i("settings")},children:"Open interface theme menu"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:H,onSelect:()=>{a("system"),o()},children:"Set theme to system preference"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:H,onSelect:()=>{a("dark"),o()},children:"Set theme to dark"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:H,onSelect:()=>{a("light"),o()},children:"Set theme to light"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:H,onSelect:()=>{i("settings")},children:"Open currency settings menu"}),c.map(e=>{let{id:n,label:i}=e;return(0,r.jsx)(h.WD,{currentPage:t,commandPage:H,onSelect:()=>{f(n),o()},children:"Set currency to ".concat(i)},n)})]})}let q={namespace:"node",label:"Blockchain node"};function $(e){let{currentPage:t,parentPage:n,pushPage:i}=e,{openDialog:o,closeDialog:a}=ep(),s=(0,V.useRouter)();return(0,r.jsxs)(h.fu,{currentPage:t,commandPage:q,children:[(0,r.jsx)(h.Ul,{currentPage:t,parentPage:n,commandPage:q,onSelect:()=>{i(q)},children:q.label}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:q,onSelect:()=>{o("connectPeer")},children:"Connect to a peer"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:q,onSelect:()=>{s.push(z._.node.index),a()},children:"View peers"})]})}let Y={namespace:"configuration",label:"Configuration"};function G(e){let{currentPage:t,parentPage:n,pushPage:i}=e,o=(0,V.useRouter)(),{closeDialog:a}=ep();return(0,r.jsxs)(h.fu,{currentPage:t,commandPage:Y,children:[(0,r.jsx)(h.Ul,{currentPage:t,parentPage:n,commandPage:Y,onSelect:()=>{i(Y)},children:Y.label}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:Y,onSelect:()=>{o.push(z._.config.index),a()},children:"Open configuration"})]})}var K=n(21987);function X(e){let{search:t}=e;return(0,r.jsxs)(o.xvT,{color:"verySubtle",className:"flex flex-col gap-2 justify-center items-center mt-5 mb-3",children:[(0,r.jsx)(o.xvT,{color:"verySubtle",className:"flex gap-2 justify-center items-center",children:(0,r.jsx)(o.owP,{})}),(0,r.jsx)(o.xvT,{size:"12",color:"verySubtle",className:"flex justify-center",children:t?"No results matching query.":"Type a query to get started."})]})}var Q=n(11015);let J={namespace:"contracts",label:"Contracts"};function ee(e){let{currentPage:t,parentPage:n,pushPage:i,beforeSelect:o,afterSelect:a}=e,s=(0,V.useRouter)(),{closeDialog:l}=ep();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.Ul,{currentPage:t,parentPage:n,commandPage:n,onSelect:()=>{i(J)},children:J.label}),(0,r.jsx)(h.fu,{currentPage:t,commandPage:J,children:(0,r.jsx)(h.WD,{currentPage:t,commandPage:J,onSelect:()=>{s.push(z._.contracts.index),l()},children:"View contracts"})}),(0,r.jsx)(Q.F,{parentPage:J,currentPage:t,beforeSelect:o,afterSelect:a,pushPage:i})]})}let et={namespace:"volumes",label:"Volumes"};function en(e){let{currentPage:t,parentPage:n,pushPage:i}=e,o=(0,V.useRouter)(),{openDialog:a,closeDialog:s}=ep();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.Ul,{currentPage:t,parentPage:n,commandPage:n,onSelect:()=>{i(et)},children:et.label}),(0,r.jsxs)(h.fu,{currentPage:t,commandPage:et,children:[(0,r.jsx)(h.WD,{currentPage:t,commandPage:et,onSelect:()=>{o.push(z._.volumes.index),s()},children:"View volumes"}),(0,r.jsx)(h.WD,{currentPage:t,commandPage:et,onSelect:()=>{a("volumeCreate")},children:"Create volume"})]})]})}function er(e){var t,n,a,s,l,h,p,v,m;let{panel:g}=e,y=(0,V.useRouter)(),{resetFilters:b}=(0,K.G)(),{closeDialog:x}=ep(),[w,_]=(0,i.useState)(""),[E]=(s=t&&t.equalityFn||c,h=(a=(n=(0,i.useState)(f(w)))[1],l=[n[0],(0,i.useCallback)(function(e){return a(f(e))},[])])[0],p=l[1],v=u((0,i.useCallback)(function(e){return p(e)},[p]),500,t),s((m=(0,i.useRef)(w)).current,w)||(v(w),m.current=w),[h,v]),[k,S]=(0,i.useState)([]),O=k[k.length-1],C=0===k.length,A=(0,i.useCallback)(e=>{S(t=>[...t,e])},[S]),T=(0,i.useCallback)(()=>{x()},[x]),M=(0,i.useCallback)(()=>{_("")},[_]),P=(null==O?void 0:O.empty)||X;return(0,r.jsxs)(d.mY,{label:"Command Menu",loop:!0,className:(0,j.cx)(g&&(0,o.z$)()),onKeyDown:e=>{(k.length>0&&"Escape"===e.key||"Backspace"===e.key&&!w)&&(e.preventDefault(),S(e=>e.slice(0,-1)))},children:[O&&(0,r.jsx)(o.__J,{className:"px-2",children:O.label}),(0,r.jsx)(d.mY.Input,{value:w,onValueChange:_,className:(0,o.cEb)({variant:"ghost",focus:"none"}),placeholder:(null==O?void 0:O.prompt)||(C?"Search for commands, eg: theme, redundancy":"Search commands")}),(0,r.jsx)(o.Z0O,{className:"my-2"}),(0,r.jsxs)(d.mY.List,{children:[(0,r.jsx)(d.mY.Empty,{children:(0,r.jsx)(P,{search:w,debouncedSearch:E})}),(0,r.jsx)(W,{currentPage:O,pushPage:A}),(0,r.jsx)(Z,{currentPage:O,pushPage:A}),(0,r.jsx)(en,{currentPage:O,pushPage:A}),(0,r.jsx)(ee,{currentPage:O,pushPage:A,beforeSelect:()=>{T(),b()},afterSelect:()=>{y.pathname.startsWith(z._.contracts.index)||y.push(z._.contracts.index),M()}}),(0,r.jsx)(G,{currentPage:O,pushPage:A}),(0,r.jsx)($,{currentPage:O,pushPage:A})]})]})}function ei(e){let{open:t,onOpenChange:n,setOpen:a}=e,{isUnlocked:s}=(0,I.Hv)(),{isConnected:l}=(0,o.Y97)({route:z.h});return(0,i.useEffect)(()=>{if(!s||!l)return;let e=e=>{"k"===e.key&&e.metaKey&&a()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s,l,a]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(o.VqE,{open:t,onOpenChange:n,contentVariants:{className:"!absolute !p-1 w-[450px] top-[200px]"},bodyClassName:"!px-1 !py-1",closeClassName:"hidden",children:(0,r.jsx)(er,{})})})}let eo=[];function ea(e){let{open:t,onOpenChange:n}=e,l=(0,a.Z7)(),u=(0,a.Uy)(),c=(0,o.c2j)(l.data,l.isValidating,l.error,eo),f=(0,i.useCallback)(async e=>{let t=await u.post({payload:[e]});t.error?(0,o.OHV)("Error dismissing alert."):(0,o.OPV)("Alert has been dismissed.")},[u]),d=(0,i.useCallback)(async()=>{if(!l.data)return;let e=await u.post({payload:l.data.map(e=>e.id)});e.error?(0,o.OHV)("Error dismissing all alerts."):(0,o.OPV)("All alerts have been dismissed.")},[u,l]);return(0,r.jsx)(o.VqE,{open:t,onOpenChange:e=>{n(e)},contentVariants:{className:"w-[500px]"},title:(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsxs)(o.X6q,{size:"20",children:["Alerts ",l.data?"(".concat(l.data.length,")"):""]}),(0,r.jsx)("div",{className:"flex justify-end gap-2",children:!c&&(0,r.jsxs)(o.zxk,{onClick:d,children:[(0,r.jsx)(o.NlZ,{}),"Dismiss all"]})})]}),children:(0,r.jsxs)("div",{className:(0,j.cx)("flex flex-col overflow-hidden -m-4","border-t border-gray-200 dark:border-graydark-300"),children:["noneYet"===c&&(0,r.jsx)("div",{className:(0,j.cx)("flex items-center justify-center h-[100px]",ed()),children:(0,r.jsx)(o.xvT,{size:"18",color:"subtle",children:"There are currently no alerts."})}),"error"===c&&(0,r.jsx)("div",{className:(0,j.cx)("flex items-center justify-center h-[100px]",ed()),children:(0,r.jsx)(o.xvT,{size:"18",color:"subtle",children:l.error.message})}),"loading"===c&&(0,r.jsx)(ef,{}),!c&&(0,r.jsx)("div",{className:"flex flex-col",children:l.data.map(e=>(0,r.jsxs)("div",{className:(0,j.cx)("flex flex-col gap-1 w-full p-4","border-t border-gray-200 dark:border-graydark-300","first:border-none"),children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsxs)(o.xvT,{weight:"medium",children:[e.severity,": ",e.message]}),(0,r.jsx)(o.zxk,{icon:"hover",variant:"ghost",tip:"Dismiss alert",onClick:()=>f(e.id),children:(0,r.jsx)(o.NlZ,{})})]}),!!e.data.error&&(0,r.jsx)(o.xvT,{color:"contrast",className:"mb-1",children:e.data.error}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"timestamp"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:(0,s.rN)(e.timestamp,{timeStyle:"medium"})})]}),(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.keys(e).sort((e,t)=>{let n=eu.indexOf(e),r=eu.indexOf(t);return -1===n&&-1===r?0:-1===n?1:-1===r?-1:n-r});return(0,m.difference)(n,t)})(e.data,el).map(t=>{var n,i;let o=e.data[t];if(null==o||"object"==typeof o&&!Object.keys(o).length)return null;let a=(null===(n=ec[t])||void 0===n?void 0:n.label)||t,s=(null===(i=ec[t])||void 0===i?void 0:i.render)||es;return(0,r.jsx)(s,{label:a,value:o},t)})]},e.id))})]})})}function es(e){let{label:t,value:n}=e;return(0,r.jsxs)("div",{className:"flex gap-3 justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",children:t}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:String(n)})]})}let el=["error"],eu=["contractID","blockHeight","resolution","volume","volumeID","elapsed","error","checked","missing","corrupt","total","oldSectors","currentSectors","targetSectors","migratedSectors","migrated","target","force"],ec={contractId:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"contract ID"}),(0,r.jsx)(o.XxW,{value:String(t)})]})}},blockHeight:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"block height"}),(0,r.jsx)(o.XxW,{value:String(t),type:"block"})]})}},resolution:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"resolution"}),(0,r.jsx)(o.XxW,{value:String(t)})]})}},volume:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"volume"}),(0,r.jsx)(o.XxW,{value:String(t)})]})}},volumeID:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"volume ID"}),(0,r.jsx)(o.XxW,{value:String(t)})]})}},elapsed:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"elapsed"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:(0,s.bc)(Number(t))})]})}},checked:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"checked"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},missing:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"missing"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},corrupt:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"corrupt"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},total:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"total"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},oldSectors:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"old sectors"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},currentSectors:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"current sectors"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},targetSectors:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"target sectors"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},migratedSectors:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"migrated sectors"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},migrated:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"migrated"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},target:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"target"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t.toLocaleString()})]})}},force:{render:e=>{let{value:t}=e;return(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)(o.xvT,{color:"subtle",ellipsis:!0,children:"force"}),(0,r.jsx)(o.xvT,{color:"contrast",ellipsis:!0,children:t?"true":"false"})]})}}};function ef(){return(0,r.jsx)(r.Fragment,{children:(0,m.times)(10,e=>(0,r.jsx)("div",{className:(0,j.cx)("relative flex gap-4 p-3.5",ed()),children:(0,r.jsxs)("div",{className:"flex flex-col gap-2 w-full",children:[(0,r.jsxs)("div",{className:"flex justify-between gap-2 w-full",children:[(0,r.jsx)(o.OdW,{className:"w-[160px] h-[20px]"}),(0,r.jsx)(o.OdW,{className:"w-[160px] h-[20px]"})]}),(0,r.jsx)(o.OdW,{className:"w-[100px] h-[20px]"}),(0,r.jsx)(o.OdW,{className:"w-full h-[120px]"})]})},e))})}function ed(){return(0,j.cx)("border-t border-gray-200 dark:border-graydark-300","first:border-none")}let eh=(0,i.createContext)({}),ep=()=>(0,i.useContext)(eh);function ev(e){let{children:t}=e,n=function(){let[e,t]=(0,i.useState)(),[n,r]=(0,i.useState)(),o=(0,i.useCallback)((e,n)=>{t(e),r(n)},[t,r]),[a,s]=(0,i.useState)(),l=(0,i.useCallback)(e=>{t("confirm"),s(e)},[t,s]),u=(0,i.useCallback)(()=>{t(void 0),r(void 0),s(void 0)},[t,r,s]),c=(0,i.useCallback)(e=>{e||u()},[u]);return{dialog:e,id:n,openDialog:o,confirm:a,openConfirmDialog:l,closeDialog:u,onOpenChange:c}}();return(0,r.jsx)(eh.Provider,{value:n,children:t})}function em(){var e;let{dialog:t,openDialog:n,openConfirmDialog:i,onOpenChange:s,closeDialog:l,confirm:u}=ep(),c=(0,a.Wl)(),f=(0,a.Os)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ei,{open:"cmdk"===t,onOpenChange:s,setOpen:()=>n("cmdk")}),(0,r.jsx)(o.DLL,{open:"settings"===t,onOpenChange:s}),(0,r.jsx)(ea,{open:"alerts"===t,onOpenChange:s}),(0,r.jsx)(D,{}),(0,r.jsx)(o.YNn,{open:"addressDetails"===t,address:null===(e=f.data)||void 0===e?void 0:e.address,isValidating:f.isValidating,onOpenChange:e=>e?n(t):l()}),(0,r.jsx)(L,{}),(0,r.jsx)(o.D_D,{connect:e=>c.put({payload:{address:e}}),open:"connectPeer"===t,onOpenChange:e=>e?n(t):l()}),(0,r.jsx)(C,{open:"volumeCreate"===t,onOpenChange:e=>e?n(t):l()}),(0,r.jsx)(T,{open:"volumeResize"===t,onOpenChange:e=>e?n(t):l()}),(0,r.jsx)(P,{open:"volumeDelete"===t,onOpenChange:e=>e?n(t):l()}),(0,r.jsx)(F.Y,{open:"contractsFilterContractId"===t,onOpenChange:e=>e?n(t):l()}),(0,r.jsx)(o.QHy,{open:"confirm"===t,params:u,onOpenChange:e=>e?i(u):l()})]})}},96611:function(e,t,n){"use strict";n.d(t,{C:function(){return _},B:function(){return w}});var r=n(52322),i=n(2784),o=n(84031),a=n(2288);let s={successful:{color:o.O9T.green[600]},active:{color:o.O9T.amber[600]},pending:{color:o.O9T.amber[600],pattern:!0},rejected:{color:o.O9T.red[600]},failed:{color:o.O9T.red[600]},storage:{label:"storage",color:o.O9T.emerald[600]},storagePhysical:{color:o.O9T.indigo[600]},ingress:{label:"ingress",color:o.O9T.pink[600]},egress:{label:"egress",color:o.O9T.blue[600]},registry:{label:"registry",color:o.O9T.purple[600]},storageWrites:{label:"storage write",color:o.O9T.pink[600]},storageReads:{label:"storage read",color:o.O9T.blue[600]},registryReads:{label:"registry reads",color:o.O9T.green[600]},registryWrites:{label:"registry writes",color:o.O9T.yellow[600]},rpc:{label:"RPC",color:o.O9T.slate[500]},capacityStorage:{label:"capacity",color:o.O9T.neutral[500]},capacityRegistry:{label:"capacity",color:o.O9T.neutral[500]},contract:{color:o.O9T.red[800]},collateral:{color:o.O9T.amber[600]},sectorsTemp:{label:"temp sectors",color:o.O9T.amber[600]},sectorsContract:{label:"contract sectors",color:o.O9T.green[600]},sectorAccess:{label:"sector access",color:o.O9T.blue[600]},sc:{color:o.O9T.green[600]},sf:{color:o.O9T.amber[600]},locked:{color:o.O9T.purple[600]},risked:{color:o.O9T.amber[600]},burnt:{color:o.O9T.red[600]}};var l=n(13369);function u(e,t,n){return{...e,category:t,pattern:n}}function c(e,t,n){return{...e,category:t,label:n}}var f=n(6391),d=n.n(f),h=n(62517),p=n(66700);function v(e,t){for(var n=Math.abs(e).toString();n.length"7"===e.value),x=(0,i.createContext)({}),w=()=>(0,i.useContext)(x);function _(e){let{children:t}=e,n=function(){let[e,t]=(0,y.Z)("v0/metrics/dataTimeSpan",{defaultValue:b.value}),[n,r]=(0,y.Z)("v0/metrics/dataInterval",{defaultValue:b.interval}),f=function(e){let[t,n]=(0,i.useState)(new Date().getTime());return(0,i.useEffect)(()=>{n(new Date().getTime());let t=setInterval(()=>{n(new Date().getTime()),console.log("reset time range")},(0,h.uQ)(e));return()=>clearInterval(t)},[e]),t}(n),x=(0,i.useMemo)(()=>(0,o.OQF)(e,f),[e,f]),w=(0,i.useCallback)(e=>{let n=h.lv.find(t=>t.value===e);r(n.interval),t(n.value)},[t,r]),_=(0,i.useMemo)(()=>(0,o.kOJ)(n),[n]),E=(0,l.KU)({params:{interval:n,start:function(e,t){(0,m.Z)(1,arguments);var n=(0,p.Z)(e);if(isNaN(n.getTime()))throw RangeError("Invalid time value");var r=null!=t&&t.format?String(t.format):"extended",i=null!=t&&t.representation?String(t.representation):"complete";if("extended"!==r&&"basic"!==r)throw RangeError("format must be 'extended' or 'basic'");if("date"!==i&&"time"!==i&&"complete"!==i)throw RangeError("representation must be 'date', 'time', or 'complete'");var o="",a="",s="extended"===r?"-":"";if("time"!==i){var l=v(n.getDate(),2),u=v(n.getMonth()+1,2),c=v(n.getFullYear(),4);o="".concat(c).concat(s).concat(u).concat(s).concat(l)}if("date"!==i){var f=n.getTimezoneOffset();if(0!==f){var d=Math.abs(f),h=v(Math.floor(d/60),2),g=v(d%60,2);a="".concat(f<0?"+":"-").concat(h,":").concat(g)}else a="Z";var y=v(n.getHours(),2),b=v(n.getMinutes(),2),x=v(n.getSeconds(),2),w=""===o?"":"T",_=[y,b,x].join("extended"===r?":":"");o="".concat(o).concat(w).concat(_).concat(a)}return o}(new Date(x.start-(0,h.uQ)(n)))},config:{swr:{revalidateOnFocus:!1}}}),k=(0,i.useMemo)(()=>{var e;let t=(0,o.Y_Z)(null===(e=E.data)||void 0===e?void 0:e.map(e=>({storagePotential:Number(e.revenue.potential.storage),ingressPotential:Number(e.revenue.potential.ingress),egressPotential:Number(e.revenue.potential.egress),registryReadPotential:Number(e.revenue.potential.registryRead),registryWritePotential:Number(e.revenue.potential.registryWrite),rpcPotential:Number(e.revenue.potential.rpc),storage:Number(e.revenue.earned.storage),ingress:Number(e.revenue.earned.ingress),egress:Number(e.revenue.earned.egress),registryRead:Number(e.revenue.earned.registryRead),registryWrite:Number(e.revenue.earned.registryWrite),rpc:Number(e.revenue.earned.rpc),potential:new(d())(e.revenue.potential.storage).plus(e.revenue.potential.ingress).plus(e.revenue.potential.egress).plus(e.revenue.potential.registryRead).plus(e.revenue.potential.registryWrite).plus(e.revenue.potential.rpc).toNumber(),earned:new(d())(e.revenue.earned.storage).plus(e.revenue.earned.ingress).plus(e.revenue.earned.egress).plus(e.revenue.earned.registryRead).plus(e.revenue.earned.registryWrite).plus(e.revenue.earned.rpc).toNumber(),timestamp:new Date(e.timestamp).getTime()})),"delta"),n=(0,o.fVJ)(t);return{data:t,stats:n,config:{enabledGraph:["storage","storagePotential","ingress","ingressPotential","egress","egressPotential","registryRead","registryReadPotential","registryWrite","registryWritePotential","rpc","rpcPotential"],enabledTip:["potential","earned","storage","storagePotential","ingress","ingressPotential","egress","egressPotential","registryRead","registryReadPotential","registryWrite","registryWritePotential","rpc","rpcPotential"],categories:["earned","potential"],data:{storagePotential:u(s.storage,"potential",!0),ingressPotential:u(s.ingress,"potential",!0),egressPotential:u(s.egress,"potential",!0),registryReadPotential:u(s.registryReads,"potential",!0),registryWritePotential:u(s.registryWrites,"potential",!0),rpcPotential:u(s.rpc,"potential",!0),storage:u(s.storage,"earned"),ingress:u(s.ingress,"earned"),egress:u(s.egress,"earned"),registryRead:u(s.registryReads,"earned"),registryWrite:u(s.registryWrites,"earned"),rpc:u(s.rpc,"earned"),earned:c({},"earned","total"),potential:c({},"potential","total")},format:e=>(0,a.Vz)(e),formatTimestamp:_,disableAnimations:!0},chartType:"line",isLoading:E.isValidating}},[E,_]),j=(0,i.useMemo)(()=>{var e;let t=(0,o.Y_Z)(null===(e=E.data)||void 0===e?void 0:e.map(e=>({locked:Number(e.contracts.lockedCollateral),risked:Number(e.contracts.riskedCollateral),timestamp:new Date(e.timestamp).getTime()})),"none"),n=(0,o.fVJ)(t);return{data:t,stats:n,config:{enabledGraph:["locked","risked"],enabledTip:["locked","risked"],data:{locked:s.locked,risked:s.risked},format:e=>(0,a.Vz)(e),formatTimestamp:_,disableAnimations:!0},chartType:"area",isLoading:E.isValidating}},[E,_]),S=(0,i.useMemo)(()=>{var e;let t=(0,o.Y_Z)(null===(e=E.data)||void 0===e?void 0:e.map(e=>({baseRPC:(0,g.sS)(e.pricing.baseRPCPrice).toNumber(),collateral:(0,g.c5)(new(d())(e.pricing.storagePrice).times(e.pricing.collateralMultiplier)).toNumber(),contract:Number(e.pricing.contractPrice),egress:(0,g.B1)(e.pricing.egressPrice).toNumber(),ingress:(0,g.dK)(e.pricing.ingressPrice).toNumber(),sectorAccess:(0,g.nS)(e.pricing.sectorAccessPrice).toNumber(),storage:(0,g.SY)(e.pricing.storagePrice).toNumber(),timestamp:new Date(e.timestamp).getTime()})),"none"),n=(0,o.fVJ)(t);return{data:t,stats:n,config:{enabledGraph:["storage","ingress","egress","collateral","contract","sectorAccess","baseRPC"],enabledTip:["storage","ingress","egress","collateral","contract","sectorAccess","baseRPC"],data:{baseRPC:s.rpc,sectorAccess:s.sectorAccess,contract:s.contract,collateral:s.collateral,egress:s.egress,ingress:s.ingress,storage:s.storage},format:e=>(0,a.Vz)(e),formatTimestamp:_,disableAnimations:!0},chartType:"line",isLoading:E.isValidating}},[E,_]),O=(0,i.useMemo)(()=>{var e;let t=(0,o.Y_Z)(null===(e=E.data)||void 0===e?void 0:e.map(e=>({active:e.contracts.active,failed:e.contracts.failed,pending:e.contracts.pending,rejected:e.contracts.rejected,successful:e.contracts.successful,timestamp:new Date(e.timestamp).getTime()})),"none"),n=(0,o.fVJ)(t);return{data:t,stats:n,config:{enabledGraph:["successful","active","pending","rejected","failed"],enabledTip:["successful","active","pending","rejected","failed"],data:{active:s.active,failed:s.failed,pending:s.pending,rejected:s.rejected,successful:s.successful},format:e=>"".concat(e," contracts"),formatTimestamp:_,disableAnimations:!0},chartType:"areastack",isLoading:E.isValidating}},[E,_]),C=(0,i.useMemo)(()=>{var e;let t=(0,o.Y_Z)(null===(e=E.data)||void 0===e?void 0:e.map(e=>({maxSectors:(0,o.B$N)(e.storage.totalSectors).times(4).toNumber(),registryEntries:113*e.registry.entries,maxRegistryEntries:113*e.registry.maxEntries,tempSectors:(0,o.B$N)(e.storage.tempSectors).times(4).toNumber(),physicalSectors:(0,o.B$N)(e.storage.physicalSectors).times(4).toNumber(),contractSectors:(0,o.B$N)(e.storage.contractSectors).times(4).toNumber(),timestamp:new Date(e.timestamp).getTime()})),"none"),n=(0,o.fVJ)(t);return{data:t,stats:n,config:{enabledGraph:["contractSectors","physicalSectors","tempSectors","registryEntries","maxSectors","maxRegistryEntries"],enabledTip:["contractSectors","physicalSectors","tempSectors","registryEntries","maxSectors","maxRegistryEntries"],categories:["storage used","storage capacity"],data:{maxSectors:c(s.capacityStorage,"storage capacity","sectors"),maxRegistryEntries:c(s.capacityRegistry,"storage capacity","registry"),physicalSectors:c(s.storagePhysical,"storage used","sectors physical"),registryEntries:c(s.registry,"storage used","registry (max)"),tempSectors:c(s.sectorsTemp,"storage used","sectors temp"),contractSectors:c(s.storage,"storage used","sectors contract")},format:e=>(0,a.vW)(e),formatTimestamp:_,disableAnimations:!0},chartType:"line",isLoading:E.isValidating}},[E,_]),A=(0,i.useMemo)(()=>{var e;let t=(0,o.Y_Z)(null===(e=E.data)||void 0===e?void 0:e.map(e=>({storageReads:e.storage.reads,storageWrites:e.storage.writes,registryReads:e.registry.reads,registryWrites:e.registry.writes,timestamp:new Date(e.timestamp).getTime()})),"delta"),n=(0,o.fVJ)(t);return{data:t,stats:n,config:{enabledGraph:["storageReads","storageWrites","registryReads","registryWrites"],enabledTip:["storageReads","storageWrites","registryReads","registryWrites"],data:{registryReads:s.registryReads,registryWrites:s.registryWrites,storageReads:s.storageReads,storageWrites:s.storageWrites},format:e=>(0,a.yF)(e),formatTimestamp:_,disableAnimations:!0},chartType:"line",isLoading:E.isValidating}},[E,_]),T=(0,i.useMemo)(()=>{var e;let t=(0,o.Y_Z)(null===(e=E.data)||void 0===e?void 0:e.map(e=>({egressRHP3:e.data.rhp3.egress,egressRHP2:e.data.rhp2.egress,egress:e.data.rhp3.egress+e.data.rhp2.egress,ingressRHP3:e.data.rhp3.ingress,ingressRHP2:e.data.rhp2.ingress,ingress:e.data.rhp3.ingress+e.data.rhp2.ingress,timestamp:new Date(e.timestamp).getTime()})),"delta"),n=(0,o.fVJ)(t);return{data:t,stats:n,config:{enabledGraph:["ingress","ingressRHP2","ingressRHP3","egress","egressRHP2","egressRHP3"],enabledTip:["ingress","ingressRHP2","ingressRHP3","egress","egressRHP2","egressRHP3"],categories:["ingress","egress"],data:{ingress:c(s.ingress,"ingress","total"),ingressRHP2:c(s.ingress,"ingress","RHP2"),ingressRHP3:c(s.ingress,"ingress","RHP3"),egress:c(s.egress,"egress","total"),egressRHP2:c(s.egress,"egress","RHP2"),egressRHP3:c(s.egress,"egress","RHP3")},format:e=>(0,a.vW)(e),formatTimestamp:_,disableAnimations:!0},chartType:"line",isLoading:E.isValidating}},[E,_]);return{dataTimeSpan:e,setDataTimeSpan:w,timeRange:x,dataInterval:n,setDataInterval:r,operations:A,revenue:k,collateral:j,contracts:O,storage:C,pricing:S,bandwidth:T}}();return(0,r.jsx)(x.Provider,{value:n,children:t})}},62517:function(e,t,n){"use strict";n.d(t,{lv:function(){return i},uQ:function(){return o}});var r=n(84031);let i=[{label:"1D",interval:"5m",value:"1"},{label:"7D",interval:"15m",value:"7"},{label:"1M",interval:"hourly",value:"30"},{label:"3M",interval:"daily",value:"90"},{label:"1Y",interval:"daily",value:"365"},{label:"ALL",interval:"weekly",value:"all"}];function o(e){return"5m"===e?(0,r.sWj)(5):"15m"===e?(0,r.sWj)(15):"hourly"===e?(0,r.ytg)(1):"daily"===e?(0,r.NrH)(1):"weekly"===e?(0,r.NrH)(7):"monthly"===e?(0,r.NrH)(30):"yearly"===e?(0,r.NrH)(365):0}},28701:function(e,t,n){"use strict";n.d(t,{Y:function(){return m},F:function(){return v}});var r=n(52322),i=n(84031),o=n(13369),a=n(2784);let s=["actions","path","storage","available","readOnly","successfulReads","successfulWrites","failedReads","failedWrites"];var l=n(2288),u=n(50002);function c(e){var t;let{id:n,contentProps:a,buttonProps:s}=e,{openDialog:l}=(0,u.Rh)(),c=(0,o.Rz)(),f=(0,o.ST)({params:{id:n}});return(0,r.jsxs)(i.h_2,{trigger:(0,r.jsx)(i.zxk,{variant:"ghost",icon:"hover",...s,children:(0,r.jsx)(i.iG7,{})}),contentProps:{align:"start",...a},children:[(0,r.jsx)("div",{className:"px-1.5 py-1",children:(0,r.jsxs)(i.xvT,{size:"14",weight:"medium",color:"subtle",children:["Volume ",f.data?(0,i.$Gg)(null===(t=f.data)||void 0===t?void 0:t.localPath,24):n]})}),(0,r.jsx)(i.Juw,{children:"Actions"}),f.data?(0,r.jsxs)(i.Xiv,{onSelect:async()=>{let e=!f.data.readOnly,t=await c.put({params:{id:Number(n)},payload:{readOnly:e}});t.error?(0,i.OHV)(e?"Error setting volume to read-only.":"Error setting volume to read/write."):(0,i.OPV)(e?"Volume set to read-only.":"Volume set to read/write.")},children:[(0,r.jsx)(i.KpP,{children:f.data.readOnly?(0,r.jsx)(i.dr6,{}):(0,r.jsx)(i.Lur,{})}),f.data.readOnly?"Set to read/write":"Set to read-only"]}):null,(0,r.jsxs)(i.Xiv,{onSelect:()=>l("volumeResize",n),children:[(0,r.jsx)(i.KpP,{children:(0,r.jsx)(i.BB5,{})}),"Resize"]}),(0,r.jsxs)(i.Xiv,{onSelect:()=>l("volumeDelete",n),children:[(0,r.jsx)(i.KpP,{children:(0,r.jsx)(i.Jrl,{})}),"Delete"]})]})}let f=[{id:"actions",label:"",fixed:!0,cellClassName:"w-[50px] !pl-2 !pr-4 [&+*]:!pl-0",render:e=>{let{data:t}=e;return(0,r.jsx)(c,{id:t.id})}},{id:"path",label:"path",category:"general",render:e=>{let{data:t}=e;return(0,r.jsx)(i.xvT,{font:"mono",ellipsis:!0,children:t.localPath})}},{id:"available",label:"status",category:"general",render:e=>{var t;let{data:n}=e;return(0,r.jsx)(i.ua7,{side:"right",content:n.available?"available":(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xvT,{children:"unavailable"}),(0,r.jsx)("div",{className:"flex flex-col",children:null===(t=n.errors)||void 0===t?void 0:t.map(e=>(0,r.jsx)(i.xvT,{size:"10",noWrap:!0,children:e},e))})]}),children:(0,r.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,r.jsx)(i.xvT,{color:n.available?"green":"amber",children:n.available?(0,r.jsx)(i.DI$,{}):(0,r.jsx)(i.SmH,{})}),(0,r.jsx)(i.xvT,{size:"12",className:"relative -top-px",children:n.status})]})})}},{id:"readOnly",label:"read/write",category:"general",render:e=>{let{data:t}=e;return t.readOnly?(0,r.jsx)(i.ua7,{content:"Read-only",children:(0,r.jsx)(i.xvT,{children:(0,r.jsx)(i.Lur,{})})}):(0,r.jsx)(i.ua7,{content:"Read and write enabled",children:(0,r.jsx)(i.xvT,{color:"subtle",children:(0,r.jsx)(i.dr6,{})})})}},{id:"storage",label:"storage",category:"general",render:e=>{let{data:t}=e;return(0,r.jsx)("div",{className:"flex gap-1 w-full max-w-[200px] pt-[10px]",children:(0,r.jsx)(i.kod,{variant:"accent",value:t.usedBytes,max:t.totalBytes,label:"".concat((0,l.vW)(t.usedBytes)," / ").concat((0,l.vW)(t.totalBytes))})})}},{id:"successfulReads",label:"successful reads",category:"operations",render:e=>{let{data:t}=e;return(0,r.jsx)(i.m2c,{variant:"value",size:"12",value:t.successfulReads,format:e=>e.toNumber().toLocaleString()})}},{id:"successfulWrites",label:"successful writes",category:"operations",render:e=>{let{data:t}=e;return(0,r.jsx)(i.m2c,{variant:"value",size:"12",value:t.successfulWrites,format:e=>e.toNumber().toLocaleString()})}},{id:"failedReads",label:"failed reads",category:"operations",render:e=>{let{data:t}=e;return(0,r.jsx)(i.m2c,{variant:"value",size:"12",value:t.failedReads,format:e=>e.toNumber().toLocaleString()})}},{id:"failedWrites",label:"failed writes",category:"operations",render:e=>{let{data:t}=e;return(0,r.jsx)(i.m2c,{variant:"value",size:"12",value:t.failedWrites,format:e=>e.toNumber().toLocaleString()})}}];var d=n(6391),h=n.n(d);let p=(0,a.createContext)({}),v=()=>(0,a.useContext)(p);function m(e){let{children:t}=e,n=function(){let{configurableColumns:e,enabledColumns:t,toggleColumnVisibility:n,setColumnsVisible:r,setColumnsHidden:l,toggleSort:u,setSortDirection:c,setSortField:d,sortField:p,sortDirection:v,resetDefaultColumnVisibility:m}=(0,i.oy6)("hostd/v0/volumes",{columns:f,columnsDefaultVisible:s}),g=(0,o.Fn)(),y=function(e){let{response:t}=e;return(0,a.useMemo)(()=>{var e;return t.data?(null===(e=t.data)||void 0===e?void 0:e.map(e=>({id:String(e.ID),ID:e.ID,localPath:e.localPath,usedSectors:e.usedSectors,usedBytes:new(h())(e.usedSectors).times((0,i.B$N)(4)).toNumber(),totalBytes:new(h())(e.totalSectors).times((0,i.B$N)(4)).toNumber(),totalSectors:e.totalSectors,status:e.status,readOnly:e.readOnly,available:e.available,failedReads:new(h())(e.failedReads),failedWrites:new(h())(e.failedWrites),successfulReads:new(h())(e.successfulReads),successfulWrites:new(h())(e.successfulWrites),errors:e.errors})))||[]:null},[t.data])}({response:g}),b=(0,a.useMemo)(()=>f.filter(e=>t.includes(e.id)),[t]),x=g.isValidating,w=g.error,_=(0,i.c2j)(y,x,w,[]);return{dataState:_,totalCount:(null==y?void 0:y.length)||0,isLoading:g.isValidating,columns:b,dataset:y,configurableColumns:e,enabledColumns:t,toggleColumnVisibility:n,setColumnsVisible:r,setColumnsHidden:l,toggleSort:u,setSortDirection:c,setSortField:d,sortField:p,sortDirection:v,resetDefaultColumnVisibility:m}}();return(0,r.jsx)(p.Provider,{value:n,children:t})}},30080:function(e,t,n){"use strict";n.d(t,{O:function(){return u},Y:function(){return d}});var r=n(52322),i=n(84031),o=n(21987),a=n(63397),s=n(24511),l=n(50002);function u(e){return{id:"filterContractId",value:e,label:"contract ID is ".concat(e)}}let c={contractId:""},f=s.Ry().shape({contractId:s.Z_().required("Required")});function d(e){let{trigger:t,open:n,onOpenChange:s}=e,{closeDialog:d}=(0,l.Rh)(),{setFilter:h}=(0,o.G)(),p=(0,a.TA)({initialValues:c,validationSchema:f,onSubmit:e=>{h(u(e.contractId)),p.resetForm(),d()}});return(0,r.jsx)(i.VqE,{trigger:t,title:"Filter by contract ID",open:n,onOpenChange:e=>{e||p.resetForm(),s(e)},contentVariants:{className:"w-[400px]"},onSubmit:p.handleSubmit,children:(0,r.jsx)("div",{className:"flex flex-col gap-4",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)(i.cB7,{formik:p,title:"Contract ID",name:"contractId",placeholder:"Exact match for contract ID",autoComplete:"off",type:"text",variants:{size:"medium"}}),(0,r.jsx)(i.IKw,{formik:p,size:"medium",children:"Filter"})]})})})}},74476:function(e,t,n){"use strict";n.d(t,{B1:function(){return v},K9:function(){return c},LP:function(){return m},SY:function(){return s},c5:function(){return h},co:function(){return l},dK:function(){return g},dz:function(){return a},nS:function(){return f},rZ:function(){return d},s2:function(){return p},sS:function(){return u}});var r=n(84031),i=n(6391),o=n.n(i);let a="/TB/month";function s(e){return new(o())(e).times((0,r.xf5)(1)).times((0,r.S5V)(1))}let l="/million";function u(e){return new(o())(e).times(1e7)}let c="/million";function f(e){return new(o())(e).times(1e7)}let d="/TB/month";function h(e){return new(o())(e).times((0,r.xf5)(1)).times((0,r.S5V)(1))}let p="/TB";function v(e){return new(o())(e).times((0,r.xf5)(1))}let m="/TB";function g(e){return new(o())(e).times((0,r.xf5)(1))}},52804:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var r=n(52322);n(35195);var i=n(84031),o=n(21987),a=n(96611),s=n(50002),l=n(28701);function u(e){let{children:t}=e;return(0,r.jsx)(s.Tu,{children:(0,r.jsx)(l.Y,{children:(0,r.jsx)(o.x,{children:(0,r.jsxs)(a.C,{children:[(0,r.jsx)(s.xQ,{}),t]})})})})}var c=n(74881);function f(e){let{Component:t,pageProps:n}=e;return(0,r.jsx)(i.PD$,{fallback:n.fallback,passwordProtectRequestHooks:!0,lockRoutes:c._,children:(0,r.jsx)(u,{children:(0,r.jsx)(t,{...n})})})}},52219:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,r){return!1},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(59419).Z,i=n(23903).Z,o=n(30199).Z,a=n(15154).Z,s=o(n(2784)),l=i(n(67016)),u=n(28575),c=n(55515),f=n(23581);n(37690);var d=i(n(31354));let h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e){return void 0!==e.default}function v(e){return"number"==typeof e||void 0===e?e:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function m(e,t,n,i,o,a,s){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let l="decode"in e?e.decode():Promise.resolve();l.catch(()=>{}).then(()=>{if(e.parentNode){if("blur"===n&&a(!0),null==i?void 0:i.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,l=!1;i.current(r({},t,{nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>l,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{l=!0,t.stopPropagation()}}))}(null==o?void 0:o.current)&&o.current(e)}})}let g=s.forwardRef((e,t)=>{var{imgAttributes:n,heightInt:i,widthInt:o,qualityInt:l,className:u,imgStyle:c,blurStyle:f,isLazy:d,fill:h,placeholder:p,loading:v,srcString:g,config:y,unoptimized:b,loader:x,onLoadRef:w,onLoadingCompleteRef:_,setBlurComplete:E,setShowAltText:k,onLoad:j,onError:S}=e,O=a(e,["imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","fill","placeholder","loading","srcString","config","unoptimized","loader","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return v=d?"lazy":v,s.default.createElement(s.default.Fragment,null,s.default.createElement("img",Object.assign({},O,n,{width:o,height:i,decoding:"async","data-nimg":h?"fill":"1",className:u,loading:v,style:r({},c,f),ref:s.useCallback(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(S&&(e.src=e.src),e.complete&&m(e,g,p,w,_,E,b))},[g,p,w,_,E,S,b,t]),onLoad:e=>{let t=e.currentTarget;m(t,g,p,w,_,E,b)},onError:e=>{k(!0),"blur"===p&&E(!0),S&&S(e)}})))}),y=s.forwardRef((e,t)=>{let n,i;var o,{src:m,sizes:y,unoptimized:b=!1,priority:x=!1,loading:w,className:_,quality:E,width:k,height:j,fill:S,style:O,onLoad:C,onLoadingComplete:A,placeholder:T="empty",blurDataURL:M,layout:P,objectFit:N,objectPosition:R,lazyBoundary:D,lazyRoot:L}=e,F=a(e,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]);let I=s.useContext(f.ImageConfigContext),z=s.useMemo(()=>{let e=h||I||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return r({},e,{allSizes:t,deviceSizes:n})},[I]),V=F,B=V.loader||d.default;delete V.loader;let Z="__next_img_default"in B;if(Z){if("custom"===z.loader)throw Error('Image with src "'.concat(m,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}else{let U=B;B=e=>{let{config:t}=e,n=a(e,["config"]);return U(n)}}if(P){"fill"===P&&(S=!0);let H={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];H&&(O=r({},O,H));let W={responsive:"100vw",fill:"100vw"}[P];W&&!y&&(y=W)}let q="",$=v(k),Y=v(j);if("object"==typeof(o=m)&&(p(o)||void 0!==o.src)){let G=p(m)?m.default:m;if(!G.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(G)));if(!G.height||!G.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(G)));if(n=G.blurWidth,i=G.blurHeight,M=M||G.blurDataURL,q=G.src,!S){if($||Y){if($&&!Y){let K=$/G.width;Y=Math.round(G.height*K)}else if(!$&&Y){let X=Y/G.height;$=Math.round(G.width*X)}}else $=G.width,Y=G.height}}let Q=!x&&("lazy"===w||void 0===w);((m="string"==typeof m?m:q).startsWith("data:")||m.startsWith("blob:"))&&(b=!0,Q=!1),z.unoptimized&&(b=!0),Z&&m.endsWith(".svg")&&!z.dangerouslyAllowSVG&&(b=!0);let[J,ee]=s.useState(!1),[et,en]=s.useState(!1),er=v(E),ei=Object.assign(S?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:N,objectPosition:R}:{},et?{}:{color:"transparent"},O),eo="blur"===T&&M&&!J?{backgroundSize:ei.objectFit||"cover",backgroundPosition:ei.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'.concat(u.getImageBlurSvg({widthInt:$,heightInt:Y,blurWidth:n,blurHeight:i,blurDataURL:M}),'")')}:{},ea=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let o=/(^|\s)(1?\d?\d)vw/g,a=[];for(let s;s=o.exec(n);s)a.push(parseInt(s[2]));if(a.length){let l=.01*Math.min(...a);return{widths:i.filter(e=>e>=r[0]*l),kind:"w"}}return{widths:i,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let u=[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))];return{widths:u,kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>"".concat(s({config:t,src:n,quality:o,width:e})," ").concat("w"===u?e:r+1).concat(u)).join(", "),src:s({config:t,src:n,quality:o,width:l[c]})}}({config:z,src:m,unoptimized:b,width:$,quality:er,sizes:y,loader:B}),es=m,el={imageSrcSet:ea.srcSet,imageSizes:ea.sizes,crossOrigin:V.crossOrigin},eu=s.useRef(C);s.useEffect(()=>{eu.current=C},[C]);let ec=s.useRef(A);s.useEffect(()=>{ec.current=A},[A]);let ef=r({isLazy:Q,imgAttributes:ea,heightInt:Y,widthInt:$,qualityInt:er,className:_,imgStyle:ei,blurStyle:eo,loading:w,config:z,fill:S,unoptimized:b,placeholder:T,loader:B,srcString:es,onLoadRef:eu,onLoadingCompleteRef:ec,setBlurComplete:ee,setShowAltText:en},V);return s.default.createElement(s.default.Fragment,null,s.default.createElement(g,Object.assign({},ef,{ref:t})),x?s.default.createElement(l.default,null,s.default.createElement("link",Object.assign({key:"__nimg-"+ea.src+ea.srcSet+ea.sizes,rel:"preload",as:"image",href:ea.srcSet?void 0:ea.src},el))):null)});t.default=y,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81088:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(23903).Z,i=n(15154).Z,o=r(n(2784)),a=n(4e3),s=n(34588),l=n(37003),u=n(67858),c=n(77826),f=n(8599),d=n(52219),h=n(92484);let p=new Set;function v(e,t,n,r){if(a.isLocalURL(t)){if(!r.bypassPrefetchedCheck){let i=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,o=t+"%"+n+"%"+i;if(p.has(o))return;p.add(o)}Promise.resolve(e.prefetch(t,n,r)).catch(e=>{})}}function m(e){return"string"==typeof e?e:s.formatUrl(e)}let g=o.default.forwardRef(function(e,t){let n,r;let{href:s,as:p,children:g,prefetch:y,passHref:b,replace:x,shallow:w,scroll:_,locale:E,onClick:k,onMouseEnter:j,onTouchStart:S,legacyBehavior:O=!1}=e,C=i(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,O&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let A=!1!==y,T=o.default.useContext(u.RouterContext),M=o.default.useContext(c.AppRouterContext),P=null!=T?T:M,N=!T,{href:R,as:D}=o.default.useMemo(()=>{if(!T){let e=m(s);return{href:e,as:p?m(p):e}}let[t,n]=a.resolveHref(T,s,!0);return{href:t,as:p?a.resolveHref(T,p):n||t}},[T,s,p]),L=o.default.useRef(R),F=o.default.useRef(D);O&&(r=o.default.Children.only(n));let I=O?r&&"object"==typeof r&&r.ref:t,[z,V,B]=f.useIntersection({rootMargin:"200px"}),Z=o.default.useCallback(e=>{(F.current!==D||L.current!==R)&&(B(),F.current=D,L.current=R),z(e),I&&("function"==typeof I?I(e):"object"==typeof I&&(I.current=e))},[D,I,R,B,z]);o.default.useEffect(()=>{P&&V&&A&&v(P,R,D,{locale:E})},[D,R,V,E,A,null==T?void 0:T.locale,P]);let U={ref:Z,onClick(e){O||"function"!=typeof k||k(e),O&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),P&&!e.defaultPrevented&&function(e,t,n,r,i,s,l,u,c,f){let{nodeName:d}=e.currentTarget,h="A"===d.toUpperCase();if(h&&(function(e){let{target:t}=e.currentTarget;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!a.isLocalURL(n)))return;e.preventDefault();let p=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:s,locale:u,scroll:l}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};c?o.default.startTransition(p):p()}(e,P,R,D,x,w,_,E,N,A)},onMouseEnter(e){O||"function"!=typeof j||j(e),O&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),P&&(A||!N)&&v(P,R,D,{locale:E,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart(e){O||"function"!=typeof S||S(e),O&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),P&&(A||!N)&&v(P,R,D,{locale:E,priority:!0,bypassPrefetchedCheck:!0})}};if(!O||b||"a"===r.type&&!("href"in r.props)){let H=void 0!==E?E:null==T?void 0:T.locale,W=(null==T?void 0:T.isLocaleDomain)&&d.getDomainLocale(D,H,null==T?void 0:T.locales,null==T?void 0:T.domainLocales);U.href=W||h.addBasePath(l.addLocale(D,H,null==T?void 0:T.defaultLocale))}return O?o.default.cloneElement(r,U):o.default.createElement("a",Object.assign({},C,U),n)});t.default=g,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8599:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!o,[c,f]=r.useState(!1),[d,h]=r.useState(null);r.useEffect(()=>{if(o){if(!u&&!c&&d&&d.tagName){let e=function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map,o=new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:o,elements:i},s.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let t=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);t>-1&&s.splice(t,1)}}}(d,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!c){let r=i.requestIdleCallback(()=>f(!0));return()=>i.cancelIdleCallback(r)}},[d,u,n,t,c]);let p=r.useCallback(()=>{f(!1)},[]);return[h,c,p]};var r=n(2784),i=n(11424);let o="function"==typeof IntersectionObserver,a=new Map,s=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49013:function(e,t,n){"use strict";var r,i,o,a=n(48834).lW;let s=n(30195).Z;var l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(2784)),u=n(63461),c=n(95383),f=n(82809),d=(r=n(10274))&&r.__esModule?r:{default:r},h=n(46754);class p extends l.default.Component{static getInitialProps(e){return e.defaultGetInitialProps(e)}render(){return l.default.createElement(k,null,l.default.createElement(_,null),l.default.createElement("body",null,l.default.createElement(j,null),l.default.createElement(E,null)))}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function m(e,t,n){let r=c.getPageFiles(e,"/_app"),i=n?[]:c.getPageFiles(e,t);return{sharedFiles:r,pageFiles:i,allFiles:[...new Set([...r,...i])]}}function g(e,t){let{assetPrefix:n,buildManifest:r,devOnlyCacheBusterQueryString:i,disableOptimizedLoading:o,crossOrigin:a}=e;return r.polyfillFiles.filter(e=>e.endsWith(".js")&&!e.endsWith(".module.js")).map(e=>l.default.createElement("script",{key:e,defer:!o,nonce:t.nonce,crossOrigin:t.crossOrigin||a,noModule:!0,src:"".concat(n,"/_next/").concat(e).concat(i)}))}function y(e){let{styles:t}=e;if(!t)return null;let n=Array.isArray(t)?t:[];if(t.props&&Array.isArray(t.props.children)){let r=e=>{var t,n;return null==e?void 0:null==(t=e.props)?void 0:null==(n=t.dangerouslySetInnerHTML)?void 0:n.__html};t.props.children.forEach(e=>{Array.isArray(e)?e.forEach(e=>r(e)&&n.push(e)):r(e)&&n.push(e)})}return l.default.createElement("style",{"amp-custom":"",dangerouslySetInnerHTML:{__html:n.map(e=>e.props.dangerouslySetInnerHTML.__html).join("").replace(/\/\*# sourceMappingURL=.*\*\//g,"").replace(/\/\*@ sourceURL=.*?\*\//g,"")}})}function b(e,t,n){let{dynamicImports:r,assetPrefix:i,isDevelopment:o,devOnlyCacheBusterQueryString:a,disableOptimizedLoading:s,crossOrigin:u}=e;return r.map(e=>!e.endsWith(".js")||n.allFiles.includes(e)?null:l.default.createElement("script",{async:!o&&s,defer:!s,key:e,src:"".concat(i,"/_next/").concat(encodeURI(e)).concat(a),nonce:t.nonce,crossOrigin:t.crossOrigin||u}))}function x(e,t,n){var r;let{assetPrefix:i,buildManifest:o,isDevelopment:a,devOnlyCacheBusterQueryString:s,disableOptimizedLoading:u,crossOrigin:c}=e,f=n.allFiles.filter(e=>e.endsWith(".js")),d=null==(r=o.lowPriorityFiles)?void 0:r.filter(e=>e.endsWith(".js"));return[...f,...d].map(e=>l.default.createElement("script",{key:e,src:"".concat(i,"/_next/").concat(encodeURI(e)).concat(s),nonce:t.nonce,async:!a&&u,defer:!u,crossOrigin:t.crossOrigin||c}))}function w(e,t){let{scriptLoader:n,disableOptimizedLoading:r,crossOrigin:i}=e,o=function(e,t){let{assetPrefix:n,scriptLoader:r,crossOrigin:i,nextScriptWorkers:o}=e;if(!o)return null;try{let{partytownSnippet:a}=require("@builder.io/partytown/integration"),s=Array.isArray(t.children)?t.children:[t.children],u=s.find(e=>{var t,n;return!!e&&!!e.props&&(null==e?void 0:null==(t=e.props)?void 0:null==(n=t.dangerouslySetInnerHTML)?void 0:n.__html.length)&&"data-partytown-config"in e.props});return l.default.createElement(l.default.Fragment,null,!u&&l.default.createElement("script",{"data-partytown-config":"",dangerouslySetInnerHTML:{__html:'\n partytown = {\n lib: "'.concat(n,'/_next/static/~partytown/"\n };\n ')}}),l.default.createElement("script",{"data-partytown":"",dangerouslySetInnerHTML:{__html:a()}}),(r.worker||[]).map((e,n)=>{let{strategy:r,src:o,children:a,dangerouslySetInnerHTML:s,...u}=e,c={};if(o)c.src=o;else if(s&&s.__html)c.dangerouslySetInnerHTML={__html:s.__html};else if(a)c.dangerouslySetInnerHTML={__html:"string"==typeof a?a:Array.isArray(a)?a.join(""):""};else throw Error("Invalid usage of next/script. Did you forget to include a src attribute or an inline script? https://nextjs.org/docs/messages/invalid-script");return l.default.createElement("script",Object.assign({},c,u,{type:"text/partytown",key:o||n,nonce:t.nonce,"data-nscript":"worker",crossOrigin:t.crossOrigin||i}))}))}catch(c){return d.default(c)&&"MODULE_NOT_FOUND"!==c.code&&console.warn("Warning: ".concat(c.message)),null}}(e,t),a=(n.beforeInteractive||[]).filter(e=>e.src).map((e,n)=>{var o;let{strategy:a,...s}=e;return l.default.createElement("script",Object.assign({},s,{key:s.src||n,defer:null!==(o=s.defer)&&void 0!==o?o:!r,nonce:t.nonce,"data-nscript":"beforeInteractive",crossOrigin:t.crossOrigin||i}))});return l.default.createElement(l.default.Fragment,null,o,a)}class _ extends(i=l.default.Component){getCssLinks(e){let{assetPrefix:t,devOnlyCacheBusterQueryString:n,dynamicImports:r,crossOrigin:i,optimizeCss:o,optimizeFonts:a}=this.context,s=e.allFiles.filter(e=>e.endsWith(".css")),u=new Set(e.sharedFiles),c=new Set([]),f=Array.from(new Set(r.filter(e=>e.endsWith(".css"))));if(f.length){let d=new Set(s);f=f.filter(e=>!(d.has(e)||u.has(e))),c=new Set(f),s.push(...f)}let h=[];return s.forEach(e=>{let r=u.has(e);o||h.push(l.default.createElement("link",{key:"".concat(e,"-preload"),nonce:this.props.nonce,rel:"preload",href:"".concat(t,"/_next/").concat(encodeURI(e)).concat(n),as:"style",crossOrigin:this.props.crossOrigin||i}));let a=c.has(e);h.push(l.default.createElement("link",{key:e,nonce:this.props.nonce,rel:"stylesheet",href:"".concat(t,"/_next/").concat(encodeURI(e)).concat(n),crossOrigin:this.props.crossOrigin||i,"data-n-g":a?void 0:r?"":void 0,"data-n-p":a?void 0:r?void 0:""}))}),a&&(h=this.makeStylesheetInert(h)),0===h.length?null:h}getPreloadDynamicChunks(){let{dynamicImports:e,assetPrefix:t,devOnlyCacheBusterQueryString:n,crossOrigin:r}=this.context;return e.map(e=>e.endsWith(".js")?l.default.createElement("link",{rel:"preload",key:e,href:"".concat(t,"/_next/").concat(encodeURI(e)).concat(n),as:"script",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||r}):null).filter(Boolean)}getPreloadMainLinks(e){let{assetPrefix:t,devOnlyCacheBusterQueryString:n,scriptLoader:r,crossOrigin:i}=this.context,o=e.allFiles.filter(e=>e.endsWith(".js"));return[...(r.beforeInteractive||[]).map(e=>l.default.createElement("link",{key:e.src,nonce:this.props.nonce,rel:"preload",href:e.src,as:"script",crossOrigin:this.props.crossOrigin||i})),...o.map(e=>l.default.createElement("link",{key:e,nonce:this.props.nonce,rel:"preload",href:"".concat(t,"/_next/").concat(encodeURI(e)).concat(n),as:"script",crossOrigin:this.props.crossOrigin||i}))]}getBeforeInteractiveInlineScripts(){let{scriptLoader:e}=this.context,{nonce:t,crossOrigin:n}=this.props;return(e.beforeInteractive||[]).filter(e=>!e.src&&(e.dangerouslySetInnerHTML||e.children)).map((e,r)=>{let{strategy:i,children:o,dangerouslySetInnerHTML:a,src:s,...u}=e,c="";return a&&a.__html?c=a.__html:o&&(c="string"==typeof o?o:Array.isArray(o)?o.join(""):""),l.default.createElement("script",Object.assign({},u,{dangerouslySetInnerHTML:{__html:c},key:u.id||r,nonce:t,"data-nscript":"beforeInteractive",crossOrigin:n||void 0}))})}getDynamicChunks(e){return b(this.context,this.props,e)}getPreNextScripts(){return w(this.context,this.props)}getScripts(e){return x(this.context,this.props,e)}getPolyfillScripts(){return g(this.context,this.props)}makeStylesheetInert(e){return l.default.Children.map(e,e=>{var t,n;if((null==e?void 0:e.type)==="link"&&(null==e?void 0:null==(t=e.props)?void 0:t.href)&&u.OPTIMIZED_FONT_PROVIDERS.some(t=>{var n,r;let{url:i}=t;return null==e?void 0:null==(n=e.props)?void 0:null==(r=n.href)?void 0:r.startsWith(i)})){let r={...e.props||{},"data-href":e.props.href,href:void 0};return l.default.cloneElement(e,r)}if(null==e?void 0:null==(n=e.props)?void 0:n.children){let i={...e.props||{},children:this.makeStylesheetInert(e.props.children)};return l.default.cloneElement(e,i)}return e}).filter(Boolean)}render(){var e,t;let{styles:r,ampPath:i,inAmpMode:o,hybridAmp:a,canonicalBase:s,__NEXT_DATA__:u,dangerousAsPath:c,headTags:f,unstable_runtimeJS:d,unstable_JsPreload:h,disableOptimizedLoading:p,optimizeCss:v,optimizeFonts:g,assetPrefix:b,fontLoaderManifest:x}=this.context,w=!1===d,_=!1===h||!p;this.context.docComponentsRendered.Head=!0;let{head:E}=this.context,k=[],j=[];E&&(E.forEach(e=>{e&&"link"===e.type&&"preload"===e.props.rel&&"style"===e.props.as?k.push(e):e&&j.push(e)}),E=k.concat(j));let S=l.default.Children.toArray(this.props.children).filter(Boolean);g&&!o&&(S=this.makeStylesheetInert(S));let O=!1,C=!1;E=l.default.Children.map(E||[],e=>{if(!e)return e;let{type:t,props:n}=e;if(o){let r="";if("meta"===t&&"viewport"===n.name?r='name="viewport"':"link"===t&&"canonical"===n.rel?C=!0:"script"===t&&(n.src&&-1>n.src.indexOf("ampproject")||n.dangerouslySetInnerHTML&&(!n.type||"text/javascript"===n.type))&&(r="{r+=" ".concat(e,'="').concat(n[e],'"')}),r+="/>"),r)return console.warn('Found conflicting amp tag "'.concat(e.type,'" with conflicting prop ').concat(r," in ").concat(u.page,". https://nextjs.org/docs/messages/conflicting-amp-tag")),null}else"link"===t&&"amphtml"===n.rel&&(O=!0);return e});let A=m(this.context.buildManifest,this.context.__NEXT_DATA__.page,o),T=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return{preconnect:null,preload:null};let r=e.pages["/_app"],i=e.pages[t],o=[...null!=r?r:[],...null!=i?i:[]],a=!!(0===o.length&&(r||i));return{preconnect:a?l.default.createElement("link",{rel:"preconnect",href:"/",crossOrigin:"anonymous"}):null,preload:o?o.map(e=>{let t=/\.(woff|woff2|eot|ttf|otf)$/.exec(e)[1];return l.default.createElement("link",{key:e,rel:"preload",href:"".concat(n,"/_next/").concat(encodeURI(e)),as:"font",type:"font/".concat(t),crossOrigin:"anonymous"})}):null}}(x,c,b);return l.default.createElement("head",Object.assign({},function(e){let{crossOrigin:t,nonce:n,...r}=e;return r}(this.props)),this.context.isDevelopment&&l.default.createElement(l.default.Fragment,null,l.default.createElement("style",{"data-next-hide-fouc":!0,"data-ampdevmode":o?"true":void 0,dangerouslySetInnerHTML:{__html:"body{display:none}"}}),l.default.createElement("noscript",{"data-next-hide-fouc":!0,"data-ampdevmode":o?"true":void 0},l.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{display:block}"}}))),E,l.default.createElement("meta",{name:"next-head-count",content:l.default.Children.count(E||[]).toString()}),S,g&&l.default.createElement("meta",{name:"next-font-preconnect"}),T.preconnect,T.preload,o&&l.default.createElement(l.default.Fragment,null,l.default.createElement("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,initial-scale=1"}),!C&&l.default.createElement("link",{rel:"canonical",href:s+n(79505).Su(c)}),l.default.createElement("link",{rel:"preload",as:"script",href:"https://cdn.ampproject.org/v0.js"}),l.default.createElement(y,{styles:r}),l.default.createElement("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}"}}),l.default.createElement("noscript",null,l.default.createElement("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}"}})),l.default.createElement("script",{async:!0,src:"https://cdn.ampproject.org/v0.js"})),!o&&l.default.createElement(l.default.Fragment,null,!O&&a&&l.default.createElement("link",{rel:"amphtml",href:s+(i||"".concat(c).concat(c.includes("?")?"&":"?","amp=1"))}),this.getBeforeInteractiveInlineScripts(),!v&&this.getCssLinks(A),!v&&l.default.createElement("noscript",{"data-n-css":null!==(e=this.props.nonce)&&void 0!==e?e:""}),!w&&!_&&this.getPreloadDynamicChunks(),!w&&!_&&this.getPreloadMainLinks(A),!p&&!w&&this.getPolyfillScripts(),!p&&!w&&this.getPreNextScripts(),!p&&!w&&this.getDynamicChunks(A),!p&&!w&&this.getScripts(A),v&&this.getCssLinks(A),v&&l.default.createElement("noscript",{"data-n-css":null!==(t=this.props.nonce)&&void 0!==t?t:""}),this.context.isDevelopment&&l.default.createElement("noscript",{id:"__next_css__DO_NOT_USE__"}),r||null),l.default.createElement(l.default.Fragment,{},...f||[]))}}s(_,"contextType",h.HtmlContext);class E extends(o=l.default.Component){getDynamicChunks(e){return b(this.context,this.props,e)}getPreNextScripts(){return w(this.context,this.props)}getScripts(e){return x(this.context,this.props,e)}getPolyfillScripts(){return g(this.context,this.props)}static getInlineScriptSource(e){let{__NEXT_DATA__:t,largePageDataBytes:r}=e;try{let i=JSON.stringify(t),o=a.from(i).byteLength,s=n(16549).Z;return r&&o>r&&console.warn('Warning: data for page "'.concat(t.page,'"').concat(t.page===e.dangerousAsPath?"":' (path "'.concat(e.dangerousAsPath,'")')," is ").concat(s(o)," which exceeds the threshold of ").concat(s(r),", this amount of data can reduce performance.\nSee more info here: https://nextjs.org/docs/messages/large-page-data")),f.htmlEscapeJsonString(i)}catch(l){if(d.default(l)&&-1!==l.message.indexOf("circular structure"))throw Error('Circular structure in "getInitialProps" result of page "'.concat(t.page,'". https://nextjs.org/docs/messages/circular-structure'));throw l}}render(){let{assetPrefix:e,inAmpMode:t,buildManifest:n,unstable_runtimeJS:r,docComponentsRendered:i,devOnlyCacheBusterQueryString:o,disableOptimizedLoading:a,crossOrigin:s}=this.context,u=!1===r;if(i.NextScript=!0,t)return null;let c=m(this.context.buildManifest,this.context.__NEXT_DATA__.page,t);return l.default.createElement(l.default.Fragment,null,!u&&n.devFiles?n.devFiles.map(t=>l.default.createElement("script",{key:t,src:"".concat(e,"/_next/").concat(encodeURI(t)).concat(o),nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||s})):null,u?null:l.default.createElement("script",{id:"__NEXT_DATA__",type:"application/json",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||s,dangerouslySetInnerHTML:{__html:E.getInlineScriptSource(this.context)}}),a&&!u&&this.getPolyfillScripts(),a&&!u&&this.getPreNextScripts(),a&&!u&&this.getDynamicChunks(c),a&&!u&&this.getScripts(c))}}function k(e){let{inAmpMode:t,docComponentsRendered:n,locale:r,scriptLoader:i,__NEXT_DATA__:o}=l.useContext(h.HtmlContext);return n.Html=!0,!function(e,t,n){var r,i,o,a;if(!n.children)return;let s=[],u=Array.isArray(n.children)?n.children:[n.children],c=null==(r=u.find(e=>e.type===_))?void 0:null==(i=r.props)?void 0:i.children,f=null==(o=u.find(e=>"body"===e.type))?void 0:null==(a=o.props)?void 0:a.children,d=[...Array.isArray(c)?c:[c],...Array.isArray(f)?f:[f]];l.default.Children.forEach(d,t=>{var n;if(t&&(null==(n=t.type)?void 0:n.__nextScript)){if("beforeInteractive"===t.props.strategy){e.beforeInteractive=(e.beforeInteractive||[]).concat([{...t.props}]);return}if(["lazyOnload","afterInteractive","worker"].includes(t.props.strategy)){s.push(t.props);return}}}),t.scriptLoader=s}(i,o,e),l.default.createElement("html",Object.assign({},e,{lang:e.lang||r||void 0,amp:t?"":void 0,"data-ampdevmode":void 0}))}function j(){let{docComponentsRendered:e}=l.useContext(h.HtmlContext);return e.Main=!0,l.default.createElement("next-js-internal-body-render-target",null)}s(E,"contextType",h.HtmlContext),p[u.NEXT_BUILTIN_DOCUMENT]=function(){return l.default.createElement(k,null,l.default.createElement(_,null),l.default.createElement("body",null,l.default.createElement(j,null),l.default.createElement(E,null)))}},63461:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EDGE_UNSUPPORTED_NODE_APIS=t.RSC_MODULE_TYPES=t.TRACE_OUTPUT_VERSION=t.STATIC_STATUS_PAGES=t.DEFAULT_SANS_SERIF_FONT=t.DEFAULT_SERIF_FONT=t.OPTIMIZED_FONT_PROVIDERS=t.GOOGLE_FONT_PROVIDER=t.SERVER_PROPS_ID=t.STATIC_PROPS_ID=t.PERMANENT_REDIRECT_STATUS=t.TEMPORARY_REDIRECT_STATUS=t.EDGE_RUNTIME_WEBPACK=t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL=t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS=t.CLIENT_STATIC_FILES_RUNTIME_WEBPACK=t.CLIENT_STATIC_FILES_RUNTIME_AMP=t.CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH=t.APP_CLIENT_INTERNALS=t.CLIENT_STATIC_FILES_RUNTIME_MAIN_APP=t.CLIENT_STATIC_FILES_RUNTIME_MAIN=t.MIDDLEWARE_REACT_LOADABLE_MANIFEST=t.MIDDLEWARE_BUILD_MANIFEST=t.FLIGHT_SERVER_CSS_MANIFEST=t.FLIGHT_MANIFEST=t.NEXT_CLIENT_SSR_ENTRY_SUFFIX=t.NEXT_BUILTIN_DOCUMENT=t.MODERN_BROWSERSLIST_TARGET=t.STRING_LITERAL_DROP_BUNDLE=t.CLIENT_STATIC_FILES_RUNTIME=t.CLIENT_STATIC_FILES_PATH=t.CLIENT_PUBLIC_FILES_PATH=t.BLOCKED_PAGES=t.BUILD_ID_FILE=t.CONFIG_FILES=t.SERVER_DIRECTORY=t.FONT_MANIFEST=t.REACT_LOADABLE_MANIFEST=t.DEV_MIDDLEWARE_MANIFEST=t.MIDDLEWARE_MANIFEST=t.DEV_CLIENT_PAGES_MANIFEST=t.SERVER_FILES_MANIFEST=t.IMAGES_MANIFEST=t.ROUTES_MANIFEST=t.PRERENDER_MANIFEST=t.EXPORT_DETAIL=t.EXPORT_MARKER=t.FONT_LOADER_MANIFEST=t.SUBRESOURCE_INTEGRITY_MANIFEST=t.APP_BUILD_MANIFEST=t.BUILD_MANIFEST=t.APP_PATH_ROUTES_MANIFEST=t.APP_PATHS_MANIFEST=t.PAGES_MANIFEST=t.PHASE_TEST=t.PHASE_DEVELOPMENT_SERVER=t.PHASE_PRODUCTION_SERVER=t.PHASE_PRODUCTION_BUILD=t.PHASE_EXPORT=t.COMPILER_INDEXES=t.COMPILER_NAMES=void 0;let n={client:"client",server:"server",edgeServer:"edge-server"};t.COMPILER_NAMES=n;let r={[n.client]:0,[n.server]:1,[n.edgeServer]:2};t.COMPILER_INDEXES=r,t.PHASE_EXPORT="phase-export",t.PHASE_PRODUCTION_BUILD="phase-production-build",t.PHASE_PRODUCTION_SERVER="phase-production-server",t.PHASE_DEVELOPMENT_SERVER="phase-development-server",t.PHASE_TEST="phase-test",t.PAGES_MANIFEST="pages-manifest.json",t.APP_PATHS_MANIFEST="app-paths-manifest.json",t.APP_PATH_ROUTES_MANIFEST="app-path-routes-manifest.json",t.BUILD_MANIFEST="build-manifest.json",t.APP_BUILD_MANIFEST="app-build-manifest.json",t.SUBRESOURCE_INTEGRITY_MANIFEST="subresource-integrity-manifest",t.FONT_LOADER_MANIFEST="font-loader-manifest",t.EXPORT_MARKER="export-marker.json",t.EXPORT_DETAIL="export-detail.json",t.PRERENDER_MANIFEST="prerender-manifest.json",t.ROUTES_MANIFEST="routes-manifest.json",t.IMAGES_MANIFEST="images-manifest.json",t.SERVER_FILES_MANIFEST="required-server-files.json",t.DEV_CLIENT_PAGES_MANIFEST="_devPagesManifest.json",t.MIDDLEWARE_MANIFEST="middleware-manifest.json",t.DEV_MIDDLEWARE_MANIFEST="_devMiddlewareManifest.json",t.REACT_LOADABLE_MANIFEST="react-loadable-manifest.json",t.FONT_MANIFEST="font-manifest.json",t.SERVER_DIRECTORY="server",t.CONFIG_FILES=["next.config.js","next.config.mjs"],t.BUILD_ID_FILE="BUILD_ID",t.BLOCKED_PAGES=["/_document","/_app","/_error"],t.CLIENT_PUBLIC_FILES_PATH="public",t.CLIENT_STATIC_FILES_PATH="static",t.CLIENT_STATIC_FILES_RUNTIME="runtime",t.STRING_LITERAL_DROP_BUNDLE="__NEXT_DROP_CLIENT_FILE__",t.MODERN_BROWSERSLIST_TARGET=["chrome 64","edge 79","firefox 67","opera 51","safari 12"],t.NEXT_BUILTIN_DOCUMENT="__NEXT_BUILTIN_DOCUMENT__",t.NEXT_CLIENT_SSR_ENTRY_SUFFIX=".__sc_client__",t.FLIGHT_MANIFEST="flight-manifest",t.FLIGHT_SERVER_CSS_MANIFEST="flight-server-css-manifest",t.MIDDLEWARE_BUILD_MANIFEST="middleware-build-manifest",t.MIDDLEWARE_REACT_LOADABLE_MANIFEST="middleware-react-loadable-manifest";let i="main";t.CLIENT_STATIC_FILES_RUNTIME_MAIN=i,t.CLIENT_STATIC_FILES_RUNTIME_MAIN_APP="".concat(i,"-app"),t.APP_CLIENT_INTERNALS="app-client-internals",t.CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH="react-refresh",t.CLIENT_STATIC_FILES_RUNTIME_AMP="amp",t.CLIENT_STATIC_FILES_RUNTIME_WEBPACK="webpack";let o="polyfills";t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS=o;let a=Symbol(o);t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL=a,t.EDGE_RUNTIME_WEBPACK="edge-runtime-webpack",t.TEMPORARY_REDIRECT_STATUS=307,t.PERMANENT_REDIRECT_STATUS=308,t.STATIC_PROPS_ID="__N_SSG",t.SERVER_PROPS_ID="__N_SSP";let s="https://fonts.googleapis.com/";t.GOOGLE_FONT_PROVIDER=s,t.OPTIMIZED_FONT_PROVIDERS=[{url:s,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],t.DEFAULT_SERIF_FONT={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},t.DEFAULT_SANS_SERIF_FONT={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},t.STATIC_STATUS_PAGES=["/500"],t.TRACE_OUTPUT_VERSION=1,t.RSC_MODULE_TYPES={client:"client",server:"server"},t.EDGE_UNSUPPORTED_NODE_APIS=["clearImmediate","setImmediate","BroadcastChannel","Buffer","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TextDecoderStream","TextEncoderStream","TransformStreamDefaultController","WritableStreamDefaultController"],("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HtmlContext=void 0;var r=n(2784);let i=r.createContext(null);t.HtmlContext=i},28575:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImageBlurSvg=function(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o}=e,a=r||t,s=i||n,l=o.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return a&&s?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ".concat(a," ").concat(s,"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(r&&i?"1":"20","'/%3E").concat(l,"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='").concat(o,"'/%3E%3C/svg%3E"):"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='".concat(o,"'/%3E%3C/svg%3E")}},31354:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return"".concat(t.path,"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n.__next_img_default=!0,t.default=n},83550:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureLeadingSlash=function(e){return e.startsWith("/")?e:"/".concat(e)}},61530:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePagePath=function(e){let t=r.ensureLeadingSlash(/^\/index(\/|$)/.test(e)&&!i.isDynamicRoute(e)?"/index".concat(e):"/"===e?"/index":e);{let{posix:a}=n(15153),s=a.normalize(t);if(s!==t)throw new o.NormalizeError("Requested and resolved page mismatch: ".concat(t," ").concat(s))}return t};var r=n(83550),i=n(88985),o=n(18993)},88015:function(e,t,n){"use strict";let{inherit:r,current:i,transparent:o,black:a,white:s,slate:l,zinc:u,neutral:c,stone:f,red:d,orange:h,amber:p,yellow:v,lime:m,green:g,emerald:y,teal:b,cyan:x,sky:w,blue:_,indigo:E,violet:k,purple:j,fuchsia:S,pink:O,rose:C}=n(6692);e.exports={colors:{inherit:r,current:i,transparent:o,black:a,white:s,slate:l,zinc:u,neutral:c,stone:f,red:d,orange:h,amber:p,yellow:v,lime:m,green:g,emerald:y,teal:b,cyan:x,sky:w,blue:_,indigo:E,violet:k,purple:j,fuchsia:S,pink:O,rose:C,mask:"rgba(30, 169, 76, .3)",accent:{50:"#F6FFF9",100:"#E9FBEF",200:"#D5F2DE",300:"#C9EED4",400:"#BBE8C9",500:"#9BDAAE",600:"#71C48A",700:"#3EAA5F",800:"#05872D",900:"#056B24",1e3:"#04511B",1100:"#011F0A"},accentdark:{50:"#05150A",100:"#051C0C",200:"#062811",300:"#073515",400:"#064018",500:"#075820",600:"#056824",700:"#077A2A",800:"#05872D",900:"#069F35",1e3:"#2FA052",1100:"#D9F4E1"},gray:{50:"hsl(206, 30.0%, 98.8%)",100:"hsl(210, 16.7%, 97.6%)",200:"hsl(209, 13.3%, 95.3%)",300:"hsl(209, 12.2%, 93.2%)",400:"hsl(208, 11.7%, 91.1%)",500:"hsl(208, 11.3%, 88.9%)",600:"hsl(207, 11.1%, 85.9%)",700:"hsl(205, 10.7%, 78.0%)",800:"hsl(206, 6.0%, 56.1%)",900:"hsl(206, 5.8%, 52.3%)",1e3:"hsl(206, 6.0%, 43.5%)",1100:"hsl(206, 24.0%, 9.0%)"},graydark:{50:"hsl(200, 7.0%, 8.8%)",100:"hsl(195, 7.1%, 11.0%)",200:"hsl(197, 6.8%, 13.6%)",300:"hsl(198, 6.6%, 15.8%)",400:"hsl(199, 6.4%, 17.9%)",500:"hsl(201, 6.2%, 20.5%)",600:"hsl(203, 6.0%, 24.3%)",700:"hsl(207, 5.6%, 31.6%)",800:"hsl(206, 6.0%, 43.9%)",900:"hsl(206, 5.2%, 49.5%)",1e3:"hsl(206, 6.0%, 63.0%)",1100:"hsl(210, 6.0%, 93.0%)"}}}},84031:function(e,t,n){"use strict";let r,i,o,a;n.d(t,{RVU:function(){return Tn},tU3:function(){return Co},zXq:function(){return Cg},juT:function(){return OF},IRm:function(){return vQ},L6f:function(){return vJ},Cts:function(){return uT},Z58:function(){return Af},wWN:function(){return Ts},WVB:function(){return f2},Dkj:function(){return Td},cfm:function(){return Ti},zxk:function(){return lW},YV2:function(){return h$},EMN:function(){return hY},b0u:function(){return kp},DI$:function(){return Ta},NlZ:function(){return uH},Y3p:function(){return uq},PcV:function(){return uG},EKh:function(){return uN},vRO:function(){return AH},QHy:function(){return AP},TaT:function(){return AC},eQh:function(){return uD},HfT:function(){return AD},dDl:function(){return AK},ncR:function(){return Oc},A06:function(){return Am},Vy9:function(){return Ag},Jrl:function(){return A3},VqE:function(){return ck},iG7:function(){return A1},h_2:function(){return f8},Xiv:function(){return f7},Juw:function(){return f9},KpP:function(){return de},dr6:function(){return A2},xUn:function(){return Os},jIp:function(){return AW},QBj:function(){return Aq},yEL:function(){return Cf},VBo:function(){return Tl},Hb6:function(){return AQ},Qbr:function(){return C1},L37:function(){return C2},ROc:function(){return Tf},cB7:function(){return Om},ZqQ:function(){return Ov},IKw:function(){return O_},Hzd:function(){return Tx},WN2:function(){return Tj},zvn:function(){return Tu},X6q:function(){return us},K2o:function(){return Tc},Yqd:function(){return hz},__J:function(){return da},rUS:function(){return uc},xgg:function(){return kd},Lur:function(){return C8},YaL:function(){return T_},kFS:function(){return f4},FzK:function(){return AA},Clw:function(){return f1},B$N:function(){return Tg},Ckx:function(){return A8},dZ8:function(){return A7},PD$:function(){return Te},Wxm:function(){return h1},uDJ:function(){return OA},s_4:function(){return nC},nvN:function(){return nS},u5Q:function(){return Ad},j4H:function(){return hV},J2e:function(){return dT},kod:function(){return dH},owP:function(){return Cp},Wet:function(){return gF},BB5:function(){return gI},ZEk:function(){return gz},xrM:function(){return cw},PhF:function(){return h0},Z0O:function(){return fK},hiv:function(){return vH},DLL:function(){return At},KJW:function(){return OU},OdW:function(){return h4},D_D:function(){return CV},xf5:function(){return Ty},iA_:function(){return OE},t6k:function(){return AL},xvT:function(){return nj},nvn:function(){return hs},ua7:function(){return lU},mPE:function(){return CB},XxW:function(){return SQ},m2c:function(){return S1},YKL:function(){return S0},QUh:function(){return Ar},weF:function(){return CO},YNn:function(){return CH},DmW:function(){return CX},qdM:function(){return CK},SmH:function(){return AY},jrD:function(){return Aw},E6f:function(){return Ax},Uzc:function(){return Tb},BTR:function(){return Tw},O9T:function(){return gV.colors},fVJ:function(){return Al},vQq:function(){return SB},NrH:function(){return kc},Y_Z:function(){return Ai},EJC:function(){return TS},kOJ:function(){return As},OQF:function(){return Ao},leQ:function(){return SW},ytg:function(){return ku},Vkc:function(){return fQ},sWj:function(){return kl},S5V:function(){return Ay},z$:function(){return nO},x9T:function(){return TE},bjP:function(){return Tk},I13:function(){return SU},cEb:function(){return ha},OHV:function(){return SI},OPV:function(){return SF},$Gg:function(){return SZ},Y97:function(){return Ci},c2j:function(){return Tm},WsO:function(){return Cc},Uu5:function(){return Tv},oy6:function(){return Tp}});var s,l,u,c,f,d,h,p,v,m,g,y,b,x,w,_,E,k,j,S,O,C,A,T,M,P,N,R,D,L,F,I,z,V,B,Z,U,H,W,q,$,Y,G,K,X,Q,J,ee,et,en,er,ei,eo,ea,es=n(52322),el=n(2784),eu=n.t(el,2),ec=n(7896),ef=n(34540),ed=n(26215),eh=n(99575);function ep(e){let t=e+"CollectionProvider",[n,r]=(0,ef.b)(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=el.useRef(null),o=el.useRef(new Map).current;return el.createElement(i,{scope:t,itemMap:o,collectionRef:r},n)},s=e+"CollectionSlot",l=el.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=o(s,n),a=(0,ed.e)(t,i.collectionRef);return el.createElement(eh.g7,{ref:a},r)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=el.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,a=el.useRef(null),s=(0,ed.e)(t,a),l=o(u,n);return el.useEffect(()=>(l.itemMap.set(a,{ref:a,...i}),()=>void l.itemMap.delete(a))),el.createElement(eh.g7,{[c]:"",ref:s},r)});return[{Provider:a,Slot:l,ItemSlot:f},function(t){let n=o(e+"CollectionConsumer",t),r=el.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${c}]`)),r=Array.from(n.itemMap.values()),i=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return i},[n.collectionRef,n.itemMap]);return r},r]}var ev=n(41816),em=n(73597),eg=n(72130),ey=n(64680),eb=n(28245),ex=n(26074);let ew="Collapsible",[e_,eE]=(0,ef.b)(ew),[ek,ej]=e_(ew),eS=((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:o,onOpenChange:a,...s}=e,[l=!1,u]=(0,em.T)({prop:r,defaultProp:i,onChange:a});return(0,el.createElement)(ek,{scope:n,disabled:o,contentId:(0,ex.M)(),open:l,onOpenToggle:(0,el.useCallback)(()=>u(e=>!e),[u])},(0,el.createElement)(eg.WV.div,(0,ec.Z)({"data-state":eC(l),"data-disabled":o?"":void 0},s,{ref:t})))},"CollapsibleContent"),eO=((e,t)=>{let{forceMount:n,...r}=e,i=ej(eS,e.__scopeCollapsible);return(0,el.createElement)(eb.z,{present:n||i.open},({present:e})=>(0,el.createElement)(eO,(0,ec.Z)({},r,{ref:t,present:e})))},(0,el.forwardRef)((e,t)=>{let{__scopeCollapsible:n,present:r,children:i,...o}=e,a=ej(eS,n),[s,l]=(0,el.useState)(r),u=(0,el.useRef)(null),c=(0,ed.e)(t,u),f=(0,el.useRef)(0),d=f.current,h=(0,el.useRef)(0),p=h.current,v=a.open||s,m=(0,el.useRef)(v),g=(0,el.useRef)();return(0,el.useEffect)(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,ey.b)(()=>{let e=u.current;if(e){g.current=g.current||{transitionDuration:e.style.transitionDuration,animationDuration:e.style.animationDuration,animationFillMode:e.style.animationFillMode},e.style.transitionDuration="0s",e.style.animationDuration="0s",e.style.animationFillMode="none";let t=e.getBoundingClientRect();f.current=t.height,h.current=t.width,m.current||(e.style.transitionDuration=g.current.transitionDuration,e.style.animationDuration=g.current.animationDuration,e.style.animationFillMode=g.current.animationFillMode),l(r)}},[a.open,r]),(0,el.createElement)(eg.WV.div,(0,ec.Z)({"data-state":eC(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!v},o,{ref:c,style:{"--radix-collapsible-content-height":d?`${d}px`:void 0,"--radix-collapsible-content-width":p?`${p}px`:void 0,...e.style}}),v&&i)}));function eC(e){return e?"open":"closed"}let eA="Accordion",eT=["Home","End","ArrowDown","ArrowUp"],[eM,eP,eN]=ep(eA),[eR,eD]=(0,ef.b)(eA,[eN,eE]),eL=(eE(),el.forwardRef((e,t)=>{let{type:n,...r}=e;return el.createElement(eM.Provider,{scope:e.__scopeAccordion},"multiple"===n?el.createElement(eZ,(0,ec.Z)({},r,{ref:t})):el.createElement(eB,(0,ec.Z)({},r,{ref:t})))}));eL.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):"multiple"===e.type&&"string"==typeof t?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):"single"===e.type&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};let[eF,eI]=eR(eA),[ez,eV]=eR(eA,{collapsible:!1}),eB=el.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:o=!1,...a}=e,[s,l]=(0,em.T)({prop:n,defaultProp:r,onChange:i});return el.createElement(eF,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:l,onItemClose:el.useCallback(()=>o&&l(""),[o,l])},el.createElement(ez,{scope:e.__scopeAccordion,collapsible:o},el.createElement(eW,(0,ec.Z)({},a,{ref:t}))))}),eZ=el.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...o}=e,[a=[],s]=(0,em.T)({prop:n,defaultProp:r,onChange:i}),l=el.useCallback(e=>s((t=[])=>[...t,e]),[s]),u=el.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return el.createElement(eF,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:u},el.createElement(ez,{scope:e.__scopeAccordion,collapsible:!0},el.createElement(eW,(0,ec.Z)({},o,{ref:t}))))}),[eU,eH]=eR(eA),eW=el.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:r,...i}=e,o=el.useRef(null),a=(0,ed.e)(o,t),s=eP(n),l=(0,ev.M)(e.onKeyDown,e=>{var t;if(!eT.includes(e.key))return;let n=e.target,r=s().filter(e=>{var t;return!(null!==(t=e.ref.current)&&void 0!==t&&t.disabled)}),i=r.findIndex(e=>e.ref.current===n),o=r.length;if(-1===i)return;e.preventDefault();let a=i;switch(e.key){case"Home":a=0;break;case"End":a=o-1;break;case"ArrowDown":a=i+1;break;case"ArrowUp":(a=i-1)<0&&(a=o-1)}let l=a%o;null===(t=r[l].ref.current)||void 0===t||t.focus()});return el.createElement(eU,{scope:n,disabled:r},el.createElement(eM.Slot,{scope:n},el.createElement(eg.WV.div,(0,ec.Z)({},i,{ref:a,onKeyDown:r?void 0:l}))))}),[eq,e$]=eR("AccordionItem");var eY=n(44905),eG=n(83317);function eK(e){return e.split("-")[0]}function eX(e){return e.split("-")[1]}function eQ(e){return["top","bottom"].includes(eK(e))?"x":"y"}function eJ(e){return"y"===e?"height":"width"}function e0(e,t,n){let r,{reference:i,floating:o}=e,a=i.x+i.width/2-o.width/2,s=i.y+i.height/2-o.height/2,l=eQ(t),u=eJ(l),c=i[u]/2-o[u]/2,f="x"===l;switch(eK(t)){case"top":r={x:a,y:i.y-o.height};break;case"bottom":r={x:a,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:s};break;case"left":r={x:i.x-o.width,y:s};break;default:r={x:i.x,y:i.y}}switch(eX(t)){case"start":r[l]-=c*(n&&f?-1:1);break;case"end":r[l]+=c*(n&&f?-1:1)}return r}let e1=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await (null==a.isRTL?void 0:a.isRTL(t)),l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=e0(l,r,s),f=r,d={},h=0;for(let p=0;p({name:"arrow",options:e,async fn(t){let{element:n,padding:r=0}=null!=e?e:{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(null==n)return{};let u=e2(r),c={x:i,y:o},f=eQ(a),d=eX(a),h=eJ(f),p=await l.getDimensions(n),v="y"===f?"top":"left",m="y"===f?"bottom":"right",g=s.reference[h]+s.reference[f]-c[f]-s.floating[h],y=c[f]-s.reference[f],b=await (null==l.getOffsetParent?void 0:l.getOffsetParent(n)),x=b?"y"===f?b.clientHeight||0:b.clientWidth||0:0;0===x&&(x=s.floating[h]);let w=u[v],_=x-p[h]-u[m],E=x/2-p[h]/2+(g/2-y/2),k=e6(w,e5(E,_)),j=("start"===d?u[v]:u[m])>0&&E!==k&&s.reference[h]<=s.floating[h];return{[f]:c[f]-(j?Ee7[e])}let te={start:"end",end:"start"};function tt(e){return e.replace(/start|end/g,e=>te[e])}let tn=["top","right","bottom","left"];tn.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);let tr=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o;let{placement:a,middlewareData:s,rects:l,initialPlacement:u,platform:c,elements:f}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",flipAlignment:m=!0,...g}=e,y=eK(a),b=p||(y!==u&&m?function(e){let t=e9(e);return[tt(e),t,tt(t)]}(u):[e9(u)]),x=[u,...b],w=await e3(t,g),_=[],E=(null==(n=s.flip)?void 0:n.overflows)||[];if(d&&_.push(w[y]),h){let{main:k,cross:j}=function(e,t,n){void 0===n&&(n=!1);let r=eX(e),i=eQ(e),o=eJ(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=e9(a)),{main:a,cross:e9(a)}}(a,l,await (null==c.isRTL?void 0:c.isRTL(f.floating)));_.push(w[k],w[j])}if(E=[...E,{placement:a,overflows:_}],!_.every(e=>e<=0)){let S=(null!=(r=null==(i=s.flip)?void 0:i.index)?r:0)+1,O=x[S];if(O)return{data:{index:S,overflows:E},reset:{placement:O}};let C="bottom";switch(v){case"bestFit":{let A=null==(o=E.map(e=>[e,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0].placement;A&&(C=A);break}case"initialPlacement":C=u}if(a!==C)return{reset:{placement:C}}}return{}}}};function ti(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function to(e){return tn.some(t=>e[t]>=0)}let ta=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){let{rects:r}=e;switch(t){case"referenceHidden":{let i=ti(await e3(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:to(i)}}}case"escaped":{let o=ti(await e3(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:o,escaped:to(o)}}}default:return{}}}}},ts=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:n,y:r}=t,i=await async function(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=eK(n),s=eX(n),l="x"===eQ(n),u=["left","top"].includes(a)?-1:1,c=o&&l?-1:1,f="function"==typeof t?t(e):t,{mainAxis:d,crossAxis:h,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*c,y:d*u}:{x:d*u,y:h*c}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function tl(e){return"x"===e?"y":"x"}let tu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=e,u={x:n,y:r},c=await e3(t,l),f=eQ(eK(i)),d=tl(f),h=u[f],p=u[d];o&&(h=e6(h+c["y"===f?"top":"left"],e5(h,h-c["y"===f?"bottom":"right"]))),a&&(p=e6(p+c["y"===d?"top":"left"],e5(p,p-c["y"===d?"bottom":"right"])));let v=s.fn({...t,[f]:h,[d]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},tc=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=eQ(i),d=tl(f),h=c[f],p=c[d],v="function"==typeof s?s({...o,placement:i}):s,m="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){let g="y"===f?"height":"width",y=o.reference[f]-o.floating[g]+m.mainAxis,b=o.reference[f]+o.reference[g]-m.mainAxis;hb&&(h=b)}if(u){var x,w,_,E;let k="y"===f?"width":"height",j=["top","left"].includes(eK(i)),S=o.reference[d]-o.floating[k]+(j&&null!=(x=null==(w=a.offset)?void 0:w[d])?x:0)+(j?0:m.crossAxis),O=o.reference[d]+o.reference[k]+(j?0:null!=(_=null==(E=a.offset)?void 0:E[d])?_:0)-(j?m.crossAxis:0);pO&&(p=O)}return{[f]:h,[d]:p}}}};function tf(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function td(e){if(null==e)return window;if(!tf(e)){let t=e.ownerDocument;return t&&t.defaultView||window}return e}function th(e){return td(e).getComputedStyle(e)}function tp(e){return tf(e)?"":e?(e.nodeName||"").toLowerCase():""}function tv(){let e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function tm(e){return e instanceof td(e).HTMLElement}function tg(e){return e instanceof td(e).Element}function ty(e){return"undefined"!=typeof ShadowRoot&&(e instanceof td(e).ShadowRoot||e instanceof ShadowRoot)}function tb(e){let{overflow:t,overflowX:n,overflowY:r}=th(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function tx(e){let t=/firefox/i.test(tv()),n=th(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function tw(){return!/^((?!chrome|android).)*safari/i.test(tv())}let t_=Math.min,tE=Math.max,tk=Math.round;function tj(e,t,n){var r,i,o,a;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),l=1,u=1;t&&tm(e)&&(l=e.offsetWidth>0&&tk(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&tk(s.height)/e.offsetHeight||1);let c=tg(e)?td(e):window,f=!tw()&&n,d=(s.left+(f&&null!=(r=null==(i=c.visualViewport)?void 0:i.offsetLeft)?r:0))/l,h=(s.top+(f&&null!=(o=null==(a=c.visualViewport)?void 0:a.offsetTop)?o:0))/u,p=s.width/l,v=s.height/u;return{width:p,height:v,top:h,right:d+p,bottom:h+v,left:d,x:d,y:h}}function tS(e){return((e instanceof td(e).Node?e.ownerDocument:e.document)||window.document).documentElement}function tO(e){return tg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function tC(e){return tj(tS(e)).left+tO(e).scrollLeft}function tA(e){return"html"===tp(e)?e:e.assignedSlot||e.parentNode||(ty(e)?e.host:null)||tS(e)}function tT(e){return tm(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function tM(e){let t=td(e),n=tT(e);for(;n&&["table","td","th"].includes(tp(n))&&"static"===getComputedStyle(n).position;)n=tT(n);return n&&("html"===tp(n)||"body"===tp(n)&&"static"===getComputedStyle(n).position&&!tx(n))?t:n||function(e){let t=tA(e);for(ty(t)&&(t=t.host);tm(t)&&!["html","body"].includes(tp(t));){if(tx(t))return t;t=t.parentNode}return null}(e)||t}function tP(e){if(tm(e))return{width:e.offsetWidth,height:e.offsetHeight};let t=tj(e);return{width:t.width,height:t.height}}function tN(e,t){var n;void 0===t&&(t=[]);let r=function e(t){let n=tA(t);return["html","body","#document"].includes(tp(n))?t.ownerDocument.body:tm(n)&&tb(n)?n:e(n)}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=td(r),a=i?[o].concat(o.visualViewport||[],tb(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(tN(a))}function tR(e,t,n){return"viewport"===t?e4(function(e,t){let n=td(e),r=tS(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let u=tw();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n)):tg(t)?function(e,t){let n=tj(e,!1,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft;return{top:r,left:i,x:i,y:r,right:i+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):e4(function(e){var t;let n=tS(e),r=tO(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=tE(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=tE(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+tC(e),l=-r.scrollTop;return"rtl"===th(i||n).direction&&(s+=tE(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(tS(e)))}let tD={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?function(e){let t=tN(e),n=["absolute","fixed"].includes(th(e).position)&&tm(e)?tM(e):e;return tg(n)?t.filter(e=>tg(e)&&function(e,t){let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ty(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==tp(e)):[]}(t):[].concat(n),r],a=o[0],s=o.reduce((e,n)=>{let r=tR(t,n,i);return e.top=tE(r.top,e.top),e.right=t_(r.right,e.right),e.bottom=t_(r.bottom,e.bottom),e.left=tE(r.left,e.left),e},tR(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=tm(n),o=tS(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},s={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==tp(n)||tb(o))&&(a=tO(n)),tm(n))){let l=tj(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:tg,getDimensions:tP,getOffsetParent:tM,getDocumentElement:tS,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:function(e,t,n){let r=tm(t),i=tS(t),o=tj(e,r&&function(e){let t=tj(e);return tk(t.width)!==e.offsetWidth||tk(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&"fixed"!==n){if(("body"!==tp(t)||tb(i))&&(a=tO(t)),tm(t)){let l=tj(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=tC(i))}return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}(t,tM(n),r),floating:{...tP(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===th(e).direction};function tL(e,t,n,r){void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,c=l||u?[...tg(e)?tN(e):[],...tN(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let f,d=null;if(a){let h=!0;d=new ResizeObserver(()=>{h||n(),h=!1}),tg(e)&&!s&&d.observe(e),d.observe(t)}let p=s?tj(e):null;return s&&function t(){let r=tj(e);p&&(r.x!==p.x||r.y!==p.y||r.width!==p.width||r.height!==p.height)&&n(),p=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==(e=d)||e.disconnect(),d=null,s&&cancelAnimationFrame(f)}}let tF=(e,t,n)=>e1(e,t,{platform:tD,...n});var tI=n(28316),tz="undefined"!=typeof document?el.useLayoutEffect:el.useEffect;function tV(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=void 0===e?{}:e,o=el.useRef(null),a=el.useRef(null),s=function(e){let t=el.useRef(e);return tz(()=>{t.current=e}),t}(i),l=el.useRef(null),[u,c]=el.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=el.useState(t);!function e(t,n){let r,i,o;if(t===n)return!0;if(typeof t!=typeof n)return!1;if("function"==typeof t&&t.toString()===n.toString())return!0;if(t&&n&&"object"==typeof t){if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){let a=o[i];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}(null==f?void 0:f.map(e=>{let{options:t}=e;return t}),null==t?void 0:t.map(e=>{let{options:t}=e;return t}))&&d(t);let h=el.useCallback(()=>{o.current&&a.current&&tF(o.current,a.current,{middleware:f,placement:n,strategy:r}).then(e=>{p.current&&tI.flushSync(()=>{c(e)})})},[f,n,r]);tz(()=>{p.current&&h()},[h]);let p=el.useRef(!1);tz(()=>(p.current=!0,()=>{p.current=!1}),[]);let v=el.useCallback(()=>{if("function"==typeof l.current&&(l.current(),l.current=null),o.current&&a.current){if(s.current){let e=s.current(o.current,a.current,h);l.current=e}else h()}},[h,s]),m=el.useCallback(e=>{o.current=e,v()},[v]),g=el.useCallback(e=>{a.current=e,v()},[v]),y=el.useMemo(()=>({reference:o,floating:a}),[]);return el.useMemo(()=>({...u,update:h,refs:y,reference:m,floating:g}),[u,h,y,m,g])}let tB=e=>{let{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){if(Object.prototype.hasOwnProperty.call(t,"current")){if(null!=t.current)return e8({element:t.current,padding:n}).fn(e)}else if(t)return e8({element:t,padding:n}).fn(e);return{}}}},tZ=(0,el.forwardRef)((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,el.createElement)(eg.WV.svg,(0,ec.Z)({},o,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,el.createElement)("polygon",{points:"0,0 30,0 15,10"}))});function tU(e){let[t,n]=(0,el.useState)(void 0);return(0,ey.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let a=o.borderBoxSize,s=Array.isArray(a)?a[0]:a;r=s.inlineSize,i=s.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}let tH="Popper",[tW,tq]=(0,ef.b)(tH),[t$,tY]=tW(tH),tG=e=>{let{__scopePopper:t,children:n}=e,[r,i]=(0,el.useState)(null);return(0,el.createElement)(t$,{scope:t,anchor:r,onAnchorChange:i},n)},tK=(0,el.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,o=tY("PopperAnchor",n),a=(0,el.useRef)(null),s=(0,ed.e)(t,a);return(0,el.useEffect)(()=>{o.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,el.createElement)(eg.WV.div,(0,ec.Z)({},i,{ref:s}))}),tX="PopperContent",[tQ,tJ]=tW(tX),[t0,t1]=tW(tX,{hasParent:!1,positionUpdateFns:new Set}),t2=(0,el.forwardRef)((e,t)=>{var n,r,i,o,a,s,l,u;let{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:h="center",alignOffset:p=0,arrowPadding:v=0,collisionBoundary:m=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:b=!1,avoidCollisions:x=!0,...w}=e,_=tY(tX,c),[E,k]=(0,el.useState)(null),j=(0,ed.e)(t,e=>k(e)),[S,O]=(0,el.useState)(null),C=tU(S),A=null!==(n=null==C?void 0:C.width)&&void 0!==n?n:0,T=null!==(r=null==C?void 0:C.height)&&void 0!==r?r:0,M="number"==typeof g?g:{top:0,right:0,bottom:0,left:0,...g},P=Array.isArray(m)?m:[m],N=P.length>0,R={padding:M,boundary:P.filter(t6),altBoundary:N},{reference:D,floating:L,strategy:F,x:I,y:z,placement:V,middlewareData:B,update:Z}=tV({strategy:"fixed",placement:f+("center"!==h?"-"+h:""),whileElementsMounted:tL,middleware:[ts({mainAxis:d+T,alignmentAxis:p}),x?tu({mainAxis:!0,crossAxis:!1,limiter:"partial"===y?tc():void 0,...R}):void 0,S?tB({element:S,padding:v}):void 0,x?tr({...R}):void 0,t8({arrowWidth:A,arrowHeight:T}),b?ta({strategy:"referenceHidden"}):void 0].filter(t5)});(0,ey.b)(()=>{D(_.anchor)},[D,_.anchor]);let U=null!==I&&null!==z,[H,W]=t7(V),q=null===(i=B.arrow)||void 0===i?void 0:i.x,$=null===(o=B.arrow)||void 0===o?void 0:o.y,Y=(null===(a=B.arrow)||void 0===a?void 0:a.centerOffset)!==0,[G,K]=(0,el.useState)();(0,ey.b)(()=>{E&&K(window.getComputedStyle(E).zIndex)},[E]);let{hasParent:X,positionUpdateFns:Q}=t1(tX,c),J=!X;(0,el.useLayoutEffect)(()=>{if(!J)return Q.add(Z),()=>{Q.delete(Z)}},[J,Q,Z]),(0,el.useLayoutEffect)(()=>{J&&U&&Array.from(Q).reverse().forEach(e=>requestAnimationFrame(e))},[J,U,Q]);let ee={"data-side":H,"data-align":W,...w,ref:j,style:{...w.style,animation:U?void 0:"none",opacity:null!==(s=B.hide)&&void 0!==s&&s.referenceHidden?0:void 0}};return(0,el.createElement)("div",{ref:L,"data-radix-popper-content-wrapper":"",style:{position:F,left:0,top:0,transform:U?`translate3d(${Math.round(I)}px, ${Math.round(z)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[null===(l=B.transformOrigin)||void 0===l?void 0:l.x,null===(u=B.transformOrigin)||void 0===u?void 0:u.y].join(" ")}},(0,el.createElement)(tQ,{scope:c,placedSide:H,onArrowChange:O,arrowX:q,arrowY:$,shouldHideArrow:Y},J?(0,el.createElement)(t0,{scope:c,hasParent:!0,positionUpdateFns:Q},(0,el.createElement)(eg.WV.div,ee)):(0,el.createElement)(eg.WV.div,ee)))}),t4={top:"bottom",right:"left",bottom:"top",left:"right"},t3=(0,el.forwardRef)(function(e,t){let{__scopePopper:n,...r}=e,i=tJ("PopperArrow",n),o=t4[i.placedSide];return(0,el.createElement)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},(0,el.createElement)(tZ,(0,ec.Z)({},r,{ref:t,style:{...r.style,display:"block"}})))});function t5(e){return void 0!==e}function t6(e){return null!==e}let t8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[h,p]=t7(s),v={start:"0%",center:"50%",end:"100%"}[p],m=(null!==(r=null===(i=u.arrow)||void 0===i?void 0:i.x)&&void 0!==r?r:0)+f/2,g=(null!==(o=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==o?o:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:`${m}px`,b=`${-d}px`):"top"===h?(y=c?v:`${m}px`,b=`${l.floating.height+d}px`):"right"===h?(y=`${-d}px`,b=c?v:`${g}px`):"left"===h&&(y=`${l.floating.width+d}px`,b=c?v:`${g}px`),{data:{x:y,y:b}}}});function t7(e){let[t,n="center"]=e.split("-");return[t,n]}var t9=n(6500);let ne=(0,el.forwardRef)((e,t)=>(0,el.createElement)(eg.WV.span,(0,ec.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[nt,nn]=(0,ef.b)("Tooltip",[tq]),nr=tq(),ni="tooltip.open",[no,na]=nt("TooltipProvider"),ns=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,[a,s]=(0,el.useState)(!0),l=(0,el.useRef)(!1),u=(0,el.useRef)(0);return(0,el.useEffect)(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,el.createElement)(no,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:(0,el.useCallback)(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:(0,el.useCallback)(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:(0,el.useCallback)(e=>{l.current=e},[]),disableHoverableContent:i},o)},nl="Tooltip",[nu,nc]=nt(nl),nf=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:o,disableHoverableContent:a,delayDuration:s}=e,l=na(nl,e.__scopeTooltip),u=nr(t),[c,f]=(0,el.useState)(null),d=(0,ex.M)(),h=(0,el.useRef)(0),p=null!=a?a:l.disableHoverableContent,v=null!=s?s:l.delayDuration,m=(0,el.useRef)(!1),[g=!1,y]=(0,em.T)({prop:r,defaultProp:i,onChange:e=>{e?(l.onOpen(),document.dispatchEvent(new CustomEvent(ni))):l.onClose(),null==o||o(e)}}),b=(0,el.useMemo)(()=>g?m.current?"delayed-open":"instant-open":"closed",[g]),x=(0,el.useCallback)(()=>{window.clearTimeout(h.current),m.current=!1,y(!0)},[y]),w=(0,el.useCallback)(()=>{window.clearTimeout(h.current),y(!1)},[y]),_=(0,el.useCallback)(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{m.current=!0,y(!0)},v)},[v,y]);return(0,el.useEffect)(()=>()=>window.clearTimeout(h.current),[]),(0,el.createElement)(tG,u,(0,el.createElement)(nu,{scope:t,contentId:d,open:g,stateAttribute:b,trigger:c,onTriggerChange:f,onTriggerEnter:(0,el.useCallback)(()=>{l.isOpenDelayed?_():x()},[l.isOpenDelayed,_,x]),onTriggerLeave:(0,el.useCallback)(()=>{p?w():window.clearTimeout(h.current)},[w,p]),onOpen:x,onClose:w,disableHoverableContent:p},n))},nd="TooltipTrigger",nh=(0,el.forwardRef)((e,t)=>{let{__scopeTooltip:n,...r}=e,i=nc(nd,n),o=na(nd,n),a=nr(n),s=(0,el.useRef)(null),l=(0,ed.e)(t,s,i.onTriggerChange),u=(0,el.useRef)(!1),c=(0,el.useRef)(!1),f=(0,el.useCallback)(()=>u.current=!1,[]);return(0,el.useEffect)(()=>()=>document.removeEventListener("pointerup",f),[f]),(0,el.createElement)(tK,(0,ec.Z)({asChild:!0},a),(0,el.createElement)(eg.WV.button,(0,ec.Z)({"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute},r,{ref:l,onPointerMove:(0,ev.M)(e.onPointerMove,e=>{"touch"===e.pointerType||c.current||o.isPointerInTransitRef.current||(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:(0,ev.M)(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:(0,ev.M)(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:(0,ev.M)(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:(0,ev.M)(e.onBlur,i.onClose),onClick:(0,ev.M)(e.onClick,e=>{let t=0===e.detail;t&&i.onClose()})})))}),np="TooltipPortal",[nv,nm]=nt(np,{forceMount:void 0}),ng=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=nc(np,t);return(0,el.createElement)(nv,{scope:t,forceMount:n},(0,el.createElement)(eb.z,{present:n||o.open},(0,el.createElement)(t9.h,{asChild:!0,container:i},r)))},ny="TooltipContent",nb=(0,el.forwardRef)((e,t)=>{let n=nm(ny,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=nc(ny,e.__scopeTooltip);return(0,el.createElement)(eb.z,{present:r||a.open},a.disableHoverableContent?(0,el.createElement)(nE,(0,ec.Z)({side:i},o,{ref:t})):(0,el.createElement)(nx,(0,ec.Z)({side:i},o,{ref:t})))}),nx=(0,el.forwardRef)((e,t)=>{let n=nc(ny,e.__scopeTooltip),r=na(ny,e.__scopeTooltip),i=(0,el.useRef)(null),o=(0,ed.e)(t,i),[a,s]=(0,el.useState)(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:f}=r,d=(0,el.useCallback)(()=>{s(null),f(!1)},[f]),h=(0,el.useCallback)((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:return null}}(r,n.getBoundingClientRect()),o="right"===i||"bottom"===i?-5:5,a="right"===i||"left"===i?{x:e.clientX+o,y:e.clientY}:{x:e.clientX,y:e.clientY+o},l=function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect()),u=function(e){let t=e.slice();return t.sort((e,t)=>e.xt.x?1:e.yt.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n=2;){let i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(r.y-o.y)>=(i.y-o.y)*(r.x-o.x))t.pop();else break}t.push(r)}t.pop();let a=[];for(let s=e.length-1;s>=0;s--){let l=e[s];for(;a.length>=2;){let u=a[a.length-1],c=a[a.length-2];if((u.x-c.x)*(l.y-c.y)>=(u.y-c.y)*(l.x-c.x))a.pop();else break}a.push(l)}return(a.pop(),1===t.length&&1===a.length&&t[0].x===a[0].x&&t[0].y===a[0].y)?t:t.concat(a)}(t)}([a,...l]);s(u),f(!0)},[f]);return(0,el.useEffect)(()=>()=>d(),[d]),(0,el.useEffect)(()=>{if(l&&c){let e=e=>h(e,c),t=e=>h(e,l);return l.addEventListener("pointerleave",e),c.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),c.removeEventListener("pointerleave",t)}}},[l,c,h,d]),(0,el.useEffect)(()=>{if(a){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==l?void 0:l.contains(t))||(null==c?void 0:c.contains(t)),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let o=0,a=t.length-1;or!=c>r&&n<(u-s)*(r-l)/(c-l)+s;f&&(i=!i)}return i}(n,a);r?d():i&&(d(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[l,c,a,u,d]),(0,el.createElement)(nE,(0,ec.Z)({},e,{ref:o}))}),[nw,n_]=nt(nl,{isInside:!1}),nE=(0,el.forwardRef)((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:a,...s}=e,l=nc(ny,n),u=nr(n),{onClose:c}=l;return(0,el.useEffect)(()=>(document.addEventListener(ni,c),()=>document.removeEventListener(ni,c)),[c]),(0,el.useEffect)(()=>{if(l.trigger){let e=e=>{let t=e.target;null!=t&&t.contains(l.trigger)&&c()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[l.trigger,c]),(0,el.createElement)(eG.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:c},(0,el.createElement)(t2,(0,ec.Z)({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)"}}),(0,el.createElement)(eh.A4,null,r),(0,el.createElement)(nw,{scope:n,isInside:!0},(0,el.createElement)(ne,{id:l.contentId,role:"tooltip"},i||r))))}),nk=(0,eY.j)(["inline-block"],{variants:{font:{mono:"font-mono",sans:"font-sans"},color:{verySubtle:"text-gray-700 dark:text-graydark-700",subtle:"text-gray-1000 dark:text-graydark-1000",contrast:"text-gray-1100 dark:text-white",lo:"text-white dark:text-graydark-50",accent:"text-accent-1100 dark:text-accentdark-1100",red:"text-red-700 dark:text-red-400",green:"text-emerald-700 dark:text-emerald-500",amber:"text-amber-600 dark:text-amber-500",none:""},weight:{extrabold:"font-extrabold",bold:"font-bold",medium:"font-medium",semibold:"font-semibold",regular:"font-normal",normal:"font-normal",light:"font-light",none:""},size:{10:"text-xxs",12:"text-xs",14:"text-sm",16:"text-base",18:"text-lg",20:"text-xl",24:"text-2xl",30:"text-3xl",36:"text-4xl",40:"text-5xl",48:"text-5xl",60:"text-6xl",64:"text-6xl"},scaleSize:{12:"text-xxs md:text-xs",14:"text-xs md:text-sm",16:"text-sm md:text-base",18:"text-base md:text-lg",20:"text-base md:text-xl",24:"text-xl md:text-2xl",30:"text-2xl md:text-3xl",36:"text-3xl md:text-4xl",40:"text-4xl md:text-5xl",48:"text-4xl md:text-5xl",60:"text-5xl md:text-6xl",64:"text-5xl md:text-6xl"},noWrap:{true:"whitespace-nowrap"},underline:{accent:"underline underline-offset-2 decoration-2 decoration-accent-900 dark:decoration-accentdark-900",show:"underline underline-offset-2 decoration-gray-1100 dark:decoration-gray-500",hover:"hover:underline underline-offset-2 decoration-gray-1100 dark:decoration-gray-500",none:""},ellipsis:{true:"overflow-hidden text-ellipsis whitespace-nowrap"},wrapEllipsis:{true:"overflow-hidden text-ellipsis"}},defaultVariants:{weight:"regular",font:"sans",color:"contrast",underline:"none"}}),nj=el.forwardRef((e,t)=>{let{tag:n="span",className:r,font:i,color:o,weight:a,size:s,scaleSize:l,noWrap:u,underline:c,ellipsis:f,wrapEllipsis:d,...h}=e;return(0,es.jsx)(n,{ref:t,className:(0,eY.cx)(r,nk({font:i,color:o,weight:a,size:s,scaleSize:l,underline:c,noWrap:u,ellipsis:f,wrapEllipsis:d})),...h})}),nS=el.forwardRef((e,t)=>{let{size:n="18",...r}=e;return(0,es.jsx)(nj,{tag:"p",...r,ref:t,weight:"regular",scaleSize:n,color:"subtle",className:(0,eY.cx)("leading-relaxed md:leading-relaxed",e.className)})}),nO=(0,eY.j)(["bg-white dark:bg-graydark-200","transition-shadow ease-in-out duration-300","shadow-sm hover:shadow","rounded","border","border-gray-400 dark:border-graydark-400"]),nC=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)("div",{ref:t,className:nO({className:n}),...r})});var nA=n(93542);let nT=(void 0===nA||nA.env,"production"),nM=1/60*1e3,nP="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),nN="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(nP()),nM),nR=!0,nD=!1,nL=!1,nF={delta:0,timestamp:0},nI=["read","update","preRender","render","postRender"],nz=nI.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{let l=s&&i,u=l?t:n;return o&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&i&&(r=t.length)),e},cancel:e=>{let t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length)for(let u=0;unD=!0),e),{}),nV=nI.reduce((e,t)=>{let n=nz[t];return e[t]=(e,t=!1,r=!1)=>(nD||nW(),n.schedule(e,t,r)),e},{}),nB=nI.reduce((e,t)=>(e[t]=nz[t].cancel,e),{}),nZ=nI.reduce((e,t)=>(e[t]=()=>nz[t].process(nF),e),{}),nU=e=>nz[e].process(nF),nH=e=>{nD=!1,nF.delta=nR?nM:Math.max(Math.min(e-nF.timestamp,40),1),nF.timestamp=e,nL=!0,nI.forEach(nU),nL=!1,nD&&(nR=!1,nN(nH))},nW=()=>{nD=!0,nR=!0,nL||nN(nH)},nq=()=>nF,n$="undefined"!=typeof document,nY=n$?el.useLayoutEffect:el.useEffect;function nG(){let e=(0,el.useRef)(!1);return nY(()=>(e.current=!0,()=>{e.current=!1}),[]),e}let nK=(0,el.createContext)(null);function nX(e){let t=(0,el.useRef)(null);return null===t.current&&(t.current=e()),t.current}class nQ extends el.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function nJ({children:e,isPresent:t}){let n=(0,el.useId)(),r=(0,el.useRef)(null),i=(0,el.useRef)({width:0,height:0,top:0,left:0});return(0,el.useInsertionEffect)(()=>{let{width:e,height:o,top:a,left:s}=i.current;if(t||!r.current||!e||!o)return;r.current.dataset.motionPopId=n;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` + */var n = "function" == typeof Symbol && Symbol.for, r = n ? Symbol.for("react.element") : 60103, i = n ? Symbol.for("react.portal") : 60106, o = n ? Symbol.for("react.fragment") : 60107, a = n ? Symbol.for("react.strict_mode") : 60108, s = n ? Symbol.for("react.profiler") : 60114, l = n ? Symbol.for("react.provider") : 60109, u = n ? Symbol.for("react.context") : 60110, c = n ? Symbol.for("react.async_mode") : 60111, f = n ? Symbol.for("react.concurrent_mode") : 60111, d = n ? Symbol.for("react.forward_ref") : 60112, h = n ? Symbol.for("react.suspense") : 60113, p = n ? Symbol.for("react.suspense_list") : 60120, v = n ? Symbol.for("react.memo") : 60115, m = n ? Symbol.for("react.lazy") : 60116, g = n ? Symbol.for("react.block") : 60121, y = n ? Symbol.for("react.fundamental") : 60117, b = n ? Symbol.for("react.responder") : 60118, x = n ? Symbol.for("react.scope") : 60119; function w(e) { if ("object" == typeof e && null !== e) { var t = e.$$typeof; switch (t) { case r: switch (e = e.type) { case c: case f: case o: case s: case a: case h: return e; default: switch (e = e && e.$$typeof) { case u: case d: case m: case v: case l: return e; default: return t } }case i: return t } } } function _(e) { return w(e) === f } t.AsyncMode = c, t.ConcurrentMode = f, t.ContextConsumer = u, t.ContextProvider = l, t.Element = r, t.ForwardRef = d, t.Fragment = o, t.Lazy = m, t.Memo = v, t.Portal = i, t.Profiler = s, t.StrictMode = a, t.Suspense = h, t.isAsyncMode = function(e) { return _(e) || w(e) === c }, t.isConcurrentMode = _, t.isContextConsumer = function(e) { return w(e) === u }, t.isContextProvider = function(e) { return w(e) === l }, t.isElement = function(e) { return "object" == typeof e && null !== e && e.$$typeof === r }, t.isForwardRef = function(e) { return w(e) === d }, t.isFragment = function(e) { return w(e) === o }, t.isLazy = function(e) { return w(e) === m }, t.isMemo = function(e) { return w(e) === v }, t.isPortal = function(e) { return w(e) === i }, t.isProfiler = function(e) { return w(e) === s }, t.isStrictMode = function(e) { return w(e) === a }, t.isSuspense = function(e) { return w(e) === h }, t.isValidElementType = function(e) { return "string" == typeof e || "function" == typeof e || e === o || e === f || e === s || e === a || e === h || e === p || "object" == typeof e && null !== e && (e.$$typeof === m || e.$$typeof === v || e.$$typeof === l || e.$$typeof === u || e.$$typeof === d || e.$$typeof === y || e.$$typeof === b || e.$$typeof === x || e.$$typeof === g) }, t.typeOf = w + }, 73887: function(e, t, n) { "use strict"; e.exports = n(43459) }, 62333: function(e, t) {/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read = function(e, t, n, r, i) { var o, a, s = 8 * i - r - 1, l = (1 << s) - 1, u = l >> 1, c = -7, f = n ? i - 1 : 0, d = n ? -1 : 1, h = e[t + f]; for (f += d, o = h & (1 << -c) - 1, h >>= -c, c += s; c > 0; o = 256 * o + e[t + f], f += d, c -= 8); for (a = o & (1 << -c) - 1, o >>= -c, c += r; c > 0; a = 256 * a + e[t + f], f += d, c -= 8); if (0 === o) o = 1 - u; else { if (o === l) return a ? NaN : (h ? -1 : 1) * (1 / 0); a += Math.pow(2, r), o -= u } return (h ? -1 : 1) * a * Math.pow(2, o - r) }, t.write = function(e, t, n, r, i, o) { var a, s, l, u = 8 * o - i - 1, c = (1 << u) - 1, f = c >> 1, d = 23 === i ? 5960464477539062e-23 : 0, h = r ? 0 : o - 1, p = r ? 1 : -1, v = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0; for (isNaN(t = Math.abs(t)) || t === 1 / 0 ? (s = isNaN(t) ? 1 : 0, a = c) : (a = Math.floor(Math.log(t) / Math.LN2), t * (l = Math.pow(2, -a)) < 1 && (a--, l *= 2), a + f >= 1 ? t += d / l : t += d * Math.pow(2, 1 - f), t * l >= 2 && (a++, l /= 2), a + f >= c ? (s = 0, a = c) : a + f >= 1 ? (s = (t * l - 1) * Math.pow(2, i), a += f) : (s = t * Math.pow(2, f - 1) * Math.pow(2, i), a = 0)); i >= 8; e[n + h] = 255 & s, h += p, s /= 256, i -= 8); for (a = a << i | s, u += i; u > 0; e[n + h] = 255 & a, h += p, a /= 256, u -= 8); e[n + h - p] |= 128 * v } }, 39515: function(e, t, n) { var r = n(38761)(n(37772), "DataView"); e.exports = r }, 89612: function(e, t, n) { var r = n(52118), i = n(96909), o = n(98138), a = n(4174), s = n(7942); function l(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } l.prototype.clear = r, l.prototype.delete = i, l.prototype.get = o, l.prototype.has = a, l.prototype.set = s, e.exports = l }, 80235: function(e, t, n) { var r = n(3945), i = n(21846), o = n(88028), a = n(72344), s = n(94769); function l(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } l.prototype.clear = r, l.prototype.delete = i, l.prototype.get = o, l.prototype.has = a, l.prototype.set = s, e.exports = l }, 10326: function(e, t, n) { var r = n(38761)(n(37772), "Map"); e.exports = r }, 96738: function(e, t, n) { var r = n(92411), i = n(36417), o = n(86928), a = n(18052), s = n(24150); function l(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } l.prototype.clear = r, l.prototype.delete = i, l.prototype.get = o, l.prototype.has = a, l.prototype.set = s, e.exports = l }, 52760: function(e, t, n) { var r = n(38761)(n(37772), "Promise"); e.exports = r }, 2143: function(e, t, n) { var r = n(38761)(n(37772), "Set"); e.exports = r }, 45386: function(e, t, n) { var r = n(96738), i = n(52842), o = n(52482); function a(e) { var t = -1, n = null == e ? 0 : e.length; for (this.__data__ = new r; ++t < n;)this.add(e[t]) } a.prototype.add = a.prototype.push = i, a.prototype.has = o, e.exports = a }, 86571: function(e, t, n) { var r = n(80235), i = n(15243), o = n(72858), a = n(4417), s = n(8605), l = n(71418); function u(e) { var t = this.__data__ = new r(e); this.size = t.size } u.prototype.clear = i, u.prototype.delete = o, u.prototype.get = a, u.prototype.has = s, u.prototype.set = l, e.exports = u }, 50857: function(e, t, n) { var r = n(37772).Symbol; e.exports = r }, 79162: function(e, t, n) { var r = n(37772).Uint8Array; e.exports = r }, 93215: function(e, t, n) { var r = n(38761)(n(37772), "WeakMap"); e.exports = r }, 67552: function(e) { e.exports = function(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = 0, o = []; ++n < r;) { var a = e[n]; t(a, n, e) && (o[i++] = a) } return o } }, 1634: function(e, t, n) { var r = n(36473), i = n(79631), o = n(86152), a = n(73226), s = n(39045), l = n(77598), u = Object.prototype.hasOwnProperty; e.exports = function(e, t) { var n = o(e), c = !n && i(e), f = !n && !c && a(e), d = !n && !c && !f && l(e), h = n || c || f || d, p = h ? r(e.length, String) : [], v = p.length; for (var m in e) (t || u.call(e, m)) && !(h && ("length" == m || f && ("offset" == m || "parent" == m) || d && ("buffer" == m || "byteLength" == m || "byteOffset" == m) || s(m, v))) && p.push(m); return p } }, 50343: function(e) { e.exports = function(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = Array(r); ++n < r;)i[n] = t(e[n], n, e); return i } }, 65067: function(e) { e.exports = function(e, t) { for (var n = -1, r = t.length, i = e.length; ++n < r;)e[i + n] = t[n]; return e } }, 81207: function(e) { e.exports = function(e, t, n, r) { var i = -1, o = null == e ? 0 : e.length; for (r && o && (n = e[++i]); ++i < o;)n = t(n, e[i], i, e); return n } }, 87064: function(e) { e.exports = function(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r;)if (t(e[n], n, e)) return !0; return !1 } }, 50217: function(e) { e.exports = function(e) { return e.split("") } }, 45981: function(e) { var t = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; e.exports = function(e) { return e.match(t) || [] } }, 22218: function(e, t, n) { var r = n(41225); e.exports = function(e, t) { for (var n = e.length; n--;)if (r(e[n][0], t)) return n; return -1 } }, 13940: function(e, t, n) { var r = n(83043); e.exports = function(e, t, n) { "__proto__" == t && r ? r(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 }) : e[t] = n } }, 15308: function(e, t, n) { var r = n(55463)(); e.exports = r }, 26548: function(e, t, n) { var r = n(15308), i = n(90249); e.exports = function(e, t) { return e && r(e, t, i) } }, 13324: function(e, t, n) { var r = n(17297), i = n(33812); e.exports = function(e, t) { t = r(t, e); for (var n = 0, o = t.length; null != e && n < o;)e = e[i(t[n++])]; return n && n == o ? e : void 0 } }, 1897: function(e, t, n) { var r = n(65067), i = n(86152); e.exports = function(e, t, n) { var o = t(e); return i(e) ? o : r(o, n(e)) } }, 53366: function(e, t, n) { var r = n(50857), i = n(62107), o = n(37157), a = r ? r.toStringTag : void 0; e.exports = function(e) { return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : a && a in Object(e) ? i(e) : o(e) } }, 32726: function(e) { var t = Object.prototype.hasOwnProperty; e.exports = function(e, n) { return null != e && t.call(e, n) } }, 20187: function(e) { e.exports = function(e, t) { return null != e && t in Object(e) } }, 15183: function(e, t, n) { var r = n(53366), i = n(15125); e.exports = function(e) { return i(e) && "[object Arguments]" == r(e) } }, 88746: function(e, t, n) { var r = n(51952), i = n(15125); e.exports = function e(t, n, o, a, s) { return t === n || (null != t && null != n && (i(t) || i(n)) ? r(t, n, o, a, e, s) : t != t && n != n) } }, 51952: function(e, t, n) { var r = n(86571), i = n(74871), o = n(11491), a = n(17416), s = n(70940), l = n(86152), u = n(73226), c = n(77598), f = "[object Arguments]", d = "[object Array]", h = "[object Object]", p = Object.prototype.hasOwnProperty; e.exports = function(e, t, n, v, m, g) { var y = l(e), b = l(t), x = y ? d : s(e), w = b ? d : s(t); x = x == f ? h : x, w = w == f ? h : w; var _ = x == h, E = w == h, k = x == w; if (k && u(e)) { if (!u(t)) return !1; y = !0, _ = !1 } if (k && !_) return g || (g = new r), y || c(e) ? i(e, t, n, v, m, g) : o(e, t, x, n, v, m, g); if (!(1 & n)) { var j = _ && p.call(e, "__wrapped__"), S = E && p.call(t, "__wrapped__"); if (j || S) { var O = j ? e.value() : e, C = S ? t.value() : t; return g || (g = new r), m(O, C, n, v, g) } } return !!k && (g || (g = new r), a(e, t, n, v, m, g)) } }, 37036: function(e, t, n) { var r = n(86571), i = n(88746); e.exports = function(e, t, n, o) { var a = n.length, s = a, l = !o; if (null == e) return !s; for (e = Object(e); a--;) { var u = n[a]; if (l && u[2] ? u[1] !== e[u[0]] : !(u[0] in e)) return !1 } for (; ++a < s;) { var c = (u = n[a])[0], f = e[c], d = u[1]; if (l && u[2]) { if (void 0 === f && !(c in e)) return !1 } else { var h = new r; if (o) var p = o(f, d, c, e, t, h); if (!(void 0 === p ? i(d, f, 3, o, h) : p)) return !1 } } return !0 } }, 6840: function(e, t, n) { var r = n(61049), i = n(47394), o = n(29259), a = n(87035), s = /^\[object .+?Constructor\]$/, l = Object.prototype, u = Function.prototype.toString, c = l.hasOwnProperty, f = RegExp("^" + u.call(c).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"); e.exports = function(e) { return !(!o(e) || i(e)) && (r(e) ? f : s).test(a(e)) } }, 35522: function(e, t, n) { var r = n(53366), i = n(61158), o = n(15125), a = {}; a["[object Float32Array]"] = a["[object Float64Array]"] = a["[object Int8Array]"] = a["[object Int16Array]"] = a["[object Int32Array]"] = a["[object Uint8Array]"] = a["[object Uint8ClampedArray]"] = a["[object Uint16Array]"] = a["[object Uint32Array]"] = !0, a["[object Arguments]"] = a["[object Array]"] = a["[object ArrayBuffer]"] = a["[object Boolean]"] = a["[object DataView]"] = a["[object Date]"] = a["[object Error]"] = a["[object Function]"] = a["[object Map]"] = a["[object Number]"] = a["[object Object]"] = a["[object RegExp]"] = a["[object Set]"] = a["[object String]"] = a["[object WeakMap]"] = !1, e.exports = function(e) { return o(e) && i(e.length) && !!a[r(e)] } }, 68286: function(e, t, n) { var r = n(26423), i = n(74716), o = n(23059), a = n(86152), s = n(65798); e.exports = function(e) { return "function" == typeof e ? e : null == e ? o : "object" == typeof e ? a(e) ? i(e[0], e[1]) : r(e) : s(e) } }, 86411: function(e, t, n) { var r = n(16001), i = n(54248), o = Object.prototype.hasOwnProperty; e.exports = function(e) { if (!r(e)) return i(e); var t = []; for (var n in Object(e)) o.call(e, n) && "constructor" != n && t.push(n); return t } }, 26423: function(e, t, n) { var r = n(37036), i = n(49882), o = n(73477); e.exports = function(e) { var t = i(e); return 1 == t.length && t[0][2] ? o(t[0][0], t[0][1]) : function(n) { return n === e || r(n, e, t) } } }, 74716: function(e, t, n) { var r = n(88746), i = n(72579), o = n(95041), a = n(21401), s = n(28792), l = n(73477), u = n(33812); e.exports = function(e, t) { return a(e) && s(t) ? l(u(e), t) : function(n) { var a = i(n, e); return void 0 === a && a === t ? o(n, e) : r(t, a, 3) } } }, 20256: function(e) { e.exports = function(e) { return function(t) { return null == t ? void 0 : t[e] } } }, 82952: function(e, t, n) { var r = n(13324); e.exports = function(e) { return function(t) { return r(t, e) } } }, 6435: function(e) { e.exports = function(e) { return function(t) { return null == e ? void 0 : e[t] } } }, 39872: function(e) { e.exports = function(e, t, n) { var r = -1, i = e.length; t < 0 && (t = -t > i ? 0 : i + t), (n = n > i ? i : n) < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0; for (var o = Array(i); ++r < i;)o[r] = e[r + t]; return o } }, 36473: function(e) { e.exports = function(e, t) { for (var n = -1, r = Array(e); ++n < e;)r[n] = t(n); return r } }, 1054: function(e, t, n) { var r = n(50857), i = n(50343), o = n(86152), a = n(4795), s = 1 / 0, l = r ? r.prototype : void 0, u = l ? l.toString : void 0; e.exports = function e(t) { if ("string" == typeof t) return t; if (o(t)) return i(t, e) + ""; if (a(t)) return u ? u.call(t) : ""; var n = t + ""; return "0" == n && 1 / t == -s ? "-0" : n } }, 51704: function(e, t, n) { var r = n(52153), i = /^\s+/; e.exports = function(e) { return e ? e.slice(0, r(e) + 1).replace(i, "") : e } }, 47826: function(e) { e.exports = function(e) { return function(t) { return e(t) } } }, 59950: function(e) { e.exports = function(e, t) { return e.has(t) } }, 17297: function(e, t, n) { var r = n(86152), i = n(21401), o = n(54452), a = n(66188); e.exports = function(e, t) { return r(e) ? e : i(e, t) ? [e] : o(a(e)) } }, 23895: function(e, t, n) { var r = n(39872); e.exports = function(e, t, n) { var i = e.length; return n = void 0 === n ? i : n, !t && n >= i ? e : r(e, t, n) } }, 24019: function(e, t, n) { var r = n(37772)["__core-js_shared__"]; e.exports = r }, 55463: function(e) { e.exports = function(e) { return function(t, n, r) { for (var i = -1, o = Object(t), a = r(t), s = a.length; s--;) { var l = a[e ? s : ++i]; if (!1 === n(o[l], l, o)) break } return t } } }, 83126: function(e, t, n) { var r = n(23895), i = n(33880), o = n(8435), a = n(66188); e.exports = function(e) { return function(t) { var n = i(t = a(t)) ? o(t) : void 0, s = n ? n[0] : t.charAt(0), l = n ? r(n, 1).join("") : t.slice(1); return s[e]() + l } } }, 34311: function(e, t, n) { var r = n(81207), i = n(97329), o = n(11618), a = RegExp("['’]", "g"); e.exports = function(e) { return function(t) { return r(o(i(t).replace(a, "")), e, "") } } }, 61655: function(e, t, n) { var r = n(6435)({ À: "A", Á: "A", Â: "A", Ã: "A", Ä: "A", Å: "A", à: "a", á: "a", â: "a", ã: "a", ä: "a", å: "a", Ç: "C", ç: "c", Ð: "D", ð: "d", È: "E", É: "E", Ê: "E", Ë: "E", è: "e", é: "e", ê: "e", ë: "e", Ì: "I", Í: "I", Î: "I", Ï: "I", ì: "i", í: "i", î: "i", ï: "i", Ñ: "N", ñ: "n", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "O", Ø: "O", ò: "o", ó: "o", ô: "o", õ: "o", ö: "o", ø: "o", Ù: "U", Ú: "U", Û: "U", Ü: "U", ù: "u", ú: "u", û: "u", ü: "u", Ý: "Y", ý: "y", ÿ: "y", Æ: "Ae", æ: "ae", Þ: "Th", þ: "th", ß: "ss", Ā: "A", Ă: "A", Ą: "A", ā: "a", ă: "a", ą: "a", Ć: "C", Ĉ: "C", Ċ: "C", Č: "C", ć: "c", ĉ: "c", ċ: "c", č: "c", Ď: "D", Đ: "D", ď: "d", đ: "d", Ē: "E", Ĕ: "E", Ė: "E", Ę: "E", Ě: "E", ē: "e", ĕ: "e", ė: "e", ę: "e", ě: "e", Ĝ: "G", Ğ: "G", Ġ: "G", Ģ: "G", ĝ: "g", ğ: "g", ġ: "g", ģ: "g", Ĥ: "H", Ħ: "H", ĥ: "h", ħ: "h", Ĩ: "I", Ī: "I", Ĭ: "I", Į: "I", İ: "I", ĩ: "i", ī: "i", ĭ: "i", į: "i", ı: "i", Ĵ: "J", ĵ: "j", Ķ: "K", ķ: "k", ĸ: "k", Ĺ: "L", Ļ: "L", Ľ: "L", Ŀ: "L", Ł: "L", ĺ: "l", ļ: "l", ľ: "l", ŀ: "l", ł: "l", Ń: "N", Ņ: "N", Ň: "N", Ŋ: "N", ń: "n", ņ: "n", ň: "n", ŋ: "n", Ō: "O", Ŏ: "O", Ő: "O", ō: "o", ŏ: "o", ő: "o", Ŕ: "R", Ŗ: "R", Ř: "R", ŕ: "r", ŗ: "r", ř: "r", Ś: "S", Ŝ: "S", Ş: "S", Š: "S", ś: "s", ŝ: "s", ş: "s", š: "s", Ţ: "T", Ť: "T", Ŧ: "T", ţ: "t", ť: "t", ŧ: "t", Ũ: "U", Ū: "U", Ŭ: "U", Ů: "U", Ű: "U", Ų: "U", ũ: "u", ū: "u", ŭ: "u", ů: "u", ű: "u", ų: "u", Ŵ: "W", ŵ: "w", Ŷ: "Y", ŷ: "y", Ÿ: "Y", Ź: "Z", Ż: "Z", Ž: "Z", ź: "z", ż: "z", ž: "z", IJ: "IJ", ij: "ij", Œ: "Oe", œ: "oe", ʼn: "'n", ſ: "s" }); e.exports = r }, 83043: function(e, t, n) { var r = n(38761), i = function() { try { var e = r(Object, "defineProperty"); return e({}, "", {}), e } catch (t) { } }(); e.exports = i }, 74871: function(e, t, n) { var r = n(45386), i = n(87064), o = n(59950); e.exports = function(e, t, n, a, s, l) { var u = 1 & n, c = e.length, f = t.length; if (c != f && !(u && f > c)) return !1; var d = l.get(e), h = l.get(t); if (d && h) return d == t && h == e; var p = -1, v = !0, m = 2 & n ? new r : void 0; for (l.set(e, t), l.set(t, e); ++p < c;) { var g = e[p], y = t[p]; if (a) var b = u ? a(y, g, p, t, e, l) : a(g, y, p, e, t, l); if (void 0 !== b) { if (b) continue; v = !1; break } if (m) { if (!i(t, function(e, t) { if (!o(m, t) && (g === e || s(g, e, n, a, l))) return m.push(t) })) { v = !1; break } } else if (!(g === y || s(g, y, n, a, l))) { v = !1; break } } return l.delete(e), l.delete(t), v } }, 11491: function(e, t, n) { var r = n(50857), i = n(79162), o = n(41225), a = n(74871), s = n(75179), l = n(16909), u = r ? r.prototype : void 0, c = u ? u.valueOf : void 0; e.exports = function(e, t, n, r, u, f, d) { switch (n) { case "[object DataView]": if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) break; e = e.buffer, t = t.buffer; case "[object ArrayBuffer]": if (e.byteLength != t.byteLength || !f(new i(e), new i(t))) break; return !0; case "[object Boolean]": case "[object Date]": case "[object Number]": return o(+e, +t); case "[object Error]": return e.name == t.name && e.message == t.message; case "[object RegExp]": case "[object String]": return e == t + ""; case "[object Map]": var h = s; case "[object Set]": var p = 1 & r; if (h || (h = l), e.size != t.size && !p) break; var v = d.get(e); if (v) return v == t; r |= 2, d.set(e, t); var m = a(h(e), h(t), r, u, f, d); return d.delete(e), m; case "[object Symbol]": if (c) return c.call(e) == c.call(t) }return !1 } }, 17416: function(e, t, n) { var r = n(13483), i = Object.prototype.hasOwnProperty; e.exports = function(e, t, n, o, a, s) { var l = 1 & n, u = r(e), c = u.length; if (c != r(t).length && !l) return !1; for (var f = c; f--;) { var d = u[f]; if (!(l ? d in t : i.call(t, d))) return !1 } var h = s.get(e), p = s.get(t); if (h && p) return h == t && p == e; var v = !0; s.set(e, t), s.set(t, e); for (var m = l; ++f < c;) { var g = e[d = u[f]], y = t[d]; if (o) var b = l ? o(y, g, d, t, e, s) : o(g, y, d, e, t, s); if (!(void 0 === b ? g === y || a(g, y, n, o, s) : b)) { v = !1; break } m || (m = "constructor" == d) } if (v && !m) { var x = e.constructor, w = t.constructor; x != w && "constructor" in e && "constructor" in t && !("function" == typeof x && x instanceof x && "function" == typeof w && w instanceof w) && (v = !1) } return s.delete(e), s.delete(t), v } }, 51242: function(e, t, n) { var r = "object" == typeof n.g && n.g && n.g.Object === Object && n.g; e.exports = r }, 13483: function(e, t, n) { var r = n(1897), i = n(80633), o = n(90249); e.exports = function(e) { return r(e, o, i) } }, 27937: function(e, t, n) { var r = n(98304); e.exports = function(e, t) { var n = e.__data__; return r(t) ? n["string" == typeof t ? "string" : "hash"] : n.map } }, 49882: function(e, t, n) { var r = n(28792), i = n(90249); e.exports = function(e) { for (var t = i(e), n = t.length; n--;) { var o = t[n], a = e[o]; t[n] = [o, a, r(a)] } return t } }, 38761: function(e, t, n) { var r = n(6840), i = n(98109); e.exports = function(e, t) { var n = i(e, t); return r(n) ? n : void 0 } }, 62107: function(e, t, n) { var r = n(50857), i = Object.prototype, o = i.hasOwnProperty, a = i.toString, s = r ? r.toStringTag : void 0; e.exports = function(e) { var t = o.call(e, s), n = e[s]; try { e[s] = void 0; var r = !0 } catch (i) { } var l = a.call(e); return r && (t ? e[s] = n : delete e[s]), l } }, 80633: function(e, t, n) { var r = n(67552), i = n(30981), o = Object.prototype.propertyIsEnumerable, a = Object.getOwnPropertySymbols, s = a ? function(e) { return null == e ? [] : r(a(e = Object(e)), function(t) { return o.call(e, t) }) } : i; e.exports = s }, 70940: function(e, t, n) { var r = n(39515), i = n(10326), o = n(52760), a = n(2143), s = n(93215), l = n(53366), u = n(87035), c = "[object Map]", f = "[object Promise]", d = "[object Set]", h = "[object WeakMap]", p = "[object DataView]", v = u(r), m = u(i), g = u(o), y = u(a), b = u(s), x = l; (r && x(new r(new ArrayBuffer(1))) != p || i && x(new i) != c || o && x(o.resolve()) != f || a && x(new a) != d || s && x(new s) != h) && (x = function(e) { var t = l(e), n = "[object Object]" == t ? e.constructor : void 0, r = n ? u(n) : ""; if (r) switch (r) { case v: return p; case m: return c; case g: return f; case y: return d; case b: return h }return t }), e.exports = x }, 98109: function(e) { e.exports = function(e, t) { return null == e ? void 0 : e[t] } }, 1369: function(e, t, n) { var r = n(17297), i = n(79631), o = n(86152), a = n(39045), s = n(61158), l = n(33812); e.exports = function(e, t, n) { t = r(t, e); for (var u = -1, c = t.length, f = !1; ++u < c;) { var d = l(t[u]); if (!(f = null != e && n(e, d))) break; e = e[d] } return f || ++u != c ? f : !!(c = null == e ? 0 : e.length) && s(c) && a(d, c) && (o(e) || i(e)) } }, 33880: function(e) { var t = RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"); e.exports = function(e) { return t.test(e) } }, 83559: function(e) { var t = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; e.exports = function(e) { return t.test(e) } }, 52118: function(e, t, n) { var r = n(99191); e.exports = function() { this.__data__ = r ? r(null) : {}, this.size = 0 } }, 96909: function(e) { e.exports = function(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t } }, 98138: function(e, t, n) { var r = n(99191), i = Object.prototype.hasOwnProperty; e.exports = function(e) { var t = this.__data__; if (r) { var n = t[e]; return "__lodash_hash_undefined__" === n ? void 0 : n } return i.call(t, e) ? t[e] : void 0 } }, 4174: function(e, t, n) { var r = n(99191), i = Object.prototype.hasOwnProperty; e.exports = function(e) { var t = this.__data__; return r ? void 0 !== t[e] : i.call(t, e) } }, 7942: function(e, t, n) { var r = n(99191); e.exports = function(e, t) { var n = this.__data__; return this.size += this.has(e) ? 0 : 1, n[e] = r && void 0 === t ? "__lodash_hash_undefined__" : t, this } }, 39045: function(e) { var t = /^(?:0|[1-9]\d*)$/; e.exports = function(e, n) { var r = typeof e; return !!(n = null == n ? 9007199254740991 : n) && ("number" == r || "symbol" != r && t.test(e)) && e > -1 && e % 1 == 0 && e < n } }, 21401: function(e, t, n) { var r = n(86152), i = n(4795), o = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/; e.exports = function(e, t) { if (r(e)) return !1; var n = typeof e; return !!("number" == n || "symbol" == n || "boolean" == n || null == e || i(e)) || a.test(e) || !o.test(e) || null != t && e in Object(t) } }, 98304: function(e) { e.exports = function(e) { var t = typeof e; return "string" == t || "number" == t || "symbol" == t || "boolean" == t ? "__proto__" !== e : null === e } }, 47394: function(e, t, n) { var r, i = n(24019), o = (r = /[^.]+$/.exec(i && i.keys && i.keys.IE_PROTO || "")) ? "Symbol(src)_1." + r : ""; e.exports = function(e) { return !!o && o in e } }, 16001: function(e) { var t = Object.prototype; e.exports = function(e) { var n = e && e.constructor, r = "function" == typeof n && n.prototype || t; return e === r } }, 28792: function(e, t, n) { var r = n(29259); e.exports = function(e) { return e == e && !r(e) } }, 3945: function(e) { e.exports = function() { this.__data__ = [], this.size = 0 } }, 21846: function(e, t, n) { var r = n(22218), i = Array.prototype.splice; e.exports = function(e) { var t = this.__data__, n = r(t, e); return !(n < 0) && (n == t.length - 1 ? t.pop() : i.call(t, n, 1), --this.size, !0) } }, 88028: function(e, t, n) { var r = n(22218); e.exports = function(e) { var t = this.__data__, n = r(t, e); return n < 0 ? void 0 : t[n][1] } }, 72344: function(e, t, n) { var r = n(22218); e.exports = function(e) { return r(this.__data__, e) > -1 } }, 94769: function(e, t, n) { var r = n(22218); e.exports = function(e, t) { var n = this.__data__, i = r(n, e); return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this } }, 92411: function(e, t, n) { var r = n(89612), i = n(80235), o = n(10326); e.exports = function() { this.size = 0, this.__data__ = { hash: new r, map: new (o || i), string: new r } } }, 36417: function(e, t, n) { var r = n(27937); e.exports = function(e) { var t = r(this, e).delete(e); return this.size -= t ? 1 : 0, t } }, 86928: function(e, t, n) { var r = n(27937); e.exports = function(e) { return r(this, e).get(e) } }, 18052: function(e, t, n) { var r = n(27937); e.exports = function(e) { return r(this, e).has(e) } }, 24150: function(e, t, n) { var r = n(27937); e.exports = function(e, t) { var n = r(this, e), i = n.size; return n.set(e, t), this.size += n.size == i ? 0 : 1, this } }, 75179: function(e) { e.exports = function(e) { var t = -1, n = Array(e.size); return e.forEach(function(e, r) { n[++t] = [r, e] }), n } }, 73477: function(e) { e.exports = function(e, t) { return function(n) { return null != n && n[e] === t && (void 0 !== t || e in Object(n)) } } }, 77777: function(e, t, n) { var r = n(30733); e.exports = function(e) { var t = r(e, function(e) { return 500 === n.size && n.clear(), e }), n = t.cache; return t } }, 99191: function(e, t, n) { var r = n(38761)(Object, "create"); e.exports = r }, 54248: function(e, t, n) { var r = n(60241)(Object.keys, Object); e.exports = r }, 4146: function(e, t, n) { e = n.nmd(e); var r = n(51242), i = t && !t.nodeType && t, o = i && e && !e.nodeType && e, a = o && o.exports === i && r.process, s = function() { try { var e = o && o.require && o.require("util").types; if (e) return e; return a && a.binding && a.binding("util") } catch (t) { } }(); e.exports = s }, 37157: function(e) { var t = Object.prototype.toString; e.exports = function(e) { return t.call(e) } }, 60241: function(e) { e.exports = function(e, t) { return function(n) { return e(t(n)) } } }, 37772: function(e, t, n) { var r = n(51242), i = "object" == typeof self && self && self.Object === Object && self, o = r || i || Function("return this")(); e.exports = o }, 52842: function(e) { e.exports = function(e) { return this.__data__.set(e, "__lodash_hash_undefined__"), this } }, 52482: function(e) { e.exports = function(e) { return this.__data__.has(e) } }, 16909: function(e) { e.exports = function(e) { var t = -1, n = Array(e.size); return e.forEach(function(e) { n[++t] = e }), n } }, 15243: function(e, t, n) { var r = n(80235); e.exports = function() { this.__data__ = new r, this.size = 0 } }, 72858: function(e) { e.exports = function(e) { var t = this.__data__, n = t.delete(e); return this.size = t.size, n } }, 4417: function(e) { e.exports = function(e) { return this.__data__.get(e) } }, 8605: function(e) { e.exports = function(e) { return this.__data__.has(e) } }, 71418: function(e, t, n) { var r = n(80235), i = n(10326), o = n(96738); e.exports = function(e, t) { var n = this.__data__; if (n instanceof r) { var a = n.__data__; if (!i || a.length < 199) return a.push([e, t]), this.size = ++n.size, this; n = this.__data__ = new o(a) } return n.set(e, t), this.size = n.size, this } }, 8435: function(e, t, n) { var r = n(50217), i = n(33880), o = n(63344); e.exports = function(e) { return i(e) ? o(e) : r(e) } }, 54452: function(e, t, n) { var r = n(77777), i = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, o = /\\(\\)?/g, a = r(function(e) { var t = []; return 46 === e.charCodeAt(0) && t.push(""), e.replace(i, function(e, n, r, i) { t.push(r ? i.replace(o, "$1") : n || e) }), t }); e.exports = a }, 33812: function(e, t, n) { var r = n(4795), i = 1 / 0; e.exports = function(e) { if ("string" == typeof e || r(e)) return e; var t = e + ""; return "0" == t && 1 / e == -i ? "-0" : t } }, 87035: function(e) { var t = Function.prototype.toString; e.exports = function(e) { if (null != e) { try { return t.call(e) } catch (n) { } try { return e + "" } catch (r) { } } return "" } }, 52153: function(e) { var t = /\s/; e.exports = function(e) { for (var n = e.length; n-- && t.test(e.charAt(n));); return n } }, 63344: function(e) { var t = "\ud800-\udfff", n = "[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", r = "\ud83c[\udffb-\udfff]", i = "[^" + t + "]", o = "(?:\ud83c[\udde6-\uddff]){2}", a = "[\ud800-\udbff][\udc00-\udfff]", s = "(?:" + n + "|" + r + ")?", l = "[\\ufe0e\\ufe0f]?", u = "(?:\\u200d(?:" + [i, o, a].join("|") + ")" + l + s + ")*", c = RegExp(r + "(?=" + r + ")|(?:" + [i + n + "?", n, o, a, "[" + t + "]"].join("|") + ")" + (l + s + u), "g"); e.exports = function(e) { return e.match(c) || [] } }, 75304: function(e) { var t = "\ud800-\udfff", n = "\\u2700-\\u27bf", r = "a-z\\xdf-\\xf6\\xf8-\\xff", i = "A-Z\\xc0-\\xd6\\xd8-\\xde", o = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", a = "['’]", s = "[" + o + "]", l = "[" + r + "]", u = "[^" + t + o + "\\d+" + n + r + i + "]", c = "(?:\ud83c[\udde6-\uddff]){2}", f = "[\ud800-\udbff][\udc00-\udfff]", d = "[" + i + "]", h = "(?:" + l + "|" + u + ")", p = "(?:" + a + "(?:d|ll|m|re|s|t|ve))?", v = "(?:" + a + "(?:D|LL|M|RE|S|T|VE))?", m = "(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?", g = "[\\ufe0e\\ufe0f]?", y = "(?:\\u200d(?:" + ["[^" + t + "]", c, f].join("|") + ")" + g + m + ")*", b = "(?:" + ["[" + n + "]", c, f].join("|") + ")" + (g + m + y), x = RegExp([d + "?" + l + "+" + p + "(?=" + [s, d, "$"].join("|") + ")", "(?:" + d + "|" + u + ")+" + v + "(?=" + [s, d + h, "$"].join("|") + ")", d + "?" + h + "+" + p, d + "+" + v, "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", "\\d+", b].join("|"), "g"); e.exports = function(e) { return e.match(x) || [] } }, 96009: function(e, t, n) { var r = n(82108), i = n(34311)(function(e, t, n) { return t = t.toLowerCase(), e + (n ? r(t) : t) }); e.exports = i }, 82108: function(e, t, n) { var r = n(66188), i = n(23779); e.exports = function(e) { return i(r(e).toLowerCase()) } }, 54073: function(e, t, n) { var r = n(29259), i = n(61100), o = n(7642), a = Math.max, s = Math.min; e.exports = function(e, t, n) { var l, u, c, f, d, h, p = 0, v = !1, m = !1, g = !0; if ("function" != typeof e) throw TypeError("Expected a function"); function y(t) { var n = l, r = u; return l = u = void 0, p = t, f = e.apply(r, n) } function b(e) { var n = e - h, r = e - p; return void 0 === h || n >= t || n < 0 || m && r >= c } function x() { var e, n, r, o = i(); if (b(o)) return w(o); d = setTimeout(x, (e = o - h, n = o - p, r = t - e, m ? s(r, c - n) : r)) } function w(e) { return (d = void 0, g && l) ? y(e) : (l = u = void 0, f) } function _() { var e, n = i(), r = b(n); if (l = arguments, u = this, h = n, r) { if (void 0 === d) return p = e = h, d = setTimeout(x, t), v ? y(e) : f; if (m) return clearTimeout(d), d = setTimeout(x, t), y(h) } return void 0 === d && (d = setTimeout(x, t)), f } return t = o(t) || 0, r(n) && (v = !!n.leading, c = (m = "maxWait" in n) ? a(o(n.maxWait) || 0, t) : c, g = "trailing" in n ? !!n.trailing : g), _.cancel = function() { void 0 !== d && clearTimeout(d), p = 0, l = h = u = d = void 0 }, _.flush = function() { return void 0 === d ? f : w(i()) }, _ } }, 97329: function(e, t, n) { var r = n(61655), i = n(66188), o = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g"); e.exports = function(e) { return (e = i(e)) && e.replace(o, r).replace(a, "") } }, 41225: function(e) { e.exports = function(e, t) { return e === t || e != e && t != t } }, 72579: function(e, t, n) { var r = n(13324); e.exports = function(e, t, n) { var i = null == e ? void 0 : r(e, t); return void 0 === i ? n : i } }, 93352: function(e, t, n) { var r = n(32726), i = n(1369); e.exports = function(e, t) { return null != e && i(e, t, r) } }, 95041: function(e, t, n) { var r = n(20187), i = n(1369); e.exports = function(e, t) { return null != e && i(e, t, r) } }, 23059: function(e) { e.exports = function(e) { return e } }, 79631: function(e, t, n) { var r = n(15183), i = n(15125), o = Object.prototype, a = o.hasOwnProperty, s = o.propertyIsEnumerable, l = r(function() { return arguments }()) ? r : function(e) { return i(e) && a.call(e, "callee") && !s.call(e, "callee") }; e.exports = l }, 86152: function(e) { var t = Array.isArray; e.exports = t }, 67878: function(e, t, n) { var r = n(61049), i = n(61158); e.exports = function(e) { return null != e && i(e.length) && !r(e) } }, 73226: function(e, t, n) { e = n.nmd(e); var r = n(37772), i = n(36330), o = t && !t.nodeType && t, a = o && e && !e.nodeType && e, s = a && a.exports === o ? r.Buffer : void 0, l = s ? s.isBuffer : void 0; e.exports = l || i }, 61049: function(e, t, n) { var r = n(53366), i = n(29259); e.exports = function(e) { if (!i(e)) return !1; var t = r(e); return "[object Function]" == t || "[object GeneratorFunction]" == t || "[object AsyncFunction]" == t || "[object Proxy]" == t } }, 61158: function(e) { e.exports = function(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 } }, 29259: function(e) { e.exports = function(e) { var t = typeof e; return null != e && ("object" == t || "function" == t) } }, 15125: function(e) { e.exports = function(e) { return null != e && "object" == typeof e } }, 4795: function(e, t, n) { var r = n(53366), i = n(15125); e.exports = function(e) { return "symbol" == typeof e || i(e) && "[object Symbol]" == r(e) } }, 77598: function(e, t, n) { var r = n(35522), i = n(47826), o = n(4146), a = o && o.isTypedArray, s = a ? i(a) : r; e.exports = s }, 90249: function(e, t, n) { var r = n(1634), i = n(86411), o = n(67878); e.exports = function(e) { return o(e) ? r(e) : i(e) } }, 76635: function(e, t, n) { var r; e = n.nmd(e), (function() { var i, o = "Expected a function", a = "__lodash_hash_undefined__", s = "__lodash_placeholder__", l = 1 / 0, u = 0 / 0, c = [["ary", 128], ["bind", 1], ["bindKey", 2], ["curry", 8], ["curryRight", 16], ["flip", 512], ["partial", 32], ["partialRight", 64], ["rearg", 256]], f = "[object Arguments]", d = "[object Array]", h = "[object Boolean]", p = "[object Date]", v = "[object Error]", m = "[object Function]", g = "[object GeneratorFunction]", y = "[object Map]", b = "[object Number]", x = "[object Object]", w = "[object Promise]", _ = "[object RegExp]", E = "[object Set]", k = "[object String]", j = "[object Symbol]", S = "[object WeakMap]", O = "[object ArrayBuffer]", C = "[object DataView]", A = "[object Float32Array]", T = "[object Float64Array]", M = "[object Int8Array]", P = "[object Int16Array]", N = "[object Int32Array]", R = "[object Uint8Array]", D = "[object Uint8ClampedArray]", L = "[object Uint16Array]", F = "[object Uint32Array]", I = /\b__p \+= '';/g, z = /\b(__p \+=) '' \+/g, V = /(__e\(.*?\)|\b__t\)) \+\n'';/g, B = /&(?:amp|lt|gt|quot|#39);/g, Z = /[&<>"']/g, U = RegExp(B.source), H = RegExp(Z.source), W = /<%-([\s\S]+?)%>/g, q = /<%([\s\S]+?)%>/g, $ = /<%=([\s\S]+?)%>/g, Y = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, G = /^\w*$/, K = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, X = /[\\^$.*+?()[\]{}|]/g, Q = RegExp(X.source), J = /^\s+/, ee = /\s/, et = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, en = /\{\n\/\* \[wrapped with (.+)\] \*/, er = /,? & /, ei = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, eo = /[()=,{}\[\]\/\s]/, ea = /\\(\\)?/g, es = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, el = /\w*$/, eu = /^[-+]0x[0-9a-f]+$/i, ec = /^0b[01]+$/i, ef = /^\[object .+?Constructor\]$/, ed = /^0o[0-7]+$/i, eh = /^(?:0|[1-9]\d*)$/, ep = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ev = /($^)/, em = /['\n\r\u2028\u2029\\]/g, eg = "\ud800-\udfff", ey = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", eb = "\\u2700-\\u27bf", ex = "a-z\\xdf-\\xf6\\xf8-\\xff", ew = "A-Z\\xc0-\\xd6\\xd8-\\xde", e_ = "\\ufe0e\\ufe0f", eE = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", ek = "['’]", ej = "[" + eE + "]", eS = "[" + ey + "]", eO = "[" + ex + "]", eC = "[^" + eg + eE + "\\d+" + eb + ex + ew + "]", eA = "\ud83c[\udffb-\udfff]", eT = "[^" + eg + "]", eM = "(?:\ud83c[\udde6-\uddff]){2}", eP = "[\ud800-\udbff][\udc00-\udfff]", eN = "[" + ew + "]", eR = "\\u200d", eD = "(?:" + eO + "|" + eC + ")", eL = "(?:" + ek + "(?:d|ll|m|re|s|t|ve))?", eF = "(?:" + ek + "(?:D|LL|M|RE|S|T|VE))?", eI = "(?:" + eS + "|" + eA + ")?", ez = "[" + e_ + "]?", eV = "(?:" + eR + "(?:" + [eT, eM, eP].join("|") + ")" + ez + eI + ")*", eB = ez + eI + eV, eZ = "(?:" + ["[" + eb + "]", eM, eP].join("|") + ")" + eB, eU = "(?:" + [eT + eS + "?", eS, eM, eP, "[" + eg + "]"].join("|") + ")", eH = RegExp(ek, "g"), eW = RegExp(eS, "g"), eq = RegExp(eA + "(?=" + eA + ")|" + eU + eB, "g"), e$ = RegExp([eN + "?" + eO + "+" + eL + "(?=" + [ej, eN, "$"].join("|") + ")", "(?:" + eN + "|" + eC + ")+" + eF + "(?=" + [ej, eN + eD, "$"].join("|") + ")", eN + "?" + eD + "+" + eL, eN + "+" + eF, "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", "\\d+", eZ].join("|"), "g"), eY = RegExp("[" + eR + eg + ey + e_ + "]"), eG = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, eK = ["Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout"], eX = -1, eQ = {}; eQ[A] = eQ[T] = eQ[M] = eQ[P] = eQ[N] = eQ[R] = eQ[D] = eQ[L] = eQ[F] = !0, eQ[f] = eQ[d] = eQ[O] = eQ[h] = eQ[C] = eQ[p] = eQ[v] = eQ[m] = eQ[y] = eQ[b] = eQ[x] = eQ[_] = eQ[E] = eQ[k] = eQ[S] = !1; var eJ = {}; eJ[f] = eJ[d] = eJ[O] = eJ[C] = eJ[h] = eJ[p] = eJ[A] = eJ[T] = eJ[M] = eJ[P] = eJ[N] = eJ[y] = eJ[b] = eJ[x] = eJ[_] = eJ[E] = eJ[k] = eJ[j] = eJ[R] = eJ[D] = eJ[L] = eJ[F] = !0, eJ[v] = eJ[m] = eJ[S] = !1; var e0 = { "\\": "\\", "'": "'", "\n": "n", "\r": "r", "\u2028": "u2028", "\u2029": "u2029" }, e1 = parseFloat, e2 = parseInt, e4 = "object" == typeof n.g && n.g && n.g.Object === Object && n.g, e3 = "object" == typeof self && self && self.Object === Object && self, e5 = e4 || e3 || Function("return this")(), e6 = t && !t.nodeType && t, e8 = e6 && e && !e.nodeType && e, e7 = e8 && e8.exports === e6, e9 = e7 && e4.process, te = function() { try { var e = e8 && e8.require && e8.require("util").types; if (e) return e; return e9 && e9.binding && e9.binding("util") } catch (t) { } }(), tt = te && te.isArrayBuffer, tn = te && te.isDate, tr = te && te.isMap, ti = te && te.isRegExp, to = te && te.isSet, ta = te && te.isTypedArray; function ts(e, t, n) { switch (n.length) { case 0: return e.call(t); case 1: return e.call(t, n[0]); case 2: return e.call(t, n[0], n[1]); case 3: return e.call(t, n[0], n[1], n[2]) }return e.apply(t, n) } function tl(e, t, n, r) { for (var i = -1, o = null == e ? 0 : e.length; ++i < o;) { var a = e[i]; t(r, a, n(a), e) } return r } function tu(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r && !1 !== t(e[n], n, e);); return e } function tc(e, t) { for (var n = null == e ? 0 : e.length; n-- && !1 !== t(e[n], n, e);); return e } function tf(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r;)if (!t(e[n], n, e)) return !1; return !0 } function td(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = 0, o = []; ++n < r;) { var a = e[n]; t(a, n, e) && (o[i++] = a) } return o } function th(e, t) { return !!(null == e ? 0 : e.length) && tE(e, t, 0) > -1 } function tp(e, t, n) { for (var r = -1, i = null == e ? 0 : e.length; ++r < i;)if (n(t, e[r])) return !0; return !1 } function tv(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = Array(r); ++n < r;)i[n] = t(e[n], n, e); return i } function tm(e, t) { for (var n = -1, r = t.length, i = e.length; ++n < r;)e[i + n] = t[n]; return e } function tg(e, t, n, r) { var i = -1, o = null == e ? 0 : e.length; for (r && o && (n = e[++i]); ++i < o;)n = t(n, e[i], i, e); return n } function ty(e, t, n, r) { var i = null == e ? 0 : e.length; for (r && i && (n = e[--i]); i--;)n = t(n, e[i], i, e); return n } function tb(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r;)if (t(e[n], n, e)) return !0; return !1 } var tx = tO("length"); function tw(e, t, n) { var r; return n(e, function(e, n, i) { if (t(e, n, i)) return r = n, !1 }), r } function t_(e, t, n, r) { for (var i = e.length, o = n + (r ? 1 : -1); r ? o-- : ++o < i;)if (t(e[o], o, e)) return o; return -1 } function tE(e, t, n) { return t == t ? function(e, t, n) { for (var r = n - 1, i = e.length; ++r < i;)if (e[r] === t) return r; return -1 }(e, t, n) : t_(e, tj, n) } function tk(e, t, n, r) { for (var i = n - 1, o = e.length; ++i < o;)if (r(e[i], t)) return i; return -1 } function tj(e) { return e != e } function tS(e, t) { var n = null == e ? 0 : e.length; return n ? tT(e, t) / n : u } function tO(e) { return function(t) { return null == t ? i : t[e] } } function tC(e) { return function(t) { return null == e ? i : e[t] } } function tA(e, t, n, r, i) { return i(e, function(e, i, o) { n = r ? (r = !1, e) : t(n, e, i, o) }), n } function tT(e, t) { for (var n, r = -1, o = e.length; ++r < o;) { var a = t(e[r]); i !== a && (n = i === n ? a : n + a) } return n } function tM(e, t) { for (var n = -1, r = Array(e); ++n < e;)r[n] = t(n); return r } function tP(e) { return e ? e.slice(0, tY(e) + 1).replace(J, "") : e } function tN(e) { return function(t) { return e(t) } } function tR(e, t) { return tv(t, function(t) { return e[t] }) } function tD(e, t) { return e.has(t) } function tL(e, t) { for (var n = -1, r = e.length; ++n < r && tE(t, e[n], 0) > -1;); return n } function tF(e, t) { for (var n = e.length; n-- && tE(t, e[n], 0) > -1;); return n } var tI = tC({ À: "A", Á: "A", Â: "A", Ã: "A", Ä: "A", Å: "A", à: "a", á: "a", â: "a", ã: "a", ä: "a", å: "a", Ç: "C", ç: "c", Ð: "D", ð: "d", È: "E", É: "E", Ê: "E", Ë: "E", è: "e", é: "e", ê: "e", ë: "e", Ì: "I", Í: "I", Î: "I", Ï: "I", ì: "i", í: "i", î: "i", ï: "i", Ñ: "N", ñ: "n", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "O", Ø: "O", ò: "o", ó: "o", ô: "o", õ: "o", ö: "o", ø: "o", Ù: "U", Ú: "U", Û: "U", Ü: "U", ù: "u", ú: "u", û: "u", ü: "u", Ý: "Y", ý: "y", ÿ: "y", Æ: "Ae", æ: "ae", Þ: "Th", þ: "th", ß: "ss", Ā: "A", Ă: "A", Ą: "A", ā: "a", ă: "a", ą: "a", Ć: "C", Ĉ: "C", Ċ: "C", Č: "C", ć: "c", ĉ: "c", ċ: "c", č: "c", Ď: "D", Đ: "D", ď: "d", đ: "d", Ē: "E", Ĕ: "E", Ė: "E", Ę: "E", Ě: "E", ē: "e", ĕ: "e", ė: "e", ę: "e", ě: "e", Ĝ: "G", Ğ: "G", Ġ: "G", Ģ: "G", ĝ: "g", ğ: "g", ġ: "g", ģ: "g", Ĥ: "H", Ħ: "H", ĥ: "h", ħ: "h", Ĩ: "I", Ī: "I", Ĭ: "I", Į: "I", İ: "I", ĩ: "i", ī: "i", ĭ: "i", į: "i", ı: "i", Ĵ: "J", ĵ: "j", Ķ: "K", ķ: "k", ĸ: "k", Ĺ: "L", Ļ: "L", Ľ: "L", Ŀ: "L", Ł: "L", ĺ: "l", ļ: "l", ľ: "l", ŀ: "l", ł: "l", Ń: "N", Ņ: "N", Ň: "N", Ŋ: "N", ń: "n", ņ: "n", ň: "n", ŋ: "n", Ō: "O", Ŏ: "O", Ő: "O", ō: "o", ŏ: "o", ő: "o", Ŕ: "R", Ŗ: "R", Ř: "R", ŕ: "r", ŗ: "r", ř: "r", Ś: "S", Ŝ: "S", Ş: "S", Š: "S", ś: "s", ŝ: "s", ş: "s", š: "s", Ţ: "T", Ť: "T", Ŧ: "T", ţ: "t", ť: "t", ŧ: "t", Ũ: "U", Ū: "U", Ŭ: "U", Ů: "U", Ű: "U", Ų: "U", ũ: "u", ū: "u", ŭ: "u", ů: "u", ű: "u", ų: "u", Ŵ: "W", ŵ: "w", Ŷ: "Y", ŷ: "y", Ÿ: "Y", Ź: "Z", Ż: "Z", Ž: "Z", ź: "z", ż: "z", ž: "z", IJ: "IJ", ij: "ij", Œ: "Oe", œ: "oe", ʼn: "'n", ſ: "s" }), tz = tC({ "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }); function tV(e) { return "\\" + e0[e] } function tB(e) { return eY.test(e) } function tZ(e) { var t = -1, n = Array(e.size); return e.forEach(function(e, r) { n[++t] = [r, e] }), n } function tU(e, t) { return function(n) { return e(t(n)) } } function tH(e, t) { for (var n = -1, r = e.length, i = 0, o = []; ++n < r;) { var a = e[n]; (a === t || a === s) && (e[n] = s, o[i++] = n) } return o } function tW(e) { var t = -1, n = Array(e.size); return e.forEach(function(e) { n[++t] = e }), n } function tq(e) { return tB(e) ? function(e) { for (var t = eq.lastIndex = 0; eq.test(e);)++t; return t }(e) : tx(e) } function t$(e) { return tB(e) ? e.match(eq) || [] : e.split("") } function tY(e) { for (var t = e.length; t-- && ee.test(e.charAt(t));); return t } var tG = tC({ "&": "&", "<": "<", ">": ">", """: '"', "'": "'" }), tK = function e(t) { var n, r, ee, eg, ey = (t = null == t ? e5 : tK.defaults(e5.Object(), t, tK.pick(e5, eK))).Array, eb = t.Date, ex = t.Error, ew = t.Function, e_ = t.Math, eE = t.Object, ek = t.RegExp, ej = t.String, eS = t.TypeError, eO = ey.prototype, eC = ew.prototype, eA = eE.prototype, eT = t["__core-js_shared__"], eM = eC.toString, eP = eA.hasOwnProperty, eN = 0, eR = (n = /[^.]+$/.exec(eT && eT.keys && eT.keys.IE_PROTO || "")) ? "Symbol(src)_1." + n : "", eD = eA.toString, eL = eM.call(eE), eF = e5._, eI = ek("^" + eM.call(eP).replace(X, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), ez = e7 ? t.Buffer : i, eV = t.Symbol, eB = t.Uint8Array, eZ = ez ? ez.allocUnsafe : i, eU = tU(eE.getPrototypeOf, eE), eq = eE.create, eY = eA.propertyIsEnumerable, e0 = eO.splice, e4 = eV ? eV.isConcatSpreadable : i, e3 = eV ? eV.iterator : i, e6 = eV ? eV.toStringTag : i, e8 = function() { try { var e = ib(eE, "defineProperty"); return e({}, "", {}), e } catch (t) { } }(), e9 = t.clearTimeout !== e5.clearTimeout && t.clearTimeout, te = eb && eb.now !== e5.Date.now && eb.now, tx = t.setTimeout !== e5.setTimeout && t.setTimeout, tC = e_.ceil, tX = e_.floor, tQ = eE.getOwnPropertySymbols, tJ = ez ? ez.isBuffer : i, t0 = t.isFinite, t1 = eO.join, t2 = tU(eE.keys, eE), t4 = e_.max, t3 = e_.min, t5 = eb.now, t6 = t.parseInt, t8 = e_.random, t7 = eO.reverse, t9 = ib(t, "DataView"), ne = ib(t, "Map"), nt = ib(t, "Promise"), nn = ib(t, "Set"), nr = ib(t, "WeakMap"), ni = ib(eE, "create"), no = nr && new nr, na = {}, ns = iH(t9), nl = iH(ne), nu = iH(nt), nc = iH(nn), nf = iH(nr), nd = eV ? eV.prototype : i, nh = nd ? nd.valueOf : i, np = nd ? nd.toString : i; function nv(e) { if (oX(e) && !oV(e) && !(e instanceof nb)) { if (e instanceof ny) return e; if (eP.call(e, "__wrapped__")) return iW(e) } return new ny(e) } var nm = function() { function e() { } return function(t) { if (!oK(t)) return {}; if (eq) return eq(t); e.prototype = t; var n = new e; return e.prototype = i, n } }(); function ng() { } function ny(e, t) { this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = i } function nb(e) { this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = 4294967295, this.__views__ = [] } function nx(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } function nw(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } function n_(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var r = e[t]; this.set(r[0], r[1]) } } function nE(e) { var t = -1, n = null == e ? 0 : e.length; for (this.__data__ = new n_; ++t < n;)this.add(e[t]) } function nk(e) { var t = this.__data__ = new nw(e); this.size = t.size } function nj(e, t) { var n = oV(e), r = !n && oz(e), i = !n && !r && oH(e), o = !n && !r && !i && o5(e), a = n || r || i || o, s = a ? tM(e.length, ej) : [], l = s.length; for (var u in e) (t || eP.call(e, u)) && !(a && ("length" == u || i && ("offset" == u || "parent" == u) || o && ("buffer" == u || "byteLength" == u || "byteOffset" == u) || iS(u, l))) && s.push(u); return s } function nS(e) { var t = e.length; return t ? e[rd(0, t - 1)] : i } function nO(e, t) { return iB(rW(e), nL(t, 0, e.length)) } function nC(e) { return iB(rW(e)) } function nA(e, t, n) { (i === n || oL(e[t], n)) && (i !== n || t in e) || nR(e, t, n) } function nT(e, t, n) { var r = e[t]; eP.call(e, t) && oL(r, n) && (i !== n || t in e) || nR(e, t, n) } function nM(e, t) { for (var n = e.length; n--;)if (oL(e[n][0], t)) return n; return -1 } function nP(e, t, n, r) { return nB(e, function(e, i, o) { t(r, e, n(e), o) }), r } function nN(e, t) { return e && rq(t, ag(t), e) } function nR(e, t, n) { "__proto__" == t && e8 ? e8(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 }) : e[t] = n } function nD(e, t) { for (var n = -1, r = t.length, o = ey(r), a = null == e; ++n < r;)o[n] = a ? i : ad(e, t[n]); return o } function nL(e, t, n) { return e == e && (i !== n && (e = e <= n ? e : n), i !== t && (e = e >= t ? e : t)), e } function nF(e, t, n, r, o, a) { var s, l = 1 & t, u = 2 & t; if (n && (s = o ? n(e, r, o, a) : n(e)), i !== s) return s; if (!oK(e)) return e; var c = oV(e); if (c) { if (v = (d = e).length, w = new d.constructor(v), v && "string" == typeof d[0] && eP.call(d, "index") && (w.index = d.index, w.input = d.input), s = w, !l) return rW(e, s) } else { var d, v, w, S, I, z, V = i_(e), B = V == m || V == g; if (oH(e)) return rz(e, l); if (V == x || V == f || B && !o) { if (s = u || B ? {} : ik(e), !l) return u ? (S = (z = s) && rq(e, ay(e), z), rq(e, iw(e), S)) : (I = nN(s, e), rq(e, ix(e), I)) } else { if (!eJ[V]) return o ? e : {}; s = function(e, t, n) { var r, i, o = e.constructor; switch (t) { case O: return rV(e); case h: case p: return new o(+e); case C: return r = n ? rV(e.buffer) : e.buffer, new e.constructor(r, e.byteOffset, e.byteLength); case A: case T: case M: case P: case N: case R: case D: case L: case F: return rB(e, n); case y: return new o; case b: case k: return new o(e); case _: return (i = new e.constructor(e.source, el.exec(e))).lastIndex = e.lastIndex, i; case E: return new o; case j: return nh ? eE(nh.call(e)) : {} } }(e, V, l) } } a || (a = new nk); var Z = a.get(e); if (Z) return Z; a.set(e, s), o2(e) ? e.forEach(function(r) { s.add(nF(r, t, n, r, e, a)) }) : oQ(e) && e.forEach(function(r, i) { s.set(i, nF(r, t, n, i, e, a)) }); var U = c ? i : (4 & t ? u ? id : ic : u ? ay : ag)(e); return tu(U || e, function(r, i) { U && (r = e[i = r]), nT(s, i, nF(r, t, n, i, e, a)) }), s } function nI(e, t, n) { var r = n.length; if (null == e) return !r; for (e = eE(e); r--;) { var o = n[r], a = t[o], s = e[o]; if (i === s && !(o in e) || !a(s)) return !1 } return !0 } function nz(e, t, n) { if ("function" != typeof e) throw new eS(o); return iF(function() { e.apply(i, n) }, t) } function nV(e, t, n, r) { var i = -1, o = th, a = !0, s = e.length, l = [], u = t.length; if (!s) return l; n && (t = tv(t, tN(n))), r ? (o = tp, a = !1) : t.length >= 200 && (o = tD, a = !1, t = new nE(t)); t: for (; ++i < s;) { var c = e[i], f = null == n ? c : n(c); if (c = r || 0 !== c ? c : 0, a && f == f) { for (var d = u; d--;)if (t[d] === f) continue t; l.push(c) } else o(t, f, r) || l.push(c) } return l } nv.templateSettings = { escape: W, evaluate: q, interpolate: $, variable: "", imports: { _: nv } }, nv.prototype = ng.prototype, nv.prototype.constructor = nv, ny.prototype = nm(ng.prototype), ny.prototype.constructor = ny, nb.prototype = nm(ng.prototype), nb.prototype.constructor = nb, nx.prototype.clear = function() { this.__data__ = ni ? ni(null) : {}, this.size = 0 }, nx.prototype.delete = function(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t }, nx.prototype.get = function(e) { var t = this.__data__; if (ni) { var n = t[e]; return n === a ? i : n } return eP.call(t, e) ? t[e] : i }, nx.prototype.has = function(e) { var t = this.__data__; return ni ? i !== t[e] : eP.call(t, e) }, nx.prototype.set = function(e, t) { var n = this.__data__; return this.size += this.has(e) ? 0 : 1, n[e] = ni && i === t ? a : t, this }, nw.prototype.clear = function() { this.__data__ = [], this.size = 0 }, nw.prototype.delete = function(e) { var t = this.__data__, n = nM(t, e); return !(n < 0) && (n == t.length - 1 ? t.pop() : e0.call(t, n, 1), --this.size, !0) }, nw.prototype.get = function(e) { var t = this.__data__, n = nM(t, e); return n < 0 ? i : t[n][1] }, nw.prototype.has = function(e) { return nM(this.__data__, e) > -1 }, nw.prototype.set = function(e, t) { var n = this.__data__, r = nM(n, e); return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this }, n_.prototype.clear = function() { this.size = 0, this.__data__ = { hash: new nx, map: new (ne || nw), string: new nx } }, n_.prototype.delete = function(e) { var t = ig(this, e).delete(e); return this.size -= t ? 1 : 0, t }, n_.prototype.get = function(e) { return ig(this, e).get(e) }, n_.prototype.has = function(e) { return ig(this, e).has(e) }, n_.prototype.set = function(e, t) { var n = ig(this, e), r = n.size; return n.set(e, t), this.size += n.size == r ? 0 : 1, this }, nE.prototype.add = nE.prototype.push = function(e) { return this.__data__.set(e, a), this }, nE.prototype.has = function(e) { return this.__data__.has(e) }, nk.prototype.clear = function() { this.__data__ = new nw, this.size = 0 }, nk.prototype.delete = function(e) { var t = this.__data__, n = t.delete(e); return this.size = t.size, n }, nk.prototype.get = function(e) { return this.__data__.get(e) }, nk.prototype.has = function(e) { return this.__data__.has(e) }, nk.prototype.set = function(e, t) { var n = this.__data__; if (n instanceof nw) { var r = n.__data__; if (!ne || r.length < 199) return r.push([e, t]), this.size = ++n.size, this; n = this.__data__ = new n_(r) } return n.set(e, t), this.size = n.size, this }; var nB = rG(nG), nZ = rG(nK, !0); function nU(e, t) { var n = !0; return nB(e, function(e, r, i) { return n = !!t(e, r, i) }), n } function nH(e, t, n) { for (var r = -1, o = e.length; ++r < o;) { var a = e[r], s = t(a); if (null != s && (i === l ? s == s && !o3(s) : n(s, l))) var l = s, u = a } return u } function nW(e, t) { var n = []; return nB(e, function(e, r, i) { t(e, r, i) && n.push(e) }), n } function nq(e, t, n, r, i) { var o = -1, a = e.length; for (n || (n = ij), i || (i = []); ++o < a;) { var s = e[o]; t > 0 && n(s) ? t > 1 ? nq(s, t - 1, n, r, i) : tm(i, s) : r || (i[i.length] = s) } return i } var n$ = rK(), nY = rK(!0); function nG(e, t) { return e && n$(e, t, ag) } function nK(e, t) { return e && nY(e, t, ag) } function nX(e, t) { return td(t, function(t) { return o$(e[t]) }) } function nQ(e, t) { t = rL(t, e); for (var n = 0, r = t.length; null != e && n < r;)e = e[iU(t[n++])]; return n && n == r ? e : i } function nJ(e, t, n) { var r = t(e); return oV(e) ? r : tm(r, n(e)) } function n0(e) { return null == e ? i === e ? "[object Undefined]" : "[object Null]" : e6 && e6 in eE(e) ? function(e) { var t = eP.call(e, e6), n = e[e6]; try { e[e6] = i; var r = !0 } catch (o) { } var a = eD.call(e); return r && (t ? e[e6] = n : delete e[e6]), a }(e) : eD.call(e) } function n1(e, t) { return e > t } function n2(e, t) { return null != e && eP.call(e, t) } function n4(e, t) { return null != e && t in eE(e) } function n3(e, t, n) { for (var r = n ? tp : th, o = e[0].length, a = e.length, s = a, l = ey(a), u = 1 / 0, c = []; s--;) { var f = e[s]; s && t && (f = tv(f, tN(t))), u = t3(f.length, u), l[s] = !n && (t || o >= 120 && f.length >= 120) ? new nE(s && f) : i } f = e[0]; var d = -1, h = l[0]; t: for (; ++d < o && c.length < u;) { var p = f[d], v = t ? t(p) : p; if (p = n || 0 !== p ? p : 0, !(h ? tD(h, v) : r(c, v, n))) { for (s = a; --s;) { var m = l[s]; if (!(m ? tD(m, v) : r(e[s], v, n))) continue t } h && h.push(v), c.push(p) } } return c } function n5(e, t, n) { t = rL(t, e); var r = null == (e = iR(e, t)) ? e : e[iU(i2(t))]; return null == r ? i : ts(r, e, n) } function n6(e) { return oX(e) && n0(e) == f } function n8(e, t, n, r, o) { return e === t || (null != e && null != t && (oX(e) || oX(t)) ? function(e, t, n, r, o, a) { var s = oV(e), l = oV(t), u = s ? d : i_(e), c = l ? d : i_(t); u = u == f ? x : u, c = c == f ? x : c; var m = u == x, g = c == x, w = u == c; if (w && oH(e)) { if (!oH(t)) return !1; s = !0, m = !1 } if (w && !m) return a || (a = new nk), s || o5(e) ? il(e, t, n, r, o, a) : function(e, t, n, r, i, o, a) { switch (n) { case C: if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) break; e = e.buffer, t = t.buffer; case O: if (e.byteLength != t.byteLength || !o(new eB(e), new eB(t))) break; return !0; case h: case p: case b: return oL(+e, +t); case v: return e.name == t.name && e.message == t.message; case _: case k: return e == t + ""; case y: var s = tZ; case E: var l = 1 & r; if (s || (s = tW), e.size != t.size && !l) break; var u = a.get(e); if (u) return u == t; r |= 2, a.set(e, t); var c = il(s(e), s(t), r, i, o, a); return a.delete(e), c; case j: if (nh) return nh.call(e) == nh.call(t) }return !1 }(e, t, u, n, r, o, a); if (!(1 & n)) { var S = m && eP.call(e, "__wrapped__"), A = g && eP.call(t, "__wrapped__"); if (S || A) { var T = S ? e.value() : e, M = A ? t.value() : t; return a || (a = new nk), o(T, M, n, r, a) } } return !!w && (a || (a = new nk), function(e, t, n, r, o, a) { var s = 1 & n, l = ic(e), u = l.length; if (u != ic(t).length && !s) return !1; for (var c = u; c--;) { var f = l[c]; if (!(s ? f in t : eP.call(t, f))) return !1 } var d = a.get(e), h = a.get(t); if (d && h) return d == t && h == e; var p = !0; a.set(e, t), a.set(t, e); for (var v = s; ++c < u;) { var m = e[f = l[c]], g = t[f]; if (r) var y = s ? r(g, m, f, t, e, a) : r(m, g, f, e, t, a); if (!(i === y ? m === g || o(m, g, n, r, a) : y)) { p = !1; break } v || (v = "constructor" == f) } if (p && !v) { var b = e.constructor, x = t.constructor; b != x && "constructor" in e && "constructor" in t && !("function" == typeof b && b instanceof b && "function" == typeof x && x instanceof x) && (p = !1) } return a.delete(e), a.delete(t), p }(e, t, n, r, o, a)) }(e, t, n, r, n8, o) : e != e && t != t) } function n7(e, t, n, r) { var o = n.length, a = o, s = !r; if (null == e) return !a; for (e = eE(e); o--;) { var l = n[o]; if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1 } for (; ++o < a;) { var u = (l = n[o])[0], c = e[u], f = l[1]; if (s && l[2]) { if (i === c && !(u in e)) return !1 } else { var d = new nk; if (r) var h = r(c, f, u, e, t, d); if (!(i === h ? n8(f, c, 3, r, d) : h)) return !1 } } return !0 } function n9(e) { return !(!oK(e) || eR && eR in e) && (o$(e) ? eI : ef).test(iH(e)) } function re(e) { return "function" == typeof e ? e : null == e ? aU : "object" == typeof e ? oV(e) ? ro(e[0], e[1]) : ri(e) : aQ(e) } function rt(e) { if (!iM(e)) return t2(e); var t = []; for (var n in eE(e)) eP.call(e, n) && "constructor" != n && t.push(n); return t } function rn(e, t) { return e < t } function rr(e, t) { var n = -1, r = oZ(e) ? ey(e.length) : []; return nB(e, function(e, i, o) { r[++n] = t(e, i, o) }), r } function ri(e) { var t = iy(e); return 1 == t.length && t[0][2] ? iP(t[0][0], t[0][1]) : function(n) { return n === e || n7(n, e, t) } } function ro(e, t) { var n; return iC(e) && (n = t) == n && !oK(n) ? iP(iU(e), t) : function(n) { var r = ad(n, e); return i === r && r === t ? ah(n, e) : n8(t, r, 3) } } function ra(e, t, n, r, o) { e !== t && n$(t, function(a, s) { if (o || (o = new nk), oK(a)) (function(e, t, n, r, o, a, s) { var l = iD(e, n), u = iD(t, n), c = s.get(u); if (c) { nA(e, n, c); return } var f = a ? a(l, u, n + "", e, t, s) : i, d = i === f; if (d) { var h = oV(u), p = !h && oH(u), v = !h && !p && o5(u); f = u, h || p || v ? oV(l) ? f = l : oU(l) ? f = rW(l) : p ? (d = !1, f = rz(u, !0)) : v ? (d = !1, f = rB(u, !0)) : f = [] : o0(u) || oz(u) ? (f = l, oz(l) ? f = ar(l) : (!oK(l) || o$(l)) && (f = ik(u))) : d = !1 } d && (s.set(u, f), o(f, u, r, a, s), s.delete(u)), nA(e, n, f) })(e, t, s, n, ra, r, o); else { var l = r ? r(iD(e, s), a, s + "", e, t, o) : i; i === l && (l = a), nA(e, s, l) } }, ay) } function rs(e, t) { var n = e.length; if (n) return iS(t += t < 0 ? n : 0, n) ? e[t] : i } function rl(e, t, n) { t = t.length ? tv(t, function(e) { return oV(e) ? function(t) { return nQ(t, 1 === e.length ? e[0] : e) } : e }) : [aU]; var r = -1; return t = tv(t, tN(im())), function(e, t) { var n = e.length; for (e.sort(t); n--;)e[n] = e[n].value; return e }(rr(e, function(e, n, i) { return { criteria: tv(t, function(t) { return t(e) }), index: ++r, value: e } }), function(e, t) { return function(e, t, n) { for (var r = -1, i = e.criteria, o = t.criteria, a = i.length, s = n.length; ++r < a;) { var l = rZ(i[r], o[r]); if (l) { if (r >= s) return l; return l * ("desc" == n[r] ? -1 : 1) } } return e.index - t.index }(e, t, n) }) } function ru(e, t, n) { for (var r = -1, i = t.length, o = {}; ++r < i;) { var a = t[r], s = nQ(e, a); n(s, a) && rg(o, rL(a, e), s) } return o } function rc(e, t, n, r) { var i = r ? tk : tE, o = -1, a = t.length, s = e; for (e === t && (t = rW(t)), n && (s = tv(e, tN(n))); ++o < a;)for (var l = 0, u = t[o], c = n ? n(u) : u; (l = i(s, c, l, r)) > -1;)s !== e && e0.call(s, l, 1), e0.call(e, l, 1); return e } function rf(e, t) { for (var n = e ? t.length : 0, r = n - 1; n--;) { var i = t[n]; if (n == r || i !== o) { var o = i; iS(i) ? e0.call(e, i, 1) : rC(e, i) } } return e } function rd(e, t) { return e + tX(t8() * (t - e + 1)) } function rh(e, t) { var n = ""; if (!e || t < 1 || t > 9007199254740991) return n; do t % 2 && (n += e), (t = tX(t / 2)) && (e += e); while (t); return n } function rp(e, t) { return iI(iN(e, t, aU), e + "") } function rv(e) { return nS(aS(e)) } function rm(e, t) { var n = aS(e); return iB(n, nL(t, 0, n.length)) } function rg(e, t, n, r) { if (!oK(e)) return e; t = rL(t, e); for (var o = -1, a = t.length, s = a - 1, l = e; null != l && ++o < a;) { var u = iU(t[o]), c = n; if ("__proto__" === u || "constructor" === u || "prototype" === u) break; if (o != s) { var f = l[u]; c = r ? r(f, u, l) : i, i === c && (c = oK(f) ? f : iS(t[o + 1]) ? [] : {}) } nT(l, u, c), l = l[u] } return e } var ry = no ? function(e, t) { return no.set(e, t), e } : aU; function rb(e) { return iB(aS(e)) } function rx(e, t, n) { var r = -1, i = e.length; t < 0 && (t = -t > i ? 0 : i + t), (n = n > i ? i : n) < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0; for (var o = ey(i); ++r < i;)o[r] = e[r + t]; return o } function rw(e, t) { var n; return nB(e, function(e, r, i) { return !(n = t(e, r, i)) }), !!n } function r_(e, t, n) { var r = 0, i = null == e ? r : e.length; if ("number" == typeof t && t == t && i <= 2147483647) { for (; r < i;) { var o = r + i >>> 1, a = e[o]; null !== a && !o3(a) && (n ? a <= t : a < t) ? r = o + 1 : i = o } return i } return rE(e, t, aU, n) } function rE(e, t, n, r) { var o = 0, a = null == e ? 0 : e.length; if (0 === a) return 0; for (var s = (t = n(t)) != t, l = null === t, u = o3(t), c = i === t; o < a;) { var f = tX((o + a) / 2), d = n(e[f]), h = i !== d, p = null === d, v = d == d, m = o3(d); if (s) var g = r || v; else g = c ? v && (r || h) : l ? v && h && (r || !p) : u ? v && h && !p && (r || !m) : !p && !m && (r ? d <= t : d < t); g ? o = f + 1 : a = f } return t3(a, 4294967294) } function rk(e, t) { for (var n = -1, r = e.length, i = 0, o = []; ++n < r;) { var a = e[n], s = t ? t(a) : a; if (!n || !oL(s, l)) { var l = s; o[i++] = 0 === a ? 0 : a } } return o } function rj(e) { return "number" == typeof e ? e : o3(e) ? u : +e } function rS(e) { if ("string" == typeof e) return e; if (oV(e)) return tv(e, rS) + ""; if (o3(e)) return np ? np.call(e) : ""; var t = e + ""; return "0" == t && 1 / e == -l ? "-0" : t } function rO(e, t, n) { var r = -1, i = th, o = e.length, a = !0, s = [], l = s; if (n) a = !1, i = tp; else if (o >= 200) { var u = t ? null : it(e); if (u) return tW(u); a = !1, i = tD, l = new nE } else l = t ? [] : s; t: for (; ++r < o;) { var c = e[r], f = t ? t(c) : c; if (c = n || 0 !== c ? c : 0, a && f == f) { for (var d = l.length; d--;)if (l[d] === f) continue t; t && l.push(f), s.push(c) } else i(l, f, n) || (l !== s && l.push(f), s.push(c)) } return s } function rC(e, t) { return t = rL(t, e), null == (e = iR(e, t)) || delete e[iU(i2(t))] } function rA(e, t, n, r) { return rg(e, t, n(nQ(e, t)), r) } function rT(e, t, n, r) { for (var i = e.length, o = r ? i : -1; (r ? o-- : ++o < i) && t(e[o], o, e);); return n ? rx(e, r ? 0 : o, r ? o + 1 : i) : rx(e, r ? o + 1 : 0, r ? i : o) } function rM(e, t) { var n = e; return n instanceof nb && (n = n.value()), tg(t, function(e, t) { return t.func.apply(t.thisArg, tm([e], t.args)) }, n) } function rP(e, t, n) { var r = e.length; if (r < 2) return r ? rO(e[0]) : []; for (var i = -1, o = ey(r); ++i < r;)for (var a = e[i], s = -1; ++s < r;)s != i && (o[i] = nV(o[i] || a, e[s], t, n)); return rO(nq(o, 1), t, n) } function rN(e, t, n) { for (var r = -1, o = e.length, a = t.length, s = {}; ++r < o;) { var l = r < a ? t[r] : i; n(s, e[r], l) } return s } function rR(e) { return oU(e) ? e : [] } function rD(e) { return "function" == typeof e ? e : aU } function rL(e, t) { return oV(e) ? e : iC(e, t) ? [e] : iZ(ai(e)) } function rF(e, t, n) { var r = e.length; return n = i === n ? r : n, !t && n >= r ? e : rx(e, t, n) } var rI = e9 || function(e) { return e5.clearTimeout(e) }; function rz(e, t) { if (t) return e.slice(); var n = e.length, r = eZ ? eZ(n) : new e.constructor(n); return e.copy(r), r } function rV(e) { var t = new e.constructor(e.byteLength); return new eB(t).set(new eB(e)), t } function rB(e, t) { var n = t ? rV(e.buffer) : e.buffer; return new e.constructor(n, e.byteOffset, e.length) } function rZ(e, t) { if (e !== t) { var n = i !== e, r = null === e, o = e == e, a = o3(e), s = i !== t, l = null === t, u = t == t, c = o3(t); if (!l && !c && !a && e > t || a && s && u && !l && !c || r && s && u || !n && u || !o) return 1; if (!r && !a && !c && e < t || c && n && o && !r && !a || l && n && o || !s && o || !u) return -1 } return 0 } function rU(e, t, n, r) { for (var i = -1, o = e.length, a = n.length, s = -1, l = t.length, u = t4(o - a, 0), c = ey(l + u), f = !r; ++s < l;)c[s] = t[s]; for (; ++i < a;)(f || i < o) && (c[n[i]] = e[i]); for (; u--;)c[s++] = e[i++]; return c } function rH(e, t, n, r) { for (var i = -1, o = e.length, a = -1, s = n.length, l = -1, u = t.length, c = t4(o - s, 0), f = ey(c + u), d = !r; ++i < c;)f[i] = e[i]; for (var h = i; ++l < u;)f[h + l] = t[l]; for (; ++a < s;)(d || i < o) && (f[h + n[a]] = e[i++]); return f } function rW(e, t) { var n = -1, r = e.length; for (t || (t = ey(r)); ++n < r;)t[n] = e[n]; return t } function rq(e, t, n, r) { var o = !n; n || (n = {}); for (var a = -1, s = t.length; ++a < s;) { var l = t[a], u = r ? r(n[l], e[l], l, n, e) : i; i === u && (u = e[l]), o ? nR(n, l, u) : nT(n, l, u) } return n } function r$(e, t) { return function(n, r) { var i = oV(n) ? tl : nP, o = t ? t() : {}; return i(n, e, im(r, 2), o) } } function rY(e) { return rp(function(t, n) { var r = -1, o = n.length, a = o > 1 ? n[o - 1] : i, s = o > 2 ? n[2] : i; for (a = e.length > 3 && "function" == typeof a ? (o--, a) : i, s && iO(n[0], n[1], s) && (a = o < 3 ? i : a, o = 1), t = eE(t); ++r < o;) { var l = n[r]; l && e(t, l, r, a) } return t }) } function rG(e, t) { return function(n, r) { if (null == n) return n; if (!oZ(n)) return e(n, r); for (var i = n.length, o = t ? i : -1, a = eE(n); (t ? o-- : ++o < i) && !1 !== r(a[o], o, a);); return n } } function rK(e) { return function(t, n, r) { for (var i = -1, o = eE(t), a = r(t), s = a.length; s--;) { var l = a[e ? s : ++i]; if (!1 === n(o[l], l, o)) break } return t } } function rX(e) { return function(t) { var n = tB(t = ai(t)) ? t$(t) : i, r = n ? n[0] : t.charAt(0), o = n ? rF(n, 1).join("") : t.slice(1); return r[e]() + o } } function rQ(e) { return function(t) { return tg(aF(aA(t).replace(eH, "")), e, "") } } function rJ(e) { return function() { var t = arguments; switch (t.length) { case 0: return new e; case 1: return new e(t[0]); case 2: return new e(t[0], t[1]); case 3: return new e(t[0], t[1], t[2]); case 4: return new e(t[0], t[1], t[2], t[3]); case 5: return new e(t[0], t[1], t[2], t[3], t[4]); case 6: return new e(t[0], t[1], t[2], t[3], t[4], t[5]); case 7: return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]) }var n = nm(e.prototype), r = e.apply(n, t); return oK(r) ? r : n } } function r0(e) { return function(t, n, r) { var o = eE(t); if (!oZ(t)) { var a = im(n, 3); t = ag(t), n = function(e) { return a(o[e], e, o) } } var s = e(t, n, r); return s > -1 ? o[a ? t[s] : s] : i } } function r1(e) { return iu(function(t) { var n = t.length, r = n, a = ny.prototype.thru; for (e && t.reverse(); r--;) { var s = t[r]; if ("function" != typeof s) throw new eS(o); if (a && !l && "wrapper" == ip(s)) var l = new ny([], !0) } for (r = l ? r : n; ++r < n;) { var u = ip(s = t[r]), c = "wrapper" == u ? ih(s) : i; l = c && iA(c[0]) && 424 == c[1] && !c[4].length && 1 == c[9] ? l[ip(c[0])].apply(l, c[3]) : 1 == s.length && iA(s) ? l[u]() : l.thru(s) } return function() { var e = arguments, r = e[0]; if (l && 1 == e.length && oV(r)) return l.plant(r).value(); for (var i = 0, o = n ? t[i].apply(this, e) : r; ++i < n;)o = t[i].call(this, o); return o } }) } function r2(e, t, n, r, o, a, s, l, u, c) { var f = 128 & t, d = 1 & t, h = 2 & t, p = 24 & t, v = 512 & t, m = h ? i : rJ(e); return function g() { for (var y = arguments.length, b = ey(y), x = y; x--;)b[x] = arguments[x]; if (p) var w = iv(g), _ = function(e, t) { for (var n = e.length, r = 0; n--;)e[n] === t && ++r; return r }(b, w); if (r && (b = rU(b, r, o, p)), a && (b = rH(b, a, s, p)), y -= _, p && y < c) { var E = tH(b, w); return r9(e, t, r2, g.placeholder, n, b, E, l, u, c - y) } var k = d ? n : this, j = h ? k[e] : e; return y = b.length, l ? b = function(e, t) { for (var n = e.length, r = t3(t.length, n), o = rW(e); r--;) { var a = t[r]; e[r] = iS(a, n) ? o[a] : i } return e }(b, l) : v && y > 1 && b.reverse(), f && u < y && (b.length = u), this && this !== e5 && this instanceof g && (j = m || rJ(j)), j.apply(k, b) } } function r4(e, t) { return function(n, r) { var i, o; return i = t(r), o = {}, nG(n, function(t, n, r) { e(o, i(t), n, r) }), o } } function r3(e, t) { return function(n, r) { var o; if (i === n && i === r) return t; if (i !== n && (o = n), i !== r) { if (i === o) return r; "string" == typeof n || "string" == typeof r ? (n = rS(n), r = rS(r)) : (n = rj(n), r = rj(r)), o = e(n, r) } return o } } function r5(e) { return iu(function(t) { return t = tv(t, tN(im())), rp(function(n) { var r = this; return e(t, function(e) { return ts(e, r, n) }) }) }) } function r6(e, t) { var n = (t = i === t ? " " : rS(t)).length; if (n < 2) return n ? rh(t, e) : t; var r = rh(t, tC(e / tq(t))); return tB(t) ? rF(t$(r), 0, e).join("") : r.slice(0, e) } function r8(e) { return function(t, n, r) { return r && "number" != typeof r && iO(t, n, r) && (n = r = i), t = o9(t), i === n ? (n = t, t = 0) : n = o9(n), r = i === r ? t < n ? 1 : -1 : o9(r), function(e, t, n, r) { for (var i = -1, o = t4(tC((t - e) / (n || 1)), 0), a = ey(o); o--;)a[r ? o : ++i] = e, e += n; return a }(t, n, r, e) } } function r7(e) { return function(t, n) { return "string" == typeof t && "string" == typeof n || (t = an(t), n = an(n)), e(t, n) } } function r9(e, t, n, r, o, a, s, l, u, c) { var f = 8 & t; t |= f ? 32 : 64, 4 & (t &= ~(f ? 64 : 32)) || (t &= -4); var d = [e, t, o, f ? a : i, f ? s : i, f ? i : a, f ? i : s, l, u, c], h = n.apply(i, d); return iA(e) && iL(h, d), h.placeholder = r, iz(h, e, t) } function ie(e) { var t = e_[e]; return function(e, n) { if (e = an(e), (n = null == n ? 0 : t3(ae(n), 292)) && t0(e)) { var r = (ai(e) + "e").split("e"); return +((r = (ai(t(r[0] + "e" + (+r[1] + n))) + "e").split("e"))[0] + "e" + (+r[1] - n)) } return t(e) } } var it = nn && 1 / tW(new nn([, -0]))[1] == l ? function(e) { return new nn(e) } : aY; function ir(e) { return function(t) { var n, r, i = i_(t); return i == y ? tZ(t) : i == E ? (n = -1, r = Array(t.size), t.forEach(function(e) { r[++n] = [e, e] }), r) : tv(e(t), function(e) { return [e, t[e]] }) } } function ii(e, t, n, r, a, l, u, c) { var f = 2 & t; if (!f && "function" != typeof e) throw new eS(o); var d = r ? r.length : 0; if (d || (t &= -97, r = a = i), u = i === u ? u : t4(ae(u), 0), c = i === c ? c : ae(c), d -= a ? a.length : 0, 64 & t) { var h = r, p = a; r = a = i } var v = f ? i : ih(e), m = [e, t, n, r, a, h, p, l, u, c]; if (v && function(e, t) { var n = e[1], r = t[1], i = n | r, o = i < 131, a = 128 == r && 8 == n || 128 == r && 256 == n && e[7].length <= t[8] || 384 == r && t[7].length <= t[8] && 8 == n; if (o || a) { 1 & r && (e[2] = t[2], i |= 1 & n ? 0 : 4); var l = t[3]; if (l) { var u = e[3]; e[3] = u ? rU(u, l, t[4]) : l, e[4] = u ? tH(e[3], s) : t[4] } (l = t[5]) && (u = e[5], e[5] = u ? rH(u, l, t[6]) : l, e[6] = u ? tH(e[5], s) : t[6]), (l = t[7]) && (e[7] = l), 128 & r && (e[8] = null == e[8] ? t[8] : t3(e[8], t[8])), null == e[9] && (e[9] = t[9]), e[0] = t[0], e[1] = i } }(m, v), e = m[0], t = m[1], n = m[2], r = m[3], a = m[4], (c = m[9] = i === m[9] ? f ? 0 : e.length : t4(m[9] - d, 0)) || !(24 & t) || (t &= -25), t && 1 != t) 8 == t || 16 == t ? (g = e, y = t, b = c, x = rJ(g), P = function e() { for (var t = arguments.length, n = ey(t), r = t, o = iv(e); r--;)n[r] = arguments[r]; var a = t < 3 && n[0] !== o && n[t - 1] !== o ? [] : tH(n, o); return (t -= a.length) < b ? r9(g, y, r2, e.placeholder, i, n, a, i, i, b - t) : ts(this && this !== e5 && this instanceof e ? x : g, this, n) }) : 32 != t && 33 != t || a.length ? P = r2.apply(i, m) : (w = e, _ = t, E = n, k = r, j = 1 & _, S = rJ(w), P = function e() { for (var t = -1, n = arguments.length, r = -1, i = k.length, o = ey(i + n), a = this && this !== e5 && this instanceof e ? S : w; ++r < i;)o[r] = k[r]; for (; n--;)o[r++] = arguments[++t]; return ts(a, j ? E : this, o) }); else var g, y, b, x, w, _, E, k, j, S, O, C, A, T, M, P = (O = e, C = t, A = n, T = 1 & C, M = rJ(O), function e() { return (this && this !== e5 && this instanceof e ? M : O).apply(T ? A : this, arguments) }); return iz((v ? ry : iL)(P, m), e, t) } function io(e, t, n, r) { return i === e || oL(e, eA[n]) && !eP.call(r, n) ? t : e } function ia(e, t, n, r, o, a) { return oK(e) && oK(t) && (a.set(t, e), ra(e, t, i, ia, a), a.delete(t)), e } function is(e) { return o0(e) ? i : e } function il(e, t, n, r, o, a) { var s = 1 & n, l = e.length, u = t.length; if (l != u && !(s && u > l)) return !1; var c = a.get(e), f = a.get(t); if (c && f) return c == t && f == e; var d = -1, h = !0, p = 2 & n ? new nE : i; for (a.set(e, t), a.set(t, e); ++d < l;) { var v = e[d], m = t[d]; if (r) var g = s ? r(m, v, d, t, e, a) : r(v, m, d, e, t, a); if (i !== g) { if (g) continue; h = !1; break } if (p) { if (!tb(t, function(e, t) { if (!tD(p, t) && (v === e || o(v, e, n, r, a))) return p.push(t) })) { h = !1; break } } else if (!(v === m || o(v, m, n, r, a))) { h = !1; break } } return a.delete(e), a.delete(t), h } function iu(e) { return iI(iN(e, i, iX), e + "") } function ic(e) { return nJ(e, ag, ix) } function id(e) { return nJ(e, ay, iw) } var ih = no ? function(e) { return no.get(e) } : aY; function ip(e) { for (var t = e.name + "", n = na[t], r = eP.call(na, t) ? n.length : 0; r--;) { var i = n[r], o = i.func; if (null == o || o == e) return i.name } return t } function iv(e) { return (eP.call(nv, "placeholder") ? nv : e).placeholder } function im() { var e = nv.iteratee || aH; return e = e === aH ? re : e, arguments.length ? e(arguments[0], arguments[1]) : e } function ig(e, t) { var n, r = e.__data__; return ("string" == (n = typeof t) || "number" == n || "symbol" == n || "boolean" == n ? "__proto__" !== t : null === t) ? r["string" == typeof t ? "string" : "hash"] : r.map } function iy(e) { for (var t = ag(e), n = t.length; n--;) { var r = t[n], i = e[r]; t[n] = [r, i, i == i && !oK(i)] } return t } function ib(e, t) { var n = null == e ? i : e[t]; return n9(n) ? n : i } var ix = tQ ? function(e) { return null == e ? [] : td(tQ(e = eE(e)), function(t) { return eY.call(e, t) }) } : a1, iw = tQ ? function(e) { for (var t = []; e;)tm(t, ix(e)), e = eU(e); return t } : a1, i_ = n0; function iE(e, t, n) { t = rL(t, e); for (var r = -1, i = t.length, o = !1; ++r < i;) { var a = iU(t[r]); if (!(o = null != e && n(e, a))) break; e = e[a] } return o || ++r != i ? o : !!(i = null == e ? 0 : e.length) && oG(i) && iS(a, i) && (oV(e) || oz(e)) } function ik(e) { return "function" != typeof e.constructor || iM(e) ? {} : nm(eU(e)) } function ij(e) { return oV(e) || oz(e) || !!(e4 && e && e[e4]) } function iS(e, t) { var n = typeof e; return !!(t = null == t ? 9007199254740991 : t) && ("number" == n || "symbol" != n && eh.test(e)) && e > -1 && e % 1 == 0 && e < t } function iO(e, t, n) { if (!oK(n)) return !1; var r = typeof t; return ("number" == r ? !!(oZ(n) && iS(t, n.length)) : "string" == r && t in n) && oL(n[t], e) } function iC(e, t) { if (oV(e)) return !1; var n = typeof e; return !!("number" == n || "symbol" == n || "boolean" == n || null == e || o3(e)) || G.test(e) || !Y.test(e) || null != t && e in eE(t) } function iA(e) { var t = ip(e), n = nv[t]; if ("function" != typeof n || !(t in nb.prototype)) return !1; if (e === n) return !0; var r = ih(n); return !!r && e === r[0] } (t9 && i_(new t9(new ArrayBuffer(1))) != C || ne && i_(new ne) != y || nt && i_(nt.resolve()) != w || nn && i_(new nn) != E || nr && i_(new nr) != S) && (i_ = function(e) { var t = n0(e), n = t == x ? e.constructor : i, r = n ? iH(n) : ""; if (r) switch (r) { case ns: return C; case nl: return y; case nu: return w; case nc: return E; case nf: return S }return t }); var iT = eT ? o$ : a2; function iM(e) { var t = e && e.constructor, n = "function" == typeof t && t.prototype || eA; return e === n } function iP(e, t) { return function(n) { return null != n && n[e] === t && (i !== t || e in eE(n)) } } function iN(e, t, n) { return t = t4(i === t ? e.length - 1 : t, 0), function() { for (var r = arguments, i = -1, o = t4(r.length - t, 0), a = ey(o); ++i < o;)a[i] = r[t + i]; i = -1; for (var s = ey(t + 1); ++i < t;)s[i] = r[i]; return s[t] = n(a), ts(e, this, s) } } function iR(e, t) { return t.length < 2 ? e : nQ(e, rx(t, 0, -1)) } function iD(e, t) { if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t] } var iL = iV(ry), iF = tx || function(e, t) { return e5.setTimeout(e, t) }, iI = iV(e8 ? function(e, t) { return e8(e, "toString", { configurable: !0, enumerable: !1, value: aV(t), writable: !0 }) } : aU); function iz(e, t, n) { var r, i, o = t + ""; return iI(e, function(e, t) { var n = t.length; if (!n) return e; var r = n - 1; return t[r] = (n > 1 ? "& " : "") + t[r], t = t.join(n > 2 ? ", " : " "), e.replace(et, "{\n/* [wrapped with " + t + "] */\n") }(o, (r = (i = o.match(en)) ? i[1].split(er) : [], tu(c, function(e) { var t = "_." + e[0]; n & e[1] && !th(r, t) && r.push(t) }), r.sort()))) } function iV(e) { var t = 0, n = 0; return function() { var r = t5(), o = 16 - (r - n); if (n = r, o > 0) { if (++t >= 800) return arguments[0] } else t = 0; return e.apply(i, arguments) } } function iB(e, t) { var n = -1, r = e.length, o = r - 1; for (t = i === t ? r : t; ++n < t;) { var a = rd(n, o), s = e[a]; e[a] = e[n], e[n] = s } return e.length = t, e } var iZ = (ee = (r = oT(function(e) { var t = []; return 46 === e.charCodeAt(0) && t.push(""), e.replace(K, function(e, n, r, i) { t.push(r ? i.replace(ea, "$1") : n || e) }), t }, function(e) { return 500 === ee.size && ee.clear(), e })).cache, r); function iU(e) { if ("string" == typeof e || o3(e)) return e; var t = e + ""; return "0" == t && 1 / e == -l ? "-0" : t } function iH(e) { if (null != e) { try { return eM.call(e) } catch (t) { } try { return e + "" } catch (n) { } } return "" } function iW(e) { if (e instanceof nb) return e.clone(); var t = new ny(e.__wrapped__, e.__chain__); return t.__actions__ = rW(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t } var iq = rp(function(e, t) { return oU(e) ? nV(e, nq(t, 1, oU, !0)) : [] }), i$ = rp(function(e, t) { var n = i2(t); return oU(n) && (n = i), oU(e) ? nV(e, nq(t, 1, oU, !0), im(n, 2)) : [] }), iY = rp(function(e, t) { var n = i2(t); return oU(n) && (n = i), oU(e) ? nV(e, nq(t, 1, oU, !0), i, n) : [] }); function iG(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var i = null == n ? 0 : ae(n); return i < 0 && (i = t4(r + i, 0)), t_(e, im(t, 3), i) } function iK(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var o = r - 1; return i !== n && (o = ae(n), o = n < 0 ? t4(r + o, 0) : t3(o, r - 1)), t_(e, im(t, 3), o, !0) } function iX(e) { return (null == e ? 0 : e.length) ? nq(e, 1) : [] } function iQ(e) { return e && e.length ? e[0] : i } var iJ = rp(function(e) { var t = tv(e, rR); return t.length && t[0] === e[0] ? n3(t) : [] }), i0 = rp(function(e) { var t = i2(e), n = tv(e, rR); return t === i2(n) ? t = i : n.pop(), n.length && n[0] === e[0] ? n3(n, im(t, 2)) : [] }), i1 = rp(function(e) { var t = i2(e), n = tv(e, rR); return (t = "function" == typeof t ? t : i) && n.pop(), n.length && n[0] === e[0] ? n3(n, i, t) : [] }); function i2(e) { var t = null == e ? 0 : e.length; return t ? e[t - 1] : i } var i4 = rp(i3); function i3(e, t) { return e && e.length && t && t.length ? rc(e, t) : e } var i5 = iu(function(e, t) { var n = null == e ? 0 : e.length, r = nD(e, t); return rf(e, tv(t, function(e) { return iS(e, n) ? +e : e }).sort(rZ)), r }); function i6(e) { return null == e ? e : t7.call(e) } var i8 = rp(function(e) { return rO(nq(e, 1, oU, !0)) }), i7 = rp(function(e) { var t = i2(e); return oU(t) && (t = i), rO(nq(e, 1, oU, !0), im(t, 2)) }), i9 = rp(function(e) { var t = i2(e); return t = "function" == typeof t ? t : i, rO(nq(e, 1, oU, !0), i, t) }); function oe(e) { if (!(e && e.length)) return []; var t = 0; return e = td(e, function(e) { if (oU(e)) return t = t4(e.length, t), !0 }), tM(t, function(t) { return tv(e, tO(t)) }) } function ot(e, t) { if (!(e && e.length)) return []; var n = oe(e); return null == t ? n : tv(n, function(e) { return ts(t, i, e) }) } var on = rp(function(e, t) { return oU(e) ? nV(e, t) : [] }), or = rp(function(e) { return rP(td(e, oU)) }), oi = rp(function(e) { var t = i2(e); return oU(t) && (t = i), rP(td(e, oU), im(t, 2)) }), oo = rp(function(e) { var t = i2(e); return t = "function" == typeof t ? t : i, rP(td(e, oU), i, t) }), oa = rp(oe), os = rp(function(e) { var t = e.length, n = t > 1 ? e[t - 1] : i; return n = "function" == typeof n ? (e.pop(), n) : i, ot(e, n) }); function ol(e) { var t = nv(e); return t.__chain__ = !0, t } function ou(e, t) { return t(e) } var oc = iu(function(e) { var t = e.length, n = t ? e[0] : 0, r = this.__wrapped__, o = function(t) { return nD(t, e) }; return !(t > 1) && !this.__actions__.length && r instanceof nb && iS(n) ? ((r = r.slice(n, +n + (t ? 1 : 0))).__actions__.push({ func: ou, args: [o], thisArg: i }), new ny(r, this.__chain__).thru(function(e) { return t && !e.length && e.push(i), e })) : this.thru(o) }), of = r$(function(e, t, n) { eP.call(e, n) ? ++e[n] : nR(e, n, 1) }), od = r0(iG), oh = r0(iK); function op(e, t) { return (oV(e) ? tu : nB)(e, im(t, 3)) } function ov(e, t) { return (oV(e) ? tc : nZ)(e, im(t, 3)) } var om = r$(function(e, t, n) { eP.call(e, n) ? e[n].push(t) : nR(e, n, [t]) }), og = rp(function(e, t, n) { var r = -1, i = "function" == typeof t, o = oZ(e) ? ey(e.length) : []; return nB(e, function(e) { o[++r] = i ? ts(t, e, n) : n5(e, t, n) }), o }), oy = r$(function(e, t, n) { nR(e, n, t) }); function ob(e, t) { return (oV(e) ? tv : rr)(e, im(t, 3)) } var ox = r$(function(e, t, n) { e[n ? 0 : 1].push(t) }, function() { return [[], []] }), ow = rp(function(e, t) { if (null == e) return []; var n = t.length; return n > 1 && iO(e, t[0], t[1]) ? t = [] : n > 2 && iO(t[0], t[1], t[2]) && (t = [t[0]]), rl(e, nq(t, 1), []) }), o_ = te || function() { return e5.Date.now() }; function oE(e, t, n) { return t = n ? i : t, t = e && null == t ? e.length : t, ii(e, 128, i, i, i, i, t) } function ok(e, t) { var n; if ("function" != typeof t) throw new eS(o); return e = ae(e), function() { return --e > 0 && (n = t.apply(this, arguments)), e <= 1 && (t = i), n } } var oj = rp(function(e, t, n) { var r = 1; if (n.length) { var i = tH(n, iv(oj)); r |= 32 } return ii(e, r, t, n, i) }), oS = rp(function(e, t, n) { var r = 3; if (n.length) { var i = tH(n, iv(oS)); r |= 32 } return ii(t, r, e, n, i) }); function oO(e, t, n) { var r, a, s, l, u, c, f = 0, d = !1, h = !1, p = !0; if ("function" != typeof e) throw new eS(o); function v(t) { var n = r, o = a; return r = a = i, f = t, l = e.apply(o, n) } function m(e) { var n = e - c, r = e - f; return i === c || n >= t || n < 0 || h && r >= s } function g() { var e, n, r, i = o_(); if (m(i)) return y(i); u = iF(g, (e = i - c, n = i - f, r = t - e, h ? t3(r, s - n) : r)) } function y(e) { return (u = i, p && r) ? v(e) : (r = a = i, l) } function b() { var e, n = o_(), o = m(n); if (r = arguments, a = this, c = n, o) { if (i === u) return f = e = c, u = iF(g, t), d ? v(e) : l; if (h) return rI(u), u = iF(g, t), v(c) } return i === u && (u = iF(g, t)), l } return t = an(t) || 0, oK(n) && (d = !!n.leading, s = (h = "maxWait" in n) ? t4(an(n.maxWait) || 0, t) : s, p = "trailing" in n ? !!n.trailing : p), b.cancel = function() { i !== u && rI(u), f = 0, r = c = a = u = i }, b.flush = function() { return i === u ? l : y(o_()) }, b } var oC = rp(function(e, t) { return nz(e, 1, t) }), oA = rp(function(e, t, n) { return nz(e, an(t) || 0, n) }); function oT(e, t) { if ("function" != typeof e || null != t && "function" != typeof t) throw new eS(o); var n = function() { var r = arguments, i = t ? t.apply(this, r) : r[0], o = n.cache; if (o.has(i)) return o.get(i); var a = e.apply(this, r); return n.cache = o.set(i, a) || o, a }; return n.cache = new (oT.Cache || n_), n } function oM(e) { if ("function" != typeof e) throw new eS(o); return function() { var t = arguments; switch (t.length) { case 0: return !e.call(this); case 1: return !e.call(this, t[0]); case 2: return !e.call(this, t[0], t[1]); case 3: return !e.call(this, t[0], t[1], t[2]) }return !e.apply(this, t) } } oT.Cache = n_; var oP = rp(function(e, t) { var n = (t = 1 == t.length && oV(t[0]) ? tv(t[0], tN(im())) : tv(nq(t, 1), tN(im()))).length; return rp(function(r) { for (var i = -1, o = t3(r.length, n); ++i < o;)r[i] = t[i].call(this, r[i]); return ts(e, this, r) }) }), oN = rp(function(e, t) { var n = tH(t, iv(oN)); return ii(e, 32, i, t, n) }), oR = rp(function(e, t) { var n = tH(t, iv(oR)); return ii(e, 64, i, t, n) }), oD = iu(function(e, t) { return ii(e, 256, i, i, i, t) }); function oL(e, t) { return e === t || e != e && t != t } var oF = r7(n1), oI = r7(function(e, t) { return e >= t }), oz = n6(function() { return arguments }()) ? n6 : function(e) { return oX(e) && eP.call(e, "callee") && !eY.call(e, "callee") }, oV = ey.isArray, oB = tt ? tN(tt) : function(e) { return oX(e) && n0(e) == O }; function oZ(e) { return null != e && oG(e.length) && !o$(e) } function oU(e) { return oX(e) && oZ(e) } var oH = tJ || a2, oW = tn ? tN(tn) : function(e) { return oX(e) && n0(e) == p }; function oq(e) { if (!oX(e)) return !1; var t = n0(e); return t == v || "[object DOMException]" == t || "string" == typeof e.message && "string" == typeof e.name && !o0(e) } function o$(e) { if (!oK(e)) return !1; var t = n0(e); return t == m || t == g || "[object AsyncFunction]" == t || "[object Proxy]" == t } function oY(e) { return "number" == typeof e && e == ae(e) } function oG(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 } function oK(e) { var t = typeof e; return null != e && ("object" == t || "function" == t) } function oX(e) { return null != e && "object" == typeof e } var oQ = tr ? tN(tr) : function(e) { return oX(e) && i_(e) == y }; function oJ(e) { return "number" == typeof e || oX(e) && n0(e) == b } function o0(e) { if (!oX(e) || n0(e) != x) return !1; var t = eU(e); if (null === t) return !0; var n = eP.call(t, "constructor") && t.constructor; return "function" == typeof n && n instanceof n && eM.call(n) == eL } var o1 = ti ? tN(ti) : function(e) { return oX(e) && n0(e) == _ }, o2 = to ? tN(to) : function(e) { return oX(e) && i_(e) == E }; function o4(e) { return "string" == typeof e || !oV(e) && oX(e) && n0(e) == k } function o3(e) { return "symbol" == typeof e || oX(e) && n0(e) == j } var o5 = ta ? tN(ta) : function(e) { return oX(e) && oG(e.length) && !!eQ[n0(e)] }, o6 = r7(rn), o8 = r7(function(e, t) { return e <= t }); function o7(e) { if (!e) return []; if (oZ(e)) return o4(e) ? t$(e) : rW(e); if (e3 && e[e3]) return function(e) { for (var t, n = []; !(t = e.next()).done;)n.push(t.value); return n }(e[e3]()); var t = i_(e); return (t == y ? tZ : t == E ? tW : aS)(e) } function o9(e) { return e ? (e = an(e)) === l || e === -l ? (e < 0 ? -1 : 1) * 17976931348623157e292 : e == e ? e : 0 : 0 === e ? e : 0 } function ae(e) { var t = o9(e), n = t % 1; return t == t ? n ? t - n : t : 0 } function at(e) { return e ? nL(ae(e), 0, 4294967295) : 0 } function an(e) { if ("number" == typeof e) return e; if (o3(e)) return u; if (oK(e)) { var t = "function" == typeof e.valueOf ? e.valueOf() : e; e = oK(t) ? t + "" : t } if ("string" != typeof e) return 0 === e ? e : +e; e = tP(e); var n = ec.test(e); return n || ed.test(e) ? e2(e.slice(2), n ? 2 : 8) : eu.test(e) ? u : +e } function ar(e) { return rq(e, ay(e)) } function ai(e) { return null == e ? "" : rS(e) } var ao = rY(function(e, t) { if (iM(t) || oZ(t)) { rq(t, ag(t), e); return } for (var n in t) eP.call(t, n) && nT(e, n, t[n]) }), aa = rY(function(e, t) { rq(t, ay(t), e) }), as = rY(function(e, t, n, r) { rq(t, ay(t), e, r) }), al = rY(function(e, t, n, r) { rq(t, ag(t), e, r) }), au = iu(nD), ac = rp(function(e, t) { e = eE(e); var n = -1, r = t.length, o = r > 2 ? t[2] : i; for (o && iO(t[0], t[1], o) && (r = 1); ++n < r;)for (var a = t[n], s = ay(a), l = -1, u = s.length; ++l < u;) { var c = s[l], f = e[c]; (i === f || oL(f, eA[c]) && !eP.call(e, c)) && (e[c] = a[c]) } return e }), af = rp(function(e) { return e.push(i, ia), ts(ax, i, e) }); function ad(e, t, n) { var r = null == e ? i : nQ(e, t); return i === r ? n : r } function ah(e, t) { return null != e && iE(e, t, n4) } var ap = r4(function(e, t, n) { null != t && "function" != typeof t.toString && (t = eD.call(t)), e[t] = n }, aV(aU)), av = r4(function(e, t, n) { null != t && "function" != typeof t.toString && (t = eD.call(t)), eP.call(e, t) ? e[t].push(n) : e[t] = [n] }, im), am = rp(n5); function ag(e) { return oZ(e) ? nj(e) : rt(e) } function ay(e) { return oZ(e) ? nj(e, !0) : function(e) { if (!oK(e)) return function(e) { var t = []; if (null != e) for (var n in eE(e)) t.push(n); return t }(e); var t = iM(e), n = []; for (var r in e) "constructor" == r && (t || !eP.call(e, r)) || n.push(r); return n }(e) } var ab = rY(function(e, t, n) { ra(e, t, n) }), ax = rY(function(e, t, n, r) { ra(e, t, n, r) }), aw = iu(function(e, t) { var n = {}; if (null == e) return n; var r = !1; t = tv(t, function(t) { return t = rL(t, e), r || (r = t.length > 1), t }), rq(e, id(e), n), r && (n = nF(n, 7, is)); for (var i = t.length; i--;)rC(n, t[i]); return n }), a_ = iu(function(e, t) { return null == e ? {} : ru(e, t, function(t, n) { return ah(e, n) }) }); function aE(e, t) { if (null == e) return {}; var n = tv(id(e), function(e) { return [e] }); return t = im(t), ru(e, n, function(e, n) { return t(e, n[0]) }) } var ak = ir(ag), aj = ir(ay); function aS(e) { return null == e ? [] : tR(e, ag(e)) } var aO = rQ(function(e, t, n) { return t = t.toLowerCase(), e + (n ? aC(t) : t) }); function aC(e) { return aL(ai(e).toLowerCase()) } function aA(e) { return (e = ai(e)) && e.replace(ep, tI).replace(eW, "") } var aT = rQ(function(e, t, n) { return e + (n ? "-" : "") + t.toLowerCase() }), aM = rQ(function(e, t, n) { return e + (n ? " " : "") + t.toLowerCase() }), aP = rX("toLowerCase"), aN = rQ(function(e, t, n) { return e + (n ? "_" : "") + t.toLowerCase() }), aR = rQ(function(e, t, n) { return e + (n ? " " : "") + aL(t) }), aD = rQ(function(e, t, n) { return e + (n ? " " : "") + t.toUpperCase() }), aL = rX("toUpperCase"); function aF(e, t, n) { if (e = ai(e), t = n ? i : t, i === t) { var r; return (r = e, eG.test(r)) ? e.match(e$) || [] : e.match(ei) || [] } return e.match(t) || [] } var aI = rp(function(e, t) { try { return ts(e, i, t) } catch (n) { return oq(n) ? n : new ex(n) } }), az = iu(function(e, t) { return tu(t, function(t) { nR(e, t = iU(t), oj(e[t], e)) }), e }); function aV(e) { return function() { return e } } var aB = r1(), aZ = r1(!0); function aU(e) { return e } function aH(e) { return re("function" == typeof e ? e : nF(e, 1)) } var aW = rp(function(e, t) { return function(n) { return n5(n, e, t) } }), aq = rp(function(e, t) { return function(n) { return n5(e, n, t) } }); function a$(e, t, n) { var r = ag(t), i = nX(t, r); null != n || oK(t) && (i.length || !r.length) || (n = t, t = e, e = this, i = nX(t, ag(t))); var o = !(oK(n) && "chain" in n) || !!n.chain, a = o$(e); return tu(i, function(n) { var r = t[n]; e[n] = r, a && (e.prototype[n] = function() { var t = this.__chain__; if (o || t) { var n = e(this.__wrapped__); return (n.__actions__ = rW(this.__actions__)).push({ func: r, args: arguments, thisArg: e }), n.__chain__ = t, n } return r.apply(e, tm([this.value()], arguments)) }) }), e } function aY() { } var aG = r5(tv), aK = r5(tf), aX = r5(tb); function aQ(e) { return iC(e) ? tO(iU(e)) : function(t) { return nQ(t, e) } } var aJ = r8(), a0 = r8(!0); function a1() { return [] } function a2() { return !1 } var a4 = r3(function(e, t) { return e + t }, 0), a3 = ie("ceil"), a5 = r3(function(e, t) { return e / t }, 1), a6 = ie("floor"), a8 = r3(function(e, t) { return e * t }, 1), a7 = ie("round"), a9 = r3(function(e, t) { return e - t }, 0); return nv.after = function(e, t) { if ("function" != typeof t) throw new eS(o); return e = ae(e), function() { if (--e < 1) return t.apply(this, arguments) } }, nv.ary = oE, nv.assign = ao, nv.assignIn = aa, nv.assignInWith = as, nv.assignWith = al, nv.at = au, nv.before = ok, nv.bind = oj, nv.bindAll = az, nv.bindKey = oS, nv.castArray = function() { if (!arguments.length) return []; var e = arguments[0]; return oV(e) ? e : [e] }, nv.chain = ol, nv.chunk = function(e, t, n) { t = (n ? iO(e, t, n) : i === t) ? 1 : t4(ae(t), 0); var r = null == e ? 0 : e.length; if (!r || t < 1) return []; for (var o = 0, a = 0, s = ey(tC(r / t)); o < r;)s[a++] = rx(e, o, o += t); return s }, nv.compact = function(e) { for (var t = -1, n = null == e ? 0 : e.length, r = 0, i = []; ++t < n;) { var o = e[t]; o && (i[r++] = o) } return i }, nv.concat = function() { var e = arguments.length; if (!e) return []; for (var t = ey(e - 1), n = arguments[0], r = e; r--;)t[r - 1] = arguments[r]; return tm(oV(n) ? rW(n) : [n], nq(t, 1)) }, nv.cond = function(e) { var t = null == e ? 0 : e.length, n = im(); return e = t ? tv(e, function(e) { if ("function" != typeof e[1]) throw new eS(o); return [n(e[0]), e[1]] }) : [], rp(function(n) { for (var r = -1; ++r < t;) { var i = e[r]; if (ts(i[0], this, n)) return ts(i[1], this, n) } }) }, nv.conforms = function(e) { var t, n; return n = ag(t = nF(e, 1)), function(e) { return nI(e, t, n) } }, nv.constant = aV, nv.countBy = of, nv.create = function(e, t) { var n = nm(e); return null == t ? n : nN(n, t) }, nv.curry = function e(t, n, r) { n = r ? i : n; var o = ii(t, 8, i, i, i, i, i, n); return o.placeholder = e.placeholder, o }, nv.curryRight = function e(t, n, r) { n = r ? i : n; var o = ii(t, 16, i, i, i, i, i, n); return o.placeholder = e.placeholder, o }, nv.debounce = oO, nv.defaults = ac, nv.defaultsDeep = af, nv.defer = oC, nv.delay = oA, nv.difference = iq, nv.differenceBy = i$, nv.differenceWith = iY, nv.drop = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? rx(e, (t = n || i === t ? 1 : ae(t)) < 0 ? 0 : t, r) : [] }, nv.dropRight = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? rx(e, 0, (t = r - (t = n || i === t ? 1 : ae(t))) < 0 ? 0 : t) : [] }, nv.dropRightWhile = function(e, t) { return e && e.length ? rT(e, im(t, 3), !0, !0) : [] }, nv.dropWhile = function(e, t) { return e && e.length ? rT(e, im(t, 3), !0) : [] }, nv.fill = function(e, t, n, r) { var o = null == e ? 0 : e.length; return o ? (n && "number" != typeof n && iO(e, t, n) && (n = 0, r = o), function(e, t, n, r) { var o = e.length; for ((n = ae(n)) < 0 && (n = -n > o ? 0 : o + n), (r = i === r || r > o ? o : ae(r)) < 0 && (r += o), r = n > r ? 0 : at(r); n < r;)e[n++] = t; return e }(e, t, n, r)) : [] }, nv.filter = function(e, t) { return (oV(e) ? td : nW)(e, im(t, 3)) }, nv.flatMap = function(e, t) { return nq(ob(e, t), 1) }, nv.flatMapDeep = function(e, t) { return nq(ob(e, t), l) }, nv.flatMapDepth = function(e, t, n) { return n = i === n ? 1 : ae(n), nq(ob(e, t), n) }, nv.flatten = iX, nv.flattenDeep = function(e) { return (null == e ? 0 : e.length) ? nq(e, l) : [] }, nv.flattenDepth = function(e, t) { return (null == e ? 0 : e.length) ? nq(e, t = i === t ? 1 : ae(t)) : [] }, nv.flip = function(e) { return ii(e, 512) }, nv.flow = aB, nv.flowRight = aZ, nv.fromPairs = function(e) { for (var t = -1, n = null == e ? 0 : e.length, r = {}; ++t < n;) { var i = e[t]; r[i[0]] = i[1] } return r }, nv.functions = function(e) { return null == e ? [] : nX(e, ag(e)) }, nv.functionsIn = function(e) { return null == e ? [] : nX(e, ay(e)) }, nv.groupBy = om, nv.initial = function(e) { return (null == e ? 0 : e.length) ? rx(e, 0, -1) : [] }, nv.intersection = iJ, nv.intersectionBy = i0, nv.intersectionWith = i1, nv.invert = ap, nv.invertBy = av, nv.invokeMap = og, nv.iteratee = aH, nv.keyBy = oy, nv.keys = ag, nv.keysIn = ay, nv.map = ob, nv.mapKeys = function(e, t) { var n = {}; return t = im(t, 3), nG(e, function(e, r, i) { nR(n, t(e, r, i), e) }), n }, nv.mapValues = function(e, t) { var n = {}; return t = im(t, 3), nG(e, function(e, r, i) { nR(n, r, t(e, r, i)) }), n }, nv.matches = function(e) { return ri(nF(e, 1)) }, nv.matchesProperty = function(e, t) { return ro(e, nF(t, 1)) }, nv.memoize = oT, nv.merge = ab, nv.mergeWith = ax, nv.method = aW, nv.methodOf = aq, nv.mixin = a$, nv.negate = oM, nv.nthArg = function(e) { return e = ae(e), rp(function(t) { return rs(t, e) }) }, nv.omit = aw, nv.omitBy = function(e, t) { return aE(e, oM(im(t))) }, nv.once = function(e) { return ok(2, e) }, nv.orderBy = function(e, t, n, r) { return null == e ? [] : (oV(t) || (t = null == t ? [] : [t]), oV(n = r ? i : n) || (n = null == n ? [] : [n]), rl(e, t, n)) }, nv.over = aG, nv.overArgs = oP, nv.overEvery = aK, nv.overSome = aX, nv.partial = oN, nv.partialRight = oR, nv.partition = ox, nv.pick = a_, nv.pickBy = aE, nv.property = aQ, nv.propertyOf = function(e) { return function(t) { return null == e ? i : nQ(e, t) } }, nv.pull = i4, nv.pullAll = i3, nv.pullAllBy = function(e, t, n) { return e && e.length && t && t.length ? rc(e, t, im(n, 2)) : e }, nv.pullAllWith = function(e, t, n) { return e && e.length && t && t.length ? rc(e, t, i, n) : e }, nv.pullAt = i5, nv.range = aJ, nv.rangeRight = a0, nv.rearg = oD, nv.reject = function(e, t) { return (oV(e) ? td : nW)(e, oM(im(t, 3))) }, nv.remove = function(e, t) { var n = []; if (!(e && e.length)) return n; var r = -1, i = [], o = e.length; for (t = im(t, 3); ++r < o;) { var a = e[r]; t(a, r, e) && (n.push(a), i.push(r)) } return rf(e, i), n }, nv.rest = function(e, t) { if ("function" != typeof e) throw new eS(o); return rp(e, t = i === t ? t : ae(t)) }, nv.reverse = i6, nv.sampleSize = function(e, t, n) { return t = (n ? iO(e, t, n) : i === t) ? 1 : ae(t), (oV(e) ? nO : rm)(e, t) }, nv.set = function(e, t, n) { return null == e ? e : rg(e, t, n) }, nv.setWith = function(e, t, n, r) { return r = "function" == typeof r ? r : i, null == e ? e : rg(e, t, n, r) }, nv.shuffle = function(e) { return (oV(e) ? nC : rb)(e) }, nv.slice = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? (n && "number" != typeof n && iO(e, t, n) ? (t = 0, n = r) : (t = null == t ? 0 : ae(t), n = i === n ? r : ae(n)), rx(e, t, n)) : [] }, nv.sortBy = ow, nv.sortedUniq = function(e) { return e && e.length ? rk(e) : [] }, nv.sortedUniqBy = function(e, t) { return e && e.length ? rk(e, im(t, 2)) : [] }, nv.split = function(e, t, n) { return (n && "number" != typeof n && iO(e, t, n) && (t = n = i), n = i === n ? 4294967295 : n >>> 0) ? (e = ai(e)) && ("string" == typeof t || null != t && !o1(t)) && !(t = rS(t)) && tB(e) ? rF(t$(e), 0, n) : e.split(t, n) : [] }, nv.spread = function(e, t) { if ("function" != typeof e) throw new eS(o); return t = null == t ? 0 : t4(ae(t), 0), rp(function(n) { var r = n[t], i = rF(n, 0, t); return r && tm(i, r), ts(e, this, i) }) }, nv.tail = function(e) { var t = null == e ? 0 : e.length; return t ? rx(e, 1, t) : [] }, nv.take = function(e, t, n) { return e && e.length ? rx(e, 0, (t = n || i === t ? 1 : ae(t)) < 0 ? 0 : t) : [] }, nv.takeRight = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? rx(e, (t = r - (t = n || i === t ? 1 : ae(t))) < 0 ? 0 : t, r) : [] }, nv.takeRightWhile = function(e, t) { return e && e.length ? rT(e, im(t, 3), !1, !0) : [] }, nv.takeWhile = function(e, t) { return e && e.length ? rT(e, im(t, 3)) : [] }, nv.tap = function(e, t) { return t(e), e }, nv.throttle = function(e, t, n) { var r = !0, i = !0; if ("function" != typeof e) throw new eS(o); return oK(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), oO(e, t, { leading: r, maxWait: t, trailing: i }) }, nv.thru = ou, nv.toArray = o7, nv.toPairs = ak, nv.toPairsIn = aj, nv.toPath = function(e) { return oV(e) ? tv(e, iU) : o3(e) ? [e] : rW(iZ(ai(e))) }, nv.toPlainObject = ar, nv.transform = function(e, t, n) { var r = oV(e), i = r || oH(e) || o5(e); if (t = im(t, 4), null == n) { var o = e && e.constructor; n = i ? r ? new o : [] : oK(e) && o$(o) ? nm(eU(e)) : {} } return (i ? tu : nG)(e, function(e, r, i) { return t(n, e, r, i) }), n }, nv.unary = function(e) { return oE(e, 1) }, nv.union = i8, nv.unionBy = i7, nv.unionWith = i9, nv.uniq = function(e) { return e && e.length ? rO(e) : [] }, nv.uniqBy = function(e, t) { return e && e.length ? rO(e, im(t, 2)) : [] }, nv.uniqWith = function(e, t) { return t = "function" == typeof t ? t : i, e && e.length ? rO(e, i, t) : [] }, nv.unset = function(e, t) { return null == e || rC(e, t) }, nv.unzip = oe, nv.unzipWith = ot, nv.update = function(e, t, n) { return null == e ? e : rA(e, t, rD(n)) }, nv.updateWith = function(e, t, n, r) { return r = "function" == typeof r ? r : i, null == e ? e : rA(e, t, rD(n), r) }, nv.values = aS, nv.valuesIn = function(e) { return null == e ? [] : tR(e, ay(e)) }, nv.without = on, nv.words = aF, nv.wrap = function(e, t) { return oN(rD(t), e) }, nv.xor = or, nv.xorBy = oi, nv.xorWith = oo, nv.zip = oa, nv.zipObject = function(e, t) { return rN(e || [], t || [], nT) }, nv.zipObjectDeep = function(e, t) { return rN(e || [], t || [], rg) }, nv.zipWith = os, nv.entries = ak, nv.entriesIn = aj, nv.extend = aa, nv.extendWith = as, a$(nv, nv), nv.add = a4, nv.attempt = aI, nv.camelCase = aO, nv.capitalize = aC, nv.ceil = a3, nv.clamp = function(e, t, n) { return i === n && (n = t, t = i), i !== n && (n = (n = an(n)) == n ? n : 0), i !== t && (t = (t = an(t)) == t ? t : 0), nL(an(e), t, n) }, nv.clone = function(e) { return nF(e, 4) }, nv.cloneDeep = function(e) { return nF(e, 5) }, nv.cloneDeepWith = function(e, t) { return nF(e, 5, t = "function" == typeof t ? t : i) }, nv.cloneWith = function(e, t) { return nF(e, 4, t = "function" == typeof t ? t : i) }, nv.conformsTo = function(e, t) { return null == t || nI(e, t, ag(t)) }, nv.deburr = aA, nv.defaultTo = function(e, t) { return null == e || e != e ? t : e }, nv.divide = a5, nv.endsWith = function(e, t, n) { e = ai(e), t = rS(t); var r = e.length, o = n = i === n ? r : nL(ae(n), 0, r); return (n -= t.length) >= 0 && e.slice(n, o) == t }, nv.eq = oL, nv.escape = function(e) { return (e = ai(e)) && H.test(e) ? e.replace(Z, tz) : e }, nv.escapeRegExp = function(e) { return (e = ai(e)) && Q.test(e) ? e.replace(X, "\\$&") : e }, nv.every = function(e, t, n) { var r = oV(e) ? tf : nU; return n && iO(e, t, n) && (t = i), r(e, im(t, 3)) }, nv.find = od, nv.findIndex = iG, nv.findKey = function(e, t) { return tw(e, im(t, 3), nG) }, nv.findLast = oh, nv.findLastIndex = iK, nv.findLastKey = function(e, t) { return tw(e, im(t, 3), nK) }, nv.floor = a6, nv.forEach = op, nv.forEachRight = ov, nv.forIn = function(e, t) { return null == e ? e : n$(e, im(t, 3), ay) }, nv.forInRight = function(e, t) { return null == e ? e : nY(e, im(t, 3), ay) }, nv.forOwn = function(e, t) { return e && nG(e, im(t, 3)) }, nv.forOwnRight = function(e, t) { return e && nK(e, im(t, 3)) }, nv.get = ad, nv.gt = oF, nv.gte = oI, nv.has = function(e, t) { return null != e && iE(e, t, n2) }, nv.hasIn = ah, nv.head = iQ, nv.identity = aU, nv.includes = function(e, t, n, r) { e = oZ(e) ? e : aS(e), n = n && !r ? ae(n) : 0; var i = e.length; return n < 0 && (n = t4(i + n, 0)), o4(e) ? n <= i && e.indexOf(t, n) > -1 : !!i && tE(e, t, n) > -1 }, nv.indexOf = function(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var i = null == n ? 0 : ae(n); return i < 0 && (i = t4(r + i, 0)), tE(e, t, i) }, nv.inRange = function(e, t, n) { var r, o, a; return t = o9(t), i === n ? (n = t, t = 0) : n = o9(n), (r = e = an(e)) >= t3(o = t, a = n) && r < t4(o, a) }, nv.invoke = am, nv.isArguments = oz, nv.isArray = oV, nv.isArrayBuffer = oB, nv.isArrayLike = oZ, nv.isArrayLikeObject = oU, nv.isBoolean = function(e) { return !0 === e || !1 === e || oX(e) && n0(e) == h }, nv.isBuffer = oH, nv.isDate = oW, nv.isElement = function(e) { return oX(e) && 1 === e.nodeType && !o0(e) }, nv.isEmpty = function(e) { if (null == e) return !0; if (oZ(e) && (oV(e) || "string" == typeof e || "function" == typeof e.splice || oH(e) || o5(e) || oz(e))) return !e.length; var t = i_(e); if (t == y || t == E) return !e.size; if (iM(e)) return !rt(e).length; for (var n in e) if (eP.call(e, n)) return !1; return !0 }, nv.isEqual = function(e, t) { return n8(e, t) }, nv.isEqualWith = function(e, t, n) { var r = (n = "function" == typeof n ? n : i) ? n(e, t) : i; return i === r ? n8(e, t, i, n) : !!r }, nv.isError = oq, nv.isFinite = function(e) { return "number" == typeof e && t0(e) }, nv.isFunction = o$, nv.isInteger = oY, nv.isLength = oG, nv.isMap = oQ, nv.isMatch = function(e, t) { return e === t || n7(e, t, iy(t)) }, nv.isMatchWith = function(e, t, n) { return n = "function" == typeof n ? n : i, n7(e, t, iy(t), n) }, nv.isNaN = function(e) { return oJ(e) && e != +e }, nv.isNative = function(e) { if (iT(e)) throw new ex("Unsupported core-js use. Try https://npms.io/search?q=ponyfill."); return n9(e) }, nv.isNil = function(e) { return null == e }, nv.isNull = function(e) { return null === e }, nv.isNumber = oJ, nv.isObject = oK, nv.isObjectLike = oX, nv.isPlainObject = o0, nv.isRegExp = o1, nv.isSafeInteger = function(e) { return oY(e) && e >= -9007199254740991 && e <= 9007199254740991 }, nv.isSet = o2, nv.isString = o4, nv.isSymbol = o3, nv.isTypedArray = o5, nv.isUndefined = function(e) { return i === e }, nv.isWeakMap = function(e) { return oX(e) && i_(e) == S }, nv.isWeakSet = function(e) { return oX(e) && "[object WeakSet]" == n0(e) }, nv.join = function(e, t) { return null == e ? "" : t1.call(e, t) }, nv.kebabCase = aT, nv.last = i2, nv.lastIndexOf = function(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var o = r; return i !== n && (o = (o = ae(n)) < 0 ? t4(r + o, 0) : t3(o, r - 1)), t == t ? function(e, t, n) { for (var r = n + 1; r-- && e[r] !== t;); return r }(e, t, o) : t_(e, tj, o, !0) }, nv.lowerCase = aM, nv.lowerFirst = aP, nv.lt = o6, nv.lte = o8, nv.max = function(e) { return e && e.length ? nH(e, aU, n1) : i }, nv.maxBy = function(e, t) { return e && e.length ? nH(e, im(t, 2), n1) : i }, nv.mean = function(e) { return tS(e, aU) }, nv.meanBy = function(e, t) { return tS(e, im(t, 2)) }, nv.min = function(e) { return e && e.length ? nH(e, aU, rn) : i }, nv.minBy = function(e, t) { return e && e.length ? nH(e, im(t, 2), rn) : i }, nv.stubArray = a1, nv.stubFalse = a2, nv.stubObject = function() { return {} }, nv.stubString = function() { return "" }, nv.stubTrue = function() { return !0 }, nv.multiply = a8, nv.nth = function(e, t) { return e && e.length ? rs(e, ae(t)) : i }, nv.noConflict = function() { return e5._ === this && (e5._ = eF), this }, nv.noop = aY, nv.now = o_, nv.pad = function(e, t, n) { e = ai(e); var r = (t = ae(t)) ? tq(e) : 0; if (!t || r >= t) return e; var i = (t - r) / 2; return r6(tX(i), n) + e + r6(tC(i), n) }, nv.padEnd = function(e, t, n) { e = ai(e); var r = (t = ae(t)) ? tq(e) : 0; return t && r < t ? e + r6(t - r, n) : e }, nv.padStart = function(e, t, n) { e = ai(e); var r = (t = ae(t)) ? tq(e) : 0; return t && r < t ? r6(t - r, n) + e : e }, nv.parseInt = function(e, t, n) { return n || null == t ? t = 0 : t && (t = +t), t6(ai(e).replace(J, ""), t || 0) }, nv.random = function(e, t, n) { if (n && "boolean" != typeof n && iO(e, t, n) && (t = n = i), i === n && ("boolean" == typeof t ? (n = t, t = i) : "boolean" == typeof e && (n = e, e = i)), i === e && i === t ? (e = 0, t = 1) : (e = o9(e), i === t ? (t = e, e = 0) : t = o9(t)), e > t) { var r = e; e = t, t = r } if (n || e % 1 || t % 1) { var o = t8(); return t3(e + o * (t - e + e1("1e-" + ((o + "").length - 1))), t) } return rd(e, t) }, nv.reduce = function(e, t, n) { var r = oV(e) ? tg : tA, i = arguments.length < 3; return r(e, im(t, 4), n, i, nB) }, nv.reduceRight = function(e, t, n) { var r = oV(e) ? ty : tA, i = arguments.length < 3; return r(e, im(t, 4), n, i, nZ) }, nv.repeat = function(e, t, n) { return t = (n ? iO(e, t, n) : i === t) ? 1 : ae(t), rh(ai(e), t) }, nv.replace = function() { var e = arguments, t = ai(e[0]); return e.length < 3 ? t : t.replace(e[1], e[2]) }, nv.result = function(e, t, n) { t = rL(t, e); var r = -1, o = t.length; for (o || (o = 1, e = i); ++r < o;) { var a = null == e ? i : e[iU(t[r])]; i === a && (r = o, a = n), e = o$(a) ? a.call(e) : a } return e }, nv.round = a7, nv.runInContext = e, nv.sample = function(e) { return (oV(e) ? nS : rv)(e) }, nv.size = function(e) { if (null == e) return 0; if (oZ(e)) return o4(e) ? tq(e) : e.length; var t = i_(e); return t == y || t == E ? e.size : rt(e).length }, nv.snakeCase = aN, nv.some = function(e, t, n) { var r = oV(e) ? tb : rw; return n && iO(e, t, n) && (t = i), r(e, im(t, 3)) }, nv.sortedIndex = function(e, t) { return r_(e, t) }, nv.sortedIndexBy = function(e, t, n) { return rE(e, t, im(n, 2)) }, nv.sortedIndexOf = function(e, t) { var n = null == e ? 0 : e.length; if (n) { var r = r_(e, t); if (r < n && oL(e[r], t)) return r } return -1 }, nv.sortedLastIndex = function(e, t) { return r_(e, t, !0) }, nv.sortedLastIndexBy = function(e, t, n) { return rE(e, t, im(n, 2), !0) }, nv.sortedLastIndexOf = function(e, t) { if (null == e ? 0 : e.length) { var n = r_(e, t, !0) - 1; if (oL(e[n], t)) return n } return -1 }, nv.startCase = aR, nv.startsWith = function(e, t, n) { return e = ai(e), n = null == n ? 0 : nL(ae(n), 0, e.length), t = rS(t), e.slice(n, n + t.length) == t }, nv.subtract = a9, nv.sum = function(e) { return e && e.length ? tT(e, aU) : 0 }, nv.sumBy = function(e, t) { return e && e.length ? tT(e, im(t, 2)) : 0 }, nv.template = function(e, t, n) { var r = nv.templateSettings; n && iO(e, t, n) && (t = i), e = ai(e), t = as({}, t, r, io); var o, a, s = as({}, t.imports, r.imports, io), l = ag(s), u = tR(s, l), c = 0, f = t.interpolate || ev, d = "__p += '", h = ek((t.escape || ev).source + "|" + f.source + "|" + (f === $ ? es : ev).source + "|" + (t.evaluate || ev).source + "|$", "g"), p = "//# sourceURL=" + (eP.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++eX + "]") + "\n"; e.replace(h, function(t, n, r, i, s, l) { return r || (r = i), d += e.slice(c, l).replace(em, tV), n && (o = !0, d += "' +\n__e(" + n + ") +\n'"), s && (a = !0, d += "';\n" + s + ";\n__p += '"), r && (d += "' +\n((__t = (" + r + ")) == null ? '' : __t) +\n'"), c = l + t.length, t }), d += "';\n"; var v = eP.call(t, "variable") && t.variable; if (v) { if (eo.test(v)) throw new ex("Invalid `variable` option passed into `_.template`") } else d = "with (obj) {\n" + d + "\n}\n"; d = (a ? d.replace(I, "") : d).replace(z, "$1").replace(V, "$1;"), d = "function(" + (v || "obj") + ") {\n" + (v ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (o ? ", __e = _.escape" : "") + (a ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + d + "return __p\n}"; var m = aI(function() { return ew(l, p + "return " + d).apply(i, u) }); if (m.source = d, oq(m)) throw m; return m }, nv.times = function(e, t) { if ((e = ae(e)) < 1 || e > 9007199254740991) return []; var n = 4294967295, r = t3(e, 4294967295); t = im(t), e -= 4294967295; for (var i = tM(r, t); ++n < e;)t(n); return i }, nv.toFinite = o9, nv.toInteger = ae, nv.toLength = at, nv.toLower = function(e) { return ai(e).toLowerCase() }, nv.toNumber = an, nv.toSafeInteger = function(e) { return e ? nL(ae(e), -9007199254740991, 9007199254740991) : 0 === e ? e : 0 }, nv.toString = ai, nv.toUpper = function(e) { return ai(e).toUpperCase() }, nv.trim = function(e, t, n) { if ((e = ai(e)) && (n || i === t)) return tP(e); if (!e || !(t = rS(t))) return e; var r = t$(e), o = t$(t), a = tL(r, o), s = tF(r, o) + 1; return rF(r, a, s).join("") }, nv.trimEnd = function(e, t, n) { if ((e = ai(e)) && (n || i === t)) return e.slice(0, tY(e) + 1); if (!e || !(t = rS(t))) return e; var r = t$(e), o = tF(r, t$(t)) + 1; return rF(r, 0, o).join("") }, nv.trimStart = function(e, t, n) { if ((e = ai(e)) && (n || i === t)) return e.replace(J, ""); if (!e || !(t = rS(t))) return e; var r = t$(e), o = tL(r, t$(t)); return rF(r, o).join("") }, nv.truncate = function(e, t) { var n = 30, r = "..."; if (oK(t)) { var o = "separator" in t ? t.separator : o; n = "length" in t ? ae(t.length) : n, r = "omission" in t ? rS(t.omission) : r } var a = (e = ai(e)).length; if (tB(e)) { var s = t$(e); a = s.length } if (n >= a) return e; var l = n - tq(r); if (l < 1) return r; var u = s ? rF(s, 0, l).join("") : e.slice(0, l); if (i === o) return u + r; if (s && (l += u.length - l), o1(o)) { if (e.slice(l).search(o)) { var c, f = u; for (o.global || (o = ek(o.source, ai(el.exec(o)) + "g")), o.lastIndex = 0; c = o.exec(f);)var d = c.index; u = u.slice(0, i === d ? l : d) } } else if (e.indexOf(rS(o), l) != l) { var h = u.lastIndexOf(o); h > -1 && (u = u.slice(0, h)) } return u + r }, nv.unescape = function(e) { return (e = ai(e)) && U.test(e) ? e.replace(B, tG) : e }, nv.uniqueId = function(e) { var t = ++eN; return ai(e) + t }, nv.upperCase = aD, nv.upperFirst = aL, nv.each = op, nv.eachRight = ov, nv.first = iQ, a$(nv, (eg = {}, nG(nv, function(e, t) { eP.call(nv.prototype, t) || (eg[t] = e) }), eg), { chain: !1 }), nv.VERSION = "4.17.21", tu(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) { nv[e].placeholder = nv }), tu(["drop", "take"], function(e, t) { nb.prototype[e] = function(n) { n = i === n ? 1 : t4(ae(n), 0); var r = this.__filtered__ && !t ? new nb(this) : this.clone(); return r.__filtered__ ? r.__takeCount__ = t3(n, r.__takeCount__) : r.__views__.push({ size: t3(n, 4294967295), type: e + (r.__dir__ < 0 ? "Right" : "") }), r }, nb.prototype[e + "Right"] = function(t) { return this.reverse()[e](t).reverse() } }), tu(["filter", "map", "takeWhile"], function(e, t) { var n = t + 1, r = 1 == n || 3 == n; nb.prototype[e] = function(e) { var t = this.clone(); return t.__iteratees__.push({ iteratee: im(e, 3), type: n }), t.__filtered__ = t.__filtered__ || r, t } }), tu(["head", "last"], function(e, t) { var n = "take" + (t ? "Right" : ""); nb.prototype[e] = function() { return this[n](1).value()[0] } }), tu(["initial", "tail"], function(e, t) { var n = "drop" + (t ? "" : "Right"); nb.prototype[e] = function() { return this.__filtered__ ? new nb(this) : this[n](1) } }), nb.prototype.compact = function() { return this.filter(aU) }, nb.prototype.find = function(e) { return this.filter(e).head() }, nb.prototype.findLast = function(e) { return this.reverse().find(e) }, nb.prototype.invokeMap = rp(function(e, t) { return "function" == typeof e ? new nb(this) : this.map(function(n) { return n5(n, e, t) }) }), nb.prototype.reject = function(e) { return this.filter(oM(im(e))) }, nb.prototype.slice = function(e, t) { e = ae(e); var n = this; return n.__filtered__ && (e > 0 || t < 0) ? new nb(n) : (e < 0 ? n = n.takeRight(-e) : e && (n = n.drop(e)), i !== t && (n = (t = ae(t)) < 0 ? n.dropRight(-t) : n.take(t - e)), n) }, nb.prototype.takeRightWhile = function(e) { return this.reverse().takeWhile(e).reverse() }, nb.prototype.toArray = function() { return this.take(4294967295) }, nG(nb.prototype, function(e, t) { var n = /^(?:filter|find|map|reject)|While$/.test(t), r = /^(?:head|last)$/.test(t), o = nv[r ? "take" + ("last" == t ? "Right" : "") : t], a = r || /^find/.test(t); o && (nv.prototype[t] = function() { var t = this.__wrapped__, s = r ? [1] : arguments, l = t instanceof nb, u = s[0], c = l || oV(t), f = function(e) { var t = o.apply(nv, tm([e], s)); return r && d ? t[0] : t }; c && n && "function" == typeof u && 1 != u.length && (l = c = !1); var d = this.__chain__, h = !!this.__actions__.length, p = a && !d, v = l && !h; if (!a && c) { t = v ? t : new nb(this); var m = e.apply(t, s); return m.__actions__.push({ func: ou, args: [f], thisArg: i }), new ny(m, d) } return p && v ? e.apply(this, s) : (m = this.thru(f), p ? r ? m.value()[0] : m.value() : m) }) }), tu(["pop", "push", "shift", "sort", "splice", "unshift"], function(e) { var t = eO[e], n = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", r = /^(?:pop|shift)$/.test(e); nv.prototype[e] = function() { var e = arguments; if (r && !this.__chain__) { var i = this.value(); return t.apply(oV(i) ? i : [], e) } return this[n](function(n) { return t.apply(oV(n) ? n : [], e) }) } }), nG(nb.prototype, function(e, t) { var n = nv[t]; if (n) { var r = n.name + ""; eP.call(na, r) || (na[r] = []), na[r].push({ name: t, func: n }) } }), na[r2(i, 2).name] = [{ name: "wrapper", func: i }], nb.prototype.clone = function() { var e = new nb(this.__wrapped__); return e.__actions__ = rW(this.__actions__), e.__dir__ = this.__dir__, e.__filtered__ = this.__filtered__, e.__iteratees__ = rW(this.__iteratees__), e.__takeCount__ = this.__takeCount__, e.__views__ = rW(this.__views__), e }, nb.prototype.reverse = function() { if (this.__filtered__) { var e = new nb(this); e.__dir__ = -1, e.__filtered__ = !0 } else e = this.clone(), e.__dir__ *= -1; return e }, nb.prototype.value = function() { var e = this.__wrapped__.value(), t = this.__dir__, n = oV(e), r = t < 0, i = n ? e.length : 0, o = function(e, t, n) { for (var r = -1, i = n.length; ++r < i;) { var o = n[r], a = o.size; switch (o.type) { case "drop": e += a; break; case "dropRight": t -= a; break; case "take": t = t3(t, e + a); break; case "takeRight": e = t4(e, t - a) } } return { start: e, end: t } }(0, i, this.__views__), a = o.start, s = o.end, l = s - a, u = r ? s : a - 1, c = this.__iteratees__, f = c.length, d = 0, h = t3(l, this.__takeCount__); if (!n || !r && i == l && h == l) return rM(e, this.__actions__); var p = []; t: for (; l-- && d < h;) { for (var v = -1, m = e[u += t]; ++v < f;) { var g = c[v], y = g.iteratee, b = g.type, x = y(m); if (2 == b) m = x; else if (!x) { if (1 == b) continue t; break t } } p[d++] = m } return p }, nv.prototype.at = oc, nv.prototype.chain = function() { return ol(this) }, nv.prototype.commit = function() { return new ny(this.value(), this.__chain__) }, nv.prototype.next = function() { i === this.__values__ && (this.__values__ = o7(this.value())); var e = this.__index__ >= this.__values__.length, t = e ? i : this.__values__[this.__index__++]; return { done: e, value: t } }, nv.prototype.plant = function(e) { for (var t, n = this; n instanceof ng;) { var r = iW(n); r.__index__ = 0, r.__values__ = i, t ? o.__wrapped__ = r : t = r; var o = r; n = n.__wrapped__ } return o.__wrapped__ = e, t }, nv.prototype.reverse = function() { var e = this.__wrapped__; if (e instanceof nb) { var t = e; return this.__actions__.length && (t = new nb(this)), (t = t.reverse()).__actions__.push({ func: ou, args: [i6], thisArg: i }), new ny(t, this.__chain__) } return this.thru(i6) }, nv.prototype.toJSON = nv.prototype.valueOf = nv.prototype.value = function() { return rM(this.__wrapped__, this.__actions__) }, nv.prototype.first = nv.prototype.head, e3 && (nv.prototype[e3] = function() { return this }), nv }(); e5._ = tK, r = (function() { return tK }).call(t, n, t, e), i !== r && (e.exports = r) }).call(this) }, 19950: function(e, t, n) { var r = n(13940), i = n(26548), o = n(68286); e.exports = function(e, t) { var n = {}; return t = o(t, 3), i(e, function(e, i, o) { r(n, t(e, i, o), e) }), n } }, 34519: function(e, t, n) { var r = n(13940), i = n(26548), o = n(68286); e.exports = function(e, t) { var n = {}; return t = o(t, 3), i(e, function(e, i, o) { r(n, i, t(e, i, o)) }), n } }, 30733: function(e, t, n) { var r = n(96738); function i(e, t) { if ("function" != typeof e || null != t && "function" != typeof t) throw TypeError("Expected a function"); var n = function() { var r = arguments, i = t ? t.apply(this, r) : r[0], o = n.cache; if (o.has(i)) return o.get(i); var a = e.apply(this, r); return n.cache = o.set(i, a) || o, a }; return n.cache = new (i.Cache || r), n } i.Cache = r, e.exports = i }, 61100: function(e, t, n) { var r = n(37772); e.exports = function() { return r.Date.now() } }, 65798: function(e, t, n) { var r = n(20256), i = n(82952), o = n(21401), a = n(33812); e.exports = function(e) { return o(e) ? r(a(e)) : i(e) } }, 57370: function(e, t, n) { var r = n(34311)(function(e, t, n) { return e + (n ? "_" : "") + t.toLowerCase() }); e.exports = r }, 30981: function(e) { e.exports = function() { return [] } }, 36330: function(e) { e.exports = function() { return !1 } }, 7642: function(e, t, n) { var r = n(51704), i = n(29259), o = n(4795), a = 0 / 0, s = /^[-+]0x[0-9a-f]+$/i, l = /^0b[01]+$/i, u = /^0o[0-7]+$/i, c = parseInt; e.exports = function(e) { if ("number" == typeof e) return e; if (o(e)) return a; if (i(e)) { var t = "function" == typeof e.valueOf ? e.valueOf() : e; e = i(t) ? t + "" : t } if ("string" != typeof e) return 0 === e ? e : +e; e = r(e); var n = l.test(e); return n || u.test(e) ? c(e.slice(2), n ? 2 : 8) : s.test(e) ? a : +e } }, 66188: function(e, t, n) { var r = n(1054); e.exports = function(e) { return null == e ? "" : r(e) } }, 23779: function(e, t, n) { var r = n(83126)("toUpperCase"); e.exports = r }, 11618: function(e, t, n) { var r = n(45981), i = n(83559), o = n(66188), a = n(75304); e.exports = function(e, t, n) { return (e = o(e), void 0 === (t = n ? void 0 : t)) ? i(e) ? a(e) : r(e) : e.match(t) || [] } }, 53207: function(e, t, n) { var r = n(96570); r.prototype.formulaEval = function() { "use strict"; for (var e, t, n, r = [], i = this.value, o = 0; o < i.length; o++)1 === i[o].type || 3 === i[o].type ? r.push({ value: 3 === i[o].type ? i[o].show : i[o].value, type: 1 }) : 13 === i[o].type ? r.push({ value: i[o].show, type: 1 }) : 0 === i[o].type ? r[r.length - 1] = { value: i[o].show + ("-" != i[o].show ? "(" : "") + r[r.length - 1].value + ("-" != i[o].show ? ")" : ""), type: 0 } : 7 === i[o].type ? r[r.length - 1] = { value: (1 != r[r.length - 1].type ? "(" : "") + r[r.length - 1].value + (1 != r[r.length - 1].type ? ")" : "") + i[o].show, type: 7 } : 10 === i[o].type ? (e = r.pop(), t = r.pop(), "P" === i[o].show || "C" === i[o].show ? r.push({ value: "" + t.value + "" + i[o].show + "" + e.value + "", type: 10 }) : r.push({ value: (1 != t.type ? "(" : "") + t.value + (1 != t.type ? ")" : "") + "" + e.value + "", type: 1 })) : 2 === i[o].type || 9 === i[o].type ? (e = r.pop(), t = r.pop(), r.push({ value: (1 != t.type ? "(" : "") + t.value + (1 != t.type ? ")" : "") + i[o].show + (1 != e.type ? "(" : "") + e.value + (1 != e.type ? ")" : ""), type: i[o].type })) : 12 === i[o].type && (e = r.pop(), t = r.pop(), n = r.pop(), r.push({ value: i[o].show + "(" + n.value + "," + t.value + "," + e.value + ")", type: 12 })); return r[0].value }, e.exports = r }, 66655: function(e, t, n) { "use strict"; var r = n(72346); function i(e, t) { for (var n = 0; n < e.length; n++)e[n] += t; return e } for (var o = [{ token: "sin", show: "sin", type: 0, value: r.math.sin }, { token: "cos", show: "cos", type: 0, value: r.math.cos }, { token: "tan", show: "tan", type: 0, value: r.math.tan }, { token: "pi", show: "π", type: 3, value: "PI" }, { token: "(", show: "(", type: 4, value: "(" }, { token: ")", show: ")", type: 5, value: ")" }, { token: "P", show: "P", type: 10, value: r.math.P }, { token: "C", show: "C", type: 10, value: r.math.C }, { token: " ", show: " ", type: 14, value: " ".anchor }, { token: "asin", show: "asin", type: 0, value: r.math.asin }, { token: "acos", show: "acos", type: 0, value: r.math.acos }, { token: "atan", show: "atan", type: 0, value: r.math.atan }, { token: "7", show: "7", type: 1, value: "7" }, { token: "8", show: "8", type: 1, value: "8" }, { token: "9", show: "9", type: 1, value: "9" }, { token: "int", show: "Int", type: 0, value: Math.floor }, { token: "cosh", show: "cosh", type: 0, value: r.math.cosh }, { token: "acosh", show: "acosh", type: 0, value: r.math.acosh }, { token: "ln", show: " ln", type: 0, value: Math.log }, { token: "^", show: "^", type: 10, value: Math.pow }, { token: "root", show: "root", type: 0, value: Math.sqrt }, { token: "4", show: "4", type: 1, value: "4" }, { token: "5", show: "5", type: 1, value: "5" }, { token: "6", show: "6", type: 1, value: "6" }, { token: "/", show: "÷", type: 2, value: r.math.div }, { token: "!", show: "!", type: 7, value: r.math.fact }, { token: "tanh", show: "tanh", type: 0, value: r.math.tanh }, { token: "atanh", show: "atanh", type: 0, value: r.math.atanh }, { token: "Mod", show: " Mod ", type: 2, value: r.math.mod }, { token: "1", show: "1", type: 1, value: "1" }, { token: "2", show: "2", type: 1, value: "2" }, { token: "3", show: "3", type: 1, value: "3" }, { token: "*", show: "×", type: 2, value: r.math.mul }, { token: "sinh", show: "sinh", type: 0, value: r.math.sinh }, { token: "asinh", show: "asinh", type: 0, value: r.math.asinh }, { token: "e", show: "e", type: 3, value: "E" }, { token: "log", show: " log", type: 0, value: r.math.log }, { token: "0", show: "0", type: 1, value: "0" }, { token: ".", show: ".", type: 6, value: "." }, { token: "+", show: "+", type: 9, value: r.math.add }, { token: "-", show: "-", type: 9, value: r.math.sub }, { token: ",", show: ",", type: 11, value: "," }, { token: "Sigma", show: "Σ", type: 12, value: r.math.sigma }, { token: "n", show: "n", type: 13, value: "n" }, { token: "Pi", show: "Π", type: 12, value: r.math.Pi }, { token: "pow", show: "pow", type: 8, value: Math.pow, numberOfArguments: 2 }, { token: "&", show: "&", type: 9, value: r.math.and }], a = { 0: 11, 1: 0, 2: 3, 3: 0, 4: 0, 5: 0, 6: 0, 7: 11, 8: 11, 9: 1, 10: 10, 11: 0, 12: 11, 13: 0, 14: -1, 15: 11 }, s = 0; s < o.length; s++)o[s].precedence = a[o[s].type]; var l = { 0: !0, 1: !0, 3: !0, 4: !0, 6: !0, 8: !0, 9: !0, 12: !0, 13: !0, 14: !0, 15: !0 }, u = { 0: !0, 1: !0, 2: !0, 3: !0, 4: !0, 5: !0, 6: !0, 7: !0, 8: !0, 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 15: !0 }, c = { 0: !0, 3: !0, 4: !0, 8: !0, 12: !0, 13: !0, 15: !0 }, f = {}, d = { 0: !0, 1: !0, 3: !0, 4: !0, 6: !0, 8: !0, 12: !0, 13: !0, 15: !0 }, h = { 1: !0 }, p = [[], ["1", "2", "3", "7", "8", "9", "4", "5", "6", "+", "-", "*", "/", "(", ")", "^", "!", "P", "C", "e", "0", ".", ",", "n", " ", "&"], ["pi", "ln", "Pi"], ["sin", "cos", "tan", "Del", "int", "Mod", "log", "pow"], ["asin", "acos", "atan", "cosh", "root", "tanh", "sinh"], ["acosh", "atanh", "asinh", "Sigma"]]; function v(e, t) { for (var n = 0; n < t.length; n++)if (t[n].token === e) return n; return -1 } r.tokenTypes = { FUNCTION_WITH_ONE_ARG: 0, NUMBER: 1, BINARY_OPERATOR_HIGH_PRECENDENCE: 2, CONSTANT: 3, OPENING_PARENTHESIS: 4, CLOSING_PARENTHESIS: 5, DECIMAL: 6, POSTFIX_FUNCTION_WITH_ONE_ARG: 7, FUNCTION_WITH_N_ARGS: 8, BINARY_OPERATOR_LOW_PRECENDENCE: 9, BINARY_OPERATOR_PERMUTATION: 10, COMMA: 11, EVALUATED_FUNCTION: 12, EVALUATED_FUNCTION_PARAMETER: 13, SPACE: 14 }, r.addToken = function(e) { for (var t = 0; t < e.length; t++) { var n = e[t].token.length, i = -1; e[t].type === r.tokenTypes.FUNCTION_WITH_N_ARGS && void 0 === e[t].numberOfArguments && (e[t].numberOfArguments = 2), p[n] = p[n] || []; for (var s = 0; s < p[n].length; s++)if (e[t].token === p[n][s]) { i = v(p[n][s], o); break } -1 === i ? (o.push(e[t]), e[t].precedence = a[e[t].type], p.length <= e[t].token.length && (p[e[t].token.length] = []), p[e[t].token.length].push(e[t].token)) : (o[i] = e[t], e[t].precedence = a[e[t].type]) } }; var m = { value: r.math.changeSign, type: 0, pre: 21, show: "-" }, g = { value: ")", show: ")", type: 5, pre: 0 }, y = { value: "(", type: 4, pre: 0, show: "(" }; r.lex = function(e, t) { var n = [y], a = [], s = l, b = 0, x = f, w = ""; void 0 !== t && r.addToken(t); var _ = {}, E = function(e) { for (var t, n, i, a = [], s = e.length, l = 0; l < s; l++)if (!(l < s - 1) || " " !== e[l] || " " !== e[l + 1]) { for (t = "", n = e.length - l > p.length - 2 ? p.length - 1 : e.length - l; n > 0; n--)if (void 0 !== p[n]) for (i = 0; i < p[n].length; i++)(function(e, t, n, r) { for (var i = 0; i < r; i++)if (e[n + i] !== t[i]) return !1; return !0 })(e, p[n][i], l, n) && (t = p[n][i], i = p[n].length, n = 0); if (l += t.length - 1, "" === t) throw new r.Exception("Can't understand after " + e.slice(l)); a.push(o[v(t, o)]) } return a }(e); for (k = 0; k < E.length; k++) { var k, j, S = E[k]; if (14 === S.type) { if (k > 0 && k < E.length - 1 && 1 === E[k + 1].type && (1 === E[k - 1].type || 6 === E[k - 1].type)) throw new r.Exception("Unexpected Space"); continue } var O = S.token, C = S.type, A = S.value, T = S.precedence, M = S.show, P = n[n.length - 1]; for (j = a.length; j-- && 0 === a[j];)if (-1 !== [0, 2, 3, 4, 5, 9, 11, 12, 13].indexOf(C)) { if (!0 !== s[C]) throw new r.Exception(O + " is not allowed after " + w); n.push(g), s = u, x = d, a.pop() } if (!0 !== s[C]) throw new r.Exception(O + " is not allowed after " + w); if (!0 === x[C] && (C = 2, A = r.math.mul, M = "×", T = 3, k -= 1), _ = { value: A, type: C, pre: T, show: M, numberOfArguments: S.numberOfArguments }, 0 === C) s = l, x = f, i(a, 2), n.push(_), 4 !== E[k + 1].type && (n.push(y), a.push(2)); else if (1 === C) 1 === P.type ? (P.value += A, i(a, 1)) : n.push(_), s = u, x = c; else if (2 === C) s = l, x = f, i(a, 2), n.push(_); else if (3 === C) n.push(_), s = u, x = d; else if (4 === C) i(a, 1), b++, s = l, x = f, n.push(_); else if (5 === C) { if (!b) throw new r.Exception("Closing parenthesis are more than opening one, wait What!!!"); b--, s = u, x = d, n.push(_), i(a, 1) } else if (6 === C) { if (P.hasDec) throw new r.Exception("Two decimals are not allowed in one number"); 1 !== P.type && (P = { value: 0, type: 1, pre: 0 }, n.push(P)), s = h, i(a, 1), x = f, P.value += A, P.hasDec = !0 } else 7 === C && (s = u, x = d, i(a, 1), n.push(_)); 8 === C ? (s = l, x = f, i(a, S.numberOfArguments + 2), n.push(_), 4 !== E[k + 1].type && (n.push(y), a.push(S.numberOfArguments + 2))) : 9 === C ? (9 === P.type ? P.value === r.math.add ? (P.value = A, P.show = M, i(a, 1)) : P.value === r.math.sub && "-" === M && (P.value = r.math.add, P.show = "+", i(a, 1)) : 5 !== P.type && 7 !== P.type && 1 !== P.type && 3 !== P.type && 13 !== P.type ? "-" === O && (s = l, x = f, i(a, 2).push(2), n.push(m), n.push(y)) : (n.push(_), i(a, 2)), s = l, x = f) : 10 === C ? (s = l, x = f, i(a, 2), n.push(_)) : 11 === C ? (s = l, x = f, n.push(_)) : 12 === C ? (s = l, x = f, i(a, 6), n.push(_), 4 !== E[k + 1].type && (n.push(y), a.push(6))) : 13 === C && (s = u, x = d, n.push(_)), i(a, -1), w = O } for (j = a.length; j--;)n.push(g); if (!0 !== s[5]) throw new r.Exception("complete the expression"); for (; b--;)n.push(g); return n.push(g), new r(n) }, e.exports = r }, 72346: function(e) { "use strict"; var t = function(e) { this.value = e }; t.math = { isDegree: !0, acos: function(e) { return t.math.isDegree ? 180 / Math.PI * Math.acos(e) : Math.acos(e) }, add: function(e, t) { return e + t }, asin: function(e) { return t.math.isDegree ? 180 / Math.PI * Math.asin(e) : Math.asin(e) }, atan: function(e) { return t.math.isDegree ? 180 / Math.PI * Math.atan(e) : Math.atan(e) }, acosh: function(e) { return Math.log(e + Math.sqrt(e * e - 1)) }, asinh: function(e) { return Math.log(e + Math.sqrt(e * e + 1)) }, atanh: function(e) { return Math.log((1 + e) / (1 - e)) }, C: function(e, n) { var r = 1, i = e - n, o = n; o < i && (o = i, i = n); for (var a = o + 1; a <= e; a++)r *= a; return r / t.math.fact(i) }, changeSign: function(e) { return -e }, cos: function(e) { return t.math.isDegree && (e = t.math.toRadian(e)), Math.cos(e) }, cosh: function(e) { return (Math.pow(Math.E, e) + Math.pow(Math.E, -1 * e)) / 2 }, div: function(e, t) { return e / t }, fact: function(e) { if (e % 1 != 0) return "NaN"; for (var t = 1, n = 2; n <= e; n++)t *= n; return t }, inverse: function(e) { return 1 / e }, log: function(e) { return Math.log(e) / Math.log(10) }, mod: function(e, t) { return e % t }, mul: function(e, t) { return e * t }, P: function(e, t) { for (var n = 1, r = Math.floor(e) - Math.floor(t) + 1; r <= Math.floor(e); r++)n *= r; return n }, Pi: function(e, t, n) { for (var r = 1, i = e; i <= t; i++)r *= Number(n.postfixEval({ n: i })); return r }, pow10x: function(e) { for (var t = 1; e--;)t *= 10; return t }, sigma: function(e, t, n) { for (var r = 0, i = e; i <= t; i++)r += Number(n.postfixEval({ n: i })); return r }, sin: function(e) { return t.math.isDegree && (e = t.math.toRadian(e)), Math.sin(e) }, sinh: function(e) { return (Math.pow(Math.E, e) - Math.pow(Math.E, -1 * e)) / 2 }, sub: function(e, t) { return e - t }, tan: function(e) { return t.math.isDegree && (e = t.math.toRadian(e)), Math.tan(e) }, tanh: function(e) { return t.sinha(e) / t.cosha(e) }, toRadian: function(e) { return e * Math.PI / 180 }, and: function(e, t) { return e & t } }, t.Exception = function(e) { this.message = e }, e.exports = t }, 84692: function(e, t, n) { var r = n(66655); r.prototype.toPostfix = function() { "use strict"; for (var e, t, n, i, o, a = [], s = [{ value: "(", type: 4, pre: 0 }], l = this.value, u = 1; u < l.length; u++)if (1 === l[u].type || 3 === l[u].type || 13 === l[u].type) 1 === l[u].type && (l[u].value = Number(l[u].value)), a.push(l[u]); else if (4 === l[u].type) s.push(l[u]); else if (5 === l[u].type) for (; 4 !== (t = s.pop()).type;)a.push(t); else if (11 === l[u].type) { for (; 4 !== (t = s.pop()).type;)a.push(t); s.push(t) } else { i = (e = l[u]).pre, n = (o = s[s.length - 1]).pre; var c = "Math.pow" == o.value && "Math.pow" == e.value; if (i > n) s.push(e); else { for (; n >= i && !c || c && i < n;)t = s.pop(), o = s[s.length - 1], a.push(t), n = o.pre, c = "Math.pow" == e.value && "Math.pow" == o.value; s.push(e) } } return new r(a) }, e.exports = r }, 96570: function(e, t, n) { var r = n(84692); r.prototype.postfixEval = function(e) { "use strict"; (e = e || {}).PI = Math.PI, e.E = Math.E; for (var t, n, i, o = [], a = this.value, s = void 0 !== e.n, l = 0; l < a.length; l++)if (1 === a[l].type) o.push({ value: a[l].value, type: 1 }); else if (3 === a[l].type) o.push({ value: e[a[l].value], type: 1 }); else if (0 === a[l].type) void 0 === o[o.length - 1].type ? o[o.length - 1].value.push(a[l]) : o[o.length - 1].value = a[l].value(o[o.length - 1].value); else if (7 === a[l].type) void 0 === o[o.length - 1].type ? o[o.length - 1].value.push(a[l]) : o[o.length - 1].value = a[l].value(o[o.length - 1].value); else if (8 === a[l].type) { for (var u = [], c = 0; c < a[l].numberOfArguments; c++)u.push(o.pop().value); o.push({ type: 1, value: a[l].value.apply(a[l], u.reverse()) }) } else 10 === a[l].type ? (t = o.pop(), void 0 === (n = o.pop()).type ? (n.value = n.concat(t), n.value.push(a[l]), o.push(n)) : void 0 === t.type ? (t.unshift(n), t.push(a[l]), o.push(t)) : o.push({ type: 1, value: a[l].value(n.value, t.value) })) : 2 === a[l].type || 9 === a[l].type ? (t = o.pop(), void 0 === (n = o.pop()).type ? ((n = n.concat(t)).push(a[l]), o.push(n)) : void 0 === t.type ? (t.unshift(n), t.push(a[l]), o.push(t)) : o.push({ type: 1, value: a[l].value(n.value, t.value) })) : 12 === a[l].type ? (void 0 !== (t = o.pop()).type && (t = [t]), n = o.pop(), i = o.pop(), o.push({ type: 1, value: a[l].value(i.value, n.value, new r(t)) })) : 13 === a[l].type && (s ? o.push({ value: e[a[l].value], type: 3 }) : o.push([a[l]])); if (o.length > 1) throw new r.Exception("Uncaught Syntax error"); return o[0].value > 1e15 ? "Infinity" : parseFloat(o[0].value.toFixed(15)) }, r.eval = function(e, t, n) { return void 0 === t ? this.lex(e).toPostfix().postfixEval() : void 0 !== n ? this.lex(e, t).toPostfix().postfixEval(n) : void 0 !== t.length ? this.lex(e, t).toPostfix().postfixEval() : this.lex(e).toPostfix().postfixEval(t) }, e.exports = r }, 38617: function(e, t, n) { "use strict"; n.d(t, { F: function() { return u }, f: function() { return c } }); var r = n(2784); let i = ["light", "dark"], o = "(prefers-color-scheme: dark)", a = "undefined" == typeof window, s = (0, r.createContext)(void 0), l = { setTheme: e => { }, themes: [] }, u = () => { var e; return null !== (e = (0, r.useContext)(s)) && void 0 !== e ? e : l }, c = e => (0, r.useContext)(s) ? r.createElement(r.Fragment, null, e.children) : r.createElement(d, e), f = ["light", "dark"], d = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: n = !0, enableColorScheme: a = !0, storageKey: l = "theme", themes: u = f, defaultTheme: c = n ? "system" : "light", attribute: d = "data-theme", value: g, children: y, nonce: b }) => { let [x, w] = (0, r.useState)(() => p(l, c)), [_, E] = (0, r.useState)(() => p(l)), k = g ? Object.values(g) : u, j = (0, r.useCallback)(e => { let r = e; if (!r) return; "system" === e && n && (r = m()); let o = g ? g[r] : r, s = t ? v() : null, l = document.documentElement; if ("class" === d ? (l.classList.remove(...k), o && l.classList.add(o)) : o ? l.setAttribute(d, o) : l.removeAttribute(d), a) { let u = i.includes(c) ? c : null, f = i.includes(r) ? r : u; l.style.colorScheme = f } null == s || s() }, []), S = (0, r.useCallback)(e => { w(e); try { localStorage.setItem(l, e) } catch (t) { } }, [e]), O = (0, r.useCallback)(t => { let r = m(t); E(r), "system" === x && n && !e && j("system") }, [x, e]); (0, r.useEffect)(() => { let e = window.matchMedia(o); return e.addListener(O), O(e), () => e.removeListener(O) }, [O]), (0, r.useEffect)(() => { let e = e => { e.key === l && S(e.newValue || c) }; return window.addEventListener("storage", e), () => window.removeEventListener("storage", e) }, [S]), (0, r.useEffect)(() => { j(null != e ? e : x) }, [e, x]); let C = (0, r.useMemo)(() => ({ theme: x, setTheme: S, forcedTheme: e, resolvedTheme: "system" === x ? _ : x, themes: n ? [...u, "system"] : u, systemTheme: n ? _ : void 0 }), [x, S, e, _, n, u]); return r.createElement(s.Provider, { value: C }, r.createElement(h, { forcedTheme: e, disableTransitionOnChange: t, enableSystem: n, enableColorScheme: a, storageKey: l, themes: u, defaultTheme: c, attribute: d, value: g, children: y, attrs: k, nonce: b }), y) }, h = (0, r.memo)(({ forcedTheme: e, storageKey: t, attribute: n, enableSystem: a, enableColorScheme: s, defaultTheme: l, value: u, attrs: c, nonce: f }) => { let d = "system" === l, h = "class" === n ? `var d=document.documentElement,c=d.classList;c.remove(${c.map(e => `'${e}'`).join(",")});` : `var d=document.documentElement,n='${n}',s='setAttribute';`, p = s ? i.includes(l) && l ? `if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'` : "if(e==='light'||e==='dark')d.style.colorScheme=e" : "", v = (e, t = !1, r = !0) => { let o = u ? u[e] : e, a = t ? e + "|| ''" : `'${o}'`, l = ""; return s && r && !t && i.includes(e) && (l += `d.style.colorScheme = '${e}';`), "class" === n ? l += t || o ? `c.add(${a})` : "null" : o && (l += `d[s](n,${a})`), l }, m = e ? `!function(){${h}${v(e)}}()` : a ? `!function(){try{${h}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${o}',m=window.matchMedia(t);if(m.media!==t||m.matches){${v("dark")}}else{${v("light")}}}else if(e){${u ? `var x=${JSON.stringify(u)};` : ""}${v(u ? "x[e]" : "e", !0)}}${d ? "" : "else{" + v(l, !1, !1) + "}"}${p}}catch(e){}}()` : `!function(){try{${h}var e=localStorage.getItem('${t}');if(e){${u ? `var x=${JSON.stringify(u)};` : ""}${v(u ? "x[e]" : "e", !0)}}else{${v(l, !1, !1)};}${p}}catch(t){}}();`; return r.createElement("script", { nonce: f, dangerouslySetInnerHTML: { __html: m } }) }, () => !0), p = (e, t) => { let n; if (!a) { try { n = localStorage.getItem(e) || void 0 } catch (r) { } return n || t } }, v = () => { let e = document.createElement("style"); return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), document.head.appendChild(e), () => { window.getComputedStyle(document.body), setTimeout(() => { document.head.removeChild(e) }, 1) } }, m = e => (e || (e = window.matchMedia(o)), e.matches ? "dark" : "light") }, 93542: function(e, t, n) { "use strict"; var r, i; e.exports = (null == (r = n.g.process) ? void 0 : r.env) && "object" == typeof (null == (i = n.g.process) ? void 0 : i.env) ? n.g.process : n(42351) }, 86570: function(e, t, n) { (window.__NEXT_P = window.__NEXT_P || []).push(["/_app", function() { return n(52804) }]) }, 80242: function(e, t, n) { "use strict"; n.d(t, { Ul: function() { return s }, WD: function() { return l }, fu: function() { return c }, o4: function() { return u } }); var r = n(52322), i = n(84031), o = n(44905), a = n(99182); function s(e) { let { currentPage: t, parentPage: n, commandPage: s, className: l, ...u } = e, c = (0, a.U8)(e => e.search); if ((null == n ? void 0 : n.namespace) === (null == t ? void 0 : t.namespace) && !c) return (0, r.jsx)(a.mY.Item, { className: (0, o.cx)((0, i.Vkc)(), "group", l), value: "".concat(null == s ? void 0 : s.label, " ").concat(u.children.toString()), ...u }) } function l(e) { let { currentPage: t, commandPage: n, className: s, ...l } = e, u = (0, a.U8)(e => e.search), c = n.namespace.startsWith((null == t ? void 0 : t.namespace) || ""); if (u && c || n.namespace === (null == t ? void 0 : t.namespace)) return (0, r.jsx)(a.mY.Item, { className: (0, o.cx)((0, i.Vkc)(), "group", s), value: "".concat(n.label, " ").concat(l.children.toString()), ...l }) } function u(e) { let { currentPage: t, commandPage: n, className: s, ...l } = e, u = (0, a.U8)(e => e.search), c = n.namespace.startsWith((null == t ? void 0 : t.namespace) || ""); if (u && c || !t || n.namespace === (null == t ? void 0 : t.namespace)) return (0, r.jsx)(a.mY.Item, { className: (0, o.cx)((0, i.Vkc)(), "group", s), value: "".concat(n.label, " ").concat(l.children.toString()), ...l }) } function c(e) { let { heading: t, currentPage: n, commandPage: o, ...s } = e, l = (0, a.U8)(e => e.search); return (0, r.jsx)(a.mY.Group, { heading: l && (null == n ? void 0 : n.namespace) !== o.namespace && (0, r.jsx)(i.__J, { className: "px-1", size: "12", children: o.label }), ...s }) } n(2784) }, 11015: function(e, t, n) { "use strict"; n.d(t, { F: function() { return y } }); var r = n(52322), i = n(80242); let o = { namespace: "contracts/filterStatus", label: "Contracts filter by status" }, a = [{ id: "filterStatusActive", value: "active", label: "Contract is active" }, { id: "filterStatusSuccessful", value: "successful", label: "Contract was successful" }, { id: "filterStatusPending", value: "pending", label: "Contract is pending" }, { id: "filterStatusRejected", value: "rejected", label: "Contract was rejected" }, { id: "filterStatusFailed", value: "failed", label: "Contract has failed" }]; function s(e) { let { select: t, currentPage: n } = e; return (0, r.jsx)(i.fu, { currentPage: n, commandPage: o, children: a.map(e => (0, r.jsx)(i.WD, { currentPage: n, commandPage: o, onSelect: () => { t(e) }, children: e.label }, e.id + e.value)) }) } var l = n(50002), u = n(30080); let c = { namespace: "contracts/filterAddress", label: "Contracts filter by ID" }; function f(e) { let { select: t, currentPage: n } = e, { openDialog: o } = (0, l.Rh)(), a = (0, u.O)(""); return (0, r.jsx)(i.fu, { currentPage: n, commandPage: c, children: (0, r.jsx)(i.WD, { currentPage: n, commandPage: c, onSelect: () => { t(), o("contractsFilterContractId") }, children: a.label }) }) } function d(e) { let { select: t, currentPage: n, parentPage: o, commandPage: a } = e, { openDialog: s } = (0, l.Rh)(); return (0, r.jsx)(i.Ul, { currentPage: n, parentPage: o, commandPage: a, onSelect: () => { t(), s("contractsFilterContractId") }, children: c.label }) } function h(e) { let { currentPage: t, select: n } = e; return (0, r.jsxs)(r.Fragment, { children: [(0, r.jsx)(s, { currentPage: t, select: n }), (0, r.jsx)(f, { currentPage: t, select: n })] }) } let p = { namespace: "contracts", label: "Contracts" }; function v(e) { let { currentPage: t, parentPage: n, pushPage: a, select: s } = e; return (0, r.jsxs)(r.Fragment, { children: [(0, r.jsx)(i.Ul, { currentPage: t, parentPage: n, commandPage: p, onSelect: () => { a(o) }, children: o.label }), (0, r.jsx)(d, { currentPage: t, parentPage: n, commandPage: p, select: s })] }) } var m = n(21987), g = n(2784); function y(e) { let { currentPage: t, parentPage: n, pushPage: i, beforeSelect: o, afterSelect: a } = e, { setFilter: s } = (0, m.G)(), l = (0, g.useCallback)(e => { o && o(), e && s(e), a && a() }, [s, o, a]); return (0, r.jsxs)(r.Fragment, { children: [(0, r.jsx)(v, { parentPage: n, currentPage: t, pushPage: i, select: l }), (0, r.jsx)(h, { currentPage: t, select: l })] }) } }, 74881: function(e, t, n) { "use strict"; n.d(t, { _: function() { return i }, h: function() { return o } }); var r = n(13369); let i = { home: "/", volumes: { index: "/volumes" }, contracts: { index: "/contracts" }, config: { index: "/config" }, wallet: { view: "/wallet" }, node: { index: "/node", txPool: "/node/txpool", peers: "/node/peers" }, login: "/login" }, o = r.dk }, 21987: function(e, t, n) { "use strict"; n.d(t, { x: function() { return g }, G: function() { return m } }); var r = n(52322), i = n(84031), o = n(5632), a = n(13369), s = n(2784), l = n(71762), u = n(2288), c = n(50002); function f(e) { let { id: t, status: n, contentProps: o, buttonProps: l } = e, u = (0, a.kr)(), { openDialog: f } = (0, c.Rh)(), d = (0, s.useCallback)(async () => { let e = await u.put({ params: { id: t } }); e.error ? (0, i.OHV)(e.error) : (0, i.OPV)((0, r.jsxs)(r.Fragment, { children: ["Integrity check successfully started, depending on contract data size this operation can take a while. Check ", (0, r.jsx)(i.EKh, { children: "hostd" }), " ", (0, r.jsx)(i.rUS, { onClick: () => f("alerts"), children: "alerts" }), " for status updates."] }), { duration: 12e3 }) }, [t, u, f]), h = ["active", "pending"].includes(n); return (0, r.jsxs)(i.h_2, { trigger: (0, r.jsx)(i.zxk, { variant: "ghost", icon: "hover", ...l, children: (0, r.jsx)(i.iG7, {}) }), contentProps: { align: "start", ...o }, children: [(0, r.jsx)("div", { className: "px-1.5 py-1", children: (0, r.jsxs)(i.xvT, { size: "14", weight: "medium", color: "subtle", children: ["Contract ", t.slice(0, 24), "..."] }) }), (0, r.jsx)(i.Juw, { children: "Actions" }), (0, r.jsx)(i.ua7, { content: h ? "Trigger a data integrity check" : "Data integrity check only available for active or pending contracts", children: (0, r.jsx)("div", { children: (0, r.jsxs)(i.Xiv, { disabled: !h, onSelect: () => d(), children: [(0, r.jsx)(i.KpP, { children: (0, r.jsx)(i.dDl, {}) }), "Integrity check"] }) }) })] }) } let d = [{ id: "actions", label: "", fixed: !0, cellClassName: "w-[50px] !pl-2 !pr-4 [&+*]:!pl-0", render: e => { let { data: { id: t, status: n } } = e; return (0, r.jsx)(f, { id: t, status: n }) } }, { id: "contractId", label: "contract ID", category: "general", render: e => { let { data: t } = e, { id: n, renewedFrom: o, isRenewedFrom: a, renewedTo: s, isRenewedTo: l } = t; return (0, r.jsxs)("div", { className: "flex flex-col gap-1 w-full", children: [(0, r.jsx)(i.XxW, { size: "12", value: (0, i.I13)(n), label: "contract ID" }), a && (0, r.jsx)(i.ua7, { content: "Renewed from", align: "start", children: (0, r.jsxs)("div", { className: "flex items-center", children: [(0, r.jsx)(i.xvT, { color: "subtle", children: (0, r.jsx)(i.L6f, { className: "scale-75" }) }), (0, r.jsx)(i.XxW, { color: "subtle", size: "10", value: (0, i.I13)(o), label: "contract ID" })] }) }), l && (0, r.jsx)(i.ua7, { content: "Renewed to", align: "start", children: (0, r.jsxs)("div", { className: "flex items-center", children: [(0, r.jsx)(i.xvT, { color: "subtle", children: (0, r.jsx)(i.IRm, { className: "scale-75" }) }), (0, r.jsx)(i.XxW, { color: "subtle", size: "10", value: (0, i.I13)(s), label: "contract ID" })] }) })] }) } }, { id: "status", label: "status", category: "general", render: e => { let { data: { status: t } } = e; return (0, r.jsx)(i.Cts, { variant: "active" === t ? "amber" : "failed" === t ? "red" : "pending" === t ? "amber" : "rejected" === t ? "red" : "successful" === t ? "green" : void 0, children: t }) } }, { id: "timeline", label: "timeline", category: "time", render: e => { let { data: t, context: { currentHeight: n, contractsTimeRange: o } } = e, { contractHeightStart: a, contractHeightEnd: s, revision: l, status: u } = t; return (0, r.jsx)("div", { className: "w-[400px]", children: (0, r.jsx)(i.TaT, { currentHeight: n, contractHeightStart: a, contractHeightEnd: "rejected" === u ? void 0 : s, proofWindowHeightStart: "rejected" === u ? void 0 : l.windowStart, proofWindowHeightEnd: "rejected" === u ? void 0 : l.windowEnd, range: o }) }) } }, { id: "contractHeightStart", label: "start date", category: "time", contentClassName: "w-[120px] justify-end", render: e => { let { data: { contractHeightStart: t }, context: { currentHeight: n } } = e; return (0, r.jsx)(i.xvT, { size: "12", children: (0, u.rN)((0, i.jrD)(n, t)) }) } }, { id: "contractHeightEnd", label: "expiration date", category: "time", contentClassName: "w-[120px] justify-end", render: e => { let { data: { contractHeightEnd: t }, context: { currentHeight: n } } = e; return (0, r.jsx)(i.xvT, { size: "12", children: (0, u.rN)((0, i.jrD)(n, t)) }) } }, { id: "payoutHeight", label: "payout date", category: "time", contentClassName: "w-[120px] justify-end", render: e => { let { data: { payoutHeight: t }, context: { currentHeight: n } } = e; return (0, r.jsx)(i.xvT, { size: "12", children: (0, u.rN)((0, i.jrD)(n, t)) }) } }, { id: "filesize", label: "data size", category: "general", contentClassName: "w-[120px] justify-end", render: e => { let { data: { revision: { filesize: t } } } = e; return (0, r.jsx)(i.m2c, { size: "12", value: t, variant: "value", format: e => (0, u.vW)(e.toNumber()) }) } }, { id: "fileMerkleRoot", label: "merkle root", category: "general", contentClassName: "w-[120px] justify-end", render: e => { let { data: { revision: { fileMerkleRoot: t } } } = e; return (0, r.jsx)(i.XxW, { size: "12", value: (0, i.I13)(t) }) } }, { id: "payout", label: "payout", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { revision: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.payout }) } }, { id: "lockedCollateral", label: "locked collateral", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { lockedCollateral: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t }) } }, { id: "usageRiskedCollateral", label: "risked collateral", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { usage: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.riskedCollateral }) } }, { id: "usageTotal", label: "total usage", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { usage: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.total }) } }, { id: "usageStorage", label: "storage usage", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { usage: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.storage }) } }, { id: "usageIngress", label: "ingress usage", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { usage: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.ingress }) } }, { id: "usageEgress", label: "egress usage", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { usage: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.egress }) } }, { id: "usageAccountFunding", label: "account funding usage", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { usage: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.accountFunding }) } }, { id: "usageRpc", label: "RPC usage", category: "financial", contentClassName: "w-[120px] justify-end", render: e => { let { data: { usage: t } } = e; return (0, r.jsx)(i.YKL, { size: "12", value: t.rpc }) } }].map(e => ({ ...e, ..."financial" === e.category ? { icon: (0, r.jsx)(i.dZ8, { className: "relative opacity-50 scale-75" }), label: e.label, tip: "financial: ".concat(e.label) } : { label: e.label, tip: e.label } })); var h = n(6391), p = n.n(h); let v = (0, s.createContext)({}), m = () => (0, s.useContext)(v); function g(e) { let { children: t } = e, n = function() { var e, t, n; let r = (0, o.useRouter)(), u = Number(r.query.limit || 50), c = Number(r.query.offset || 0), { filters: f, setFilter: h, removeFilter: v, removeLastFilter: m, resetFilters: g } = (0, i.Uu5)(), { configurableColumns: y, enabledColumns: b, sortableColumns: x, toggleColumnVisibility: w, setColumnsVisible: _, setColumnsHidden: E, toggleSort: k, setSortDirection: j, setSortField: S, sortField: O, sortDirection: C, resetDefaultColumnVisibility: A } = (0, i.oy6)("hostd/v0/contracts", { columns: d, columnsDefaultVisible: l.gd, sortOptions: l.Fo, defaultSortField: l.nw }), T = (0, a.GP)({ payload: { limit: u, offset: c, sortField: null === (e = l.Fo.find(e => e.id === O)) || void 0 === e ? void 0 : e.value, sortDesc: "desc" === C, contractIDs: f.filter(e => "filterContractId" === e.id).map(e => e.value), statuses: f.filter(e => e.id.startsWith("filterStatus")).map(e => e.value) } }), M = function(e) { let { response: t } = e; return (0, s.useMemo)(() => { var e; return t.data ? (null === (e = t.data.contracts) || void 0 === e ? void 0 : e.map(e => (function(e) { let t = new (p())(e.usage.accountFunding || 0), n = new (p())(e.usage.egress || 0), r = new (p())(e.usage.ingress || 0), i = new (p())(e.usage.riskedCollateral || 0), o = new (p())(e.usage.rpc || 0), a = new (p())(e.usage.storage || 0), s = t.plus(n).plus(r).plus(o).plus(a), l = e.resolutionHeight > 0 ? e.resolutionHeight + 144 : e.revision.windowEnd + 144; return { id: e.revision.parentID, revision: { parentID: e.revision.parentID, unlockConditions: e.revision.unlockConditions, filesize: new (p())(e.revision.filesize || 0), fileMerkleRoot: e.revision.fileMerkleRoot, windowStart: e.revision.windowStart, windowEnd: e.revision.windowEnd, payout: new (p())("active" == e.status || e.resolutionHeight > 0 ? e.revision.validProofOutputs[1].value : e.revision.missedProofOutputs[1].value), validProofOutputs: e.revision.validProofOutputs, missedProofOutputs: e.revision.missedProofOutputs, unlockHash: e.revision.unlockHash, revisionNumber: e.revision.revisionNumber }, usage: { total: s, accountFunding: t, egress: n, ingress: r, riskedCollateral: i, rpc: o, storage: a }, lockedCollateral: new (p())(e.lockedCollateral || 0), hostSignature: e.hostSignature, renterSignature: e.renterSignature, status: e.status, negotiationHeight: e.negotiationHeight, formationConfirmed: e.formationConfirmed, revisionConfirmed: e.revisionConfirmed, resolutionHeight: e.resolutionHeight, payoutHeight: l, contractHeightStart: e.negotiationHeight, contractHeightEnd: e.revision.windowStart, renewedTo: e.renewedTo, renewedFrom: e.renewedFrom, isRenewedFrom: "fcid:0000000000000000000000000000000000000000000000000000000000000000" !== e.renewedFrom, isRenewedTo: "fcid:0000000000000000000000000000000000000000000000000000000000000000" !== e.renewedTo } })(e))) || [] : null }, [t.data]) }({ response: T }), P = (0, s.useMemo)(() => d.filter(e => b.includes(e.id)), [b]), N = T.isValidating, R = T.error, D = (0, i.c2j)(M, N, R, f), L = (0, a.nH)(), F = (0, a.d$)({ config: { swr: { refreshInterval: 6e4 } } }), I = (null === (t = F.data) || void 0 === t ? void 0 : t.synced) ? F.data.chainIndex.height : L, { range: z } = (0, s.useMemo)(() => (0, i.EJC)(I, M || []), [I, M]); return { dataState: D, offset: c, limit: u, cellContext: { contractsTimeRange: z, currentHeight: I }, pageCount: (null == M ? void 0 : M.length) || 0, totalCount: null === (n = T.data) || void 0 === n ? void 0 : n.count, columns: P, dataset: M, configurableColumns: y, enabledColumns: b, sortableColumns: x, toggleColumnVisibility: w, setColumnsVisible: _, setColumnsHidden: E, toggleSort: k, setSortDirection: j, setSortField: S, sortField: O, sortDirection: C, resetDefaultColumnVisibility: A, filters: f, setFilter: h, removeFilter: v, removeLastFilter: m, resetFilters: g } }(); return (0, r.jsx)(v.Provider, { value: n, children: t }) } }, 71762: function(e, t, n) { "use strict"; n.d(t, { Fo: function() { return i }, gd: function() { return r }, nw: function() { return o } }); let r = ["contractId", "status", "usageTotal", "lockedCollateral", "timeline"], i = [{ id: "status", value: "status", label: "status", category: "general" }, { id: "timeline", value: "negotiationHeight", label: "timeline", category: "time" }, { id: "contractHeightStart", value: "negotiationHeight", label: "start height", category: "time" }, { id: "contractHeightEnd", value: "expirationHeight", label: "expiration height", category: "time" }], o = "timeline" }, 50002: function(e, t, n) { "use strict"; n.d(t, { Tu: function() { return ev }, xQ: function() { return em }, Rh: function() { return ep } }); var r = n(52322), i = n(2784), o = n(84031), a = n(13369), s = n(2288), l = n(63955); function u(e, t, n) { var r = this, o = (0, i.useRef)(null), a = (0, i.useRef)(0), s = (0, i.useRef)(null), l = (0, i.useRef)([]), u = (0, i.useRef)(), c = (0, i.useRef)(), f = (0, i.useRef)(e), d = (0, i.useRef)(!0); (0, i.useEffect)(function() { f.current = e }, [e]); var h = !t && 0 !== t && "undefined" != typeof window; if ("function" != typeof e) throw TypeError("Expected a function"); t = +t || 0; var p = !!(n = n || {}).leading, v = !("trailing" in n) || !!n.trailing, m = "maxWait" in n, g = m ? Math.max(+n.maxWait || 0, t) : null; return (0, i.useEffect)(function() { return d.current = !0, function() { d.current = !1 } }, []), (0, i.useMemo)(function() { var e = function(e) { var t = l.current, n = u.current; return l.current = u.current = null, a.current = e, c.current = f.current.apply(n, t) }, n = function(e, t) { h && cancelAnimationFrame(s.current), s.current = h ? requestAnimationFrame(e) : setTimeout(e, t) }, i = function(e) { if (!d.current) return !1; var n = e - o.current; return !o.current || n >= t || n < 0 || m && e - a.current >= g }, y = function(t) { return s.current = null, v && l.current ? e(t) : (l.current = u.current = null, c.current) }, b = function e() { var r = Date.now(); if (i(r)) return y(r); if (d.current) { var s = t - (r - o.current); n(e, m ? Math.min(s, g - (r - a.current)) : s) } }, x = function() { var f = Date.now(), h = i(f); if (l.current = [].slice.call(arguments), u.current = r, o.current = f, h) { if (!s.current && d.current) return a.current = o.current, n(b, t), p ? e(o.current) : c.current; if (m) return n(b, t), e(o.current) } return s.current || n(b, t), c.current }; return x.cancel = function() { s.current && (h ? cancelAnimationFrame(s.current) : clearTimeout(s.current)), a.current = 0, l.current = o.current = u.current = s.current = null }, x.isPending = function() { return !!s.current }, x.flush = function() { return s.current ? y(Date.now()) : c.current }, x }, [p, m, t, g, v, h]) } function c(e, t) { return e === t } function f(e) { return "function" == typeof e ? function() { return e } : e } var d = n(99182), h = n(80242); function p(e) { let { search: t } = e; return (0, r.jsxs)(o.xvT, { color: "verySubtle", className: "flex flex-col gap-2 justify-center items-center mt-5 mb-3", children: [(0, r.jsx)(o.xvT, { color: "verySubtle", className: "flex gap-2 justify-center items-center", children: (0, r.jsx)(o.Qbr, {}) }), (0, r.jsx)(o.xvT, { size: "12", color: "verySubtle", className: "flex justify-center", children: t ? "No matching directory." : "Select a directory to get started." })] }) } function v() { var e; let t = (0, a.On)({ config: { swr: { revalidateOnFocus: !1, keepPreviousData: !0 } } }); return (null === (e = t.data) || void 0 === e ? void 0 : e.OS) === "windows" ? "\\" : "/" } var m = n(76635); function g(e) { let { currentPath: t, childPath: n, separator: r } = e; return "\\" === t && n.endsWith(":") ? n + r : y(t, n, r) } function y(e, t, n) { e = e === n ? e : (0, m.trimEnd)(e, n), t = (0, m.trim)(t, n); let r = ""; return (r = e.length ? t.length && t !== n ? e === n ? n + t : e + n + t : e : t).endsWith(":") ? r + n : r } function b() { return (0, r.jsxs)(o.xvT, { color: "verySubtle", className: "flex flex-col gap-2 justify-center items-center mt-5 mb-3", children: [(0, r.jsx)(o.xvT, { color: "verySubtle", className: "flex gap-2 justify-center items-center", children: (0, r.jsx)(o.Qbr, {}) }), (0, r.jsx)(o.xvT, { size: "12", color: "verySubtle", className: "flex justify-center", children: "Error loading directory." })] }) } function x(e) { let { path: t, onCreate: n } = e, s = v(), l = (0, a.Kw)(), [u, c] = (0, i.useState)(""), f = (0, i.useCallback)(async () => { let e = await l.put({ payload: { path: g({ currentPath: t, childPath: u, separator: s }) } }); e.error ? (0, o.OHV)("Error creating directory: ".concat(e.error)) : (n(u), c("")) }, [l, u, n, t, s]); return (0, r.jsxs)("div", { className: "flex items-center gap-2 overflow-hidden w-full", children: [(0, r.jsx)(o.xvT, { color: "verySubtle", className: "group-data-[selected=true]:text-gray-1000 dark:group-data-[selected=true]:text-graydark-1000", children: (0, r.jsx)(o.L37, {}) }), (0, r.jsx)("div", { className: "flex-1", children: (0, r.jsx)(o.nvn, { focus: "none", variant: "ghost", placeholder: "type new directory name", className: "!pl-0 font-normal h-5", value: u, onChange: e => { c(e.currentTarget.value) }, onKeyUp: e => { e.stopPropagation(), "Enter" === e.key && f() }, size: "small" }) })] }) } function w(e) { let { path: t, setPath: n, commandPage: i, currentPage: a, beforeSelect: s, afterSelect: l } = e, u = v(); return (0, r.jsx)(h.WD, { commandPage: i, currentPage: a, onSelect: () => { t && (s && s(), n(function(e, t) { if (e.endsWith(":\\")) return t; let n = "".concat(e.split(t).slice(0, -1).join(t)); return "" === n ? t : n.endsWith(":") ? n + t : n }(t, u)), l && l()) }, value: "..", children: (0, r.jsxs)("div", { className: "flex items-center gap-2 overflow-hidden", children: [(0, r.jsx)(o.xvT, { color: "verySubtle", className: "group-data-[selected=true]:text-gray-1000 dark:group-data-[selected=true]:text-graydark-1000", children: (0, r.jsx)(o.ROc, { size: 16 }) }), (0, r.jsx)(o.xvT, { ellipsis: !0, children: ".." })] }) }, "..") } let _ = { namespace: "volumes/directorySelect", label: "Directory select" }; function E(e) { var t, n, i, a, s, l, u; let { path: c, dir: f, setPath: m, currentPage: y, beforeSelect: E, afterSelect: k } = e, j = v(), S = (null === (t = f.data) || void 0 === t ? void 0 : t.path) === j, O = (null === (n = f.data) || void 0 === n ? void 0 : n.path) === "\\"; return (0, r.jsxs)(h.fu, { currentPage: y, commandPage: _, children: [f.isValidating || !f.data || f.error ? null : S ? null : (0, r.jsx)(w, { path: f.data.path, setPath: m, currentPage: y, commandPage: _, afterSelect: k, beforeSelect: E }), (0, r.jsxs)(d.mY.Empty, { children: [!f.isValidating && f.error ? (0, r.jsx)(b, {}) : null, f.isValidating || f.error || (null === (i = f.data) || void 0 === i ? void 0 : null === (a = i.directories) || void 0 === a ? void 0 : a.length) ? null : (0, r.jsx)(p, { search: c })] }), !f.isValidating && !f.error && (null === (s = f.data) || void 0 === s ? void 0 : null === (l = s.directories) || void 0 === l ? void 0 : l.length) ? f.data.directories.map(e => (0, r.jsx)(h.WD, { commandPage: _, currentPage: y, onSelect: () => { E && E(); let t = g({ currentPath: f.data.path, childPath: e, separator: j }); m(t), k && k() }, value: e, children: (0, r.jsxs)("div", { className: "flex items-center gap-2 overflow-hidden", children: [(0, r.jsx)(o.xvT, { color: "verySubtle", className: "group-data-[selected=true]:text-gray-1000 dark:group-data-[selected=true]:text-graydark-1000", children: (0, r.jsx)(o.ROc, { size: 16 }) }), (0, r.jsx)(o.xvT, { ellipsis: !0, children: e })] }) }, e)) : null, !O && !f.isValidating && !f.error && (0, r.jsx)(h.WD, { commandPage: _, currentPage: y, value: "create new directory", children: (0, r.jsx)(x, { path: null === (u = f.data) || void 0 === u ? void 0 : u.path, onCreate: e => { f.mutate(t => { var n; return { ...t, directories: (null == t ? void 0 : null === (n = t.directories) || void 0 === n ? void 0 : n.concat(e)) || [e] } }) } }) })] }) } function k(e) { let { path: t, dir: n, onChange: i } = e; return (0, r.jsx)(d.mY, { label: "Select volume", shouldFilter: !1, children: (0, r.jsx)(o.s_4, { className: "h-[200px] p-1 overflow-hidden", children: (0, r.jsx)(o.xrM, { keyToResetScrollbars: t, children: (0, r.jsx)(d.mY.List, { children: (0, r.jsx)(E, { path: t, dir: n, setPath: i, currentPage: _ }) }) }) }) }) } var j = n(44905); function S(e) { let { label: t, newSizeGB: n, currentSizeGB: i = 0, maxSizeGB: a = 0 } = e, l = i < n, u = i > n; return (0, r.jsxs)("div", { className: "flex flex-col gap-1", children: [(0, r.jsxs)("div", { className: "relative w-full h-1 rounded-lg bg-gray-300 dark:bg-graydark-300 overflow-hidden", children: [(0, r.jsx)("div", { className: (0, j.cx)("absolute h-1 rounded-tl-lg rounded-bl-lg", void 0 !== n && u ? "bg-red-500 dark:bg-red-500" : "bg-gray-700 dark:bg-graydark-800", l ? "z-10" : "z-0"), style: { width: a ? "".concat(i / a * 100, "%") : "0%" } }), (0, r.jsx)("div", { className: (0, j.cx)("absolute h-1 rounded-tl-lg rounded-bl-lg", n > a ? "bg-amber-500 dark:bg-amber-500" : void 0 !== n && l ? "bg-green-500 dark:bg-green-500" : "bg-gray-700 dark:bg-graydark-800", u ? "z-10" : "z-0"), style: { width: a ? "".concat(n / a * 100, "%") : "0%" } })] }), (0, r.jsxs)("div", { className: "h-4 flex justify-between", children: [t || (0, r.jsx)("div", {}), void 0 !== n && a ? (0, r.jsx)(o.xvT, { size: "12", color: "subtle", children: "".concat((n / a * 100).toFixed(0), "% of ").concat((0, s.vW)((0, o.Hzd)(a)), " available") }) : null] })] }) } let O = { size: void 0, name: "", path: "~", immediatePath: "~" }; function C(e) { var t; let { trigger: n, open: c, onOpenChange: f } = e, { closeDialog: d } = ep(), h = (0, a.HU)(), p = v(), m = (0, l.cI)({ mode: "all", defaultValues: O }), g = m.watch("path"), b = m.watch("immediatePath"), x = m.watch("name"), w = m.watch("size"), _ = u(() => { g !== b && m.setValue("path", b) }, 500); (0, i.useEffect)(() => { _() }, [b]), (0, i.useEffect)(() => { g !== b && m.setValue("immediatePath", g) }, [g]); let E = (0, i.useCallback)(async e => { let t = await h.post({ payload: { localPath: y(g, x, p), maxSectors: (0, o.WN2)(e.size).toNumber() } }); t.error ? (0, o.OHV)(t.error) : ((0, o.OPV)("New volume created."), m.reset(O), d()) }, [m, h, d, x, g, p]), j = (0, a.cM)({ disabled: !c, params: { path: "" === g ? p : g }, config: { swr: { shouldRetryOnError: !1 } } }); (0, i.useEffect)(() => { j.error && m.setError("immediatePath", { message: "Directory does not exist" }) }, [j.error]), (0, i.useEffect)(() => { j.data && j.data.path !== g && m.setValue("path", j.data.path) }, [j.data]); let C = (null == w ? void 0 : w.toNumber()) || 0, A = j.data ? (0, o.Uzc)(j.data.freeBytes).toNumber() : 0, T = (0, o.Uzc)((null === (t = j.data) || void 0 === t ? void 0 : t.freeBytes) || 0).toNumber(), M = (0, i.useMemo)(() => ({ name: { type: "text", title: "Name", placeholder: "data.dat", validation: { required: "required" } }, immediatePath: { type: "text", title: "Location", placeholder: "Enter a directory or select one below", validation: { required: "required", validate: {} } }, path: { type: "text", title: "Location", validation: { required: "required", validate: { req: e => "\\" !== e || "directory within a drive required" } } }, size: { type: "number", title: "Size", decimalsLimit: 0, units: "GB", placeholder: "1,000", validation: { required: "required", validate: { between: e => { let t = "Must be between ".concat((0, s.vW)((0, o.Hzd)(10)), " and ").concat((0, s.vW)((0, o.Hzd)(T), { fixed: 3 })); return e <= T && e >= 10 || t }, nospace: () => T > 10 || "not enough space in directory" } } } }), [T]), P = (0, o.WsO)(M); return m.register("path", M.path.validation), (0, r.jsx)(o.VqE, { title: "Create Volume", trigger: n, open: c, onOpenChange: e => { e || m.reset(O), f(e) }, contentVariants: { className: "w-[400px]" }, onSubmit: m.handleSubmit(E, P), controls: (0, r.jsx)("div", { className: "flex flex-col gap-1", children: (0, r.jsx)(o.ZqQ, { form: m, children: "Create" }) }), children: (0, r.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, r.jsx)(o.nvN, { size: "14", children: "Create a new volume. Select a system directory and specific the size of the volume." }), (0, r.jsx)(o.yEL, { name: "name", form: m, fields: M }), (0, r.jsxs)("div", { className: "flex flex-col gap-3", children: [(0, r.jsx)("div", { className: "flex flex-col gap-1", children: (0, r.jsx)(o.yEL, { name: "immediatePath", form: m, fields: M }) }), (0, r.jsx)(k, { path: g, dir: j, onChange: e => m.setValue("path", e, { shouldDirty: !0, shouldTouch: !0, shouldValidate: !0 }) })] }), (0, r.jsx)(o.jIp, { name: "size", form: m, fields: M }), (0, r.jsx)(S, { newSizeGB: C, currentSizeGB: 0, maxSizeGB: A })] }) }) } let A = { size: void 0 }; function T(e) { var t, n; let { trigger: u, open: c, onOpenChange: f } = e, { id: d, closeDialog: h } = ep(), p = v(), m = (0, a.ST)({ disabled: !d, params: { id: d } }), g = (0, a.cM)({ disabled: !c || !m.data, params: { path: null === (t = m.data) || void 0 === t ? void 0 : t.localPath.split(p).slice(0, -1).join(p) } }), y = (0, a.G)(), b = (0, l.cI)({ mode: "all", defaultValues: A }), x = b.watch("size"), w = (0, i.useCallback)(async e => { let t = await y.put({ params: { id: Number(d) }, payload: { maxSectors: (0, o.WN2)(e.size).toNumber() } }); t.error ? (0, o.OHV)(t.error) : ((0, o.OPV)("Volume resizing initiated."), b.reset(A), h()) }, [b, d, y, h]); (0, i.useEffect)(() => { m.data && b.reset(A) }, [m.data]); let _ = null == x ? void 0 : x.toNumber(), E = m.data ? (0, o.bjP)(m.data.totalSectors).toNumber() : 0, k = g.data ? (0, o.Uzc)(g.data.totalBytes).toNumber() : 0, j = Math.abs(E - _) >= 1, O = (0, i.useMemo)(() => ({ size: { type: "number", title: "New size", decimalsLimit: 0, units: "GB", placeholder: "1,000", validation: { required: "required", validate: { between: e => { let t = "Must be between ".concat((0, s.vW)((0, o.Hzd)(10)), " and ").concat((0, s.vW)((0, o.Hzd)(k), { fixed: 3 })); return e <= k && e >= 10 || t } } } } }), [k]), C = (0, o.WsO)(O); return (0, r.jsx)(o.VqE, { title: "Resize Volume", trigger: u, open: c, onOpenChange: e => { e || b.reset(A), f(e) }, contentVariants: { className: "max-w-[400px]" }, onSubmit: b.handleSubmit(w, C), controls: (0, r.jsx)("div", { className: "flex flex-col gap-1", children: (0, r.jsx)(o.ZqQ, { form: b, children: "Resize" }) }), children: (0, r.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, r.jsxs)(o.nvN, { size: "14", children: ["Grow or shrink the volume. When growing a volume, make sure to check that there is enough space on-disk. When shrinking a volume, any data that needs to be moved will be placed into other volumes, meaning that no data will be lost. If ", (0, r.jsx)(o.EKh, { children: "hostd" }), " is unable to migrate the data, an error will be returned and the operation will be stopped."] }), (0, r.jsxs)("div", { className: "flex flex-col gap-1", children: [(0, r.jsx)(o.__J, { children: "Volume" }), (0, r.jsx)(o.xvT, { font: "mono", ellipsis: !0, children: null === (n = m.data) || void 0 === n ? void 0 : n.localPath })] }), (0, r.jsx)(o.jIp, { name: "size", form: b, fields: O }), (0, r.jsx)(S, { currentSizeGB: E, newSizeGB: _, maxSizeGB: k, label: j ? (0, r.jsx)(o.xvT, { size: "12", color: "subtle", children: E < _ ? "Increase by ".concat((0, s.vW)((0, o.Hzd)(_ - E))) : "Decrease by ".concat((0, s.vW)((0, o.Hzd)(E - _))) }) : (0, r.jsx)(o.xvT, { size: "12", color: "subtle", children: "Current size is ".concat((0, s.vW)((0, o.Hzd)(E))) }) })] }) }) } let M = { path: "", force: !1 }; function P(e) { var t, n, u; let { trigger: c, open: f, onOpenChange: d } = e, { id: h, closeDialog: p } = ep(), v = (0, a.uq)(), m = (0, a.ST)({ disabled: !h, params: { id: h } }), g = (0, o.x9T)(null === (t = m.data) || void 0 === t ? void 0 : t.totalSectors), y = (0, o.x9T)(null === (n = m.data) || void 0 === n ? void 0 : n.usedSectors), b = null === (u = m.data) || void 0 === u ? void 0 : u.localPath, x = (0, l.cI)({ mode: "all", defaultValues: M }), w = (0, i.useCallback)(async e => { var t; let n = await v.delete({ params: { id: null === (t = m.data) || void 0 === t ? void 0 : t.ID, force: e.force } }); n.error ? (0, o.OHV)(n.error) : ((0, o.OPV)("Volume permanently deleted."), x.reset(), p()) }, [x, m.data, v, p]), _ = (0, i.useMemo)(() => ({ path: { type: "text", title: "Path", placeholder: b, validation: { required: "required", validate: { equals: e => e === b || "directory path does not match" } } }, force: { type: "boolean", title: "Force", validation: {} } }), [b]), E = (0, o.WsO)(_); return (0, r.jsx)(o.VqE, { title: "Delete Volume", trigger: c, open: f, onOpenChange: e => { e || x.reset(M), d(e) }, contentVariants: { className: "w-[400px]" }, onSubmit: x.handleSubmit(w, E), children: (0, r.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, r.jsx)(o.nvN, { size: "14", children: "Are you sure you would like to delete the volume?" }), (0, r.jsxs)(o.nvN, { size: "14", children: [(0, r.jsx)(o.EKh, { children: "hostd" }), " will move", " ", (0, r.jsx)(o.xvT, { weight: "semibold", children: (0, s.vW)(y) }), " of stored data and will lose ", (0, r.jsx)(o.xvT, { weight: "semibold", children: (0, s.vW)(g) }), " ", "of storage capacity. It is not recommended to remove or resize volumes when contracts are about to expire."] }), (0, r.jsx)(o.nvN, { size: "14", children: "Enter the volume path to confirm the removal." }), (0, r.jsx)(o.yEL, { name: "path", form: x, fields: _ }), (0, r.jsxs)("div", { className: "flex gap-1", children: [(0, r.jsx)(o.QBj, { name: "force", size: "medium", form: x, fields: _ }), (0, r.jsx)(o.Yqd, { children: (0, r.jsx)("div", { className: "flex gap-1 max-w-[200px]", children: (0, r.jsx)(o.nvN, { size: "14", children: "Force deleting a volume will remove the volume even if the data can NOT be relocated - this will result in severe data loss and contract failure. Be extremely careful when using this option." }) }) })] }), (0, r.jsx)(o.ZqQ, { variant: "red", form: x, children: "Delete" })] }) }) } var N = n(6391), R = n.n(N); function D() { let { dialog: e, openDialog: t, closeDialog: n } = ep(), s = (0, a.Os)(), l = (0, a.cj)(), u = (0, i.useCallback)(async e => { let { sc: t, address: n } = e, r = await l.post({ payload: { address: n, amount: t.toString() } }); return r.error ? { error: r.error } : { transactionId: r.data } }, [l]); return (0, r.jsx)(o.weF, { balance: s.data ? new (R())(s.data.spendable) : void 0, send: u, open: "sendSiacoin" === e, onOpenChange: r => r ? t(e) : n() }) } function L() { let { id: e, dialog: t, openDialog: n, closeDialog: s } = ep(), l = (0, a.Qq)({ params: {}, config: { swr: { revalidateOnFocus: !1, refreshInterval: 6e4 } }, disabled: "transactionDetails" !== t }), u = (0, i.useMemo)(() => { var t; let n = null === (t = l.data) || void 0 === t ? void 0 : t.find(t => t.ID === e); return n ? { txType: (0, o.leQ)(n.transaction, n.source), inflow: n.inflow, outflow: n.outflow, timestamp: n.timestamp, raw: n.transaction } : null }, [l, e]); return (0, r.jsx)(o.mPE, { id: e, transaction: u, open: "transactionDetails" === t, onOpenChange: e => e ? n(t) : s() }) } var F = n(30080), I = n(41755), z = n(74881), V = n(5632); let B = { namespace: "wallet", label: "Wallet" }; function Z(e) { let { currentPage: t, parentPage: n, pushPage: i } = e, { openDialog: s, closeDialog: l } = ep(), u = (0, V.useRouter)(), c = (0, a.On)({ config: { swr: { revalidateOnFocus: !1, keepPreviousData: !0 } } }); return (0, r.jsxs)(h.fu, { currentPage: t, commandPage: B, children: [(0, r.jsx)(h.Ul, { currentPage: t, parentPage: n, commandPage: B, onSelect: () => { i(B) }, children: B.label }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: B, onSelect: () => { u.push(z._.wallet.view), l() }, children: "View wallet transactions" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: B, onSelect: () => { s("sendSiacoin") }, children: "Send siacoin" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: B, onSelect: () => { s("addressDetails") }, children: "Receive siacoin" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: B, onSelect: () => { s("addressDetails") }, children: "View wallet address" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: B, onSelect: () => { var e; (0, o.vQq)(null === (e = c.data) || void 0 === e ? void 0 : e.walletAddress, "wallet address"), l() }, children: "Copy wallet address to clipboard" })] }) } var U = n(38617); let H = { namespace: "settings", label: "Settings" }; function W(e) { let { currentPage: t, parentPage: n } = e, { openDialog: i, closeDialog: o } = ep(), { setTheme: a } = (0, U.F)(), { settings: s, setSettings: l, lock: u, currencyOptions: c, setCurrency: f } = (0, I.Hv)(); return (0, r.jsxs)(h.fu, { currentPage: t, commandPage: H, children: [(0, r.jsx)(h.Ul, { currentPage: t, parentPage: n, commandPage: H, onSelect: () => { i("settings") }, children: "Open settings" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: H, onSelect: () => { l({ siaCentral: !s.siaCentral }), o() }, children: (s.siaCentral ? "Disable" : "Enable") + " external API - Sia Central exchange rates" }), (0, r.jsx)(h.o4, { currentPage: t, commandPage: H, onSelect: () => { u(), o() }, children: "Lock hostd" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: H, onSelect: () => { i("settings") }, children: "Open interface theme menu" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: H, onSelect: () => { a("system"), o() }, children: "Set theme to system preference" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: H, onSelect: () => { a("dark"), o() }, children: "Set theme to dark" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: H, onSelect: () => { a("light"), o() }, children: "Set theme to light" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: H, onSelect: () => { i("settings") }, children: "Open currency settings menu" }), c.map(e => { let { id: n, label: i } = e; return (0, r.jsx)(h.WD, { currentPage: t, commandPage: H, onSelect: () => { f(n), o() }, children: "Set currency to ".concat(i) }, n) })] }) } let q = { namespace: "node", label: "Blockchain node" }; function $(e) { let { currentPage: t, parentPage: n, pushPage: i } = e, { openDialog: o, closeDialog: a } = ep(), s = (0, V.useRouter)(); return (0, r.jsxs)(h.fu, { currentPage: t, commandPage: q, children: [(0, r.jsx)(h.Ul, { currentPage: t, parentPage: n, commandPage: q, onSelect: () => { i(q) }, children: q.label }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: q, onSelect: () => { o("connectPeer") }, children: "Connect to a peer" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: q, onSelect: () => { s.push(z._.node.index), a() }, children: "View peers" })] }) } let Y = { namespace: "configuration", label: "Configuration" }; function G(e) { let { currentPage: t, parentPage: n, pushPage: i } = e, o = (0, V.useRouter)(), { closeDialog: a } = ep(); return (0, r.jsxs)(h.fu, { currentPage: t, commandPage: Y, children: [(0, r.jsx)(h.Ul, { currentPage: t, parentPage: n, commandPage: Y, onSelect: () => { i(Y) }, children: Y.label }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: Y, onSelect: () => { o.push(z._.config.index), a() }, children: "Open configuration" })] }) } var K = n(21987); function X(e) { let { search: t } = e; return (0, r.jsxs)(o.xvT, { color: "verySubtle", className: "flex flex-col gap-2 justify-center items-center mt-5 mb-3", children: [(0, r.jsx)(o.xvT, { color: "verySubtle", className: "flex gap-2 justify-center items-center", children: (0, r.jsx)(o.owP, {}) }), (0, r.jsx)(o.xvT, { size: "12", color: "verySubtle", className: "flex justify-center", children: t ? "No results matching query." : "Type a query to get started." })] }) } var Q = n(11015); let J = { namespace: "contracts", label: "Contracts" }; function ee(e) { let { currentPage: t, parentPage: n, pushPage: i, beforeSelect: o, afterSelect: a } = e, s = (0, V.useRouter)(), { closeDialog: l } = ep(); return (0, r.jsxs)(r.Fragment, { children: [(0, r.jsx)(h.Ul, { currentPage: t, parentPage: n, commandPage: n, onSelect: () => { i(J) }, children: J.label }), (0, r.jsx)(h.fu, { currentPage: t, commandPage: J, children: (0, r.jsx)(h.WD, { currentPage: t, commandPage: J, onSelect: () => { s.push(z._.contracts.index), l() }, children: "View contracts" }) }), (0, r.jsx)(Q.F, { parentPage: J, currentPage: t, beforeSelect: o, afterSelect: a, pushPage: i })] }) } let et = { namespace: "volumes", label: "Volumes" }; function en(e) { let { currentPage: t, parentPage: n, pushPage: i } = e, o = (0, V.useRouter)(), { openDialog: a, closeDialog: s } = ep(); return (0, r.jsxs)(r.Fragment, { children: [(0, r.jsx)(h.Ul, { currentPage: t, parentPage: n, commandPage: n, onSelect: () => { i(et) }, children: et.label }), (0, r.jsxs)(h.fu, { currentPage: t, commandPage: et, children: [(0, r.jsx)(h.WD, { currentPage: t, commandPage: et, onSelect: () => { o.push(z._.volumes.index), s() }, children: "View volumes" }), (0, r.jsx)(h.WD, { currentPage: t, commandPage: et, onSelect: () => { a("volumeCreate") }, children: "Create volume" })] })] }) } function er(e) { var t, n, a, s, l, h, p, v, m; let { panel: g } = e, y = (0, V.useRouter)(), { resetFilters: b } = (0, K.G)(), { closeDialog: x } = ep(), [w, _] = (0, i.useState)(""), [E] = (s = t && t.equalityFn || c, h = (a = (n = (0, i.useState)(f(w)))[1], l = [n[0], (0, i.useCallback)(function(e) { return a(f(e)) }, [])])[0], p = l[1], v = u((0, i.useCallback)(function(e) { return p(e) }, [p]), 500, t), s((m = (0, i.useRef)(w)).current, w) || (v(w), m.current = w), [h, v]), [k, S] = (0, i.useState)([]), O = k[k.length - 1], C = 0 === k.length, A = (0, i.useCallback)(e => { S(t => [...t, e]) }, [S]), T = (0, i.useCallback)(() => { x() }, [x]), M = (0, i.useCallback)(() => { _("") }, [_]), P = (null == O ? void 0 : O.empty) || X; return (0, r.jsxs)(d.mY, { label: "Command Menu", loop: !0, className: (0, j.cx)(g && (0, o.z$)()), onKeyDown: e => { (k.length > 0 && "Escape" === e.key || "Backspace" === e.key && !w) && (e.preventDefault(), S(e => e.slice(0, -1))) }, children: [O && (0, r.jsx)(o.__J, { className: "px-2", children: O.label }), (0, r.jsx)(d.mY.Input, { value: w, onValueChange: _, className: (0, o.cEb)({ variant: "ghost", focus: "none" }), placeholder: (null == O ? void 0 : O.prompt) || (C ? "Search for commands, eg: theme, redundancy" : "Search commands") }), (0, r.jsx)(o.Z0O, { className: "my-2" }), (0, r.jsxs)(d.mY.List, { children: [(0, r.jsx)(d.mY.Empty, { children: (0, r.jsx)(P, { search: w, debouncedSearch: E }) }), (0, r.jsx)(W, { currentPage: O, pushPage: A }), (0, r.jsx)(Z, { currentPage: O, pushPage: A }), (0, r.jsx)(en, { currentPage: O, pushPage: A }), (0, r.jsx)(ee, { currentPage: O, pushPage: A, beforeSelect: () => { T(), b() }, afterSelect: () => { y.pathname.startsWith(z._.contracts.index) || y.push(z._.contracts.index), M() } }), (0, r.jsx)(G, { currentPage: O, pushPage: A }), (0, r.jsx)($, { currentPage: O, pushPage: A })] })] }) } function ei(e) { let { open: t, onOpenChange: n, setOpen: a } = e, { isUnlocked: s } = (0, I.Hv)(), { isConnected: l } = (0, o.Y97)({ route: z.h }); return (0, i.useEffect)(() => { if (!s || !l) return; let e = e => { "k" === e.key && e.metaKey && a() }; return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e) }, [s, l, a]), (0, r.jsx)(r.Fragment, { children: (0, r.jsx)(o.VqE, { open: t, onOpenChange: n, contentVariants: { className: "!absolute !p-1 w-[450px] top-[200px]" }, bodyClassName: "!px-1 !py-1", closeClassName: "hidden", children: (0, r.jsx)(er, {}) }) }) } let eo = []; function ea(e) { let { open: t, onOpenChange: n } = e, l = (0, a.Z7)(), u = (0, a.Uy)(), c = (0, o.c2j)(l.data, l.isValidating, l.error, eo), f = (0, i.useCallback)(async e => { let t = await u.post({ payload: [e] }); t.error ? (0, o.OHV)("Error dismissing alert.") : (0, o.OPV)("Alert has been dismissed.") }, [u]), d = (0, i.useCallback)(async () => { if (!l.data) return; let e = await u.post({ payload: l.data.map(e => e.id) }); e.error ? (0, o.OHV)("Error dismissing all alerts.") : (0, o.OPV)("All alerts have been dismissed.") }, [u, l]); return (0, r.jsx)(o.VqE, { open: t, onOpenChange: e => { n(e) }, contentVariants: { className: "w-[500px]" }, title: (0, r.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, r.jsxs)(o.X6q, { size: "20", children: ["Alerts ", l.data ? "(".concat(l.data.length, ")") : ""] }), (0, r.jsx)("div", { className: "flex justify-end gap-2", children: !c && (0, r.jsxs)(o.zxk, { onClick: d, children: [(0, r.jsx)(o.NlZ, {}), "Dismiss all"] }) })] }), children: (0, r.jsxs)("div", { className: (0, j.cx)("flex flex-col overflow-hidden -m-4", "border-t border-gray-200 dark:border-graydark-300"), children: ["noneYet" === c && (0, r.jsx)("div", { className: (0, j.cx)("flex items-center justify-center h-[100px]", ed()), children: (0, r.jsx)(o.xvT, { size: "18", color: "subtle", children: "There are currently no alerts." }) }), "error" === c && (0, r.jsx)("div", { className: (0, j.cx)("flex items-center justify-center h-[100px]", ed()), children: (0, r.jsx)(o.xvT, { size: "18", color: "subtle", children: l.error.message }) }), "loading" === c && (0, r.jsx)(ef, {}), !c && (0, r.jsx)("div", { className: "flex flex-col", children: l.data.map(e => (0, r.jsxs)("div", { className: (0, j.cx)("flex flex-col gap-1 w-full p-4", "border-t border-gray-200 dark:border-graydark-300", "first:border-none"), children: [(0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsxs)(o.xvT, { weight: "medium", children: [e.severity, ": ", e.message] }), (0, r.jsx)(o.zxk, { icon: "hover", variant: "ghost", tip: "Dismiss alert", onClick: () => f(e.id), children: (0, r.jsx)(o.NlZ, {}) })] }), !!e.data.error && (0, r.jsx)(o.xvT, { color: "contrast", className: "mb-1", children: e.data.error }), (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "timestamp" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: (0, s.rN)(e.timestamp, { timeStyle: "medium" }) })] }), (function(e) { let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [], n = Object.keys(e).sort((e, t) => { let n = eu.indexOf(e), r = eu.indexOf(t); return -1 === n && -1 === r ? 0 : -1 === n ? 1 : -1 === r ? -1 : n - r }); return (0, m.difference)(n, t) })(e.data, el).map(t => { var n, i; let o = e.data[t]; if (null == o || "object" == typeof o && !Object.keys(o).length) return null; let a = (null === (n = ec[t]) || void 0 === n ? void 0 : n.label) || t, s = (null === (i = ec[t]) || void 0 === i ? void 0 : i.render) || es; return (0, r.jsx)(s, { label: a, value: o }, t) })] }, e.id)) })] }) }) } function es(e) { let { label: t, value: n } = e; return (0, r.jsxs)("div", { className: "flex gap-3 justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", children: t }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: String(n) })] }) } let el = ["error"], eu = ["contractID", "blockHeight", "resolution", "volume", "volumeID", "elapsed", "error", "checked", "missing", "corrupt", "total", "oldSectors", "currentSectors", "targetSectors", "migratedSectors", "migrated", "target", "force"], ec = { contractId: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "contract ID" }), (0, r.jsx)(o.XxW, { value: String(t) })] }) } }, blockHeight: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "block height" }), (0, r.jsx)(o.XxW, { value: String(t), type: "block" })] }) } }, resolution: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "resolution" }), (0, r.jsx)(o.XxW, { value: String(t) })] }) } }, volume: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "volume" }), (0, r.jsx)(o.XxW, { value: String(t) })] }) } }, volumeID: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "volume ID" }), (0, r.jsx)(o.XxW, { value: String(t) })] }) } }, elapsed: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "elapsed" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: (0, s.bc)(Number(t)) })] }) } }, checked: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "checked" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, missing: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "missing" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, corrupt: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "corrupt" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, total: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "total" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, oldSectors: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "old sectors" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, currentSectors: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "current sectors" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, targetSectors: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "target sectors" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, migratedSectors: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "migrated sectors" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, migrated: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "migrated" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, target: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "target" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t.toLocaleString() })] }) } }, force: { render: e => { let { value: t } = e; return (0, r.jsxs)("div", { className: "flex justify-between w-full", children: [(0, r.jsx)(o.xvT, { color: "subtle", ellipsis: !0, children: "force" }), (0, r.jsx)(o.xvT, { color: "contrast", ellipsis: !0, children: t ? "true" : "false" })] }) } } }; function ef() { return (0, r.jsx)(r.Fragment, { children: (0, m.times)(10, e => (0, r.jsx)("div", { className: (0, j.cx)("relative flex gap-4 p-3.5", ed()), children: (0, r.jsxs)("div", { className: "flex flex-col gap-2 w-full", children: [(0, r.jsxs)("div", { className: "flex justify-between gap-2 w-full", children: [(0, r.jsx)(o.OdW, { className: "w-[160px] h-[20px]" }), (0, r.jsx)(o.OdW, { className: "w-[160px] h-[20px]" })] }), (0, r.jsx)(o.OdW, { className: "w-[100px] h-[20px]" }), (0, r.jsx)(o.OdW, { className: "w-full h-[120px]" })] }) }, e)) }) } function ed() { return (0, j.cx)("border-t border-gray-200 dark:border-graydark-300", "first:border-none") } let eh = (0, i.createContext)({}), ep = () => (0, i.useContext)(eh); function ev(e) { let { children: t } = e, n = function() { let [e, t] = (0, i.useState)(), [n, r] = (0, i.useState)(), o = (0, i.useCallback)((e, n) => { t(e), r(n) }, [t, r]), [a, s] = (0, i.useState)(), l = (0, i.useCallback)(e => { t("confirm"), s(e) }, [t, s]), u = (0, i.useCallback)(() => { t(void 0), r(void 0), s(void 0) }, [t, r, s]), c = (0, i.useCallback)(e => { e || u() }, [u]); return { dialog: e, id: n, openDialog: o, confirm: a, openConfirmDialog: l, closeDialog: u, onOpenChange: c } }(); return (0, r.jsx)(eh.Provider, { value: n, children: t }) } function em() { var e; let { dialog: t, openDialog: n, openConfirmDialog: i, onOpenChange: s, closeDialog: l, confirm: u } = ep(), c = (0, a.Wl)(), f = (0, a.Os)(); return (0, r.jsxs)(r.Fragment, { children: [(0, r.jsx)(ei, { open: "cmdk" === t, onOpenChange: s, setOpen: () => n("cmdk") }), (0, r.jsx)(o.DLL, { open: "settings" === t, onOpenChange: s }), (0, r.jsx)(ea, { open: "alerts" === t, onOpenChange: s }), (0, r.jsx)(D, {}), (0, r.jsx)(o.YNn, { open: "addressDetails" === t, address: null === (e = f.data) || void 0 === e ? void 0 : e.address, isValidating: f.isValidating, onOpenChange: e => e ? n(t) : l() }), (0, r.jsx)(L, {}), (0, r.jsx)(o.D_D, { connect: e => c.put({ payload: { address: e } }), open: "connectPeer" === t, onOpenChange: e => e ? n(t) : l() }), (0, r.jsx)(C, { open: "volumeCreate" === t, onOpenChange: e => e ? n(t) : l() }), (0, r.jsx)(T, { open: "volumeResize" === t, onOpenChange: e => e ? n(t) : l() }), (0, r.jsx)(P, { open: "volumeDelete" === t, onOpenChange: e => e ? n(t) : l() }), (0, r.jsx)(F.Y, { open: "contractsFilterContractId" === t, onOpenChange: e => e ? n(t) : l() }), (0, r.jsx)(o.QHy, { open: "confirm" === t, params: u, onOpenChange: e => e ? i(u) : l() })] }) } }, 96611: function(e, t, n) { "use strict"; n.d(t, { C: function() { return _ }, B: function() { return w } }); var r = n(52322), i = n(2784), o = n(84031), a = n(2288); let s = { successful: { color: o.O9T.green[600] }, active: { color: o.O9T.amber[600] }, pending: { color: o.O9T.amber[600], pattern: !0 }, rejected: { color: o.O9T.red[600] }, failed: { color: o.O9T.red[600] }, storage: { label: "storage", color: o.O9T.emerald[600] }, storagePhysical: { color: o.O9T.indigo[600] }, ingress: { label: "ingress", color: o.O9T.pink[600] }, egress: { label: "egress", color: o.O9T.blue[600] }, registry: { label: "registry", color: o.O9T.purple[600] }, storageWrites: { label: "storage write", color: o.O9T.pink[600] }, storageReads: { label: "storage read", color: o.O9T.blue[600] }, registryReads: { label: "registry reads", color: o.O9T.green[600] }, registryWrites: { label: "registry writes", color: o.O9T.yellow[600] }, rpc: { label: "RPC", color: o.O9T.slate[500] }, capacityStorage: { label: "capacity", color: o.O9T.neutral[500] }, capacityRegistry: { label: "capacity", color: o.O9T.neutral[500] }, contract: { color: o.O9T.red[800] }, collateral: { color: o.O9T.amber[600] }, sectorsTemp: { label: "temp sectors", color: o.O9T.amber[600] }, sectorsContract: { label: "contract sectors", color: o.O9T.green[600] }, sectorAccess: { label: "sector access", color: o.O9T.blue[600] }, sc: { color: o.O9T.green[600] }, sf: { color: o.O9T.amber[600] }, locked: { color: o.O9T.purple[600] }, risked: { color: o.O9T.amber[600] }, burnt: { color: o.O9T.red[600] } }; var l = n(13369); function u(e, t, n) { return { ...e, category: t, pattern: n } } function c(e, t, n) { return { ...e, category: t, label: n } } var f = n(6391), d = n.n(f), h = n(62517), p = n(66700); function v(e, t) { for (var n = Math.abs(e).toString(); n.length < t;)n = "0" + n; return (e < 0 ? "-" : "") + n } var m = n(19785), g = n(74476), y = n(92762); let b = h.lv.find(e => "7" === e.value), x = (0, i.createContext)({}), w = () => (0, i.useContext)(x); function _(e) { let { children: t } = e, n = function() { let [e, t] = (0, y.Z)("v0/metrics/dataTimeSpan", { defaultValue: b.value }), [n, r] = (0, y.Z)("v0/metrics/dataInterval", { defaultValue: b.interval }), f = function(e) { let [t, n] = (0, i.useState)(new Date().getTime()); return (0, i.useEffect)(() => { n(new Date().getTime()); let t = setInterval(() => { n(new Date().getTime()), console.log("reset time range") }, (0, h.uQ)(e)); return () => clearInterval(t) }, [e]), t }(n), x = (0, i.useMemo)(() => (0, o.OQF)(e, f), [e, f]), w = (0, i.useCallback)(e => { let n = h.lv.find(t => t.value === e); r(n.interval), t(n.value) }, [t, r]), _ = (0, i.useMemo)(() => (0, o.kOJ)(n), [n]), E = (0, l.KU)({ params: { interval: n, start: function(e, t) { (0, m.Z)(1, arguments); var n = (0, p.Z)(e); if (isNaN(n.getTime())) throw RangeError("Invalid time value"); var r = null != t && t.format ? String(t.format) : "extended", i = null != t && t.representation ? String(t.representation) : "complete"; if ("extended" !== r && "basic" !== r) throw RangeError("format must be 'extended' or 'basic'"); if ("date" !== i && "time" !== i && "complete" !== i) throw RangeError("representation must be 'date', 'time', or 'complete'"); var o = "", a = "", s = "extended" === r ? "-" : ""; if ("time" !== i) { var l = v(n.getDate(), 2), u = v(n.getMonth() + 1, 2), c = v(n.getFullYear(), 4); o = "".concat(c).concat(s).concat(u).concat(s).concat(l) } if ("date" !== i) { var f = n.getTimezoneOffset(); if (0 !== f) { var d = Math.abs(f), h = v(Math.floor(d / 60), 2), g = v(d % 60, 2); a = "".concat(f < 0 ? "+" : "-").concat(h, ":").concat(g) } else a = "Z"; var y = v(n.getHours(), 2), b = v(n.getMinutes(), 2), x = v(n.getSeconds(), 2), w = "" === o ? "" : "T", _ = [y, b, x].join("extended" === r ? ":" : ""); o = "".concat(o).concat(w).concat(_).concat(a) } return o }(new Date(x.start - (0, h.uQ)(n))) }, config: { swr: { revalidateOnFocus: !1 } } }), k = (0, i.useMemo)(() => { var e; let t = (0, o.Y_Z)(null === (e = E.data) || void 0 === e ? void 0 : e.map(e => ({ storagePotential: Number(e.revenue.potential.storage), ingressPotential: Number(e.revenue.potential.ingress), egressPotential: Number(e.revenue.potential.egress), registryReadPotential: Number(e.revenue.potential.registryRead), registryWritePotential: Number(e.revenue.potential.registryWrite), rpcPotential: Number(e.revenue.potential.rpc), storage: Number(e.revenue.earned.storage), ingress: Number(e.revenue.earned.ingress), egress: Number(e.revenue.earned.egress), registryRead: Number(e.revenue.earned.registryRead), registryWrite: Number(e.revenue.earned.registryWrite), rpc: Number(e.revenue.earned.rpc), potential: new (d())(e.revenue.potential.storage).plus(e.revenue.potential.ingress).plus(e.revenue.potential.egress).plus(e.revenue.potential.registryRead).plus(e.revenue.potential.registryWrite).plus(e.revenue.potential.rpc).toNumber(), earned: new (d())(e.revenue.earned.storage).plus(e.revenue.earned.ingress).plus(e.revenue.earned.egress).plus(e.revenue.earned.registryRead).plus(e.revenue.earned.registryWrite).plus(e.revenue.earned.rpc).toNumber(), timestamp: new Date(e.timestamp).getTime() })), "delta"), n = (0, o.fVJ)(t); return { data: t, stats: n, config: { enabledGraph: ["storage", "storagePotential", "ingress", "ingressPotential", "egress", "egressPotential", "registryRead", "registryReadPotential", "registryWrite", "registryWritePotential", "rpc", "rpcPotential"], enabledTip: ["potential", "earned", "storage", "storagePotential", "ingress", "ingressPotential", "egress", "egressPotential", "registryRead", "registryReadPotential", "registryWrite", "registryWritePotential", "rpc", "rpcPotential"], categories: ["earned", "potential"], data: { storagePotential: u(s.storage, "potential", !0), ingressPotential: u(s.ingress, "potential", !0), egressPotential: u(s.egress, "potential", !0), registryReadPotential: u(s.registryReads, "potential", !0), registryWritePotential: u(s.registryWrites, "potential", !0), rpcPotential: u(s.rpc, "potential", !0), storage: u(s.storage, "earned"), ingress: u(s.ingress, "earned"), egress: u(s.egress, "earned"), registryRead: u(s.registryReads, "earned"), registryWrite: u(s.registryWrites, "earned"), rpc: u(s.rpc, "earned"), earned: c({}, "earned", "total"), potential: c({}, "potential", "total") }, format: e => (0, a.Vz)(e), formatTimestamp: _, disableAnimations: !0 }, chartType: "line", isLoading: E.isValidating } }, [E, _]), j = (0, i.useMemo)(() => { var e; let t = (0, o.Y_Z)(null === (e = E.data) || void 0 === e ? void 0 : e.map(e => ({ locked: Number(e.contracts.lockedCollateral), risked: Number(e.contracts.riskedCollateral), timestamp: new Date(e.timestamp).getTime() })), "none"), n = (0, o.fVJ)(t); return { data: t, stats: n, config: { enabledGraph: ["locked", "risked"], enabledTip: ["locked", "risked"], data: { locked: s.locked, risked: s.risked }, format: e => (0, a.Vz)(e), formatTimestamp: _, disableAnimations: !0 }, chartType: "area", isLoading: E.isValidating } }, [E, _]), S = (0, i.useMemo)(() => { var e; let t = (0, o.Y_Z)(null === (e = E.data) || void 0 === e ? void 0 : e.map(e => ({ baseRPC: (0, g.sS)(e.pricing.baseRPCPrice).toNumber(), collateral: (0, g.c5)(new (d())(e.pricing.storagePrice).times(e.pricing.collateralMultiplier)).toNumber(), contract: Number(e.pricing.contractPrice), egress: (0, g.B1)(e.pricing.egressPrice).toNumber(), ingress: (0, g.dK)(e.pricing.ingressPrice).toNumber(), sectorAccess: (0, g.nS)(e.pricing.sectorAccessPrice).toNumber(), storage: (0, g.SY)(e.pricing.storagePrice).toNumber(), timestamp: new Date(e.timestamp).getTime() })), "none"), n = (0, o.fVJ)(t); return { data: t, stats: n, config: { enabledGraph: ["storage", "ingress", "egress", "collateral", "contract", "sectorAccess", "baseRPC"], enabledTip: ["storage", "ingress", "egress", "collateral", "contract", "sectorAccess", "baseRPC"], data: { baseRPC: s.rpc, sectorAccess: s.sectorAccess, contract: s.contract, collateral: s.collateral, egress: s.egress, ingress: s.ingress, storage: s.storage }, format: e => (0, a.Vz)(e), formatTimestamp: _, disableAnimations: !0 }, chartType: "line", isLoading: E.isValidating } }, [E, _]), O = (0, i.useMemo)(() => { var e; let t = (0, o.Y_Z)(null === (e = E.data) || void 0 === e ? void 0 : e.map(e => ({ active: e.contracts.active, failed: e.contracts.failed, pending: e.contracts.pending, rejected: e.contracts.rejected, successful: e.contracts.successful, timestamp: new Date(e.timestamp).getTime() })), "none"), n = (0, o.fVJ)(t); return { data: t, stats: n, config: { enabledGraph: ["successful", "active", "pending", "rejected", "failed"], enabledTip: ["successful", "active", "pending", "rejected", "failed"], data: { active: s.active, failed: s.failed, pending: s.pending, rejected: s.rejected, successful: s.successful }, format: e => "".concat(e, " contracts"), formatTimestamp: _, disableAnimations: !0 }, chartType: "areastack", isLoading: E.isValidating } }, [E, _]), C = (0, i.useMemo)(() => { var e; let t = (0, o.Y_Z)(null === (e = E.data) || void 0 === e ? void 0 : e.map(e => ({ maxSectors: (0, o.B$N)(e.storage.totalSectors).times(4).toNumber(), registryEntries: 113 * e.registry.entries, maxRegistryEntries: 113 * e.registry.maxEntries, tempSectors: (0, o.B$N)(e.storage.tempSectors).times(4).toNumber(), physicalSectors: (0, o.B$N)(e.storage.physicalSectors).times(4).toNumber(), contractSectors: (0, o.B$N)(e.storage.contractSectors).times(4).toNumber(), timestamp: new Date(e.timestamp).getTime() })), "none"), n = (0, o.fVJ)(t); return { data: t, stats: n, config: { enabledGraph: ["contractSectors", "physicalSectors", "tempSectors", "registryEntries", "maxSectors", "maxRegistryEntries"], enabledTip: ["contractSectors", "physicalSectors", "tempSectors", "registryEntries", "maxSectors", "maxRegistryEntries"], categories: ["storage used", "storage capacity"], data: { maxSectors: c(s.capacityStorage, "storage capacity", "sectors"), maxRegistryEntries: c(s.capacityRegistry, "storage capacity", "registry"), physicalSectors: c(s.storagePhysical, "storage used", "sectors physical"), registryEntries: c(s.registry, "storage used", "registry (max)"), tempSectors: c(s.sectorsTemp, "storage used", "sectors temp"), contractSectors: c(s.storage, "storage used", "sectors contract") }, format: e => (0, a.vW)(e), formatTimestamp: _, disableAnimations: !0 }, chartType: "line", isLoading: E.isValidating } }, [E, _]), A = (0, i.useMemo)(() => { var e; let t = (0, o.Y_Z)(null === (e = E.data) || void 0 === e ? void 0 : e.map(e => ({ storageReads: e.storage.reads, storageWrites: e.storage.writes, registryReads: e.registry.reads, registryWrites: e.registry.writes, timestamp: new Date(e.timestamp).getTime() })), "delta"), n = (0, o.fVJ)(t); return { data: t, stats: n, config: { enabledGraph: ["storageReads", "storageWrites", "registryReads", "registryWrites"], enabledTip: ["storageReads", "storageWrites", "registryReads", "registryWrites"], data: { registryReads: s.registryReads, registryWrites: s.registryWrites, storageReads: s.storageReads, storageWrites: s.storageWrites }, format: e => (0, a.yF)(e), formatTimestamp: _, disableAnimations: !0 }, chartType: "line", isLoading: E.isValidating } }, [E, _]), T = (0, i.useMemo)(() => { var e; let t = (0, o.Y_Z)(null === (e = E.data) || void 0 === e ? void 0 : e.map(e => ({ egressRHP3: e.data.rhp3.egress, egressRHP2: e.data.rhp2.egress, egress: e.data.rhp3.egress + e.data.rhp2.egress, ingressRHP3: e.data.rhp3.ingress, ingressRHP2: e.data.rhp2.ingress, ingress: e.data.rhp3.ingress + e.data.rhp2.ingress, timestamp: new Date(e.timestamp).getTime() })), "delta"), n = (0, o.fVJ)(t); return { data: t, stats: n, config: { enabledGraph: ["ingress", "ingressRHP2", "ingressRHP3", "egress", "egressRHP2", "egressRHP3"], enabledTip: ["ingress", "ingressRHP2", "ingressRHP3", "egress", "egressRHP2", "egressRHP3"], categories: ["ingress", "egress"], data: { ingress: c(s.ingress, "ingress", "total"), ingressRHP2: c(s.ingress, "ingress", "RHP2"), ingressRHP3: c(s.ingress, "ingress", "RHP3"), egress: c(s.egress, "egress", "total"), egressRHP2: c(s.egress, "egress", "RHP2"), egressRHP3: c(s.egress, "egress", "RHP3") }, format: e => (0, a.vW)(e), formatTimestamp: _, disableAnimations: !0 }, chartType: "line", isLoading: E.isValidating } }, [E, _]); return { dataTimeSpan: e, setDataTimeSpan: w, timeRange: x, dataInterval: n, setDataInterval: r, operations: A, revenue: k, collateral: j, contracts: O, storage: C, pricing: S, bandwidth: T } }(); return (0, r.jsx)(x.Provider, { value: n, children: t }) } }, 62517: function(e, t, n) { "use strict"; n.d(t, { lv: function() { return i }, uQ: function() { return o } }); var r = n(84031); let i = [{ label: "1D", interval: "5m", value: "1" }, { label: "7D", interval: "15m", value: "7" }, { label: "1M", interval: "hourly", value: "30" }, { label: "3M", interval: "daily", value: "90" }, { label: "1Y", interval: "daily", value: "365" }, { label: "ALL", interval: "weekly", value: "all" }]; function o(e) { return "5m" === e ? (0, r.sWj)(5) : "15m" === e ? (0, r.sWj)(15) : "hourly" === e ? (0, r.ytg)(1) : "daily" === e ? (0, r.NrH)(1) : "weekly" === e ? (0, r.NrH)(7) : "monthly" === e ? (0, r.NrH)(30) : "yearly" === e ? (0, r.NrH)(365) : 0 } }, 28701: function(e, t, n) { "use strict"; n.d(t, { Y: function() { return m }, F: function() { return v } }); var r = n(52322), i = n(84031), o = n(13369), a = n(2784); let s = ["actions", "path", "storage", "available", "readOnly", "successfulReads", "successfulWrites", "failedReads", "failedWrites"]; var l = n(2288), u = n(50002); function c(e) { var t; let { id: n, contentProps: a, buttonProps: s } = e, { openDialog: l } = (0, u.Rh)(), c = (0, o.Rz)(), f = (0, o.ST)({ params: { id: n } }); return (0, r.jsxs)(i.h_2, { trigger: (0, r.jsx)(i.zxk, { variant: "ghost", icon: "hover", ...s, children: (0, r.jsx)(i.iG7, {}) }), contentProps: { align: "start", ...a }, children: [(0, r.jsx)("div", { className: "px-1.5 py-1", children: (0, r.jsxs)(i.xvT, { size: "14", weight: "medium", color: "subtle", children: ["Volume ", f.data ? (0, i.$Gg)(null === (t = f.data) || void 0 === t ? void 0 : t.localPath, 24) : n] }) }), (0, r.jsx)(i.Juw, { children: "Actions" }), f.data ? (0, r.jsxs)(i.Xiv, { onSelect: async () => { let e = !f.data.readOnly, t = await c.put({ params: { id: Number(n) }, payload: { readOnly: e } }); t.error ? (0, i.OHV)(e ? "Error setting volume to read-only." : "Error setting volume to read/write.") : (0, i.OPV)(e ? "Volume set to read-only." : "Volume set to read/write.") }, children: [(0, r.jsx)(i.KpP, { children: f.data.readOnly ? (0, r.jsx)(i.dr6, {}) : (0, r.jsx)(i.Lur, {}) }), f.data.readOnly ? "Set to read/write" : "Set to read-only"] }) : null, (0, r.jsxs)(i.Xiv, { onSelect: () => l("volumeResize", n), children: [(0, r.jsx)(i.KpP, { children: (0, r.jsx)(i.BB5, {}) }), "Resize"] }), (0, r.jsxs)(i.Xiv, { onSelect: () => l("volumeDelete", n), children: [(0, r.jsx)(i.KpP, { children: (0, r.jsx)(i.Jrl, {}) }), "Delete"] })] }) } let f = [{ id: "actions", label: "", fixed: !0, cellClassName: "w-[50px] !pl-2 !pr-4 [&+*]:!pl-0", render: e => { let { data: t } = e; return (0, r.jsx)(c, { id: t.id }) } }, { id: "path", label: "path", category: "general", render: e => { let { data: t } = e; return (0, r.jsx)(i.xvT, { font: "mono", ellipsis: !0, children: t.localPath }) } }, { id: "available", label: "status", category: "general", render: e => { var t; let { data: n } = e; return (0, r.jsx)(i.ua7, { side: "right", content: n.available ? "available" : (0, r.jsxs)(r.Fragment, { children: [(0, r.jsx)(i.xvT, { children: "unavailable" }), (0, r.jsx)("div", { className: "flex flex-col", children: null === (t = n.errors) || void 0 === t ? void 0 : t.map(e => (0, r.jsx)(i.xvT, { size: "10", noWrap: !0, children: e }, e)) })] }), children: (0, r.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, r.jsx)(i.xvT, { color: n.available ? "green" : "amber", children: n.available ? (0, r.jsx)(i.DI$, {}) : (0, r.jsx)(i.SmH, {}) }), (0, r.jsx)(i.xvT, { size: "12", className: "relative -top-px", children: n.status })] }) }) } }, { id: "readOnly", label: "read/write", category: "general", render: e => { let { data: t } = e; return t.readOnly ? (0, r.jsx)(i.ua7, { content: "Read-only", children: (0, r.jsx)(i.xvT, { children: (0, r.jsx)(i.Lur, {}) }) }) : (0, r.jsx)(i.ua7, { content: "Read and write enabled", children: (0, r.jsx)(i.xvT, { color: "subtle", children: (0, r.jsx)(i.dr6, {}) }) }) } }, { id: "storage", label: "storage", category: "general", render: e => { let { data: t } = e; return (0, r.jsx)("div", { className: "flex gap-1 w-full max-w-[200px] pt-[10px]", children: (0, r.jsx)(i.kod, { variant: "accent", value: t.usedBytes, max: t.totalBytes, label: "".concat((0, l.vW)(t.usedBytes), " / ").concat((0, l.vW)(t.totalBytes)) }) }) } }, { id: "successfulReads", label: "successful reads", category: "operations", render: e => { let { data: t } = e; return (0, r.jsx)(i.m2c, { variant: "value", size: "12", value: t.successfulReads, format: e => e.toNumber().toLocaleString() }) } }, { id: "successfulWrites", label: "successful writes", category: "operations", render: e => { let { data: t } = e; return (0, r.jsx)(i.m2c, { variant: "value", size: "12", value: t.successfulWrites, format: e => e.toNumber().toLocaleString() }) } }, { id: "failedReads", label: "failed reads", category: "operations", render: e => { let { data: t } = e; return (0, r.jsx)(i.m2c, { variant: "value", size: "12", value: t.failedReads, format: e => e.toNumber().toLocaleString() }) } }, { id: "failedWrites", label: "failed writes", category: "operations", render: e => { let { data: t } = e; return (0, r.jsx)(i.m2c, { variant: "value", size: "12", value: t.failedWrites, format: e => e.toNumber().toLocaleString() }) } }]; var d = n(6391), h = n.n(d); let p = (0, a.createContext)({}), v = () => (0, a.useContext)(p); function m(e) { let { children: t } = e, n = function() { let { configurableColumns: e, enabledColumns: t, toggleColumnVisibility: n, setColumnsVisible: r, setColumnsHidden: l, toggleSort: u, setSortDirection: c, setSortField: d, sortField: p, sortDirection: v, resetDefaultColumnVisibility: m } = (0, i.oy6)("hostd/v0/volumes", { columns: f, columnsDefaultVisible: s }), g = (0, o.Fn)(), y = function(e) { let { response: t } = e; return (0, a.useMemo)(() => { var e; return t.data ? (null === (e = t.data) || void 0 === e ? void 0 : e.map(e => ({ id: String(e.ID), ID: e.ID, localPath: e.localPath, usedSectors: e.usedSectors, usedBytes: new (h())(e.usedSectors).times((0, i.B$N)(4)).toNumber(), totalBytes: new (h())(e.totalSectors).times((0, i.B$N)(4)).toNumber(), totalSectors: e.totalSectors, status: e.status, readOnly: e.readOnly, available: e.available, failedReads: new (h())(e.failedReads), failedWrites: new (h())(e.failedWrites), successfulReads: new (h())(e.successfulReads), successfulWrites: new (h())(e.successfulWrites), errors: e.errors }))) || [] : null }, [t.data]) }({ response: g }), b = (0, a.useMemo)(() => f.filter(e => t.includes(e.id)), [t]), x = g.isValidating, w = g.error, _ = (0, i.c2j)(y, x, w, []); return { dataState: _, totalCount: (null == y ? void 0 : y.length) || 0, isLoading: g.isValidating, columns: b, dataset: y, configurableColumns: e, enabledColumns: t, toggleColumnVisibility: n, setColumnsVisible: r, setColumnsHidden: l, toggleSort: u, setSortDirection: c, setSortField: d, sortField: p, sortDirection: v, resetDefaultColumnVisibility: m } }(); return (0, r.jsx)(p.Provider, { value: n, children: t }) } }, 30080: function(e, t, n) { "use strict"; n.d(t, { O: function() { return u }, Y: function() { return d } }); var r = n(52322), i = n(84031), o = n(21987), a = n(63397), s = n(24511), l = n(50002); function u(e) { return { id: "filterContractId", value: e, label: "contract ID is ".concat(e) } } let c = { contractId: "" }, f = s.Ry().shape({ contractId: s.Z_().required("Required") }); function d(e) { let { trigger: t, open: n, onOpenChange: s } = e, { closeDialog: d } = (0, l.Rh)(), { setFilter: h } = (0, o.G)(), p = (0, a.TA)({ initialValues: c, validationSchema: f, onSubmit: e => { h(u(e.contractId)), p.resetForm(), d() } }); return (0, r.jsx)(i.VqE, { trigger: t, title: "Filter by contract ID", open: n, onOpenChange: e => { e || p.resetForm(), s(e) }, contentVariants: { className: "w-[400px]" }, onSubmit: p.handleSubmit, children: (0, r.jsx)("div", { className: "flex flex-col gap-4", children: (0, r.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, r.jsx)(i.cB7, { formik: p, title: "Contract ID", name: "contractId", placeholder: "Exact match for contract ID", autoComplete: "off", type: "text", variants: { size: "medium" } }), (0, r.jsx)(i.IKw, { formik: p, size: "medium", children: "Filter" })] }) }) }) } }, 74476: function(e, t, n) { "use strict"; n.d(t, { B1: function() { return v }, K9: function() { return c }, LP: function() { return m }, SY: function() { return s }, c5: function() { return h }, co: function() { return l }, dK: function() { return g }, dz: function() { return a }, nS: function() { return f }, rZ: function() { return d }, s2: function() { return p }, sS: function() { return u } }); var r = n(84031), i = n(6391), o = n.n(i); let a = "/TB/month"; function s(e) { return new (o())(e).times((0, r.xf5)(1)).times((0, r.S5V)(1)) } let l = "/million"; function u(e) { return new (o())(e).times(1e7) } let c = "/million"; function f(e) { return new (o())(e).times(1e7) } let d = "/TB/month"; function h(e) { return new (o())(e).times((0, r.xf5)(1)).times((0, r.S5V)(1)) } let p = "/TB"; function v(e) { return new (o())(e).times((0, r.xf5)(1)) } let m = "/TB"; function g(e) { return new (o())(e).times((0, r.xf5)(1)) } }, 52804: function(e, t, n) { "use strict"; n.r(t), n.d(t, { default: function() { return f } }); var r = n(52322); n(35195); var i = n(84031), o = n(21987), a = n(96611), s = n(50002), l = n(28701); function u(e) { let { children: t } = e; return (0, r.jsx)(s.Tu, { children: (0, r.jsx)(l.Y, { children: (0, r.jsx)(o.x, { children: (0, r.jsxs)(a.C, { children: [(0, r.jsx)(s.xQ, {}), t] }) }) }) }) } var c = n(74881); function f(e) { let { Component: t, pageProps: n } = e; return (0, r.jsx)(i.PD$, { fallback: n.fallback, passwordProtectRequestHooks: !0, lockRoutes: c._, children: (0, r.jsx)(u, { children: (0, r.jsx)(t, { ...n }) }) }) } }, 52219: function(e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.getDomainLocale = function(e, t, n, r) { return !1 }, ("function" == typeof t.default || "object" == typeof t.default && null !== t.default) && void 0 === t.default.__esModule && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default) }, 76239: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var r = n(59419).Z, i = n(23903).Z, o = n(30199).Z, a = n(15154).Z, s = o(n(2784)), l = i(n(67016)), u = n(28575), c = n(55515), f = n(23581); n(37690); var d = i(n(31354)); let h = { deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840], imageSizes: [16, 32, 48, 64, 96, 128, 256, 384], path: "/_next/image", loader: "default", dangerouslyAllowSVG: !1, unoptimized: !0 }; function p(e) { return void 0 !== e.default } function v(e) { return "number" == typeof e || void 0 === e ? e : "string" == typeof e && /^[0-9]+$/.test(e) ? parseInt(e, 10) : NaN } function m(e, t, n, i, o, a, s) { if (!e || e["data-loaded-src"] === t) return; e["data-loaded-src"] = t; let l = "decode" in e ? e.decode() : Promise.resolve(); l.catch(() => { }).then(() => { if (e.parentNode) { if ("blur" === n && a(!0), null == i ? void 0 : i.current) { let t = new Event("load"); Object.defineProperty(t, "target", { writable: !1, value: e }); let s = !1, l = !1; i.current(r({}, t, { nativeEvent: t, currentTarget: e, target: e, isDefaultPrevented: () => s, isPropagationStopped: () => l, persist: () => { }, preventDefault: () => { s = !0, t.preventDefault() }, stopPropagation: () => { l = !0, t.stopPropagation() } })) } (null == o ? void 0 : o.current) && o.current(e) } }) } let g = s.forwardRef((e, t) => { var { imgAttributes: n, heightInt: i, widthInt: o, qualityInt: l, className: u, imgStyle: c, blurStyle: f, isLazy: d, fill: h, placeholder: p, loading: v, srcString: g, config: y, unoptimized: b, loader: x, onLoadRef: w, onLoadingCompleteRef: _, setBlurComplete: E, setShowAltText: k, onLoad: j, onError: S } = e, O = a(e, ["imgAttributes", "heightInt", "widthInt", "qualityInt", "className", "imgStyle", "blurStyle", "isLazy", "fill", "placeholder", "loading", "srcString", "config", "unoptimized", "loader", "onLoadRef", "onLoadingCompleteRef", "setBlurComplete", "setShowAltText", "onLoad", "onError"]); return v = d ? "lazy" : v, s.default.createElement(s.default.Fragment, null, s.default.createElement("img", Object.assign({}, O, n, { width: o, height: i, decoding: "async", "data-nimg": h ? "fill" : "1", className: u, loading: v, style: r({}, c, f), ref: s.useCallback(e => { t && ("function" == typeof t ? t(e) : "object" == typeof t && (t.current = e)), e && (S && (e.src = e.src), e.complete && m(e, g, p, w, _, E, b)) }, [g, p, w, _, E, S, b, t]), onLoad: e => { let t = e.currentTarget; m(t, g, p, w, _, E, b) }, onError: e => { k(!0), "blur" === p && E(!0), S && S(e) } }))) }), y = s.forwardRef((e, t) => { let n, i; var o, { src: m, sizes: y, unoptimized: b = !1, priority: x = !1, loading: w, className: _, quality: E, width: k, height: j, fill: S, style: O, onLoad: C, onLoadingComplete: A, placeholder: T = "empty", blurDataURL: M, layout: P, objectFit: N, objectPosition: R, lazyBoundary: D, lazyRoot: L } = e, F = a(e, ["src", "sizes", "unoptimized", "priority", "loading", "className", "quality", "width", "height", "fill", "style", "onLoad", "onLoadingComplete", "placeholder", "blurDataURL", "layout", "objectFit", "objectPosition", "lazyBoundary", "lazyRoot"]); let I = s.useContext(f.ImageConfigContext), z = s.useMemo(() => { let e = h || I || c.imageConfigDefault, t = [...e.deviceSizes, ...e.imageSizes].sort((e, t) => e - t), n = e.deviceSizes.sort((e, t) => e - t); return r({}, e, { allSizes: t, deviceSizes: n }) }, [I]), V = F, B = V.loader || d.default; delete V.loader; let Z = "__next_img_default" in B; if (Z) { if ("custom" === z.loader) throw Error('Image with src "'.concat(m, '" is missing "loader" prop.') + "\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader") } else { let U = B; B = e => { let { config: t } = e, n = a(e, ["config"]); return U(n) } } if (P) { "fill" === P && (S = !0); let H = { intrinsic: { maxWidth: "100%", height: "auto" }, responsive: { width: "100%", height: "auto" } }[P]; H && (O = r({}, O, H)); let W = { responsive: "100vw", fill: "100vw" }[P]; W && !y && (y = W) } let q = "", $ = v(k), Y = v(j); if ("object" == typeof (o = m) && (p(o) || void 0 !== o.src)) { let G = p(m) ? m.default : m; if (!G.src) throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(G))); if (!G.height || !G.width) throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(G))); if (n = G.blurWidth, i = G.blurHeight, M = M || G.blurDataURL, q = G.src, !S) { if ($ || Y) { if ($ && !Y) { let K = $ / G.width; Y = Math.round(G.height * K) } else if (!$ && Y) { let X = Y / G.height; $ = Math.round(G.width * X) } } else $ = G.width, Y = G.height } } let Q = !x && ("lazy" === w || void 0 === w); ((m = "string" == typeof m ? m : q).startsWith("data:") || m.startsWith("blob:")) && (b = !0, Q = !1), z.unoptimized && (b = !0), Z && m.endsWith(".svg") && !z.dangerouslyAllowSVG && (b = !0); let [J, ee] = s.useState(!1), [et, en] = s.useState(!1), er = v(E), ei = Object.assign(S ? { position: "absolute", height: "100%", width: "100%", left: 0, top: 0, right: 0, bottom: 0, objectFit: N, objectPosition: R } : {}, et ? {} : { color: "transparent" }, O), eo = "blur" === T && M && !J ? { backgroundSize: ei.objectFit || "cover", backgroundPosition: ei.objectPosition || "50% 50%", backgroundRepeat: "no-repeat", backgroundImage: 'url("data:image/svg+xml;charset=utf-8,'.concat(u.getImageBlurSvg({ widthInt: $, heightInt: Y, blurWidth: n, blurHeight: i, blurDataURL: M }), '")') } : {}, ea = function(e) { let { config: t, src: n, unoptimized: r, width: i, quality: o, sizes: a, loader: s } = e; if (r) return { src: n, srcSet: void 0, sizes: void 0 }; let { widths: l, kind: u } = function(e, t, n) { let { deviceSizes: r, allSizes: i } = e; if (n) { let o = /(^|\s)(1?\d?\d)vw/g, a = []; for (let s; s = o.exec(n); s)a.push(parseInt(s[2])); if (a.length) { let l = .01 * Math.min(...a); return { widths: i.filter(e => e >= r[0] * l), kind: "w" } } return { widths: i, kind: "w" } } if ("number" != typeof t) return { widths: r, kind: "w" }; let u = [...new Set([t, 2 * t].map(e => i.find(t => t >= e) || i[i.length - 1]))]; return { widths: u, kind: "x" } }(t, i, a), c = l.length - 1; return { sizes: a || "w" !== u ? a : "100vw", srcSet: l.map((e, r) => "".concat(s({ config: t, src: n, quality: o, width: e }), " ").concat("w" === u ? e : r + 1).concat(u)).join(", "), src: s({ config: t, src: n, quality: o, width: l[c] }) } }({ config: z, src: m, unoptimized: b, width: $, quality: er, sizes: y, loader: B }), es = m, el = { imageSrcSet: ea.srcSet, imageSizes: ea.sizes, crossOrigin: V.crossOrigin }, eu = s.useRef(C); s.useEffect(() => { eu.current = C }, [C]); let ec = s.useRef(A); s.useEffect(() => { ec.current = A }, [A]); let ef = r({ isLazy: Q, imgAttributes: ea, heightInt: Y, widthInt: $, qualityInt: er, className: _, imgStyle: ei, blurStyle: eo, loading: w, config: z, fill: S, unoptimized: b, placeholder: T, loader: B, srcString: es, onLoadRef: eu, onLoadingCompleteRef: ec, setBlurComplete: ee, setShowAltText: en }, V); return s.default.createElement(s.default.Fragment, null, s.default.createElement(g, Object.assign({}, ef, { ref: t })), x ? s.default.createElement(l.default, null, s.default.createElement("link", Object.assign({ key: "__nimg-" + ea.src + ea.srcSet + ea.sizes, rel: "preload", as: "image", href: ea.srcSet ? void 0 : ea.src }, el))) : null) }); t.default = y, ("function" == typeof t.default || "object" == typeof t.default && null !== t.default) && void 0 === t.default.__esModule && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default) }, 81088: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var r = n(23903).Z, i = n(15154).Z, o = r(n(2784)), a = n(4e3), s = n(34588), l = n(37003), u = n(67858), c = n(77826), f = n(8599), d = n(52219), h = n(92484); let p = new Set; function v(e, t, n, r) { if (a.isLocalURL(t)) { if (!r.bypassPrefetchedCheck) { let i = void 0 !== r.locale ? r.locale : "locale" in e ? e.locale : void 0, o = t + "%" + n + "%" + i; if (p.has(o)) return; p.add(o) } Promise.resolve(e.prefetch(t, n, r)).catch(e => { }) } } function m(e) { return "string" == typeof e ? e : s.formatUrl(e) } let g = o.default.forwardRef(function(e, t) { let n, r; let { href: s, as: p, children: g, prefetch: y, passHref: b, replace: x, shallow: w, scroll: _, locale: E, onClick: k, onMouseEnter: j, onTouchStart: S, legacyBehavior: O = !1 } = e, C = i(e, ["href", "as", "children", "prefetch", "passHref", "replace", "shallow", "scroll", "locale", "onClick", "onMouseEnter", "onTouchStart", "legacyBehavior"]); n = g, O && ("string" == typeof n || "number" == typeof n) && (n = o.default.createElement("a", null, n)); let A = !1 !== y, T = o.default.useContext(u.RouterContext), M = o.default.useContext(c.AppRouterContext), P = null != T ? T : M, N = !T, { href: R, as: D } = o.default.useMemo(() => { if (!T) { let e = m(s); return { href: e, as: p ? m(p) : e } } let [t, n] = a.resolveHref(T, s, !0); return { href: t, as: p ? a.resolveHref(T, p) : n || t } }, [T, s, p]), L = o.default.useRef(R), F = o.default.useRef(D); O && (r = o.default.Children.only(n)); let I = O ? r && "object" == typeof r && r.ref : t, [z, V, B] = f.useIntersection({ rootMargin: "200px" }), Z = o.default.useCallback(e => { (F.current !== D || L.current !== R) && (B(), F.current = D, L.current = R), z(e), I && ("function" == typeof I ? I(e) : "object" == typeof I && (I.current = e)) }, [D, I, R, B, z]); o.default.useEffect(() => { P && V && A && v(P, R, D, { locale: E }) }, [D, R, V, E, A, null == T ? void 0 : T.locale, P]); let U = { ref: Z, onClick(e) { O || "function" != typeof k || k(e), O && r.props && "function" == typeof r.props.onClick && r.props.onClick(e), P && !e.defaultPrevented && function(e, t, n, r, i, s, l, u, c, f) { let { nodeName: d } = e.currentTarget, h = "A" === d.toUpperCase(); if (h && (function(e) { let { target: t } = e.currentTarget; return t && "_self" !== t || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.nativeEvent && 2 === e.nativeEvent.which }(e) || !a.isLocalURL(n))) return; e.preventDefault(); let p = () => { "beforePopState" in t ? t[i ? "replace" : "push"](n, r, { shallow: s, locale: u, scroll: l }) : t[i ? "replace" : "push"](r || n, { forceOptimisticNavigation: !f }) }; c ? o.default.startTransition(p) : p() }(e, P, R, D, x, w, _, E, N, A) }, onMouseEnter(e) { O || "function" != typeof j || j(e), O && r.props && "function" == typeof r.props.onMouseEnter && r.props.onMouseEnter(e), P && (A || !N) && v(P, R, D, { locale: E, priority: !0, bypassPrefetchedCheck: !0 }) }, onTouchStart(e) { O || "function" != typeof S || S(e), O && r.props && "function" == typeof r.props.onTouchStart && r.props.onTouchStart(e), P && (A || !N) && v(P, R, D, { locale: E, priority: !0, bypassPrefetchedCheck: !0 }) } }; if (!O || b || "a" === r.type && !("href" in r.props)) { let H = void 0 !== E ? E : null == T ? void 0 : T.locale, W = (null == T ? void 0 : T.isLocaleDomain) && d.getDomainLocale(D, H, null == T ? void 0 : T.locales, null == T ? void 0 : T.domainLocales); U.href = W || h.addBasePath(l.addLocale(D, H, null == T ? void 0 : T.defaultLocale)) } return O ? o.default.cloneElement(r, U) : o.default.createElement("a", Object.assign({}, C, U), n) }); t.default = g, ("function" == typeof t.default || "object" == typeof t.default && null !== t.default) && void 0 === t.default.__esModule && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default) }, 8599: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.useIntersection = function(e) { let { rootRef: t, rootMargin: n, disabled: l } = e, u = l || !o, [c, f] = r.useState(!1), [d, h] = r.useState(null); r.useEffect(() => { if (o) { if (!u && !c && d && d.tagName) { let e = function(e, t, n) { let { id: r, observer: i, elements: o } = function(e) { let t; let n = { root: e.root || null, margin: e.rootMargin || "" }, r = s.find(e => e.root === n.root && e.margin === n.margin); if (r && (t = a.get(r))) return t; let i = new Map, o = new IntersectionObserver(e => { e.forEach(e => { let t = i.get(e.target), n = e.isIntersecting || e.intersectionRatio > 0; t && n && t(n) }) }, e); return t = { id: n, observer: o, elements: i }, s.push(n), a.set(n, t), t }(n); return o.set(e, t), i.observe(e), function() { if (o.delete(e), i.unobserve(e), 0 === o.size) { i.disconnect(), a.delete(r); let t = s.findIndex(e => e.root === r.root && e.margin === r.margin); t > -1 && s.splice(t, 1) } } }(d, e => e && f(e), { root: null == t ? void 0 : t.current, rootMargin: n }); return e } } else if (!c) { let r = i.requestIdleCallback(() => f(!0)); return () => i.cancelIdleCallback(r) } }, [d, u, n, t, c]); let p = r.useCallback(() => { f(!1) }, []); return [h, c, p] }; var r = n(2784), i = n(11424); let o = "function" == typeof IntersectionObserver, a = new Map, s = []; ("function" == typeof t.default || "object" == typeof t.default && null !== t.default) && void 0 === t.default.__esModule && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default) }, 49013: function(e, t, n) { "use strict"; var r, i, o, a = n(48834).lW; let s = n(30195).Z; var l = function(e) { if (e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = v(); if (t && t.has(e)) return t.get(e); var n = {}, r = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var i in e) if (Object.prototype.hasOwnProperty.call(e, i)) { var o = r ? Object.getOwnPropertyDescriptor(e, i) : null; o && (o.get || o.set) ? Object.defineProperty(n, i, o) : n[i] = e[i] } return n.default = e, t && t.set(e, n), n }(n(2784)), u = n(63461), c = n(95383), f = n(82809), d = (r = n(10274)) && r.__esModule ? r : { default: r }, h = n(46754); class p extends l.default.Component { static getInitialProps(e) { return e.defaultGetInitialProps(e) } render() { return l.default.createElement(k, null, l.default.createElement(_, null), l.default.createElement("body", null, l.default.createElement(j, null), l.default.createElement(E, null))) } } function v() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return v = function() { return e }, e } function m(e, t, n) { let r = c.getPageFiles(e, "/_app"), i = n ? [] : c.getPageFiles(e, t); return { sharedFiles: r, pageFiles: i, allFiles: [...new Set([...r, ...i])] } } function g(e, t) { let { assetPrefix: n, buildManifest: r, devOnlyCacheBusterQueryString: i, disableOptimizedLoading: o, crossOrigin: a } = e; return r.polyfillFiles.filter(e => e.endsWith(".js") && !e.endsWith(".module.js")).map(e => l.default.createElement("script", { key: e, defer: !o, nonce: t.nonce, crossOrigin: t.crossOrigin || a, noModule: !0, src: "".concat(n, "/_next/").concat(e).concat(i) })) } function y(e) { let { styles: t } = e; if (!t) return null; let n = Array.isArray(t) ? t : []; if (t.props && Array.isArray(t.props.children)) { let r = e => { var t, n; return null == e ? void 0 : null == (t = e.props) ? void 0 : null == (n = t.dangerouslySetInnerHTML) ? void 0 : n.__html }; t.props.children.forEach(e => { Array.isArray(e) ? e.forEach(e => r(e) && n.push(e)) : r(e) && n.push(e) }) } return l.default.createElement("style", { "amp-custom": "", dangerouslySetInnerHTML: { __html: n.map(e => e.props.dangerouslySetInnerHTML.__html).join("").replace(/\/\*# sourceMappingURL=.*\*\//g, "").replace(/\/\*@ sourceURL=.*?\*\//g, "") } }) } function b(e, t, n) { let { dynamicImports: r, assetPrefix: i, isDevelopment: o, devOnlyCacheBusterQueryString: a, disableOptimizedLoading: s, crossOrigin: u } = e; return r.map(e => !e.endsWith(".js") || n.allFiles.includes(e) ? null : l.default.createElement("script", { async: !o && s, defer: !s, key: e, src: "".concat(i, "/_next/").concat(encodeURI(e)).concat(a), nonce: t.nonce, crossOrigin: t.crossOrigin || u })) } function x(e, t, n) { var r; let { assetPrefix: i, buildManifest: o, isDevelopment: a, devOnlyCacheBusterQueryString: s, disableOptimizedLoading: u, crossOrigin: c } = e, f = n.allFiles.filter(e => e.endsWith(".js")), d = null == (r = o.lowPriorityFiles) ? void 0 : r.filter(e => e.endsWith(".js")); return [...f, ...d].map(e => l.default.createElement("script", { key: e, src: "".concat(i, "/_next/").concat(encodeURI(e)).concat(s), nonce: t.nonce, async: !a && u, defer: !u, crossOrigin: t.crossOrigin || c })) } function w(e, t) { let { scriptLoader: n, disableOptimizedLoading: r, crossOrigin: i } = e, o = function(e, t) { let { assetPrefix: n, scriptLoader: r, crossOrigin: i, nextScriptWorkers: o } = e; if (!o) return null; try { let { partytownSnippet: a } = require("@builder.io/partytown/integration"), s = Array.isArray(t.children) ? t.children : [t.children], u = s.find(e => { var t, n; return !!e && !!e.props && (null == e ? void 0 : null == (t = e.props) ? void 0 : null == (n = t.dangerouslySetInnerHTML) ? void 0 : n.__html.length) && "data-partytown-config" in e.props }); return l.default.createElement(l.default.Fragment, null, !u && l.default.createElement("script", { "data-partytown-config": "", dangerouslySetInnerHTML: { __html: '\n partytown = {\n lib: "'.concat(n, '/_next/static/~partytown/"\n };\n ') } }), l.default.createElement("script", { "data-partytown": "", dangerouslySetInnerHTML: { __html: a() } }), (r.worker || []).map((e, n) => { let { strategy: r, src: o, children: a, dangerouslySetInnerHTML: s, ...u } = e, c = {}; if (o) c.src = o; else if (s && s.__html) c.dangerouslySetInnerHTML = { __html: s.__html }; else if (a) c.dangerouslySetInnerHTML = { __html: "string" == typeof a ? a : Array.isArray(a) ? a.join("") : "" }; else throw Error("Invalid usage of next/script. Did you forget to include a src attribute or an inline script? https://nextjs.org/docs/messages/invalid-script"); return l.default.createElement("script", Object.assign({}, c, u, { type: "text/partytown", key: o || n, nonce: t.nonce, "data-nscript": "worker", crossOrigin: t.crossOrigin || i })) })) } catch (c) { return d.default(c) && "MODULE_NOT_FOUND" !== c.code && console.warn("Warning: ".concat(c.message)), null } }(e, t), a = (n.beforeInteractive || []).filter(e => e.src).map((e, n) => { var o; let { strategy: a, ...s } = e; return l.default.createElement("script", Object.assign({}, s, { key: s.src || n, defer: null !== (o = s.defer) && void 0 !== o ? o : !r, nonce: t.nonce, "data-nscript": "beforeInteractive", crossOrigin: t.crossOrigin || i })) }); return l.default.createElement(l.default.Fragment, null, o, a) } class _ extends (i = l.default.Component) { getCssLinks(e) { let { assetPrefix: t, devOnlyCacheBusterQueryString: n, dynamicImports: r, crossOrigin: i, optimizeCss: o, optimizeFonts: a } = this.context, s = e.allFiles.filter(e => e.endsWith(".css")), u = new Set(e.sharedFiles), c = new Set([]), f = Array.from(new Set(r.filter(e => e.endsWith(".css")))); if (f.length) { let d = new Set(s); f = f.filter(e => !(d.has(e) || u.has(e))), c = new Set(f), s.push(...f) } let h = []; return s.forEach(e => { let r = u.has(e); o || h.push(l.default.createElement("link", { key: "".concat(e, "-preload"), nonce: this.props.nonce, rel: "preload", href: "".concat(t, "/_next/").concat(encodeURI(e)).concat(n), as: "style", crossOrigin: this.props.crossOrigin || i })); let a = c.has(e); h.push(l.default.createElement("link", { key: e, nonce: this.props.nonce, rel: "stylesheet", href: "".concat(t, "/_next/").concat(encodeURI(e)).concat(n), crossOrigin: this.props.crossOrigin || i, "data-n-g": a ? void 0 : r ? "" : void 0, "data-n-p": a ? void 0 : r ? void 0 : "" })) }), a && (h = this.makeStylesheetInert(h)), 0 === h.length ? null : h } getPreloadDynamicChunks() { let { dynamicImports: e, assetPrefix: t, devOnlyCacheBusterQueryString: n, crossOrigin: r } = this.context; return e.map(e => e.endsWith(".js") ? l.default.createElement("link", { rel: "preload", key: e, href: "".concat(t, "/_next/").concat(encodeURI(e)).concat(n), as: "script", nonce: this.props.nonce, crossOrigin: this.props.crossOrigin || r }) : null).filter(Boolean) } getPreloadMainLinks(e) { let { assetPrefix: t, devOnlyCacheBusterQueryString: n, scriptLoader: r, crossOrigin: i } = this.context, o = e.allFiles.filter(e => e.endsWith(".js")); return [...(r.beforeInteractive || []).map(e => l.default.createElement("link", { key: e.src, nonce: this.props.nonce, rel: "preload", href: e.src, as: "script", crossOrigin: this.props.crossOrigin || i })), ...o.map(e => l.default.createElement("link", { key: e, nonce: this.props.nonce, rel: "preload", href: "".concat(t, "/_next/").concat(encodeURI(e)).concat(n), as: "script", crossOrigin: this.props.crossOrigin || i }))] } getBeforeInteractiveInlineScripts() { let { scriptLoader: e } = this.context, { nonce: t, crossOrigin: n } = this.props; return (e.beforeInteractive || []).filter(e => !e.src && (e.dangerouslySetInnerHTML || e.children)).map((e, r) => { let { strategy: i, children: o, dangerouslySetInnerHTML: a, src: s, ...u } = e, c = ""; return a && a.__html ? c = a.__html : o && (c = "string" == typeof o ? o : Array.isArray(o) ? o.join("") : ""), l.default.createElement("script", Object.assign({}, u, { dangerouslySetInnerHTML: { __html: c }, key: u.id || r, nonce: t, "data-nscript": "beforeInteractive", crossOrigin: n || void 0 })) }) } getDynamicChunks(e) { return b(this.context, this.props, e) } getPreNextScripts() { return w(this.context, this.props) } getScripts(e) { return x(this.context, this.props, e) } getPolyfillScripts() { return g(this.context, this.props) } makeStylesheetInert(e) { return l.default.Children.map(e, e => { var t, n; if ((null == e ? void 0 : e.type) === "link" && (null == e ? void 0 : null == (t = e.props) ? void 0 : t.href) && u.OPTIMIZED_FONT_PROVIDERS.some(t => { var n, r; let { url: i } = t; return null == e ? void 0 : null == (n = e.props) ? void 0 : null == (r = n.href) ? void 0 : r.startsWith(i) })) { let r = { ...e.props || {}, "data-href": e.props.href, href: void 0 }; return l.default.cloneElement(e, r) } if (null == e ? void 0 : null == (n = e.props) ? void 0 : n.children) { let i = { ...e.props || {}, children: this.makeStylesheetInert(e.props.children) }; return l.default.cloneElement(e, i) } return e }).filter(Boolean) } render() { var e, t; let { styles: r, ampPath: i, inAmpMode: o, hybridAmp: a, canonicalBase: s, __NEXT_DATA__: u, dangerousAsPath: c, headTags: f, unstable_runtimeJS: d, unstable_JsPreload: h, disableOptimizedLoading: p, optimizeCss: v, optimizeFonts: g, assetPrefix: b, fontLoaderManifest: x } = this.context, w = !1 === d, _ = !1 === h || !p; this.context.docComponentsRendered.Head = !0; let { head: E } = this.context, k = [], j = []; E && (E.forEach(e => { e && "link" === e.type && "preload" === e.props.rel && "style" === e.props.as ? k.push(e) : e && j.push(e) }), E = k.concat(j)); let S = l.default.Children.toArray(this.props.children).filter(Boolean); g && !o && (S = this.makeStylesheetInert(S)); let O = !1, C = !1; E = l.default.Children.map(E || [], e => { if (!e) return e; let { type: t, props: n } = e; if (o) { let r = ""; if ("meta" === t && "viewport" === n.name ? r = 'name="viewport"' : "link" === t && "canonical" === n.rel ? C = !0 : "script" === t && (n.src && -1 > n.src.indexOf("ampproject") || n.dangerouslySetInnerHTML && (!n.type || "text/javascript" === n.type)) && (r = " { r += " ".concat(e, '="').concat(n[e], '"') }), r += "/>"), r) return console.warn('Found conflicting amp tag "'.concat(e.type, '" with conflicting prop ').concat(r, " in ").concat(u.page, ". https://nextjs.org/docs/messages/conflicting-amp-tag")), null } else "link" === t && "amphtml" === n.rel && (O = !0); return e }); let A = m(this.context.buildManifest, this.context.__NEXT_DATA__.page, o), T = function(e, t) { let n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : ""; if (!e) return { preconnect: null, preload: null }; let r = e.pages["/_app"], i = e.pages[t], o = [...null != r ? r : [], ...null != i ? i : []], a = !!(0 === o.length && (r || i)); return { preconnect: a ? l.default.createElement("link", { rel: "preconnect", href: "/", crossOrigin: "anonymous" }) : null, preload: o ? o.map(e => { let t = /\.(woff|woff2|eot|ttf|otf)$/.exec(e)[1]; return l.default.createElement("link", { key: e, rel: "preload", href: "".concat(n, "/_next/").concat(encodeURI(e)), as: "font", type: "font/".concat(t), crossOrigin: "anonymous" }) }) : null } }(x, c, b); return l.default.createElement("head", Object.assign({}, function(e) { let { crossOrigin: t, nonce: n, ...r } = e; return r }(this.props)), this.context.isDevelopment && l.default.createElement(l.default.Fragment, null, l.default.createElement("style", { "data-next-hide-fouc": !0, "data-ampdevmode": o ? "true" : void 0, dangerouslySetInnerHTML: { __html: "body{display:none}" } }), l.default.createElement("noscript", { "data-next-hide-fouc": !0, "data-ampdevmode": o ? "true" : void 0 }, l.default.createElement("style", { dangerouslySetInnerHTML: { __html: "body{display:block}" } }))), E, l.default.createElement("meta", { name: "next-head-count", content: l.default.Children.count(E || []).toString() }), S, g && l.default.createElement("meta", { name: "next-font-preconnect" }), T.preconnect, T.preload, o && l.default.createElement(l.default.Fragment, null, l.default.createElement("meta", { name: "viewport", content: "width=device-width,minimum-scale=1,initial-scale=1" }), !C && l.default.createElement("link", { rel: "canonical", href: s + n(79505).Su(c) }), l.default.createElement("link", { rel: "preload", as: "script", href: "https://cdn.ampproject.org/v0.js" }), l.default.createElement(y, { styles: r }), l.default.createElement("style", { "amp-boilerplate": "", dangerouslySetInnerHTML: { __html: "body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}" } }), l.default.createElement("noscript", null, l.default.createElement("style", { "amp-boilerplate": "", dangerouslySetInnerHTML: { __html: "body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}" } })), l.default.createElement("script", { async: !0, src: "https://cdn.ampproject.org/v0.js" })), !o && l.default.createElement(l.default.Fragment, null, !O && a && l.default.createElement("link", { rel: "amphtml", href: s + (i || "".concat(c).concat(c.includes("?") ? "&" : "?", "amp=1")) }), this.getBeforeInteractiveInlineScripts(), !v && this.getCssLinks(A), !v && l.default.createElement("noscript", { "data-n-css": null !== (e = this.props.nonce) && void 0 !== e ? e : "" }), !w && !_ && this.getPreloadDynamicChunks(), !w && !_ && this.getPreloadMainLinks(A), !p && !w && this.getPolyfillScripts(), !p && !w && this.getPreNextScripts(), !p && !w && this.getDynamicChunks(A), !p && !w && this.getScripts(A), v && this.getCssLinks(A), v && l.default.createElement("noscript", { "data-n-css": null !== (t = this.props.nonce) && void 0 !== t ? t : "" }), this.context.isDevelopment && l.default.createElement("noscript", { id: "__next_css__DO_NOT_USE__" }), r || null), l.default.createElement(l.default.Fragment, {}, ...f || [])) } } s(_, "contextType", h.HtmlContext); class E extends (o = l.default.Component) { getDynamicChunks(e) { return b(this.context, this.props, e) } getPreNextScripts() { return w(this.context, this.props) } getScripts(e) { return x(this.context, this.props, e) } getPolyfillScripts() { return g(this.context, this.props) } static getInlineScriptSource(e) { let { __NEXT_DATA__: t, largePageDataBytes: r } = e; try { let i = JSON.stringify(t), o = a.from(i).byteLength, s = n(16549).Z; return r && o > r && console.warn('Warning: data for page "'.concat(t.page, '"').concat(t.page === e.dangerousAsPath ? "" : ' (path "'.concat(e.dangerousAsPath, '")'), " is ").concat(s(o), " which exceeds the threshold of ").concat(s(r), ", this amount of data can reduce performance.\nSee more info here: https://nextjs.org/docs/messages/large-page-data")), f.htmlEscapeJsonString(i) } catch (l) { if (d.default(l) && -1 !== l.message.indexOf("circular structure")) throw Error('Circular structure in "getInitialProps" result of page "'.concat(t.page, '". https://nextjs.org/docs/messages/circular-structure')); throw l } } render() { let { assetPrefix: e, inAmpMode: t, buildManifest: n, unstable_runtimeJS: r, docComponentsRendered: i, devOnlyCacheBusterQueryString: o, disableOptimizedLoading: a, crossOrigin: s } = this.context, u = !1 === r; if (i.NextScript = !0, t) return null; let c = m(this.context.buildManifest, this.context.__NEXT_DATA__.page, t); return l.default.createElement(l.default.Fragment, null, !u && n.devFiles ? n.devFiles.map(t => l.default.createElement("script", { key: t, src: "".concat(e, "/_next/").concat(encodeURI(t)).concat(o), nonce: this.props.nonce, crossOrigin: this.props.crossOrigin || s })) : null, u ? null : l.default.createElement("script", { id: "__NEXT_DATA__", type: "application/json", nonce: this.props.nonce, crossOrigin: this.props.crossOrigin || s, dangerouslySetInnerHTML: { __html: E.getInlineScriptSource(this.context) } }), a && !u && this.getPolyfillScripts(), a && !u && this.getPreNextScripts(), a && !u && this.getDynamicChunks(c), a && !u && this.getScripts(c)) } } function k(e) { let { inAmpMode: t, docComponentsRendered: n, locale: r, scriptLoader: i, __NEXT_DATA__: o } = l.useContext(h.HtmlContext); return n.Html = !0, !function(e, t, n) { var r, i, o, a; if (!n.children) return; let s = [], u = Array.isArray(n.children) ? n.children : [n.children], c = null == (r = u.find(e => e.type === _)) ? void 0 : null == (i = r.props) ? void 0 : i.children, f = null == (o = u.find(e => "body" === e.type)) ? void 0 : null == (a = o.props) ? void 0 : a.children, d = [...Array.isArray(c) ? c : [c], ...Array.isArray(f) ? f : [f]]; l.default.Children.forEach(d, t => { var n; if (t && (null == (n = t.type) ? void 0 : n.__nextScript)) { if ("beforeInteractive" === t.props.strategy) { e.beforeInteractive = (e.beforeInteractive || []).concat([{ ...t.props }]); return } if (["lazyOnload", "afterInteractive", "worker"].includes(t.props.strategy)) { s.push(t.props); return } } }), t.scriptLoader = s }(i, o, e), l.default.createElement("html", Object.assign({}, e, { lang: e.lang || r || void 0, amp: t ? "" : void 0, "data-ampdevmode": void 0 })) } function j() { let { docComponentsRendered: e } = l.useContext(h.HtmlContext); return e.Main = !0, l.default.createElement("next-js-internal-body-render-target", null) } s(E, "contextType", h.HtmlContext), p[u.NEXT_BUILTIN_DOCUMENT] = function() { return l.default.createElement(k, null, l.default.createElement(_, null), l.default.createElement("body", null, l.default.createElement(j, null), l.default.createElement(E, null))) } }, 63461: function(e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.EDGE_UNSUPPORTED_NODE_APIS = t.RSC_MODULE_TYPES = t.TRACE_OUTPUT_VERSION = t.STATIC_STATUS_PAGES = t.DEFAULT_SANS_SERIF_FONT = t.DEFAULT_SERIF_FONT = t.OPTIMIZED_FONT_PROVIDERS = t.GOOGLE_FONT_PROVIDER = t.SERVER_PROPS_ID = t.STATIC_PROPS_ID = t.PERMANENT_REDIRECT_STATUS = t.TEMPORARY_REDIRECT_STATUS = t.EDGE_RUNTIME_WEBPACK = t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL = t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS = t.CLIENT_STATIC_FILES_RUNTIME_WEBPACK = t.CLIENT_STATIC_FILES_RUNTIME_AMP = t.CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH = t.APP_CLIENT_INTERNALS = t.CLIENT_STATIC_FILES_RUNTIME_MAIN_APP = t.CLIENT_STATIC_FILES_RUNTIME_MAIN = t.MIDDLEWARE_REACT_LOADABLE_MANIFEST = t.MIDDLEWARE_BUILD_MANIFEST = t.FLIGHT_SERVER_CSS_MANIFEST = t.FLIGHT_MANIFEST = t.NEXT_CLIENT_SSR_ENTRY_SUFFIX = t.NEXT_BUILTIN_DOCUMENT = t.MODERN_BROWSERSLIST_TARGET = t.STRING_LITERAL_DROP_BUNDLE = t.CLIENT_STATIC_FILES_RUNTIME = t.CLIENT_STATIC_FILES_PATH = t.CLIENT_PUBLIC_FILES_PATH = t.BLOCKED_PAGES = t.BUILD_ID_FILE = t.CONFIG_FILES = t.SERVER_DIRECTORY = t.FONT_MANIFEST = t.REACT_LOADABLE_MANIFEST = t.DEV_MIDDLEWARE_MANIFEST = t.MIDDLEWARE_MANIFEST = t.DEV_CLIENT_PAGES_MANIFEST = t.SERVER_FILES_MANIFEST = t.IMAGES_MANIFEST = t.ROUTES_MANIFEST = t.PRERENDER_MANIFEST = t.EXPORT_DETAIL = t.EXPORT_MARKER = t.FONT_LOADER_MANIFEST = t.SUBRESOURCE_INTEGRITY_MANIFEST = t.APP_BUILD_MANIFEST = t.BUILD_MANIFEST = t.APP_PATH_ROUTES_MANIFEST = t.APP_PATHS_MANIFEST = t.PAGES_MANIFEST = t.PHASE_TEST = t.PHASE_DEVELOPMENT_SERVER = t.PHASE_PRODUCTION_SERVER = t.PHASE_PRODUCTION_BUILD = t.PHASE_EXPORT = t.COMPILER_INDEXES = t.COMPILER_NAMES = void 0; let n = { client: "client", server: "server", edgeServer: "edge-server" }; t.COMPILER_NAMES = n; let r = { [n.client]: 0, [n.server]: 1, [n.edgeServer]: 2 }; t.COMPILER_INDEXES = r, t.PHASE_EXPORT = "phase-export", t.PHASE_PRODUCTION_BUILD = "phase-production-build", t.PHASE_PRODUCTION_SERVER = "phase-production-server", t.PHASE_DEVELOPMENT_SERVER = "phase-development-server", t.PHASE_TEST = "phase-test", t.PAGES_MANIFEST = "pages-manifest.json", t.APP_PATHS_MANIFEST = "app-paths-manifest.json", t.APP_PATH_ROUTES_MANIFEST = "app-path-routes-manifest.json", t.BUILD_MANIFEST = "build-manifest.json", t.APP_BUILD_MANIFEST = "app-build-manifest.json", t.SUBRESOURCE_INTEGRITY_MANIFEST = "subresource-integrity-manifest", t.FONT_LOADER_MANIFEST = "font-loader-manifest", t.EXPORT_MARKER = "export-marker.json", t.EXPORT_DETAIL = "export-detail.json", t.PRERENDER_MANIFEST = "prerender-manifest.json", t.ROUTES_MANIFEST = "routes-manifest.json", t.IMAGES_MANIFEST = "images-manifest.json", t.SERVER_FILES_MANIFEST = "required-server-files.json", t.DEV_CLIENT_PAGES_MANIFEST = "_devPagesManifest.json", t.MIDDLEWARE_MANIFEST = "middleware-manifest.json", t.DEV_MIDDLEWARE_MANIFEST = "_devMiddlewareManifest.json", t.REACT_LOADABLE_MANIFEST = "react-loadable-manifest.json", t.FONT_MANIFEST = "font-manifest.json", t.SERVER_DIRECTORY = "server", t.CONFIG_FILES = ["next.config.js", "next.config.mjs"], t.BUILD_ID_FILE = "BUILD_ID", t.BLOCKED_PAGES = ["/_document", "/_app", "/_error"], t.CLIENT_PUBLIC_FILES_PATH = "public", t.CLIENT_STATIC_FILES_PATH = "static", t.CLIENT_STATIC_FILES_RUNTIME = "runtime", t.STRING_LITERAL_DROP_BUNDLE = "__NEXT_DROP_CLIENT_FILE__", t.MODERN_BROWSERSLIST_TARGET = ["chrome 64", "edge 79", "firefox 67", "opera 51", "safari 12"], t.NEXT_BUILTIN_DOCUMENT = "__NEXT_BUILTIN_DOCUMENT__", t.NEXT_CLIENT_SSR_ENTRY_SUFFIX = ".__sc_client__", t.FLIGHT_MANIFEST = "flight-manifest", t.FLIGHT_SERVER_CSS_MANIFEST = "flight-server-css-manifest", t.MIDDLEWARE_BUILD_MANIFEST = "middleware-build-manifest", t.MIDDLEWARE_REACT_LOADABLE_MANIFEST = "middleware-react-loadable-manifest"; let i = "main"; t.CLIENT_STATIC_FILES_RUNTIME_MAIN = i, t.CLIENT_STATIC_FILES_RUNTIME_MAIN_APP = "".concat(i, "-app"), t.APP_CLIENT_INTERNALS = "app-client-internals", t.CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH = "react-refresh", t.CLIENT_STATIC_FILES_RUNTIME_AMP = "amp", t.CLIENT_STATIC_FILES_RUNTIME_WEBPACK = "webpack"; let o = "polyfills"; t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS = o; let a = Symbol(o); t.CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL = a, t.EDGE_RUNTIME_WEBPACK = "edge-runtime-webpack", t.TEMPORARY_REDIRECT_STATUS = 307, t.PERMANENT_REDIRECT_STATUS = 308, t.STATIC_PROPS_ID = "__N_SSG", t.SERVER_PROPS_ID = "__N_SSP"; let s = "https://fonts.googleapis.com/"; t.GOOGLE_FONT_PROVIDER = s, t.OPTIMIZED_FONT_PROVIDERS = [{ url: s, preconnect: "https://fonts.gstatic.com" }, { url: "https://use.typekit.net", preconnect: "https://use.typekit.net" }], t.DEFAULT_SERIF_FONT = { name: "Times New Roman", xAvgCharWidth: 821, azAvgWidth: 854.3953488372093, unitsPerEm: 2048 }, t.DEFAULT_SANS_SERIF_FONT = { name: "Arial", xAvgCharWidth: 904, azAvgWidth: 934.5116279069767, unitsPerEm: 2048 }, t.STATIC_STATUS_PAGES = ["/500"], t.TRACE_OUTPUT_VERSION = 1, t.RSC_MODULE_TYPES = { client: "client", server: "server" }, t.EDGE_UNSUPPORTED_NODE_APIS = ["clearImmediate", "setImmediate", "BroadcastChannel", "Buffer", "ByteLengthQueuingStrategy", "CompressionStream", "CountQueuingStrategy", "DecompressionStream", "DomException", "MessageChannel", "MessageEvent", "MessagePort", "ReadableByteStreamController", "ReadableStreamBYOBRequest", "ReadableStreamDefaultController", "TextDecoderStream", "TextEncoderStream", "TransformStreamDefaultController", "WritableStreamDefaultController"], ("function" == typeof t.default || "object" == typeof t.default && null !== t.default) && void 0 === t.default.__esModule && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default) }, 46754: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.HtmlContext = void 0; var r = n(2784); let i = r.createContext(null); t.HtmlContext = i }, 28575: function(e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.getImageBlurSvg = function(e) { let { widthInt: t, heightInt: n, blurWidth: r, blurHeight: i, blurDataURL: o } = e, a = r || t, s = i || n, l = o.startsWith("data:image/jpeg") ? "%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%" : ""; return a && s ? "%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ".concat(a, " ").concat(s, "'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(r && i ? "1" : "20", "'/%3E").concat(l, "%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='").concat(o, "'/%3E%3C/svg%3E") : "%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='".concat(o, "'/%3E%3C/svg%3E") } }, 31354: function(e, t) { "use strict"; function n(e) { let { config: t, src: n, width: r, quality: i } = e; return "".concat(t.path, "?url=").concat(encodeURIComponent(n), "&w=").concat(r, "&q=").concat(i || 75) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0, n.__next_img_default = !0, t.default = n }, 83550: function(e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.ensureLeadingSlash = function(e) { return e.startsWith("/") ? e : "/".concat(e) } }, 61530: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.normalizePagePath = function(e) { let t = r.ensureLeadingSlash(/^\/index(\/|$)/.test(e) && !i.isDynamicRoute(e) ? "/index".concat(e) : "/" === e ? "/index" : e); { let { posix: a } = n(15153), s = a.normalize(t); if (s !== t) throw new o.NormalizeError("Requested and resolved page mismatch: ".concat(t, " ").concat(s)) } return t }; var r = n(83550), i = n(88985), o = n(18993) }, 88015: function(e, t, n) { "use strict"; let { inherit: r, current: i, transparent: o, black: a, white: s, slate: l, zinc: u, neutral: c, stone: f, red: d, orange: h, amber: p, yellow: v, lime: m, green: g, emerald: y, teal: b, cyan: x, sky: w, blue: _, indigo: E, violet: k, purple: j, fuchsia: S, pink: O, rose: C } = n(6692); e.exports = { colors: { inherit: r, current: i, transparent: o, black: a, white: s, slate: l, zinc: u, neutral: c, stone: f, red: d, orange: h, amber: p, yellow: v, lime: m, green: g, emerald: y, teal: b, cyan: x, sky: w, blue: _, indigo: E, violet: k, purple: j, fuchsia: S, pink: O, rose: C, mask: "rgba(30, 169, 76, .3)", accent: { 50: "#F6FFF9", 100: "#E9FBEF", 200: "#D5F2DE", 300: "#C9EED4", 400: "#BBE8C9", 500: "#9BDAAE", 600: "#71C48A", 700: "#3EAA5F", 800: "#05872D", 900: "#056B24", 1e3: "#04511B", 1100: "#011F0A" }, accentdark: { 50: "#05150A", 100: "#051C0C", 200: "#062811", 300: "#073515", 400: "#064018", 500: "#075820", 600: "#056824", 700: "#077A2A", 800: "#05872D", 900: "#069F35", 1e3: "#2FA052", 1100: "#D9F4E1" }, gray: { 50: "hsl(206, 30.0%, 98.8%)", 100: "hsl(210, 16.7%, 97.6%)", 200: "hsl(209, 13.3%, 95.3%)", 300: "hsl(209, 12.2%, 93.2%)", 400: "hsl(208, 11.7%, 91.1%)", 500: "hsl(208, 11.3%, 88.9%)", 600: "hsl(207, 11.1%, 85.9%)", 700: "hsl(205, 10.7%, 78.0%)", 800: "hsl(206, 6.0%, 56.1%)", 900: "hsl(206, 5.8%, 52.3%)", 1e3: "hsl(206, 6.0%, 43.5%)", 1100: "hsl(206, 24.0%, 9.0%)" }, graydark: { 50: "hsl(200, 7.0%, 8.8%)", 100: "hsl(195, 7.1%, 11.0%)", 200: "hsl(197, 6.8%, 13.6%)", 300: "hsl(198, 6.6%, 15.8%)", 400: "hsl(199, 6.4%, 17.9%)", 500: "hsl(201, 6.2%, 20.5%)", 600: "hsl(203, 6.0%, 24.3%)", 700: "hsl(207, 5.6%, 31.6%)", 800: "hsl(206, 6.0%, 43.9%)", 900: "hsl(206, 5.2%, 49.5%)", 1e3: "hsl(206, 6.0%, 63.0%)", 1100: "hsl(210, 6.0%, 93.0%)" } } } }, 84031: function(e, t, n) { + "use strict"; let r, i, o, a; n.d(t, { RVU: function() { return Tn }, tU3: function() { return Co }, zXq: function() { return Cg }, juT: function() { return OF }, IRm: function() { return vQ }, L6f: function() { return vJ }, Cts: function() { return uT }, Z58: function() { return Af }, wWN: function() { return Ts }, WVB: function() { return f2 }, Dkj: function() { return Td }, cfm: function() { return Ti }, zxk: function() { return lW }, YV2: function() { return h$ }, EMN: function() { return hY }, b0u: function() { return kp }, DI$: function() { return Ta }, NlZ: function() { return uH }, Y3p: function() { return uq }, PcV: function() { return uG }, EKh: function() { return uN }, vRO: function() { return AH }, QHy: function() { return AP }, TaT: function() { return AC }, eQh: function() { return uD }, HfT: function() { return AD }, dDl: function() { return AK }, ncR: function() { return Oc }, A06: function() { return Am }, Vy9: function() { return Ag }, Jrl: function() { return A3 }, VqE: function() { return ck }, iG7: function() { return A1 }, h_2: function() { return f8 }, Xiv: function() { return f7 }, Juw: function() { return f9 }, KpP: function() { return de }, dr6: function() { return A2 }, xUn: function() { return Os }, jIp: function() { return AW }, QBj: function() { return Aq }, yEL: function() { return Cf }, VBo: function() { return Tl }, Hb6: function() { return AQ }, Qbr: function() { return C1 }, L37: function() { return C2 }, ROc: function() { return Tf }, cB7: function() { return Om }, ZqQ: function() { return Ov }, IKw: function() { return O_ }, Hzd: function() { return Tx }, WN2: function() { return Tj }, zvn: function() { return Tu }, X6q: function() { return us }, K2o: function() { return Tc }, Yqd: function() { return hz }, __J: function() { return da }, rUS: function() { return uc }, xgg: function() { return kd }, Lur: function() { return C8 }, YaL: function() { return T_ }, kFS: function() { return f4 }, FzK: function() { return AA }, Clw: function() { return f1 }, B$N: function() { return Tg }, Ckx: function() { return A8 }, dZ8: function() { return A7 }, PD$: function() { return Te }, Wxm: function() { return h1 }, uDJ: function() { return OA }, s_4: function() { return nC }, nvN: function() { return nS }, u5Q: function() { return Ad }, j4H: function() { return hV }, J2e: function() { return dT }, kod: function() { return dH }, owP: function() { return Cp }, Wet: function() { return gF }, BB5: function() { return gI }, ZEk: function() { return gz }, xrM: function() { return cw }, PhF: function() { return h0 }, Z0O: function() { return fK }, hiv: function() { return vH }, DLL: function() { return At }, KJW: function() { return OU }, OdW: function() { return h4 }, D_D: function() { return CV }, xf5: function() { return Ty }, iA_: function() { return OE }, t6k: function() { return AL }, xvT: function() { return nj }, nvn: function() { return hs }, ua7: function() { return lU }, mPE: function() { return CB }, XxW: function() { return SQ }, m2c: function() { return S1 }, YKL: function() { return S0 }, QUh: function() { return Ar }, weF: function() { return CO }, YNn: function() { return CH }, DmW: function() { return CX }, qdM: function() { return CK }, SmH: function() { return AY }, jrD: function() { return Aw }, E6f: function() { return Ax }, Uzc: function() { return Tb }, BTR: function() { return Tw }, O9T: function() { return gV.colors }, fVJ: function() { return Al }, vQq: function() { return SB }, NrH: function() { return kc }, Y_Z: function() { return Ai }, EJC: function() { return TS }, kOJ: function() { return As }, OQF: function() { return Ao }, leQ: function() { return SW }, ytg: function() { return ku }, Vkc: function() { return fQ }, sWj: function() { return kl }, S5V: function() { return Ay }, z$: function() { return nO }, x9T: function() { return TE }, bjP: function() { return Tk }, I13: function() { return SU }, cEb: function() { return ha }, OHV: function() { return SI }, OPV: function() { return SF }, $Gg: function() { return SZ }, Y97: function() { return Ci }, c2j: function() { return Tm }, WsO: function() { return Cc }, Uu5: function() { return Tv }, oy6: function() { return Tp } }); var s, l, u, c, f, d, h, p, v, m, g, y, b, x, w, _, E, k, j, S, O, C, A, T, M, P, N, R, D, L, F, I, z, V, B, Z, U, H, W, q, $, Y, G, K, X, Q, J, ee, et, en, er, ei, eo, ea, es = n(52322), el = n(2784), eu = n.t(el, 2), ec = n(7896), ef = n(34540), ed = n(26215), eh = n(99575); function ep(e) { let t = e + "CollectionProvider", [n, r] = (0, ef.b)(t), [i, o] = n(t, { collectionRef: { current: null }, itemMap: new Map }), a = e => { let { scope: t, children: n } = e, r = el.useRef(null), o = el.useRef(new Map).current; return el.createElement(i, { scope: t, itemMap: o, collectionRef: r }, n) }, s = e + "CollectionSlot", l = el.forwardRef((e, t) => { let { scope: n, children: r } = e, i = o(s, n), a = (0, ed.e)(t, i.collectionRef); return el.createElement(eh.g7, { ref: a }, r) }), u = e + "CollectionItemSlot", c = "data-radix-collection-item", f = el.forwardRef((e, t) => { let { scope: n, children: r, ...i } = e, a = el.useRef(null), s = (0, ed.e)(t, a), l = o(u, n); return el.useEffect(() => (l.itemMap.set(a, { ref: a, ...i }), () => void l.itemMap.delete(a))), el.createElement(eh.g7, { [c]: "", ref: s }, r) }); return [{ Provider: a, Slot: l, ItemSlot: f }, function(t) { let n = o(e + "CollectionConsumer", t), r = el.useCallback(() => { let e = n.collectionRef.current; if (!e) return []; let t = Array.from(e.querySelectorAll(`[${c}]`)), r = Array.from(n.itemMap.values()), i = r.sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current)); return i }, [n.collectionRef, n.itemMap]); return r }, r] } var ev = n(41816), em = n(73597), eg = n(72130), ey = n(64680), eb = n(28245), ex = n(26074); let ew = "Collapsible", [e_, eE] = (0, ef.b)(ew), [ek, ej] = e_(ew), eS = ((e, t) => { let { __scopeCollapsible: n, open: r, defaultOpen: i, disabled: o, onOpenChange: a, ...s } = e, [l = !1, u] = (0, em.T)({ prop: r, defaultProp: i, onChange: a }); return (0, el.createElement)(ek, { scope: n, disabled: o, contentId: (0, ex.M)(), open: l, onOpenToggle: (0, el.useCallback)(() => u(e => !e), [u]) }, (0, el.createElement)(eg.WV.div, (0, ec.Z)({ "data-state": eC(l), "data-disabled": o ? "" : void 0 }, s, { ref: t }))) }, "CollapsibleContent"), eO = ((e, t) => { let { forceMount: n, ...r } = e, i = ej(eS, e.__scopeCollapsible); return (0, el.createElement)(eb.z, { present: n || i.open }, ({ present: e }) => (0, el.createElement)(eO, (0, ec.Z)({}, r, { ref: t, present: e }))) }, (0, el.forwardRef)((e, t) => { let { __scopeCollapsible: n, present: r, children: i, ...o } = e, a = ej(eS, n), [s, l] = (0, el.useState)(r), u = (0, el.useRef)(null), c = (0, ed.e)(t, u), f = (0, el.useRef)(0), d = f.current, h = (0, el.useRef)(0), p = h.current, v = a.open || s, m = (0, el.useRef)(v), g = (0, el.useRef)(); return (0, el.useEffect)(() => { let e = requestAnimationFrame(() => m.current = !1); return () => cancelAnimationFrame(e) }, []), (0, ey.b)(() => { let e = u.current; if (e) { g.current = g.current || { transitionDuration: e.style.transitionDuration, animationDuration: e.style.animationDuration, animationFillMode: e.style.animationFillMode }, e.style.transitionDuration = "0s", e.style.animationDuration = "0s", e.style.animationFillMode = "none"; let t = e.getBoundingClientRect(); f.current = t.height, h.current = t.width, m.current || (e.style.transitionDuration = g.current.transitionDuration, e.style.animationDuration = g.current.animationDuration, e.style.animationFillMode = g.current.animationFillMode), l(r) } }, [a.open, r]), (0, el.createElement)(eg.WV.div, (0, ec.Z)({ "data-state": eC(a.open), "data-disabled": a.disabled ? "" : void 0, id: a.contentId, hidden: !v }, o, { ref: c, style: { "--radix-collapsible-content-height": d ? `${d}px` : void 0, "--radix-collapsible-content-width": p ? `${p}px` : void 0, ...e.style } }), v && i) })); function eC(e) { return e ? "open" : "closed" } let eA = "Accordion", eT = ["Home", "End", "ArrowDown", "ArrowUp"], [eM, eP, eN] = ep(eA), [eR, eD] = (0, ef.b)(eA, [eN, eE]), eL = (eE(), el.forwardRef((e, t) => { let { type: n, ...r } = e; return el.createElement(eM.Provider, { scope: e.__scopeAccordion }, "multiple" === n ? el.createElement(eZ, (0, ec.Z)({}, r, { ref: t })) : el.createElement(eB, (0, ec.Z)({}, r, { ref: t }))) })); eL.propTypes = { type(e) { let t = e.value || e.defaultValue; return e.type && !["single", "multiple"].includes(e.type) ? Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`.") : "multiple" === e.type && "string" == typeof t ? Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`.") : "single" === e.type && Array.isArray(t) ? Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`.") : null } }; let [eF, eI] = eR(eA), [ez, eV] = eR(eA, { collapsible: !1 }), eB = el.forwardRef((e, t) => { let { value: n, defaultValue: r, onValueChange: i = () => { }, collapsible: o = !1, ...a } = e, [s, l] = (0, em.T)({ prop: n, defaultProp: r, onChange: i }); return el.createElement(eF, { scope: e.__scopeAccordion, value: s ? [s] : [], onItemOpen: l, onItemClose: el.useCallback(() => o && l(""), [o, l]) }, el.createElement(ez, { scope: e.__scopeAccordion, collapsible: o }, el.createElement(eW, (0, ec.Z)({}, a, { ref: t })))) }), eZ = el.forwardRef((e, t) => { let { value: n, defaultValue: r, onValueChange: i = () => { }, ...o } = e, [a = [], s] = (0, em.T)({ prop: n, defaultProp: r, onChange: i }), l = el.useCallback(e => s((t = []) => [...t, e]), [s]), u = el.useCallback(e => s((t = []) => t.filter(t => t !== e)), [s]); return el.createElement(eF, { scope: e.__scopeAccordion, value: a, onItemOpen: l, onItemClose: u }, el.createElement(ez, { scope: e.__scopeAccordion, collapsible: !0 }, el.createElement(eW, (0, ec.Z)({}, o, { ref: t })))) }), [eU, eH] = eR(eA), eW = el.forwardRef((e, t) => { let { __scopeAccordion: n, disabled: r, ...i } = e, o = el.useRef(null), a = (0, ed.e)(o, t), s = eP(n), l = (0, ev.M)(e.onKeyDown, e => { var t; if (!eT.includes(e.key)) return; let n = e.target, r = s().filter(e => { var t; return !(null !== (t = e.ref.current) && void 0 !== t && t.disabled) }), i = r.findIndex(e => e.ref.current === n), o = r.length; if (-1 === i) return; e.preventDefault(); let a = i; switch (e.key) { case "Home": a = 0; break; case "End": a = o - 1; break; case "ArrowDown": a = i + 1; break; case "ArrowUp": (a = i - 1) < 0 && (a = o - 1) }let l = a % o; null === (t = r[l].ref.current) || void 0 === t || t.focus() }); return el.createElement(eU, { scope: n, disabled: r }, el.createElement(eM.Slot, { scope: n }, el.createElement(eg.WV.div, (0, ec.Z)({}, i, { ref: a, onKeyDown: r ? void 0 : l })))) }), [eq, e$] = eR("AccordionItem"); var eY = n(44905), eG = n(83317); function eK(e) { return e.split("-")[0] } function eX(e) { return e.split("-")[1] } function eQ(e) { return ["top", "bottom"].includes(eK(e)) ? "x" : "y" } function eJ(e) { return "y" === e ? "height" : "width" } function e0(e, t, n) { let r, { reference: i, floating: o } = e, a = i.x + i.width / 2 - o.width / 2, s = i.y + i.height / 2 - o.height / 2, l = eQ(t), u = eJ(l), c = i[u] / 2 - o[u] / 2, f = "x" === l; switch (eK(t)) { case "top": r = { x: a, y: i.y - o.height }; break; case "bottom": r = { x: a, y: i.y + i.height }; break; case "right": r = { x: i.x + i.width, y: s }; break; case "left": r = { x: i.x - o.width, y: s }; break; default: r = { x: i.x, y: i.y } }switch (eX(t)) { case "start": r[l] -= c * (n && f ? -1 : 1); break; case "end": r[l] += c * (n && f ? -1 : 1) }return r } let e1 = async (e, t, n) => { let { placement: r = "bottom", strategy: i = "absolute", middleware: o = [], platform: a } = n, s = await (null == a.isRTL ? void 0 : a.isRTL(t)), l = await a.getElementRects({ reference: e, floating: t, strategy: i }), { x: u, y: c } = e0(l, r, s), f = r, d = {}, h = 0; for (let p = 0; p < o.length; p++) { let { name: v, fn: m } = o[p], { x: g, y: y, data: b, reset: x } = await m({ x: u, y: c, initialPlacement: r, placement: f, strategy: i, middlewareData: d, rects: l, platform: a, elements: { reference: e, floating: t } }); u = null != g ? g : u, c = null != y ? y : c, d = { ...d, [v]: { ...d[v], ...b } }, x && h <= 50 && (h++, "object" == typeof x && (x.placement && (f = x.placement), x.rects && (l = !0 === x.rects ? await a.getElementRects({ reference: e, floating: t, strategy: i }) : x.rects), { x: u, y: c } = e0(l, f, s)), p = -1) } return { x: u, y: c, placement: f, strategy: i, middlewareData: d } }; function e2(e) { return "number" != typeof e ? { top: 0, right: 0, bottom: 0, left: 0, ...e } : { top: e, right: e, bottom: e, left: e } } function e4(e) { return { ...e, top: e.y, left: e.x, right: e.x + e.width, bottom: e.y + e.height } } async function e3(e, t) { var n; void 0 === t && (t = {}); let { x: r, y: i, platform: o, rects: a, elements: s, strategy: l } = e, { boundary: u = "clippingAncestors", rootBoundary: c = "viewport", elementContext: f = "floating", altBoundary: d = !1, padding: h = 0 } = t, p = e2(h), v = s[d ? "floating" === f ? "reference" : "floating" : f], m = e4(await o.getClippingRect({ element: null == (n = await (null == o.isElement ? void 0 : o.isElement(v))) || n ? v : v.contextElement || await (null == o.getDocumentElement ? void 0 : o.getDocumentElement(s.floating)), boundary: u, rootBoundary: c, strategy: l })), g = e4(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: "floating" === f ? { ...a.floating, x: r, y: i } : a.reference, offsetParent: await (null == o.getOffsetParent ? void 0 : o.getOffsetParent(s.floating)), strategy: l }) : a[f]); return { top: m.top - g.top + p.top, bottom: g.bottom - m.bottom + p.bottom, left: m.left - g.left + p.left, right: g.right - m.right + p.right } } let e5 = Math.min, e6 = Math.max, e8 = e => ({ name: "arrow", options: e, async fn(t) { let { element: n, padding: r = 0 } = null != e ? e : {}, { x: i, y: o, placement: a, rects: s, platform: l } = t; if (null == n) return {}; let u = e2(r), c = { x: i, y: o }, f = eQ(a), d = eX(a), h = eJ(f), p = await l.getDimensions(n), v = "y" === f ? "top" : "left", m = "y" === f ? "bottom" : "right", g = s.reference[h] + s.reference[f] - c[f] - s.floating[h], y = c[f] - s.reference[f], b = await (null == l.getOffsetParent ? void 0 : l.getOffsetParent(n)), x = b ? "y" === f ? b.clientHeight || 0 : b.clientWidth || 0 : 0; 0 === x && (x = s.floating[h]); let w = u[v], _ = x - p[h] - u[m], E = x / 2 - p[h] / 2 + (g / 2 - y / 2), k = e6(w, e5(E, _)), j = ("start" === d ? u[v] : u[m]) > 0 && E !== k && s.reference[h] <= s.floating[h]; return { [f]: c[f] - (j ? E < w ? w - E : _ - E : 0), data: { [f]: k, centerOffset: E - k } } } }), e7 = { left: "right", right: "left", bottom: "top", top: "bottom" }; function e9(e) { return e.replace(/left|right|bottom|top/g, e => e7[e]) } let te = { start: "end", end: "start" }; function tt(e) { return e.replace(/start|end/g, e => te[e]) } let tn = ["top", "right", "bottom", "left"]; tn.reduce((e, t) => e.concat(t, t + "-start", t + "-end"), []); let tr = function(e) { return void 0 === e && (e = {}), { name: "flip", options: e, async fn(t) { var n, r, i, o; let { placement: a, middlewareData: s, rects: l, initialPlacement: u, platform: c, elements: f } = t, { mainAxis: d = !0, crossAxis: h = !0, fallbackPlacements: p, fallbackStrategy: v = "bestFit", flipAlignment: m = !0, ...g } = e, y = eK(a), b = p || (y !== u && m ? function(e) { let t = e9(e); return [tt(e), t, tt(t)] }(u) : [e9(u)]), x = [u, ...b], w = await e3(t, g), _ = [], E = (null == (n = s.flip) ? void 0 : n.overflows) || []; if (d && _.push(w[y]), h) { let { main: k, cross: j } = function(e, t, n) { void 0 === n && (n = !1); let r = eX(e), i = eQ(e), o = eJ(i), a = "x" === i ? r === (n ? "end" : "start") ? "right" : "left" : "start" === r ? "bottom" : "top"; return t.reference[o] > t.floating[o] && (a = e9(a)), { main: a, cross: e9(a) } }(a, l, await (null == c.isRTL ? void 0 : c.isRTL(f.floating))); _.push(w[k], w[j]) } if (E = [...E, { placement: a, overflows: _ }], !_.every(e => e <= 0)) { let S = (null != (r = null == (i = s.flip) ? void 0 : i.index) ? r : 0) + 1, O = x[S]; if (O) return { data: { index: S, overflows: E }, reset: { placement: O } }; let C = "bottom"; switch (v) { case "bestFit": { let A = null == (o = E.map(e => [e, e.overflows.filter(e => e > 0).reduce((e, t) => e + t, 0)]).sort((e, t) => e[1] - t[1])[0]) ? void 0 : o[0].placement; A && (C = A); break } case "initialPlacement": C = u }if (a !== C) return { reset: { placement: C } } } return {} } } }; function ti(e, t) { return { top: e.top - t.height, right: e.right - t.width, bottom: e.bottom - t.height, left: e.left - t.width } } function to(e) { return tn.some(t => e[t] >= 0) } let ta = function(e) { let { strategy: t = "referenceHidden", ...n } = void 0 === e ? {} : e; return { name: "hide", async fn(e) { let { rects: r } = e; switch (t) { case "referenceHidden": { let i = ti(await e3(e, { ...n, elementContext: "reference" }), r.reference); return { data: { referenceHiddenOffsets: i, referenceHidden: to(i) } } } case "escaped": { let o = ti(await e3(e, { ...n, altBoundary: !0 }), r.floating); return { data: { escapedOffsets: o, escaped: to(o) } } } default: return {} } } } }, ts = function(e) { return void 0 === e && (e = 0), { name: "offset", options: e, async fn(t) { let { x: n, y: r } = t, i = await async function(e, t) { let { placement: n, platform: r, elements: i } = e, o = await (null == r.isRTL ? void 0 : r.isRTL(i.floating)), a = eK(n), s = eX(n), l = "x" === eQ(n), u = ["left", "top"].includes(a) ? -1 : 1, c = o && l ? -1 : 1, f = "function" == typeof t ? t(e) : t, { mainAxis: d, crossAxis: h, alignmentAxis: p } = "number" == typeof f ? { mainAxis: f, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...f }; return s && "number" == typeof p && (h = "end" === s ? -1 * p : p), l ? { x: h * c, y: d * u } : { x: d * u, y: h * c } }(t, e); return { x: n + i.x, y: r + i.y, data: i } } } }; function tl(e) { return "x" === e ? "y" : "x" } let tu = function(e) { return void 0 === e && (e = {}), { name: "shift", options: e, async fn(t) { let { x: n, y: r, placement: i } = t, { mainAxis: o = !0, crossAxis: a = !1, limiter: s = { fn: e => { let { x: t, y: n } = e; return { x: t, y: n } } }, ...l } = e, u = { x: n, y: r }, c = await e3(t, l), f = eQ(eK(i)), d = tl(f), h = u[f], p = u[d]; o && (h = e6(h + c["y" === f ? "top" : "left"], e5(h, h - c["y" === f ? "bottom" : "right"]))), a && (p = e6(p + c["y" === d ? "top" : "left"], e5(p, p - c["y" === d ? "bottom" : "right"]))); let v = s.fn({ ...t, [f]: h, [d]: p }); return { ...v, data: { x: v.x - n, y: v.y - r } } } } }, tc = function(e) { return void 0 === e && (e = {}), { options: e, fn(t) { let { x: n, y: r, placement: i, rects: o, middlewareData: a } = t, { offset: s = 0, mainAxis: l = !0, crossAxis: u = !0 } = e, c = { x: n, y: r }, f = eQ(i), d = tl(f), h = c[f], p = c[d], v = "function" == typeof s ? s({ ...o, placement: i }) : s, m = "number" == typeof v ? { mainAxis: v, crossAxis: 0 } : { mainAxis: 0, crossAxis: 0, ...v }; if (l) { let g = "y" === f ? "height" : "width", y = o.reference[f] - o.floating[g] + m.mainAxis, b = o.reference[f] + o.reference[g] - m.mainAxis; h < y ? h = y : h > b && (h = b) } if (u) { var x, w, _, E; let k = "y" === f ? "width" : "height", j = ["top", "left"].includes(eK(i)), S = o.reference[d] - o.floating[k] + (j && null != (x = null == (w = a.offset) ? void 0 : w[d]) ? x : 0) + (j ? 0 : m.crossAxis), O = o.reference[d] + o.reference[k] + (j ? 0 : null != (_ = null == (E = a.offset) ? void 0 : E[d]) ? _ : 0) - (j ? m.crossAxis : 0); p < S ? p = S : p > O && (p = O) } return { [f]: h, [d]: p } } } }; function tf(e) { return e && e.document && e.location && e.alert && e.setInterval } function td(e) { if (null == e) return window; if (!tf(e)) { let t = e.ownerDocument; return t && t.defaultView || window } return e } function th(e) { return td(e).getComputedStyle(e) } function tp(e) { return tf(e) ? "" : e ? (e.nodeName || "").toLowerCase() : "" } function tv() { let e = navigator.userAgentData; return null != e && e.brands ? e.brands.map(e => e.brand + "/" + e.version).join(" ") : navigator.userAgent } function tm(e) { return e instanceof td(e).HTMLElement } function tg(e) { return e instanceof td(e).Element } function ty(e) { return "undefined" != typeof ShadowRoot && (e instanceof td(e).ShadowRoot || e instanceof ShadowRoot) } function tb(e) { let { overflow: t, overflowX: n, overflowY: r } = th(e); return /auto|scroll|overlay|hidden/.test(t + r + n) } function tx(e) { let t = /firefox/i.test(tv()), n = th(e); return "none" !== n.transform || "none" !== n.perspective || "paint" === n.contain || ["transform", "perspective"].includes(n.willChange) || t && "filter" === n.willChange || t && !!n.filter && "none" !== n.filter } function tw() { return !/^((?!chrome|android).)*safari/i.test(tv()) } let t_ = Math.min, tE = Math.max, tk = Math.round; function tj(e, t, n) { var r, i, o, a; void 0 === t && (t = !1), void 0 === n && (n = !1); let s = e.getBoundingClientRect(), l = 1, u = 1; t && tm(e) && (l = e.offsetWidth > 0 && tk(s.width) / e.offsetWidth || 1, u = e.offsetHeight > 0 && tk(s.height) / e.offsetHeight || 1); let c = tg(e) ? td(e) : window, f = !tw() && n, d = (s.left + (f && null != (r = null == (i = c.visualViewport) ? void 0 : i.offsetLeft) ? r : 0)) / l, h = (s.top + (f && null != (o = null == (a = c.visualViewport) ? void 0 : a.offsetTop) ? o : 0)) / u, p = s.width / l, v = s.height / u; return { width: p, height: v, top: h, right: d + p, bottom: h + v, left: d, x: d, y: h } } function tS(e) { return ((e instanceof td(e).Node ? e.ownerDocument : e.document) || window.document).documentElement } function tO(e) { return tg(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset } } function tC(e) { return tj(tS(e)).left + tO(e).scrollLeft } function tA(e) { return "html" === tp(e) ? e : e.assignedSlot || e.parentNode || (ty(e) ? e.host : null) || tS(e) } function tT(e) { return tm(e) && "fixed" !== getComputedStyle(e).position ? e.offsetParent : null } function tM(e) { let t = td(e), n = tT(e); for (; n && ["table", "td", "th"].includes(tp(n)) && "static" === getComputedStyle(n).position;)n = tT(n); return n && ("html" === tp(n) || "body" === tp(n) && "static" === getComputedStyle(n).position && !tx(n)) ? t : n || function(e) { let t = tA(e); for (ty(t) && (t = t.host); tm(t) && !["html", "body"].includes(tp(t));) { if (tx(t)) return t; t = t.parentNode } return null }(e) || t } function tP(e) { if (tm(e)) return { width: e.offsetWidth, height: e.offsetHeight }; let t = tj(e); return { width: t.width, height: t.height } } function tN(e, t) { var n; void 0 === t && (t = []); let r = function e(t) { let n = tA(t); return ["html", "body", "#document"].includes(tp(n)) ? t.ownerDocument.body : tm(n) && tb(n) ? n : e(n) }(e), i = r === (null == (n = e.ownerDocument) ? void 0 : n.body), o = td(r), a = i ? [o].concat(o.visualViewport || [], tb(r) ? r : []) : r, s = t.concat(a); return i ? s : s.concat(tN(a)) } function tR(e, t, n) { return "viewport" === t ? e4(function(e, t) { let n = td(e), r = tS(e), i = n.visualViewport, o = r.clientWidth, a = r.clientHeight, s = 0, l = 0; if (i) { o = i.width, a = i.height; let u = tw(); (u || !u && "fixed" === t) && (s = i.offsetLeft, l = i.offsetTop) } return { width: o, height: a, x: s, y: l } }(e, n)) : tg(t) ? function(e, t) { let n = tj(e, !1, "fixed" === t), r = n.top + e.clientTop, i = n.left + e.clientLeft; return { top: r, left: i, x: i, y: r, right: i + e.clientWidth, bottom: r + e.clientHeight, width: e.clientWidth, height: e.clientHeight } }(t, n) : e4(function(e) { var t; let n = tS(e), r = tO(e), i = null == (t = e.ownerDocument) ? void 0 : t.body, o = tE(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = tE(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -r.scrollLeft + tC(e), l = -r.scrollTop; return "rtl" === th(i || n).direction && (s += tE(n.clientWidth, i ? i.clientWidth : 0) - o), { width: o, height: a, x: s, y: l } }(tS(e))) } let tD = { getClippingRect: function(e) { let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, o = [..."clippingAncestors" === n ? function(e) { let t = tN(e), n = ["absolute", "fixed"].includes(th(e).position) && tm(e) ? tM(e) : e; return tg(n) ? t.filter(e => tg(e) && function(e, t) { let n = null == t.getRootNode ? void 0 : t.getRootNode(); if (e.contains(t)) return !0; if (n && ty(n)) { let r = t; do { if (r && e === r) return !0; r = r.parentNode || r.host } while (r) } return !1 }(e, n) && "body" !== tp(e)) : [] }(t) : [].concat(n), r], a = o[0], s = o.reduce((e, n) => { let r = tR(t, n, i); return e.top = tE(r.top, e.top), e.right = t_(r.right, e.right), e.bottom = t_(r.bottom, e.bottom), e.left = tE(r.left, e.left), e }, tR(t, a, i)); return { width: s.right - s.left, height: s.bottom - s.top, x: s.left, y: s.top } }, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) { let { rect: t, offsetParent: n, strategy: r } = e, i = tm(n), o = tS(n); if (n === o) return t; let a = { scrollLeft: 0, scrollTop: 0 }, s = { x: 0, y: 0 }; if ((i || !i && "fixed" !== r) && (("body" !== tp(n) || tb(o)) && (a = tO(n)), tm(n))) { let l = tj(n, !0); s.x = l.x + n.clientLeft, s.y = l.y + n.clientTop } return { ...t, x: t.x - a.scrollLeft + s.x, y: t.y - a.scrollTop + s.y } }, isElement: tg, getDimensions: tP, getOffsetParent: tM, getDocumentElement: tS, getElementRects: e => { let { reference: t, floating: n, strategy: r } = e; return { reference: function(e, t, n) { let r = tm(t), i = tS(t), o = tj(e, r && function(e) { let t = tj(e); return tk(t.width) !== e.offsetWidth || tk(t.height) !== e.offsetHeight }(t), "fixed" === n), a = { scrollLeft: 0, scrollTop: 0 }, s = { x: 0, y: 0 }; if (r || !r && "fixed" !== n) { if (("body" !== tp(t) || tb(i)) && (a = tO(t)), tm(t)) { let l = tj(t, !0); s.x = l.x + t.clientLeft, s.y = l.y + t.clientTop } else i && (s.x = tC(i)) } return { x: o.left + a.scrollLeft - s.x, y: o.top + a.scrollTop - s.y, width: o.width, height: o.height } }(t, tM(n), r), floating: { ...tP(n), x: 0, y: 0 } } }, getClientRects: e => Array.from(e.getClientRects()), isRTL: e => "rtl" === th(e).direction }; function tL(e, t, n, r) { void 0 === r && (r = {}); let { ancestorScroll: i = !0, ancestorResize: o = !0, elementResize: a = !0, animationFrame: s = !1 } = r, l = i && !s, u = o && !s, c = l || u ? [...tg(e) ? tN(e) : [], ...tN(t)] : []; c.forEach(e => { l && e.addEventListener("scroll", n, { passive: !0 }), u && e.addEventListener("resize", n) }); let f, d = null; if (a) { let h = !0; d = new ResizeObserver(() => { h || n(), h = !1 }), tg(e) && !s && d.observe(e), d.observe(t) } let p = s ? tj(e) : null; return s && function t() { let r = tj(e); p && (r.x !== p.x || r.y !== p.y || r.width !== p.width || r.height !== p.height) && n(), p = r, f = requestAnimationFrame(t) }(), n(), () => { var e; c.forEach(e => { l && e.removeEventListener("scroll", n), u && e.removeEventListener("resize", n) }), null == (e = d) || e.disconnect(), d = null, s && cancelAnimationFrame(f) } } let tF = (e, t, n) => e1(e, t, { platform: tD, ...n }); var tI = n(28316), tz = "undefined" != typeof document ? el.useLayoutEffect : el.useEffect; function tV(e) { let { middleware: t, placement: n = "bottom", strategy: r = "absolute", whileElementsMounted: i } = void 0 === e ? {} : e, o = el.useRef(null), a = el.useRef(null), s = function(e) { let t = el.useRef(e); return tz(() => { t.current = e }), t }(i), l = el.useRef(null), [u, c] = el.useState({ x: null, y: null, strategy: r, placement: n, middlewareData: {} }), [f, d] = el.useState(t); !function e(t, n) { let r, i, o; if (t === n) return !0; if (typeof t != typeof n) return !1; if ("function" == typeof t && t.toString() === n.toString()) return !0; if (t && n && "object" == typeof t) { if (Array.isArray(t)) { if ((r = t.length) != n.length) return !1; for (i = r; 0 != i--;)if (!e(t[i], n[i])) return !1; return !0 } if ((r = (o = Object.keys(t)).length) !== Object.keys(n).length) return !1; for (i = r; 0 != i--;)if (!Object.prototype.hasOwnProperty.call(n, o[i])) return !1; for (i = r; 0 != i--;) { let a = o[i]; if (("_owner" !== a || !t.$$typeof) && !e(t[a], n[a])) return !1 } return !0 } return t != t && n != n }(null == f ? void 0 : f.map(e => { let { options: t } = e; return t }), null == t ? void 0 : t.map(e => { let { options: t } = e; return t })) && d(t); let h = el.useCallback(() => { o.current && a.current && tF(o.current, a.current, { middleware: f, placement: n, strategy: r }).then(e => { p.current && tI.flushSync(() => { c(e) }) }) }, [f, n, r]); tz(() => { p.current && h() }, [h]); let p = el.useRef(!1); tz(() => (p.current = !0, () => { p.current = !1 }), []); let v = el.useCallback(() => { if ("function" == typeof l.current && (l.current(), l.current = null), o.current && a.current) { if (s.current) { let e = s.current(o.current, a.current, h); l.current = e } else h() } }, [h, s]), m = el.useCallback(e => { o.current = e, v() }, [v]), g = el.useCallback(e => { a.current = e, v() }, [v]), y = el.useMemo(() => ({ reference: o, floating: a }), []); return el.useMemo(() => ({ ...u, update: h, refs: y, reference: m, floating: g }), [u, h, y, m, g]) } let tB = e => { let { element: t, padding: n } = e; return { name: "arrow", options: e, fn(e) { if (Object.prototype.hasOwnProperty.call(t, "current")) { if (null != t.current) return e8({ element: t.current, padding: n }).fn(e) } else if (t) return e8({ element: t, padding: n }).fn(e); return {} } } }, tZ = (0, el.forwardRef)((e, t) => { let { children: n, width: r = 10, height: i = 5, ...o } = e; return (0, el.createElement)(eg.WV.svg, (0, ec.Z)({}, o, { ref: t, width: r, height: i, viewBox: "0 0 30 10", preserveAspectRatio: "none" }), e.asChild ? n : (0, el.createElement)("polygon", { points: "0,0 30,0 15,10" })) }); function tU(e) { let [t, n] = (0, el.useState)(void 0); return (0, ey.b)(() => { if (e) { n({ width: e.offsetWidth, height: e.offsetHeight }); let t = new ResizeObserver(t => { let r, i; if (!Array.isArray(t) || !t.length) return; let o = t[0]; if ("borderBoxSize" in o) { let a = o.borderBoxSize, s = Array.isArray(a) ? a[0] : a; r = s.inlineSize, i = s.blockSize } else r = e.offsetWidth, i = e.offsetHeight; n({ width: r, height: i }) }); return t.observe(e, { box: "border-box" }), () => t.unobserve(e) } n(void 0) }, [e]), t } let tH = "Popper", [tW, tq] = (0, ef.b)(tH), [t$, tY] = tW(tH), tG = e => { let { __scopePopper: t, children: n } = e, [r, i] = (0, el.useState)(null); return (0, el.createElement)(t$, { scope: t, anchor: r, onAnchorChange: i }, n) }, tK = (0, el.forwardRef)((e, t) => { let { __scopePopper: n, virtualRef: r, ...i } = e, o = tY("PopperAnchor", n), a = (0, el.useRef)(null), s = (0, ed.e)(t, a); return (0, el.useEffect)(() => { o.onAnchorChange((null == r ? void 0 : r.current) || a.current) }), r ? null : (0, el.createElement)(eg.WV.div, (0, ec.Z)({}, i, { ref: s })) }), tX = "PopperContent", [tQ, tJ] = tW(tX), [t0, t1] = tW(tX, { hasParent: !1, positionUpdateFns: new Set }), t2 = (0, el.forwardRef)((e, t) => { var n, r, i, o, a, s, l, u; let { __scopePopper: c, side: f = "bottom", sideOffset: d = 0, align: h = "center", alignOffset: p = 0, arrowPadding: v = 0, collisionBoundary: m = [], collisionPadding: g = 0, sticky: y = "partial", hideWhenDetached: b = !1, avoidCollisions: x = !0, ...w } = e, _ = tY(tX, c), [E, k] = (0, el.useState)(null), j = (0, ed.e)(t, e => k(e)), [S, O] = (0, el.useState)(null), C = tU(S), A = null !== (n = null == C ? void 0 : C.width) && void 0 !== n ? n : 0, T = null !== (r = null == C ? void 0 : C.height) && void 0 !== r ? r : 0, M = "number" == typeof g ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, P = Array.isArray(m) ? m : [m], N = P.length > 0, R = { padding: M, boundary: P.filter(t6), altBoundary: N }, { reference: D, floating: L, strategy: F, x: I, y: z, placement: V, middlewareData: B, update: Z } = tV({ strategy: "fixed", placement: f + ("center" !== h ? "-" + h : ""), whileElementsMounted: tL, middleware: [ts({ mainAxis: d + T, alignmentAxis: p }), x ? tu({ mainAxis: !0, crossAxis: !1, limiter: "partial" === y ? tc() : void 0, ...R }) : void 0, S ? tB({ element: S, padding: v }) : void 0, x ? tr({ ...R }) : void 0, t8({ arrowWidth: A, arrowHeight: T }), b ? ta({ strategy: "referenceHidden" }) : void 0].filter(t5) }); (0, ey.b)(() => { D(_.anchor) }, [D, _.anchor]); let U = null !== I && null !== z, [H, W] = t7(V), q = null === (i = B.arrow) || void 0 === i ? void 0 : i.x, $ = null === (o = B.arrow) || void 0 === o ? void 0 : o.y, Y = (null === (a = B.arrow) || void 0 === a ? void 0 : a.centerOffset) !== 0, [G, K] = (0, el.useState)(); (0, ey.b)(() => { E && K(window.getComputedStyle(E).zIndex) }, [E]); let { hasParent: X, positionUpdateFns: Q } = t1(tX, c), J = !X; (0, el.useLayoutEffect)(() => { if (!J) return Q.add(Z), () => { Q.delete(Z) } }, [J, Q, Z]), (0, el.useLayoutEffect)(() => { J && U && Array.from(Q).reverse().forEach(e => requestAnimationFrame(e)) }, [J, U, Q]); let ee = { "data-side": H, "data-align": W, ...w, ref: j, style: { ...w.style, animation: U ? void 0 : "none", opacity: null !== (s = B.hide) && void 0 !== s && s.referenceHidden ? 0 : void 0 } }; return (0, el.createElement)("div", { ref: L, "data-radix-popper-content-wrapper": "", style: { position: F, left: 0, top: 0, transform: U ? `translate3d(${Math.round(I)}px, ${Math.round(z)}px, 0)` : "translate3d(0, -200%, 0)", minWidth: "max-content", zIndex: G, "--radix-popper-transform-origin": [null === (l = B.transformOrigin) || void 0 === l ? void 0 : l.x, null === (u = B.transformOrigin) || void 0 === u ? void 0 : u.y].join(" ") } }, (0, el.createElement)(tQ, { scope: c, placedSide: H, onArrowChange: O, arrowX: q, arrowY: $, shouldHideArrow: Y }, J ? (0, el.createElement)(t0, { scope: c, hasParent: !0, positionUpdateFns: Q }, (0, el.createElement)(eg.WV.div, ee)) : (0, el.createElement)(eg.WV.div, ee))) }), t4 = { top: "bottom", right: "left", bottom: "top", left: "right" }, t3 = (0, el.forwardRef)(function(e, t) { let { __scopePopper: n, ...r } = e, i = tJ("PopperArrow", n), o = t4[i.placedSide]; return (0, el.createElement)("span", { ref: i.onArrowChange, style: { position: "absolute", left: i.arrowX, top: i.arrowY, [o]: 0, transformOrigin: { top: "", right: "0 0", bottom: "center 0", left: "100% 0" }[i.placedSide], transform: { top: "translateY(100%)", right: "translateY(50%) rotate(90deg) translateX(-50%)", bottom: "rotate(180deg)", left: "translateY(50%) rotate(-90deg) translateX(50%)" }[i.placedSide], visibility: i.shouldHideArrow ? "hidden" : void 0 } }, (0, el.createElement)(tZ, (0, ec.Z)({}, r, { ref: t, style: { ...r.style, display: "block" } }))) }); function t5(e) { return void 0 !== e } function t6(e) { return null !== e } let t8 = e => ({ name: "transformOrigin", options: e, fn(t) { var n, r, i, o, a; let { placement: s, rects: l, middlewareData: u } = t, c = (null === (n = u.arrow) || void 0 === n ? void 0 : n.centerOffset) !== 0, f = c ? 0 : e.arrowWidth, d = c ? 0 : e.arrowHeight, [h, p] = t7(s), v = { start: "0%", center: "50%", end: "100%" }[p], m = (null !== (r = null === (i = u.arrow) || void 0 === i ? void 0 : i.x) && void 0 !== r ? r : 0) + f / 2, g = (null !== (o = null === (a = u.arrow) || void 0 === a ? void 0 : a.y) && void 0 !== o ? o : 0) + d / 2, y = "", b = ""; return "bottom" === h ? (y = c ? v : `${m}px`, b = `${-d}px`) : "top" === h ? (y = c ? v : `${m}px`, b = `${l.floating.height + d}px`) : "right" === h ? (y = `${-d}px`, b = c ? v : `${g}px`) : "left" === h && (y = `${l.floating.width + d}px`, b = c ? v : `${g}px`), { data: { x: y, y: b } } } }); function t7(e) { let [t, n = "center"] = e.split("-"); return [t, n] } var t9 = n(6500); let ne = (0, el.forwardRef)((e, t) => (0, el.createElement)(eg.WV.span, (0, ec.Z)({}, e, { ref: t, style: { position: "absolute", border: 0, width: 1, height: 1, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", wordWrap: "normal", ...e.style } }))), [nt, nn] = (0, ef.b)("Tooltip", [tq]), nr = tq(), ni = "tooltip.open", [no, na] = nt("TooltipProvider"), ns = e => { let { __scopeTooltip: t, delayDuration: n = 700, skipDelayDuration: r = 300, disableHoverableContent: i = !1, children: o } = e, [a, s] = (0, el.useState)(!0), l = (0, el.useRef)(!1), u = (0, el.useRef)(0); return (0, el.useEffect)(() => { let e = u.current; return () => window.clearTimeout(e) }, []), (0, el.createElement)(no, { scope: t, isOpenDelayed: a, delayDuration: n, onOpen: (0, el.useCallback)(() => { window.clearTimeout(u.current), s(!1) }, []), onClose: (0, el.useCallback)(() => { window.clearTimeout(u.current), u.current = window.setTimeout(() => s(!0), r) }, [r]), isPointerInTransitRef: l, onPointerInTransitChange: (0, el.useCallback)(e => { l.current = e }, []), disableHoverableContent: i }, o) }, nl = "Tooltip", [nu, nc] = nt(nl), nf = e => { let { __scopeTooltip: t, children: n, open: r, defaultOpen: i = !1, onOpenChange: o, disableHoverableContent: a, delayDuration: s } = e, l = na(nl, e.__scopeTooltip), u = nr(t), [c, f] = (0, el.useState)(null), d = (0, ex.M)(), h = (0, el.useRef)(0), p = null != a ? a : l.disableHoverableContent, v = null != s ? s : l.delayDuration, m = (0, el.useRef)(!1), [g = !1, y] = (0, em.T)({ prop: r, defaultProp: i, onChange: e => { e ? (l.onOpen(), document.dispatchEvent(new CustomEvent(ni))) : l.onClose(), null == o || o(e) } }), b = (0, el.useMemo)(() => g ? m.current ? "delayed-open" : "instant-open" : "closed", [g]), x = (0, el.useCallback)(() => { window.clearTimeout(h.current), m.current = !1, y(!0) }, [y]), w = (0, el.useCallback)(() => { window.clearTimeout(h.current), y(!1) }, [y]), _ = (0, el.useCallback)(() => { window.clearTimeout(h.current), h.current = window.setTimeout(() => { m.current = !0, y(!0) }, v) }, [v, y]); return (0, el.useEffect)(() => () => window.clearTimeout(h.current), []), (0, el.createElement)(tG, u, (0, el.createElement)(nu, { scope: t, contentId: d, open: g, stateAttribute: b, trigger: c, onTriggerChange: f, onTriggerEnter: (0, el.useCallback)(() => { l.isOpenDelayed ? _() : x() }, [l.isOpenDelayed, _, x]), onTriggerLeave: (0, el.useCallback)(() => { p ? w() : window.clearTimeout(h.current) }, [w, p]), onOpen: x, onClose: w, disableHoverableContent: p }, n)) }, nd = "TooltipTrigger", nh = (0, el.forwardRef)((e, t) => { let { __scopeTooltip: n, ...r } = e, i = nc(nd, n), o = na(nd, n), a = nr(n), s = (0, el.useRef)(null), l = (0, ed.e)(t, s, i.onTriggerChange), u = (0, el.useRef)(!1), c = (0, el.useRef)(!1), f = (0, el.useCallback)(() => u.current = !1, []); return (0, el.useEffect)(() => () => document.removeEventListener("pointerup", f), [f]), (0, el.createElement)(tK, (0, ec.Z)({ asChild: !0 }, a), (0, el.createElement)(eg.WV.button, (0, ec.Z)({ "aria-describedby": i.open ? i.contentId : void 0, "data-state": i.stateAttribute }, r, { ref: l, onPointerMove: (0, ev.M)(e.onPointerMove, e => { "touch" === e.pointerType || c.current || o.isPointerInTransitRef.current || (i.onTriggerEnter(), c.current = !0) }), onPointerLeave: (0, ev.M)(e.onPointerLeave, () => { i.onTriggerLeave(), c.current = !1 }), onPointerDown: (0, ev.M)(e.onPointerDown, () => { u.current = !0, document.addEventListener("pointerup", f, { once: !0 }) }), onFocus: (0, ev.M)(e.onFocus, () => { u.current || i.onOpen() }), onBlur: (0, ev.M)(e.onBlur, i.onClose), onClick: (0, ev.M)(e.onClick, e => { let t = 0 === e.detail; t && i.onClose() }) }))) }), np = "TooltipPortal", [nv, nm] = nt(np, { forceMount: void 0 }), ng = e => { let { __scopeTooltip: t, forceMount: n, children: r, container: i } = e, o = nc(np, t); return (0, el.createElement)(nv, { scope: t, forceMount: n }, (0, el.createElement)(eb.z, { present: n || o.open }, (0, el.createElement)(t9.h, { asChild: !0, container: i }, r))) }, ny = "TooltipContent", nb = (0, el.forwardRef)((e, t) => { let n = nm(ny, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...o } = e, a = nc(ny, e.__scopeTooltip); return (0, el.createElement)(eb.z, { present: r || a.open }, a.disableHoverableContent ? (0, el.createElement)(nE, (0, ec.Z)({ side: i }, o, { ref: t })) : (0, el.createElement)(nx, (0, ec.Z)({ side: i }, o, { ref: t }))) }), nx = (0, el.forwardRef)((e, t) => { let n = nc(ny, e.__scopeTooltip), r = na(ny, e.__scopeTooltip), i = (0, el.useRef)(null), o = (0, ed.e)(t, i), [a, s] = (0, el.useState)(null), { trigger: l, onClose: u } = n, c = i.current, { onPointerInTransitChange: f } = r, d = (0, el.useCallback)(() => { s(null), f(!1) }, [f]), h = (0, el.useCallback)((e, t) => { let n = e.currentTarget, r = { x: e.clientX, y: e.clientY }, i = function(e, t) { let n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), i = Math.abs(t.right - e.x), o = Math.abs(t.left - e.x); switch (Math.min(n, r, i, o)) { case o: return "left"; case i: return "right"; case n: return "top"; case r: return "bottom"; default: return null } }(r, n.getBoundingClientRect()), o = "right" === i || "bottom" === i ? -5 : 5, a = "right" === i || "left" === i ? { x: e.clientX + o, y: e.clientY } : { x: e.clientX, y: e.clientY + o }, l = function(e) { let { top: t, right: n, bottom: r, left: i } = e; return [{ x: i, y: t }, { x: n, y: t }, { x: n, y: r }, { x: i, y: r }] }(t.getBoundingClientRect()), u = function(e) { let t = e.slice(); return t.sort((e, t) => e.x < t.x ? -1 : e.x > t.x ? 1 : e.y < t.y ? -1 : e.y > t.y ? 1 : 0), function(e) { if (e.length <= 1) return e.slice(); let t = []; for (let n = 0; n < e.length; n++) { let r = e[n]; for (; t.length >= 2;) { let i = t[t.length - 1], o = t[t.length - 2]; if ((i.x - o.x) * (r.y - o.y) >= (i.y - o.y) * (r.x - o.x)) t.pop(); else break } t.push(r) } t.pop(); let a = []; for (let s = e.length - 1; s >= 0; s--) { let l = e[s]; for (; a.length >= 2;) { let u = a[a.length - 1], c = a[a.length - 2]; if ((u.x - c.x) * (l.y - c.y) >= (u.y - c.y) * (l.x - c.x)) a.pop(); else break } a.push(l) } return (a.pop(), 1 === t.length && 1 === a.length && t[0].x === a[0].x && t[0].y === a[0].y) ? t : t.concat(a) }(t) }([a, ...l]); s(u), f(!0) }, [f]); return (0, el.useEffect)(() => () => d(), [d]), (0, el.useEffect)(() => { if (l && c) { let e = e => h(e, c), t = e => h(e, l); return l.addEventListener("pointerleave", e), c.addEventListener("pointerleave", t), () => { l.removeEventListener("pointerleave", e), c.removeEventListener("pointerleave", t) } } }, [l, c, h, d]), (0, el.useEffect)(() => { if (a) { let e = e => { let t = e.target, n = { x: e.clientX, y: e.clientY }, r = (null == l ? void 0 : l.contains(t)) || (null == c ? void 0 : c.contains(t)), i = !function(e, t) { let { x: n, y: r } = e, i = !1; for (let o = 0, a = t.length - 1; o < t.length; a = o++) { let s = t[o].x, l = t[o].y, u = t[a].x, c = t[a].y, f = l > r != c > r && n < (u - s) * (r - l) / (c - l) + s; f && (i = !i) } return i }(n, a); r ? d() : i && (d(), u()) }; return document.addEventListener("pointermove", e), () => document.removeEventListener("pointermove", e) } }, [l, c, a, u, d]), (0, el.createElement)(nE, (0, ec.Z)({}, e, { ref: o })) }), [nw, n_] = nt(nl, { isInside: !1 }), nE = (0, el.forwardRef)((e, t) => { let { __scopeTooltip: n, children: r, "aria-label": i, onEscapeKeyDown: o, onPointerDownOutside: a, ...s } = e, l = nc(ny, n), u = nr(n), { onClose: c } = l; return (0, el.useEffect)(() => (document.addEventListener(ni, c), () => document.removeEventListener(ni, c)), [c]), (0, el.useEffect)(() => { if (l.trigger) { let e = e => { let t = e.target; null != t && t.contains(l.trigger) && c() }; return window.addEventListener("scroll", e, { capture: !0 }), () => window.removeEventListener("scroll", e, { capture: !0 }) } }, [l.trigger, c]), (0, el.createElement)(eG.XB, { asChild: !0, disableOutsidePointerEvents: !1, onEscapeKeyDown: o, onPointerDownOutside: a, onFocusOutside: e => e.preventDefault(), onDismiss: c }, (0, el.createElement)(t2, (0, ec.Z)({ "data-state": l.stateAttribute }, u, s, { ref: t, style: { ...s.style, "--radix-tooltip-content-transform-origin": "var(--radix-popper-transform-origin)" } }), (0, el.createElement)(eh.A4, null, r), (0, el.createElement)(nw, { scope: n, isInside: !0 }, (0, el.createElement)(ne, { id: l.contentId, role: "tooltip" }, i || r)))) }), nk = (0, eY.j)(["inline-block"], { variants: { font: { mono: "font-mono", sans: "font-sans" }, color: { verySubtle: "text-gray-700 dark:text-graydark-700", subtle: "text-gray-1000 dark:text-graydark-1000", contrast: "text-gray-1100 dark:text-white", lo: "text-white dark:text-graydark-50", accent: "text-accent-1100 dark:text-accentdark-1100", red: "text-red-700 dark:text-red-400", green: "text-emerald-700 dark:text-emerald-500", amber: "text-amber-600 dark:text-amber-500", none: "" }, weight: { extrabold: "font-extrabold", bold: "font-bold", medium: "font-medium", semibold: "font-semibold", regular: "font-normal", normal: "font-normal", light: "font-light", none: "" }, size: { 10: "text-xxs", 12: "text-xs", 14: "text-sm", 16: "text-base", 18: "text-lg", 20: "text-xl", 24: "text-2xl", 30: "text-3xl", 36: "text-4xl", 40: "text-5xl", 48: "text-5xl", 60: "text-6xl", 64: "text-6xl" }, scaleSize: { 12: "text-xxs md:text-xs", 14: "text-xs md:text-sm", 16: "text-sm md:text-base", 18: "text-base md:text-lg", 20: "text-base md:text-xl", 24: "text-xl md:text-2xl", 30: "text-2xl md:text-3xl", 36: "text-3xl md:text-4xl", 40: "text-4xl md:text-5xl", 48: "text-4xl md:text-5xl", 60: "text-5xl md:text-6xl", 64: "text-5xl md:text-6xl" }, noWrap: { true: "whitespace-nowrap" }, underline: { accent: "underline underline-offset-2 decoration-2 decoration-accent-900 dark:decoration-accentdark-900", show: "underline underline-offset-2 decoration-gray-1100 dark:decoration-gray-500", hover: "hover:underline underline-offset-2 decoration-gray-1100 dark:decoration-gray-500", none: "" }, ellipsis: { true: "overflow-hidden text-ellipsis whitespace-nowrap" }, wrapEllipsis: { true: "overflow-hidden text-ellipsis" } }, defaultVariants: { weight: "regular", font: "sans", color: "contrast", underline: "none" } }), nj = el.forwardRef((e, t) => { let { tag: n = "span", className: r, font: i, color: o, weight: a, size: s, scaleSize: l, noWrap: u, underline: c, ellipsis: f, wrapEllipsis: d, ...h } = e; return (0, es.jsx)(n, { ref: t, className: (0, eY.cx)(r, nk({ font: i, color: o, weight: a, size: s, scaleSize: l, underline: c, noWrap: u, ellipsis: f, wrapEllipsis: d })), ...h }) }), nS = el.forwardRef((e, t) => { let { size: n = "18", ...r } = e; return (0, es.jsx)(nj, { tag: "p", ...r, ref: t, weight: "regular", scaleSize: n, color: "subtle", className: (0, eY.cx)("leading-relaxed md:leading-relaxed", e.className) }) }), nO = (0, eY.j)(["bg-white dark:bg-graydark-200", "transition-shadow ease-in-out duration-300", "shadow-sm hover:shadow", "rounded", "border", "border-gray-400 dark:border-graydark-400"]), nC = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)("div", { ref: t, className: nO({ className: n }), ...r }) }); var nA = n(93542); let nT = (void 0 === nA || nA.env, "production"), nM = 1 / 60 * 1e3, nP = "undefined" != typeof performance ? () => performance.now() : () => Date.now(), nN = "undefined" != typeof window ? e => window.requestAnimationFrame(e) : e => setTimeout(() => e(nP()), nM), nR = !0, nD = !1, nL = !1, nF = { delta: 0, timestamp: 0 }, nI = ["read", "update", "preRender", "render", "postRender"], nz = nI.reduce((e, t) => (e[t] = function(e) { let t = [], n = [], r = 0, i = !1, o = !1, a = new WeakSet, s = { schedule: (e, o = !1, s = !1) => { let l = s && i, u = l ? t : n; return o && a.add(e), -1 === u.indexOf(e) && (u.push(e), l && i && (r = t.length)), e }, cancel: e => { let t = n.indexOf(e); -1 !== t && n.splice(t, 1), a.delete(e) }, process: l => { if (i) { o = !0; return } if (i = !0, [t, n] = [n, t], n.length = 0, r = t.length) for (let u = 0; u < r; u++) { let c = t[u]; c(l), a.has(c) && (s.schedule(c), e()) } i = !1, o && (o = !1, s.process(l)) } }; return s }(() => nD = !0), e), {}), nV = nI.reduce((e, t) => { let n = nz[t]; return e[t] = (e, t = !1, r = !1) => (nD || nW(), n.schedule(e, t, r)), e }, {}), nB = nI.reduce((e, t) => (e[t] = nz[t].cancel, e), {}), nZ = nI.reduce((e, t) => (e[t] = () => nz[t].process(nF), e), {}), nU = e => nz[e].process(nF), nH = e => { nD = !1, nF.delta = nR ? nM : Math.max(Math.min(e - nF.timestamp, 40), 1), nF.timestamp = e, nL = !0, nI.forEach(nU), nL = !1, nD && (nR = !1, nN(nH)) }, nW = () => { nD = !0, nR = !0, nL || nN(nH) }, nq = () => nF, n$ = "undefined" != typeof document, nY = n$ ? el.useLayoutEffect : el.useEffect; function nG() { let e = (0, el.useRef)(!1); return nY(() => (e.current = !0, () => { e.current = !1 }), []), e } let nK = (0, el.createContext)(null); function nX(e) { let t = (0, el.useRef)(null); return null === t.current && (t.current = e()), t.current } class nQ extends el.Component { getSnapshotBeforeUpdate(e) { let t = this.props.childRef.current; if (t && e.isPresent && !this.props.isPresent) { let n = this.props.sizeRef.current; n.height = t.offsetHeight || 0, n.width = t.offsetWidth || 0, n.top = t.offsetTop, n.left = t.offsetLeft } return null } componentDidUpdate() { } render() { return this.props.children } } function nJ({ children: e, isPresent: t }) { + let n = (0, el.useId)(), r = (0, el.useRef)(null), i = (0, el.useRef)({ width: 0, height: 0, top: 0, left: 0 }); return (0, el.useInsertionEffect)(() => { + let { width: e, height: o, top: a, left: s } = i.current; if (t || !r.current || !e || !o) return; r.current.dataset.motionPopId = n; let l = document.createElement("style"); return document.head.appendChild(l), l.sheet && l.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${e}px !important; @@ -22,29 +32,26 @@ top: ${a}px !important; left: ${s}px !important; } - `),()=>{document.head.removeChild(l)}},[t]),el.createElement(nQ,{isPresent:t,childRef:r,sizeRef:i},el.cloneElement(e,{ref:r}))}let n0=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=nX(n1),l=(0,el.useId)(),u=(0,el.useMemo)(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:e=>{for(let t of(s.set(e,!0),s.values()))if(!t)return;r&&r()},register:e=>(s.set(e,!1),()=>s.delete(e))}),o?void 0:[n]);return(0,el.useMemo)(()=>{s.forEach((e,t)=>s.set(t,!1))},[n]),el.useEffect(()=>{n||s.size||!r||r()},[n]),"popLayout"===a&&(e=el.createElement(nJ,{isPresent:n},e)),el.createElement(nK.Provider,{value:u},e)};function n1(){return new Map}let n2=(0,el.createContext)({});function n4(e){return(0,el.useEffect)(()=>()=>e(),[])}let n3=new Set;function n5(e,t,n){e||n3.has(t)||(console.warn(t),n&&console.warn(n),n3.add(t))}let n6=e=>e.key||"",n8=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",n5(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=function(){let e=nG(),[t,n]=(0,el.useState)(0),r=(0,el.useCallback)(()=>{e.current&&n(t+1)},[t]),i=(0,el.useCallback)(()=>nV.postRender(r),[r]);return[i,t]}(),l=(0,el.useContext)(n2).forceRender;l&&(s=l);let u=nG(),c=function(e){let t=[];return el.Children.forEach(e,e=>{(0,el.isValidElement)(e)&&t.push(e)}),t}(e),f=c,d=new Set,h=(0,el.useRef)(f),p=(0,el.useRef)(new Map).current,v=(0,el.useRef)(!0);if(nY(()=>{v.current=!1,function(e,t){e.forEach(e=>{let n=n6(e);t.set(n,e)})}(c,p),h.current=f}),n4(()=>{v.current=!0,p.clear(),d.clear()}),v.current)return el.createElement(el.Fragment,null,f.map(e=>el.createElement(n0,{key:n6(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:o,mode:a},e)));f=[...f];let m=h.current.map(n6),g=c.map(n6),y=m.length;for(let b=0;b{if(-1!==g.indexOf(e))return;let n=p.get(e);if(!n)return;let i=m.indexOf(e),l=()=>{p.delete(e),d.delete(e);let t=h.current.findIndex(t=>t.key===e);if(h.current.splice(t,1),!d.size){if(h.current=c,!1===u.current)return;s(),r&&r()}};f.splice(i,0,el.createElement(n0,{key:n6(n),isPresent:!1,onExitComplete:l,custom:t,presenceAffectsLayout:o,mode:a},n))}),f=f.map(e=>{let t=e.key;return d.has(t)?e:el.createElement(n0,{key:n6(e),isPresent:!0,presenceAffectsLayout:o,mode:a},e)}),"production"!==nT&&"wait"===a&&f.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),el.createElement(el.Fragment,null,d.size?f:f.map(e=>(0,el.cloneElement)(e)))},n7=(0,el.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),n9=(0,el.createContext)({}),re=(0,el.createContext)({strict:!1});function rt(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function rn(e){return"string"==typeof e||Array.isArray(e)}function rr(e){return"object"==typeof e&&"function"==typeof e.start}let ri=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function ro(e){return rr(e.animate)||ri.some(t=>rn(e[t]))}function ra(e){return Boolean(ro(e)||e.variants)}function rs(e){return Array.isArray(e)?e.join(" "):e}let rl=e=>({isEnabled:t=>e.some(e=>!!t[e])}),ru={measureLayout:rl(["layout","layoutId","drag"]),animation:rl(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:rl(["exit"]),drag:rl(["drag","dragControls"]),focus:rl(["whileFocus"]),hover:rl(["whileHover","onHoverStart","onHoverEnd"]),tap:rl(["whileTap","onTap","onTapStart","onTapCancel"]),pan:rl(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:rl(["whileInView","onViewportEnter","onViewportLeave"])},rc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},rf=1;class rd extends el.Component{getSnapshotBeforeUpdate(){let{visualElement:e,props:t}=this.props;return e&&e.setProps(t),null}componentDidUpdate(){}render(){return this.props.children}}let rh=(0,el.createContext)({}),rp=Symbol.for("motionComponentSymbol"),rv=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function rm(e){if("string"!=typeof e||e.includes("-"));else if(rv.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let rg={},ry=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],rb=new Set(ry);function rx(e,{layout:t,layoutId:n}){return rb.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!rg[e]||"opacity"===e)}let rw=e=>!!(null==e?void 0:e.getVelocity),r_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rE=(e,t)=>ry.indexOf(e)-ry.indexOf(t);function rk(e){return e.startsWith("--")}let rj=(e,t)=>t&&"number"==typeof e?t.transform(e):e,rS=(e,t)=>n=>Math.max(Math.min(n,t),e),rO=e=>e%1?Number(e.toFixed(5)):e,rC=/(-)?([\d]*\.?[\d])+/g,rA=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,rT=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function rM(e){return"string"==typeof e}let rP=e=>({test:t=>rM(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),rN=rP("deg"),rR=rP("%"),rD=rP("px"),rL=rP("vh"),rF=rP("vw"),rI=Object.assign(Object.assign({},rR),{parse:e=>rR.parse(e)/100,transform:e=>rR.transform(100*e)}),rz={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},rV=Object.assign(Object.assign({},rz),{transform:rS(0,1)}),rB=Object.assign(Object.assign({},rz),{default:1}),rZ={...rz,transform:Math.round},rU={borderWidth:rD,borderTopWidth:rD,borderRightWidth:rD,borderBottomWidth:rD,borderLeftWidth:rD,borderRadius:rD,radius:rD,borderTopLeftRadius:rD,borderTopRightRadius:rD,borderBottomRightRadius:rD,borderBottomLeftRadius:rD,width:rD,maxWidth:rD,height:rD,maxHeight:rD,size:rD,top:rD,right:rD,bottom:rD,left:rD,padding:rD,paddingTop:rD,paddingRight:rD,paddingBottom:rD,paddingLeft:rD,margin:rD,marginTop:rD,marginRight:rD,marginBottom:rD,marginLeft:rD,rotate:rN,rotateX:rN,rotateY:rN,rotateZ:rN,scale:rB,scaleX:rB,scaleY:rB,scaleZ:rB,skew:rN,skewX:rN,skewY:rN,distance:rD,translateX:rD,translateY:rD,translateZ:rD,x:rD,y:rD,z:rD,perspective:rD,transformPerspective:rD,opacity:rV,originX:rI,originY:rI,originZ:rD,zIndex:rZ,fillOpacity:rV,strokeOpacity:rV,numOctaves:rZ};function rH(e,t,n,r){let{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,c=!1,f=!0;for(let d in t){let h=t[d];if(rk(d)){o[d]=h;continue}let p=rU[d],v=rj(h,p);if(rb.has(d)){if(u=!0,a[d]=v,s.push(d),!f)continue;h!==(p.default||0)&&(f=!1)}else d.startsWith("origin")?(c=!0,l[d]=v):i[d]=v}if(!t.transform&&(u||r?i.transform=function({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";for(let s of(t.sort(rE),t))a+=`${r_[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}(e,n,f,r):i.transform&&(i.transform="none")),c){let{originX:m="50%",originY:g="50%",originZ:y=0}=l;i.transformOrigin=`${m} ${g} ${y}`}}let rW=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function rq(e,t,n){for(let r in t)rw(t[r])||rx(r,n)||(e[r]=t[r])}function r$(e,t,n){let r={},i=function(e,t,n){let r=e.style||{},i={};return rq(i,r,e),Object.assign(i,function({transformTemplate:e},t,n){return(0,el.useMemo)(()=>{let r=rW();return rH(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),r.style=i,r}let rY=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function rG(e){return rY.has(e)}let rK=e=>!rG(e);try{(kw=require("@emotion/is-prop-valid").default)&&(rK=e=>e.startsWith("on")?!rG(e):kw(e))}catch(rX){}function rQ(e,t,n){return"string"==typeof e?e:rD.transform(t+n*e)}let rJ={offset:"stroke-dashoffset",array:"stroke-dasharray"},r0={offset:"strokeDashoffset",array:"strokeDasharray"};function r1(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,c){rH(e,l,u,c),e.attrs=e.style,e.style={};let{attrs:f,style:d,dimensions:h}=e;f.transform&&(h&&(d.transform=f.transform),delete f.transform),h&&(void 0!==r||void 0!==i||d.transform)&&(d.transformOrigin=function(e,t,n){let r=rQ(t,e.x,e.width),i=rQ(n,e.y,e.height);return`${r} ${i}`}(h,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==o&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?rJ:r0;e[o.offset]=rD.transform(-r);let a=rD.transform(t),s=rD.transform(n);e[o.array]=`${a} ${s}`}(f,o,a,s,!1)}let r2=()=>({...rW(),attrs:{}});function r4(e,t){let n=(0,el.useMemo)(()=>{let n=r2();return r1(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let r={};rq(r,e.style,e),n.style={...r,...n.style}}return n}let r3=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function r5(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}let r6=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function r8(e,t,n,r){for(let i in r5(e,t,void 0,r),t.attrs)e.setAttribute(r6.has(i)?i:r3(i),t.attrs[i])}function r7(e){let{style:t}=e,n={};for(let r in t)(rw(t[r])||rx(r,e))&&(n[r]=t[r]);return n}function r9(e){let t=r7(e);for(let n in e)if(rw(e[n])){let r="x"===n||"y"===n?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function ie(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}let it=e=>Array.isArray(e),ir=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),ii=e=>it(e)?e[e.length-1]||0:e;function io(e){let t=rw(e)?e.get():e;return ir(t)?t.toValue():t}let ia=e=>(t,n)=>{let r=(0,el.useContext)(n9),i=(0,el.useContext)(nK),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let a={latestValues:function(e,t,n,r){let i={},o=r(e);for(let a in o)i[a]=io(o[a]);let{initial:s,animate:l}=e,u=ro(e),c=ra(e);t&&c&&!u&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));let f=!!n&&!1===n.initial;f=f||!1===s;let d=f?l:s;if(d&&"boolean"!=typeof d&&!rr(d)){let h=Array.isArray(d)?d:[d];h.forEach(t=>{let n=ie(e,t);if(!n)return;let{transitionEnd:r,transition:o,...a}=n;for(let s in a){let l=a[s];if(Array.isArray(l)){let u=f?l.length-1:0;l=l[u]}null!==l&&(i[s]=l)}for(let c in r)i[c]=r[c]})}return i}(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a})(e,t,r,i);return n?o():nX(o)},is={useVisualState:ia({scrapeMotionValuesFromProps:r9,createRenderState:r2,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(i){n.dimensions={x:0,y:0,width:0,height:0}}r1(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),r8(t,n)}})},il={useVisualState:ia({scrapeMotionValuesFromProps:r7,createRenderState:rW})};function iu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ic(e,t,n,r){(0,el.useEffect)(()=>{let i=e.current;if(n&&i)return iu(i,t,n,r)},[e,t,n,r])}function id(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function ih(e){let t=!!e.touches;return t}(k_=kO||(kO={})).Animate="animate",k_.Hover="whileHover",k_.Tap="whileTap",k_.Drag="whileDrag",k_.Focus="whileFocus",k_.InView="whileInView",k_.Exit="exit";let ip={pageX:0,pageY:0};function iv(e,t="page"){return{point:ih(e)?function(e,t="page"){let n=e.touches[0]||e.changedTouches[0],r=n||ip;return{x:r[t+"X"],y:r[t+"Y"]}}(e,t):function(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}(e,t)}}let im=(e,t=!1)=>{let n=t=>e(t,iv(t));return t?e=>{let t=e instanceof MouseEvent,r=!t||t&&0===e.button;r&&n(e)}:n},ig=()=>n$&&null===window.onpointerdown,iy=()=>n$&&null===window.ontouchstart,ib=()=>n$&&null===window.onmousedown,ix={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},iw={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function i_(e){if(ig());else if(iy())return iw[e];else if(ib())return ix[e];return e}function iE(e,t,n,r){return iu(e,i_(t),im(n,"pointerdown"===t),r)}function ik(e,t,n,r){return ic(e,i_(t),n&&im(n,"pointerdown"===t),r)}function ij(e){let t=null;return()=>{let n=()=>{t=null};return null===t&&(t=e,n)}}let iS=ij("dragHorizontal"),iO=ij("dragVertical");function iC(e){let t=!1;if("y"===e)t=iO();else if("x"===e)t=iS();else{let n=iS(),r=iO();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function iA(){let e=iC(!0);return!e||(e(),!1)}function iT(e,t,n){return(r,i)=>{!(!id(r)||iA())&&(e.animationState&&e.animationState.setActive(kO.Hover,t),n&&n(r,i))}}let iM=(e,t)=>!!t&&(e===t||iM(e,t.parentElement)),iP=(e,t)=>n=>t(e(n)),iN=(...e)=>e.reduce(iP),iR=new WeakMap,iD=new WeakMap,iL=e=>{let t=iR.get(e.target);t&&t(e)},iF=e=>{e.forEach(iL)},iI={some:0,all:1};function iz(e,t,n,{root:r,margin:i,amount:o="some",once:a}){(0,el.useEffect)(()=>{if(!e||!n.current)return;let s={root:null==r?void 0:r.current,rootMargin:i,threshold:"number"==typeof o?o:iI[o]},l=e=>{let{isIntersecting:r}=e;if(t.isInView===r||(t.isInView=r,a&&!r&&t.hasEnteredView))return;r&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(kO.InView,r);let i=n.getProps(),o=r?i.onViewportEnter:i.onViewportLeave;o&&o(e)};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;iD.has(n)||iD.set(n,{});let r=iD.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(iF,{root:e,...t})),r[i]}(t);return iR.set(e,n),r.observe(e),()=>{iR.delete(e),r.unobserve(e)}}(n.current,s,l)},[e,r,i,o])}function iV(e,t,n,{fallback:r=!0}){(0,el.useEffect)(()=>{e&&r&&("production"!==nT&&n5(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;let{onViewportEnter:e}=n.getProps();e&&e(null),n.animationState&&n.animationState.setActive(kO.InView,!0)}))},[e])}let iB=e=>t=>(e(t),null),iZ={inView:iB(function({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){let o=(0,el.useRef)({hasEnteredView:!1,isInView:!1}),a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1);let s="undefined"==typeof IntersectionObserver?iV:iz;s(a,o.current,e,i)}),tap:iB(function({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){let o=(0,el.useRef)(!1),a=(0,el.useRef)(null),s={passive:!(t||e||n||d)};function l(){a.current&&a.current(),a.current=null}function u(){return l(),o.current=!1,i.animationState&&i.animationState.setActive(kO.Tap,!1),!iA()}function c(t,r){u()&&(iM(i.current,t.target)?e&&e(t,r):n&&n(t,r))}function f(e,t){u()&&n&&n(e,t)}function d(e,n){l(),!o.current&&(o.current=!0,a.current=iN(iE(window,"pointerup",c,s),iE(window,"pointercancel",f,s)),i.animationState&&i.animationState.setActive(kO.Tap,!0),t&&t(e,n))}ik(i,"pointerdown",e||t||n||r?d:void 0,s),n4(l)}),focus:iB(function({whileFocus:e,visualElement:t}){let{animationState:n}=t,r=()=>{n&&n.setActive(kO.Focus,!0)},i=()=>{n&&n.setActive(kO.Focus,!1)};ic(t,"focus",e?r:void 0),ic(t,"blur",e?i:void 0)}),hover:iB(function({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){ik(r,"pointerenter",e||n?iT(r,!0,e):void 0,{passive:!e}),ik(r,"pointerleave",t||n?iT(r,!1,t):void 0,{passive:!t})})};function iU(){let e=(0,el.useContext)(nK);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=(0,el.useId)();(0,el.useEffect)(()=>r(i),[]);let o=()=>n&&n(i);return!t&&n?[!1,o]:[!0]}function iH(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;rMath.min(Math.max(n,e),t);function iG(e,t){return e*Math.sqrt(1-t*t)}let iK=["duration","bounce"],iX=["stiffness","damping","mass"];function iQ(e,t){return t.some(t=>void 0!==e[t])}function iJ(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=(0,iW._T)(e,["from","to","restSpeed","restDelta"]);let a={done:!1,value:t},{stiffness:s,damping:l,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!iQ(e,iX)&&iQ(e,iK)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;iq(e<=1e4,"Spring duration must be 10 seconds or less");let a=1-t;a=iY(.05,1,a),e=iY(.01,10,e/1e3),a<1?(i=t=>{let r=t*a,i=r*e,o=iG(t,a),s=Math.exp(-i);return .001-(r-n)/o*s},o=t=>{let r=t*a,o=r*e,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-o),u=iG(Math.pow(t,2),a),c=-i(t)+.001>0?-1:1;return c*((o*n+n-s)*l)/u}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return -.001+r*i},o=t=>{let r=Math.exp(-t*e),i=(n-t)*(e*e);return r*i});let s=5/e,l=function(e,t,n){let r=n;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(i,o,s);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{let u=Math.pow(l,2)*r;return{stiffness:u,damping:2*a*Math.sqrt(r*u),duration:e}}}(e);(t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(o),h=i0,p=i0;function v(){let e=c?-(c/1e3):0,r=n-t,o=l/(2*Math.sqrt(s*u)),a=Math.sqrt(s/u)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-t)/100,.4)),o<1){let f=iG(a,o);h=t=>{let i=Math.exp(-o*a*t);return n-i*((e+o*a*r)/f*Math.sin(f*t)+r*Math.cos(f*t))},p=t=>{let n=Math.exp(-o*a*t);return o*a*n*(Math.sin(f*t)*(e+o*a*r)/f+r*Math.cos(f*t))-n*(Math.cos(f*t)*(e+o*a*r)-f*r*Math.sin(f*t))}}else if(1===o)h=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{let d=a*Math.sqrt(o*o-1);h=t=>{let i=Math.exp(-o*a*t),s=Math.min(d*t,300);return n-i*((e+o*a*r)*Math.sinh(s)+d*r*Math.cosh(s))/d}}}return v(),{next:e=>{let t=h(e);if(d)a.done=e>=f;else{let o=1e3*p(e),s=Math.abs(o)<=r,l=Math.abs(n-t)<=i;a.done=s&&l}return a.value=a.done?n:t,a},flipTarget:()=>{c=-c,[t,n]=[n,t],v()}}}iJ.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let i0=e=>0,i1=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},i2=(e,t,n)=>-n*e+n*t+e,i4=(e,t)=>n=>Boolean(rM(n)&&rT.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),i3=(e,t,n)=>r=>{if(!rM(r))return r;let[i,o,a,s]=r.match(rC);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},i5=rS(0,255),i6=Object.assign(Object.assign({},rz),{transform:e=>Math.round(i5(e))}),i8={test:i4("rgb","red"),parse:i3("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+i6.transform(e)+", "+i6.transform(t)+", "+i6.transform(n)+", "+rO(rV.transform(r))+")"},i7={test:i4("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:i8.transform},i9={test:i4("hsl","hue"),parse:i3("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+rR.transform(rO(t))+", "+rR.transform(rO(n))+", "+rO(rV.transform(r))+")"};function oe(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ot({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){let s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=oe(l,s,e+1/3),o=oe(l,s,e),a=oe(l,s,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}let on=(e,t,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},or=[i7,i8,i9],oi=e=>or.find(t=>t.test(e)),oo=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,oa=(e,t)=>{let n=oi(e),r=oi(t);i$(!!n,oo(e)),i$(!!r,oo(t));let i=n.parse(e),o=r.parse(t);n===i9&&(i=ot(i),n=i8),r===i9&&(o=ot(o),r=i8);let a=Object.assign({},i);return e=>{for(let t in a)"alpha"!==t&&(a[t]=on(i[t],o[t],e));return a.alpha=i2(i.alpha,o.alpha,e),n.transform(a)}},os={test:e=>i8.test(e)||i7.test(e)||i9.test(e),parse:e=>i8.test(e)?i8.parse(e):i9.test(e)?i9.parse(e):i7.parse(e),transform:e=>rM(e)?e:e.hasOwnProperty("red")?i8.transform(e):i9.transform(e)},ol="${c}",ou="${n}";function oc(e){"number"==typeof e&&(e=`${e}`);let t=[],n=0,r=e.match(rA);r&&(n=r.length,e=e.replace(rA,ol),t.push(...r.map(os.parse)));let i=e.match(rC);return i&&(e=e.replace(rC,ou),t.push(...i.map(rz.parse))),{values:t,numColors:n,tokenised:e}}function of(e){return oc(e).values}function od(e){let{values:t,numColors:n,tokenised:r}=oc(e),i=t.length;return e=>{let t=r;for(let o=0;o"number"==typeof e?0:e,op={test:function(e){var t,n,r,i;return isNaN(e)&&rM(e)&&(null!==(n=null===(t=e.match(rC))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(i=null===(r=e.match(rA))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:of,createTransformer:od,getAnimatableNone:function(e){let t=of(e),n=od(e);return n(t.map(oh))}},ov=e=>"number"==typeof e;function om(e,t){return ov(e)?n=>i2(e,t,n):os.test(e)?oa(e,t):ox(e,t)}let og=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>om(e,t[n]));return e=>{for(let t=0;t{let n=Object.assign(Object.assign({},e),t),r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=om(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}};function ob(e){let t=op.parse(e),n=t.length,r=0,i=0,o=0;for(let a=0;a{let n=op.createTransformer(t),r=ob(e),i=ob(t),o=r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers;return o?iN(og(r.parsed,i.parsed),n):(iq(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?t:e}`)},ow=(e,t)=>n=>i2(e,t,n);function o_(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;i$(o===t.length,"Both input and output ranges must be the same length"),i$(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let a=function(e,t,n){var r;let i=[],o=n||("number"==typeof(r=e[0])?ow:"string"==typeof r?os.test(r)?oa:ox:Array.isArray(r)?og:"object"==typeof r?oy:void 0),a=e.length-1;for(let s=0;sn(i1(e,t,r))}(e,a):function(e,t){let n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let s=1;for(;si)&&s!==r;s++);o=s-1}let l=i1(e[o],e[o+1],i);return t[o](l)}}(e,a);return n?t=>s(iY(e[0],e[o-1],t)):s}let oE=e=>t=>1-e(1-t),ok=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,oj=e=>t=>t*t*((e+1)*t-e),oS=4/11,oO=8/11,oC=e=>e,oA=e=>Math.pow(e,2),oT=oE(oA),oM=ok(oA),oP=e=>1-Math.sin(Math.acos(e)),oN=oE(oP),oR=ok(oN),oD=oj(1.525),oL=oE(oD),oF=ok(oD),oI=(e=>{let t=oj(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(0),oz=4356/361,oV=35442/1805,oB=16061/1805,oZ=e=>{if(1===e||0===e)return e;let t=e*e;return ee<.5?.5*(1-oZ(1-2*e)):.5*oZ(2*e-1)+.5;function oW({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){let o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=(r&&r.length===a.length?r:function(e){let t=e.length;return e.map((e,n)=>0!==n?n/(t-1):0)}(a)).map(e=>e*i);function l(){return o_(s,a,{ease:Array.isArray(n)?n:a.map(()=>n||oM).splice(0,a.length-1)})}let u=l();return{next:e=>(o.value=u(e),o.done=e>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}let oq={keyframes:oW,spring:iJ,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){let a={done:!1,value:t},s=n*e,l=t+s,u=void 0===o?l:o(l);return u!==l&&(s=u-t),{next:e=>{let t=-s*Math.exp(-e/r);return a.done=!(t>i||t<-i),a.value=a.done?u:u+t,a},flipTarget:()=>{}}}};function o$(e,t,n=0){return e-t-n}let oY=e=>{let t=({delta:t})=>e(t);return{start:()=>nV.update(t,!0),stop:()=>nB.update(t)}};function oG(e){let t,n,r;var i,{from:o,autoplay:a=!0,driver:s=oY,elapsed:l=0,repeat:u=0,repeatType:c="loop",repeatDelay:f=0,onPlay:d,onStop:h,onComplete:p,onRepeat:v,onUpdate:m}=e,g=(0,iW._T)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=g,b=0,x=g.duration,w=!1,_=!0,E=function(e){if(Array.isArray(e.to))return oW;if(oq[e.type])return oq[e.type];let t=new Set(Object.keys(e));if(t.has("ease")||t.has("duration")&&!t.has("dampingRatio"));else if(t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta"))return iJ;return oW}(g);(null===(i=E.needsInterpolation)||void 0===i?void 0:i.call(E,o,y))&&(r=o_([0,100],[o,y],{clamp:!1}),o=0,y=100);let k=E(Object.assign(Object.assign({},g),{from:o,to:y}));return a&&(null==d||d(),(t=s(function(e){if(_||(e=-e),l+=e,!w){let i=k.next(Math.max(0,l));n=i.value,r&&(n=r(n)),w=_?i.done:l<=0}if(null==m||m(n),w){if(0===b&&(null!=x||(x=l)),b=a+f:o<=-f)&&(b++,"reverse"===c?l=function(e,t,n=0,r=!0){return r?o$(t+-e,t,n):t-(e-t)+n}(l,x,f,_=b%2==0):(l=o$(l,x,f),"mirror"===c&&k.flipTarget()),w=!1,v&&v())}else t.stop(),p&&p()}})).start()),{stop:()=>{null==h||h(),t.stop()}}}let oK=e=>1e3*e,oX=(e,t)=>1-3*t+3*e,oQ=(e,t)=>3*t-6*e,oJ=e=>3*e,o0=(e,t,n)=>((oX(t,n)*e+oQ(t,n))*e+oJ(t))*e,o1=(e,t,n)=>3*oX(t,n)*e*e+2*oQ(t,n)*e+oJ(t),o2={linear:oC,easeIn:oA,easeInOut:oM,easeOut:oT,circIn:oP,circInOut:oR,circOut:oN,backIn:oD,backInOut:oF,backOut:oL,anticipate:oI,bounceIn:oU,bounceInOut:oH,bounceOut:oZ},o4=e=>{if(Array.isArray(e)){i$(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return function(e,t,n,r){if(e===t&&n===r)return oC;let i=new Float32Array(11);for(let o=0;o<11;++o)i[o]=o0(.1*o,e,n);return o=>0===o||1===o?o:o0(function(t){let r=0,o=1;for(;10!==o&&i[o]<=t;++o)r+=.1;--o;let a=(t-i[o])/(i[o+1]-i[o]),s=r+.1*a,l=o1(s,e,n);return l>=.001?function(e,t,n,r){for(let i=0;i<8;++i){let o=o1(t,n,r);if(0===o)break;let a=o0(t,n,r)-e;t-=a/o}return t}(t,s,e,n):0===l?s:function(e,t,n,r,i){let o,a;let s=0;do(o=o0(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a;while(Math.abs(o)>1e-7&&++s<10);return a}(t,r,r+.1,e,n)}(o),t,r)}(t,n,r,i)}return"string"==typeof e?(i$(void 0!==o2[e],`Invalid easing type '${e}'`),o2[e]):e},o3=e=>Array.isArray(e)&&"number"!=typeof e[0],o5=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&op.test(t)&&!t.startsWith("url(")),o6=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),o8=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),o7=()=>({type:"keyframes",ease:"linear",duration:.3}),o9=e=>({type:"keyframes",duration:.8,values:e}),ae={x:o6,y:o6,z:o6,rotate:o6,rotateX:o6,rotateY:o6,rotateZ:o6,scaleX:o8,scaleY:o8,scale:o8,opacity:o7,backgroundColor:o7,color:o7,default:o8},at=(e,t)=>({to:t,...(it(t)?o9:ae[e]||ae.default)(t)}),an=new Set(["brightness","contrast","saturate","opacity"]);function ar(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(rC)||[];if(!r)return e;let i=n.replace(r,""),o=an.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}let ai=/([a-z-]*)\(.*?\)/g,ao=Object.assign(Object.assign({},op),{getAnimatableNone:e=>{let t=e.match(ai);return t?t.map(ar).join(" "):e}}),aa={...rU,color:os,backgroundColor:os,outlineColor:os,fill:os,stroke:os,borderColor:os,borderTopColor:os,borderRightColor:os,borderBottomColor:os,borderLeftColor:os,filter:ao,WebkitFilter:ao},as=e=>aa[e];function al(e,t){var n;let r=as(e);return r!==ao&&(r=op),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}let au={current:!1};function ac(e,t){let n=performance.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(nB.read(r),e(o-t))};return nV.read(r,!0),()=>nB.read(r)}let af=!1;function ad(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function ah(e){return"number"==typeof e?0:al("",e)}function ap(e,t){return e[t]||e.default||e}function av(e,t,n,r={}){return au.current&&(r={type:!1}),t.start(i=>{let o,a;let s=function(e,t,n,r,i){let o=ap(r,e)||{},a=void 0!==o.from?o.from:t.get(),s=o5(e,n);"none"===a&&s&&"string"==typeof n?a=al(e,n):ad(a)&&"string"==typeof n?a=ah(n):!Array.isArray(n)&&ad(n)&&"string"==typeof a&&(n=ah(a));let l=o5(e,a);return iq(l===s,`You are trying to animate ${e} from "${a}" to "${n}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${n} via the \`style\` property.`),l&&s&&!1!==o.type?function(){var r,s;let l={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:e=>t.set(e)};return"inertia"===o.type||"decay"===o.type?function({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:d,onStop:h}){let p;function v(e){return void 0!==n&&er}function m(e){return void 0===n?r:void 0===r?n:Math.abs(n-e){var n;null==f||f(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:d,onStop:h}))}function y(e){g(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},e))}if(v(e))y({from:e,velocity:t,to:m(e)});else{let b,x,w=i*t+e;void 0!==u&&(w=u(w));let _=m(w),E=_===n?-1:1,k=e=>{var n;b=x,x=e,t=(n=nq().delta)?(e-b)*(1e3/n):0,(1===E&&e>_||-1===E&&e<_)&&y({from:e,to:_,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:l,modifyTarget:u,onUpdate:v(w)?k:void 0})}return{stop:()=>null==p?void 0:p.stop()}}({...l,...o}):oG({...(r=o,Array.isArray(l.to)&&void 0===r.duration&&(r.duration=.8),Array.isArray((s=l).to)&&null===s.to[0]&&(s.to=[...s.to],s.to[0]=s.from),!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}(r)&&(r={...r,...at(e,l.to)}),{...l,...function({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){let a={...o};return t&&(a.offset=t),o.duration&&(a.duration=oK(o.duration)),o.repeatDelay&&(a.repeatDelay=oK(o.repeatDelay)),e&&(a.ease=o3(e)?e.map(o4):o4(e)),"tween"===o.type&&(a.type="keyframes"),(n||i||r)&&(iq(!af,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),af=!0,n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),"spring"!==o.type&&(a.type="keyframes"),a}(r)}),onUpdate:e=>{l.onUpdate(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{l.onComplete(),o.onComplete&&o.onComplete()}})}:function(){let e=ii(n);return t.set(e),i(),o.onUpdate&&o.onUpdate(e),o.onComplete&&o.onComplete(),{stop:()=>{}}}}(e,t,n,r,i),l=function(e,t){var n,r;let i=ap(e,t)||{};return null!==(r=null!==(n=i.delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),u=()=>o=s();return l?a=ac(u,oK(l)):u(),()=>{a&&a(),o&&o.stop()}})}let am=e=>/^\-?\d*\.?\d+$/.test(e),ag=e=>/^0[^.\s]+$/.test(e);function ay(e,t){-1===e.indexOf(t)&&e.push(t)}function ab(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class ax{constructor(){this.subscriptions=[]}add(e){return ay(this.subscriptions,e),()=>ab(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i!isNaN(parseFloat(e));class a_{constructor(e){this.version="7.6.5",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new ax,this.velocityUpdateSubscribers=new ax,this.renderSubscribers=new ax,this.canTrackVelocity=!1,this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:n,timestamp:r}=nq();this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,nV.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),t&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>nV.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=aw(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(e){return e(this.get()),this.renderSubscribers.add(e)}attach(e){this.passiveEffect=e}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){var e,t;return this.canTrackVelocity?(e=parseFloat(this.current)-parseFloat(this.prev),(t=this.timeDelta)?e*(1e3/t):0):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.stopAnimation=e(t)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function aE(e){return new a_(e)}let ak=e=>t=>t.test(e),aj=[rz,rD,rR,rN,rF,rL,{test:e=>"auto"===e,parse:e=>e}],aS=e=>aj.find(ak(e)),aO=[...aj,os,op],aC=e=>aO.find(ak(e));function aA(e,t,n){let r=e.getProps();return ie(r,t,void 0!==n?n:r.custom,function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}function aT(e){return Boolean(rw(e)&&e.add)}function aM(e,t,n={}){var r;let i=aA(e,t,n.custom),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let a=i?()=>aP(e,i,n):()=>Promise.resolve(),s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?(r=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(aN).forEach((e,r)=>{a.push(aM(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(n.delay)]);{let[u,c]="beforeChildren"===l?[a,s]:[s,a];return u().then(c)}}function aP(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t),u=e.getValue("willChange");r&&(a=r);let c=[],f=i&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[i]);for(let d in l){let h=e.getValue(d),p=l[d];if(!h||void 0===p||f&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(f,d))continue;let v={delay:n,...a};e.shouldReduceMotion&&rb.has(d)&&(v={...v,type:!1,delay:0});let m=av(d,h,p,v);aT(u)&&(u.add(d),m=m.then(()=>u.remove(d))),c.push(m)}return Promise.all(c).then(()=>{s&&function(e,t){let n=aA(e,t),{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};for(let a in o={...o,...r}){var s;let l=ii(o[a]);s=a,e.hasValue(s)?e.getValue(s).set(l):e.addValue(s,aE(l))}}(e,s)})}function aN(e,t){return e.sortNodePosition(t)}let aR=[kO.Animate,kO.InView,kO.Focus,kO.Hover,kO.Tap,kO.Drag,kO.Exit],aD=[...aR].reverse(),aL=aR.length;function aF(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let aI={animation:iB(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){let i=t.map(t=>aM(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=aM(e,t,n);else{let o="function"==typeof t?aA(e,t,n.custom):t;r=aP(e,o,n)}return r.then(()=>e.notify("AnimationComplete",t))})(e,t,n))),n={[kO.Animate]:aF(!0),[kO.InView]:aF(),[kO.Hover]:aF(),[kO.Tap]:aF(),[kO.Drag]:aF(),[kO.Focus]:aF(),[kO.Exit]:aF()},r=!0,i=(t,n)=>{let r=aA(e,n);if(r){let{transition:i,transitionEnd:o,...a}=r;t={...t,...a,...o}}return t};function o(o,a){var s,l;let u=e.getProps(),c=e.getVariantContext(!0)||{},f=[],d=new Set,h={},p=1/0;for(let v=0;vp&&b,k=Array.isArray(y)?y:[y],j=k.reduce(i,{});!1===x&&(j={});let{prevResolvedValues:S={}}=g,O={...S,...j},C=e=>{E=!0,d.delete(e),g.needsAnimating[e]=!0};for(let A in O){let T=j[A],M=S[A];h.hasOwnProperty(A)||(T!==M?it(T)&&it(M)?!iH(T,M)||_?C(A):g.protectedKeys[A]=!0:void 0!==T?C(A):d.add(A):void 0!==T&&d.has(A)?C(A):g.protectedKeys[A]=!0)}g.prevProp=y,g.prevResolvedValues=j,g.isActive&&(h={...h,...j}),r&&e.blockInitialAnimation&&(E=!1),E&&!w&&f.push(...k.map(e=>({animation:e,options:{type:m,...o}})))}if(d.size){let P={};d.forEach(t=>{let n=e.getBaseTarget(t);void 0!==n&&(P[t]=n)}),f.push({animation:P})}let N=Boolean(f.length);return r&&!1===u.initial&&!e.manuallyAnimateOnMount&&(N=!1),r=!1,N?t(f):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let s=o(i,t);for(let l in n)n[l].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}(e)),rr(t)&&(0,el.useEffect)(()=>t.subscribe(e),[t])}),exit:iB(e=>{let{custom:t,visualElement:n}=e,[r,i]=iU(),o=(0,el.useContext)(nK);(0,el.useEffect)(()=>{n.isPresent=r;let e=n.animationState&&n.animationState.setActive(kO.Exit,!r,{custom:o&&o.custom||t});e&&!r&&e.then(i)},[r])})},az=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),aV=e=>az(e)&&e.hasOwnProperty("z"),aB=(e,t)=>Math.abs(e-t);function aZ(e,t){if(ov(e)&&ov(t))return aB(e,t);if(az(e)&&az(t)){let n=aB(e.x,t.x),r=aB(e.y,t.y),i=aV(e)&&aV(t)?aB(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}class aU{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=aq(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=aZ(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=nq();this.history.push({...r,timestamp:i});let{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{if(this.lastMoveEvent=e,this.lastMoveEventInfo=aH(t,this.transformPagePoint),id(e)&&0===e.buttons){this.handlePointerUp(e,t);return}nV.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r}=this.handlers,i=aq(aH(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},ih(e)&&e.touches.length>1)return;this.handlers=t,this.transformPagePoint=n;let r=iv(e),i=aH(r,this.transformPagePoint),{point:o}=i,{timestamp:a}=nq();this.history=[{...o,timestamp:a}];let{onSessionStart:s}=t;s&&s(e,aq(i,this.history)),this.removeListeners=iN(iE(window,"pointermove",this.handlePointerMove),iE(window,"pointerup",this.handlePointerUp),iE(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),nB.update(this.updatePoint)}}function aH(e,t){return t?{point:t(e.point)}:e}function aW(e,t){return{x:e.x-t.x,y:e.y-t.y}}function aq({point:e},t){return{point:e,delta:aW(e,a$(t)),offset:aW(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=a$(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>oK(.1)));)n--;if(!r)return{x:0,y:0};let o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function a$(e){return e[e.length-1]}function aY(e){return e.max-e.min}function aG(e,t=0,n=.01){return aZ(e,t)({translate:0,scale:1,origin:0,originPoint:0}),a6=()=>({x:a5(),y:a5()}),a8=()=>({min:0,max:0}),a7=()=>({x:a8(),y:a8()});function a9(e){return[e("x"),e("y")]}function se({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function st(e){return void 0===e||1===e}function sn({scale:e,scaleX:t,scaleY:n}){return!st(e)||!st(t)||!st(n)}function sr(e){return sn(e)||si(e)||e.z||e.rotate||e.rotateX||e.rotateY}function si(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function so(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function sa(e,t=0,n=1,r,i){e.min=so(e.min,t,n,r,i),e.max=so(e.max,t,n,r,i)}function ss(e,{x:t,y:n}){sa(e.x,t.translate,t.scale,t.originPoint),sa(e.y,n.translate,n.scale,n.originPoint)}function sl(e,t){e.min=e.min+t,e.max=e.max+t}function su(e,t,[n,r,i]){let o=void 0!==t[i]?t[i]:.5,a=i2(e.min,e.max,o);sa(e,t[n],t[r],a,t.scale)}let sc=["x","scaleX","originX"],sf=["y","scaleY","originY"];function sd(e,t){su(e.x,t,sc),su(e.y,t,sf)}function sh(e,t){return se(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let sp=new WeakMap;class sv{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=a7(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){if(!1===this.visualElement.isPresent)return;let n=e=>{this.stopAnimation(),t&&this.snapToCursor(iv(e,"page").point)},r=(e,t)=>{var n;let{drag:r,dragPropagation:i,onDragStart:o}=this.getProps();(!r||i||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=iC(r),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),a9(e=>{var t,n;let r=this.getAxisMotionValue(e).get()||0;if(rR.test(r)){let i=null===(n=null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.actual[e];if(i){let o=aY(i);r=o*(parseFloat(r)/100)}}this.originPoint[e]=r}),null==o||o(e,t),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(kO.Drag,!0))},i=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),null!==this.currentDirection&&(null==i||i(this.currentDirection));return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),null==o||o(e,t)},o=(e,t)=>this.stop(e,t);this.panSession=new aU(e,{onSessionStart:n,onStart:r,onMove:i,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();null==i||i(e,t)}cancel(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(kO.Drag,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!sm(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&en&&(e=r?i2(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&rt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:a1(e.x,n,i),y:a1(e.y,t,r)}}(n.actual,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:a4(e,"left","right"),y:a4(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&a9(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.actual[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!rt(t))return!1;let r=t.current;i$(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=sh(e,n),{scroll:i}=t;return i&&(sl(r.x,i.x),sl(r.y,i.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a={x:a2((e=i.layout.actual).x,o.x),y:a2(e.y,o.y)};if(n){let s=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=se(s))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=a9(a=>{var l;if(!sm(a,t,this.currentDirection))return;let u=null!==(l=null==s?void 0:s[a])&&void 0!==l?l:{};o&&(u={min:0,max:0});let c={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(a,c)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return av(e,n,0,t)}stopAnimation(){a9(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var t,n;let r="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)}snapToCursor(e){a9(t=>{let{drag:n}=this.getProps();if(!sm(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:a}=r.layout.actual[t];i.set(e[t]-i2(o,a,.5))}})}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;let{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!rt(n)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};a9(e=>{let t=this.getAxisMotionValue(e);if(t){let n=t.get();i[e]=function(e,t){let n=.5,r=aY(e),i=aY(t);return i>r?n=i1(t.min,t.max-r,e.min):r>i&&(n=i1(e.min,e.max-i,t.min)),iY(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout(),this.resolveConstraints(),a9(e=>{if(!sm(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];n.set(i2(r,o,i[e]))})}addListeners(){var e;if(!this.visualElement.current)return;sp.set(this.visualElement,this);let t=this.visualElement.current,n=iE(t,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),r=()=>{let{dragConstraints:e}=this.getProps();rt(e)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),r();let a=iu(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(a9(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),null==s||s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function sm(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}let sg={pan:iB(function({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){let o=(0,el.useRef)(null),{transformPagePoint:a}=(0,el.useContext)(n7),s={onSessionStart:r,onStart:t,onMove:e,onEnd:(e,t)=>{o.current=null,n&&n(e,t)}};(0,el.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(s)}),ik(i,"pointerdown",(e||t||n||r)&&function(e){o.current=new aU(e,s,{transformPagePoint:a})}),n4(()=>o.current&&o.current.end())}),drag:iB(function(e){let{dragControls:t,visualElement:n}=e,r=nX(()=>new sv(n));(0,el.useEffect)(()=>t&&t.subscribe(r),[r,t]),(0,el.useEffect)(()=>r.addListeners(),[r])})};function sy(e){return"string"==typeof e&&e.startsWith("var(--")}let sb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function sx(e,t,n=1){i$(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=function(e){let t=sb.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]}(e);if(!r)return;let o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():sy(i)?sx(i,t,n+1):i}let sw=new Set(["width","height","top","left","right","bottom","x","y"]),s_=e=>sw.has(e),sE=e=>Object.keys(e).some(s_),sk=(e,t)=>{e.set(t,!1),e.set(t)},sj=e=>e===rz||e===rD;(kE=kC||(kC={})).width="width",kE.height="height",kE.left="left",kE.right="right",kE.top="top",kE.bottom="bottom";let sS=(e,t)=>parseFloat(e.split(", ")[t]),sO=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return sS(i[1],t);{let o=r.match(/^matrix\((.+)\)$/);return o?sS(o[1],e):0}},sC=new Set(["x","y","z"]),sA=ry.filter(e=>!sC.has(e)),sT={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:sO(4,13),y:sO(5,14)},sM=(e,t,n)=>{let r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=sT[e](r,o)}),t.render();let l=t.measureViewportBox();return n.forEach(n=>{let r=t.getValue(n);sk(r,s[n]),e[n]=sT[n](l,o)}),e},sP=(e,t,n={},r={})=>{t={...t},r={...r};let i=Object.keys(t).filter(s_),o=[],a=!1,s=[];if(i.forEach(i=>{let l;let u=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],f=aS(c),d=t[i];if(it(d)){let h=d.length,p=null===d[0]?1:0;f=aS(c=d[p]);for(let v=p;v{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],sk(u,d))}}),!s.length)return{target:t,transitionEnd:r};{let l=s.indexOf("height")>=0?window.pageYOffset:null,u=sM(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),n$&&null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}},sN=(e,t,n,r)=>{var i,o;let a=function(e,{...t},n){let r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};for(let i in n&&(n={...n}),e.values.forEach(e=>{let t=e.get();if(!sy(t))return;let n=sx(t,r);n&&e.set(n)}),t){let o=t[i];if(!sy(o))continue;let a=sx(o,r);a&&(t[i]=a,n&&void 0===n[i]&&(n[i]=o))}return{target:t,transitionEnd:n}}(e,t,r);return t=a.target,r=a.transitionEnd,i=t,o=r,sE(i)?sP(e,i,n,o):{target:i,transitionEnd:o}},sR={current:null},sD={current:!1},sL=Object.keys(ru),sF=sL.length,sI=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sz{constructor({parent:e,props:t,reducedMotionConfig:n,visualState:r},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>nV.render(this.render,!1,!0);let{latestValues:o,renderState:a}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=a,this.parent=e,this.props=t,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=ro(t),this.isVariantNode=ra(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:s,...l}=this.scrapeMotionValuesFromProps(t);for(let u in l){let c=l[u];void 0!==o[u]&&rw(c)&&(c.set(o[u],!1),aT(s)&&s.add(u))}if(t.values)for(let f in t.values){let d=t.values[f];void 0!==o[f]&&rw(d)&&d.set(o[f])}}scrapeMotionValuesFromProps(e){return{}}mount(e){var t;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(t=this.parent)||void 0===t?void 0:t.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),sD.current||function(){if(sD.current=!0,n$){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>sR.current=e.matches;e.addListener(t),t()}else sR.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||sR.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var e,t,n;for(let r in null===(e=this.projection)||void 0===e||e.unmount(),nB.update(this.notifyUpdate),nB.render(this.render),this.valueSubscriptions.forEach(e=>e()),null===(t=this.removeFromVariantTree)||void 0===t||t.call(this),null===(n=this.parent)||void 0===n||n.children.delete(this),this.events)this.events[r].clear();this.current=null}bindToMotionValue(e,t){let n=t.onChange(t=>{this.latestValues[e]=t,this.props.onUpdate&&nV.update(this.notifyUpdate,!1,!0)}),r=t.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures(e,t,n,r,i,o){let a=[];"production"!==nT&&n&&t&&i$(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let s=0;sthis.scheduleRender(),animationType:"string"==typeof d?d:"both",initialPromotionConfig:o,layoutScroll:v})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):a7()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}setProps(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=e;for(let t=0;tn.variantChildren.delete(e)}addValue(e,t){this.hasValue(e)&&this.removeValue(e),this.values.set(e,t),this.latestValues[e]=t.get(),this.bindToMotionValue(e,t)}removeValue(e){var t;this.values.delete(e),null===(t=this.valueSubscriptions.get(e))||void 0===t||t(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=aE(t),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=ie(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||rw(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new ax),this.events[e].add(t)}notify(e,...t){var n;null===(n=this.events[e])||void 0===n||n.notify(...t)}}let sV=["initial",...aR],sB=sV.length;class sZ extends sz{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){var r;let i={};for(let o in e){let a=function(e,t){if(!t)return;let n=t[e]||t.default||t;return n.from}(o,t);i[o]=void 0!==a?a:null===(r=n.getValue(o))||void 0===r?void 0:r.get()}return i}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;let o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;srm(e)?new sH(t,{enableHardwareAcceleration:!1}):new sU(t,{enableHardwareAcceleration:!0});function sq(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let s$={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!rD.test(e))return e;e=parseFloat(e)}let n=sq(e,t.target.x),r=sq(e,t.target.y);return`${n}% ${r}%`}},sY="_$css",sG={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=e.includes("var("),o=[];i&&(e=e.replace(sb,e=>(o.push(e),sY)));let a=op.parse(e);if(a.length>5)return r;let s=op.createTransformer(e),l="number"!=typeof a[0]?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=c;let f=i2(u,c,.5);"number"==typeof a[2+l]&&(a[2+l]/=f),"number"==typeof a[3+l]&&(a[3+l]/=f);let d=s(a);if(i){let h=0;d=d.replace(sY,()=>{let e=o[h];return h++,e})}return d}};class sK extends el.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Object.assign(rg,sX),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),rc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||nV.postRender(()=>{var e;(null===(e=o.getStack())||void 0===e?void 0:e.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),(null==t?void 0:t.group)&&t.group.remove(r),(null==n?void 0:n.deregister)&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;null==e||e()}render(){return null}}let sX={borderRadius:{...s$,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:s$,borderTopRightRadius:s$,borderBottomLeftRadius:s$,borderBottomRightRadius:s$,boxShadow:sG},sQ=["TopLeft","TopRight","BottomLeft","BottomRight"],sJ=sQ.length,s0=e=>"string"==typeof e?parseFloat(e):e,s1=e=>"number"==typeof e||rD.test(e);function s2(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}let s4=s5(0,.5,oN),s3=s5(.5,.95,oC);function s5(e,t,n){return r=>rt?1:n(i1(e,t,r))}function s6(e,t){e.min=t.min,e.max=t.max}function s8(e,t){s6(e.x,t.x),s6(e.y,t.y)}function s7(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function s9(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){if(rR.test(t)){t=parseFloat(t);let s=i2(a.min,a.max,t/100);t=s-a.min}if("number"!=typeof t)return;let l=i2(o.min,o.max,r);e===o&&(l-=t),e.min=s7(e.min,t,n,l,i),e.max=s7(e.max,t,n,l,i)}(e,t[n],t[r],t[i],t.scale,o,a)}let le=["x","scaleX","originX"],lt=["y","scaleY","originY"];function ln(e,t,n,r){s9(e.x,t,le,null==n?void 0:n.x,null==r?void 0:r.x),s9(e.y,t,lt,null==n?void 0:n.y,null==r?void 0:r.y)}function lr(e){return 0===e.translate&&1===e.scale}function li(e){return lr(e.x)&&lr(e.y)}function lo(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function la(e){return aY(e.x)/aY(e.y)}class ls{constructor(){this.members=[]}add(e){ay(this.members,e),e.scheduleRender()}remove(e){if(ab(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let r=n;r>=0;r--){let i=this.members[r];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){var n;let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var t,n,r,i,o;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(o=null===(r=e.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ll(e,t,n){let r=e.x.translate/t.x,i=e.y.translate/t.y,o=`translate3d(${r}px, ${i}px, 0) `;if(o+=`scale(${1/t.x}, ${1/t.y}) `,n){let{rotate:a,rotateX:s,rotateY:l}=n;a&&(o+=`rotate(${a}deg) `),s&&(o+=`rotateX(${s}deg) `),l&&(o+=`rotateY(${l}deg) `)}let u=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"==(o+=`scale(${u}, ${c})`)?"none":o}let lu=(e,t)=>e.depth-t.depth;class lc{constructor(){this.children=[],this.isDirty=!1}add(e){ay(this.children,e),this.isDirty=!0}remove(e){ab(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(lu),this.isDirty=!1,this.children.forEach(e)}}let lf=["","X","Y","Z"];function ld({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e,n={},r=null==t?void 0:t()){this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(lb),this.nodes.forEach(lx)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let i=0;ithis.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,s&&s(),s=ac(l,250),rc.hasAnimatedSinceResize&&(rc.hasAnimatedSinceResize=!1,this.nodes.forEach(ly))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{var i,o,s,l,u;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let c=null!==(o=null!==(i=this.options.transition)&&void 0!==i?i:a.getDefaultTransition())&&void 0!==o?o:lS,{onLayoutAnimationStart:f,onLayoutAnimationComplete:d}=a.getProps(),h=!this.targetLayout||!lo(this.targetLayout,r)||n,p=!t&&n;if((null===(s=this.resumeFrom)||void 0===s?void 0:s.instance)||p||t&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,p);let v={...ap(c,"layout"),onPlay:f,onComplete:d};a.shouldReduceMotion&&(v.delay=0,v.type=!1),this.startAnimation(v)}else t||0!==this.animationProgress||ly(this),this.isLead()&&(null===(u=(l=this.options).onExitComplete)||void 0===u||u.call(l));this.targetLayout=r})}unmount(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,nB.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}startUpdate(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(lw))}willUpdate(e=!0){var t,n,r;if(this.root.isUpdateBlocked()){null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;i{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){if(this.snapshot||!this.instance)return;let e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));lA(t),this.snapshot={measured:e,layout:t,latestValues:{}}}updateLayout(){var e;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),c=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(lj));this.animationProgress=0,this.mixTargetDelta=t=>{var n,r,f;let d=t/1e3;lE(a.x,e.x,d),lE(a.y,e.y,d),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(a0(s,this.layout.actual,this.relativeParent.layout.actual),r=this.relativeTarget,f=this.relativeTargetOrigin,lk(r.x,f.x,s.x,d),lk(r.y,f.y,s.y,d)),l&&(this.animationValues=o,function(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=i2(0,null!==(a=n.opacity)&&void 0!==a?a:1,s4(r)),e.opacityExit=i2(null!==(s=t.opacity)&&void 0!==s?s:1,0,s3(r))):o&&(e.opacity=i2(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=n.opacity)&&void 0!==u?u:1,r));for(let c=0;c{rc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n={}){let r=rw(e)?e:aE(e);return av("",r,1e3,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}(0,0,{...e,onUpdate:t=>{var n;this.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:()=>{var t;null===(t=e.onComplete)||void 0===t||t.call(e),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&lT(this.options.animationType,this.layout.actual,r.actual)){n=this.target||a7();let o=aY(this.layout.actual.x);n.x.min=e.target.x.min,n.x.max=n.x.min+o;let a=aY(this.layout.actual.y);n.y.min=e.target.y.min,n.y.max=n.y.min+a}s8(t,n),sd(t,i),aX(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){var n,r,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new ls);let o=this.sharedNodes.get(e);o.add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,t)})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,n={};for(let r=0;r{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(lm),this.root.sharedNodes.clear()}}}function lh(e){e.updateLayout()}function lp(e){var t,n,r;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{actual:o,measured:a}=e.layout,{animationType:s}=e.options;"size"===s?a9(e=>{let t=i.isShared?i.measured[e]:i.layout[e],n=aY(t);t.min=o[e].min,t.max=t.min+n}):lT(s,i.layout,o)&&a9(e=>{let t=i.isShared?i.measured[e]:i.layout[e],n=aY(o[e]);t.max=t.min+n});let l=a6();aX(l,o,i.layout);let u=a6();i.isShared?aX(u,e.applyTransform(a,!0),i.measured):aX(u,o,i.layout);let c=!li(l),f=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:h,layout:p}=d;if(h&&p){let v=a7();a0(v,i.layout,h.layout);let m=a7();a0(m,o,p.actual),lo(v,m)||(f=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:u,layoutDelta:l,hasLayoutChanged:c,hasRelativeTargetChanged:f})}else e.isLead()&&(null===(r=(n=e.options).onExitComplete)||void 0===r||r.call(n));e.options.transition=void 0}function lv(e){e.clearSnapshot()}function lm(e){e.clearMeasurements()}function lg(e){let{visualElement:t}=e.options;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ly(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function lb(e){e.resolveTargetDelta()}function lx(e){e.calcProjection()}function lw(e){e.resetRotation()}function l_(e){e.removeLeadSnapshot()}function lE(e,t,n){e.translate=i2(t.translate,0,n),e.scale=i2(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lk(e,t,n,r){e.min=i2(t.min,n.min,r),e.max=i2(t.max,n.max,r)}function lj(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let lS={duration:.45,ease:[.4,0,.1,1]};function lO(e,t){let n=e.root;for(let r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}let i=n&&n!==e.root?n.instance:document,o=i.querySelector(`[data-projection-id="${t}"]`);o&&e.mount(o,!0)}function lC(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function lA(e){lC(e.x),lC(e.y)}function lT(e,t,n){return"position"===e||"preserve-aspect"===e&&!function(e,t,n=.1){return aZ(e,t)<=n}(la(t),la(n),.2)}let lM=ld({attachResizeListener:(e,t)=>iu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),lP={current:void 0},lN=ld({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lP.current){let e=new lM(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),lP.current=e}return lP.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),lR={...aI,...iZ,...sg,measureLayout:function(e){let[t,n]=iU(),r=(0,el.useContext)(n2);return el.createElement(sK,{...e,layoutGroup:r,switchLayoutGroup:(0,el.useContext)(rh),isPresent:t,safeToRemove:n})}},lD=function(e){function t(t,n={}){return function({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(let t in e)"projectionNodeConstructor"===t?ru.projectionNodeConstructor=e[t]:ru[t].Component=e[t]}(e);let a=(0,el.forwardRef)(function(a,s){var l,u;let c={...(0,el.useContext)(n7),...a,layoutId:function({layoutId:e}){let t=(0,el.useContext)(n2).id;return t&&void 0!==e?t+"-"+e:e}(a)},{isStatic:f}=c,d=null,h=function(e){let{initial:t,animate:n}=function(e,t){if(ro(e)){let{initial:n,animate:r}=e;return{initial:!1===n||rn(n)?n:void 0,animate:rn(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,el.useContext)(n9));return(0,el.useMemo)(()=>({initial:t,animate:n}),[rs(t),rs(n)])}(a),p=f?void 0:nX(()=>{if(rc.hasEverUpdated)return rf++}),v=i(a,f);if(!f&&n$){h.visualElement=function(e,t,n,r){let i=(0,el.useContext)(n9).visualElement,o=(0,el.useContext)(re),a=(0,el.useContext)(nK),s=(0,el.useContext)(n7).reducedMotion,l=(0,el.useRef)();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let u=l.current;return nY(()=>{u&&u.render()}),(0,el.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),nY(()=>()=>u&&u.notify("Unmount"),[]),u}(o,v,c,t);let m=(0,el.useContext)(re).strict,g=(0,el.useContext)(rh);h.visualElement&&(d=h.visualElement.loadFeatures(c,m,e,p,n||ru.projectionNodeConstructor,g))}return el.createElement(rd,{visualElement:h.visualElement,props:c},d,el.createElement(n9.Provider,{value:h},r(o,a,p,(l=h.visualElement,u=s,(0,el.useCallback)(e=>{e&&v.mount&&v.mount(e),l&&(e?l.mount(e):l.unmount()),u&&("function"==typeof u?u(e):rt(u)&&(u.current=e))},[l])),v,f,h.visualElement)))});return a[rp]=o,a}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},n,r,i){let o=rm(e)?is:il;return{...o,preloadedFeatures:n,useRender:function(e=!1){let t=(t,n,r,i,{latestValues:o},a)=>{let s=rm(t)?r4:r$,l=s(n,o,a),u=function(e,t,n){let r={};for(let i in e)(rK(i)||!0===n&&rG(i)||!t&&!rG(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),c={...u,...l,ref:i};return r&&(c["data-projection-id"]=r),(0,el.createElement)(t,c)};return t}(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}})(e,t,lR,sW,lN));function lL(e){let{open:t,onOpenChange:n}=e,[r,i]=(0,el.useState)(!1),o=(0,el.useMemo)(()=>n?t:r,[n,r,t]),a=(0,el.useCallback)(e=>{n?n(e):i(e)},[n]);return{open:o,onOpenChange:a}}var lF=n(1626),lI=n.n(lF),lz=n(91050),lV=n.n(lz);let lB=(0,eY.cx)(lI().variable,lV().variable),lZ={show:{opacity:[0,1],scale:[.95,1],transition:{duration:.1,ease:"easeOut"}},exit:{opacity:[1,0],scale:[1,.95],transition:{duration:.1,ease:"easeIn"}}};function lU(e){let{children:t,content:n,defaultOpen:r,open:i,onOpenChange:o,delayDuration:a=300,disableHoverableContent:s,...l}=e,{open:u,onOpenChange:c}=lL({open:i,onOpenChange:o});return(0,es.jsxs)(nf,{open:u,delayDuration:a,disableHoverableContent:s,defaultOpen:r,onOpenChange:c,children:[(0,es.jsx)(nh,{asChild:!0,children:t}),(0,es.jsx)(n8,{children:n&&u?(0,es.jsx)(ng,{forceMount:!0,children:(0,es.jsx)(nb,{forceMount:!0,asChild:!0,side:"top",align:"center",sideOffset:l.sideOffset||5,...l,children:(0,es.jsx)(lD.div,{variants:lZ,initial:"init",animate:"show",exit:"exit",className:(0,eY.cx)(lB,"relative","z-50","data-[side=top]:bottom-1","data-[side=top]:origin-bottom","data-[side=bottom]:top-1","data-[side=bottom]:origin-top","data-[side=left]:right-1","data-[side=left]:origin-right","data-[side=right]:left-1","data-[side=right]:origin-left"),children:(0,es.jsx)("div",{className:(0,eY.cx)("py-1 px-2","max-w-xs","overflow-hidden",nO()),children:(0,es.jsx)(nS,{size:"12",children:n})})})})}):null})]})}let lH=(0,eY.j)(["inline-flex","gap-1","appearance-none","shrink-0","items-center","justify-center","select-none","leading-normal","font-sans","cursor-pointer","overflow-hidden","focus:z-10","disabled:cursor-auto","disabled:pointer-events-none","outline-none","focus:ring ring-blue-500 dark:ring-blue-200","transition-colors duration-75"],{variants:{size:{small:["text-xs","px-2","h-7"],medium:["text-base","px-4","h-10"],large:["text-lg","px-4","h-12"],none:[]},state:{waiting:["pointer-events-none"]},disabled:{true:"cursor-auto pointer-events-none"},rounded:{true:"rounded",false:""},variant:{accent:["border","text-white dark:text-white","enabled:bg-green-700 enabled:dark:bg-green-700","enabled:border-green-800/30 enabled:dark:border-green-600/70","enabled:hover:bg-green-800/90 dark:enabled:hover:bg-green-700/90","enabled:hover:border-green-800/50 enabled:hover:dark:border-green-600","disabled:text-white/50 disabled:dark:text-white/50","disabled:bg-green-700/70 disabled:dark:bg-green-600/70","disabled:border-green-600/50 disabled:dark:border-green-500/30","[&[href]]:bg-green-700 [&[href]]:dark:bg-green-700","[&[href]]:border-green-800/30 [&[href]]:dark:border-green-600/70","[&[href]]:hover:bg-green-800/90 dark:[&[href]]:hover:bg-green-700/90","[&[href]]:hover:border-green-800/50 [href]]:hover:dark:border-green-600"],red:["border","bg-red-700 dark:bg-red-700","border-red-800/30 dark:border-red-600/70","enabled:hover:bg-red-800/90 dark:enabled:hover:bg-red-700/90","enabled:hover:border-red-800/50 enabled:hover:dark:border-red-600","disabled:bg-red-700/70 disabled:dark:bg-red-600/70","disabled:border-red-600/50 disabled:dark:border-red-500/30","text-white dark:text-white","disabled:text-white/50 disabled:dark:text-white/50"],amber:["border","bg-amber-700 dark:bg-amber-700","border-amber-800/30 dark:border-amber-600/70","enabled:hover:bg-amber-800/90 dark:enabled:hover:bg-amber-700/90","enabled:hover:border-amber-800/50 enabled:hover:dark:border-amber-600","disabled:bg-amber-700/70 disabled:dark:bg-amber-600/70","disabled:border-amber-600/50 disabled:dark:border-amber-500/30","text-white dark:text-white","disabled:text-white/50 disabled:dark:text-white/50"],gray:["border","bg-white dark:bg-graydark-200","enabled:hover:bg-gray-50 dark:enabled:hover:bg-graydark-300","disabled:bg-gray-200 disabled:dark:bg-graydark-200","border-gray-400 dark:border-graydark-400","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500","text-gray-1100 dark:text-gray-300","disabled:text-gray-600 disabled:dark:text-graydark-700"],active:["border","bg-gray-200 dark:bg-graydark-400","enabled:hover:bg-gray-50 dark:enabled:hover:bg-graydark-300","disabled:bg-gray-200 disabled:dark:bg-graydark-200","border-gray-500 dark:border-graydark-500","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500","text-gray-1100 dark:text-white","disabled:text-gray-600 disabled:dark:text-graydark-700"],inactive:["border","bg-white dark:bg-graydark-200","enabled:hover:bg-gray-50 dark:enabled:hover:bg-graydark-300","disabled:bg-gray-200 disabled:dark:bg-graydark-200","border-gray-400/70 dark:border-graydark-400/70","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500","text-gray-1100/30 dark:text-white/30","enabled:hover:text-gray-1100 enabled:hover:dark:text-white","disabled:text-gray-600 disabled:dark:text-graydark-700"],ghost:["appearance-none border-none bg-transparent","text-gray-1100 dark:text-white","disabled:text-gray-600 disabled:dark:text-graydark-700"],state:["open:text-gray-1100 open:dark:text-white","hover:text-gray-1000 hover:dark:text-graydark-1000","text-gray-700 dark:text-graydark-800"]},icon:{contrast:"",hover:"[&>svg]:opacity-50 hover:[&>svg]:opacity-100 transition-opacity",subtle:"[&>svg]:opacity-50"},color:{verySubtle:"!text-gray-700 dark:!text-graydark-700",subtle:"!text-gray-1000 dark:!text-graydark-1000",contrast:"!text-gray-1100 dark:!text-white",lo:"!text-white dark:!text-graydark-50",accent:"!text-accent-1100 dark:!text-accentdark-1100",red:"!text-red-700 dark:!text-red-400",green:"!text-emerald-700 dark:!text-emerald-500",amber:"!text-amber-600 dark:!text-amber-500",none:""}},defaultVariants:{variant:"gray",size:"small",rounded:!0,icon:"subtle",color:"none"}}),lW=el.forwardRef((e,t)=>{let{variant:n,size:r,state:i,rounded:o,disabled:a,icon:s,color:l,tip:u,tipAlign:c,tipSide:f,className:d,type:h="button",...p}=e;return u?(0,es.jsx)(lU,{content:u,align:c,side:f,children:(0,es.jsx)("button",{ref:t,type:h,disabled:a,className:lH({variant:n,size:r,state:i,rounded:o,disabled:a,icon:s,color:l,className:d}),...p})}):(0,es.jsx)("button",{ref:t,disabled:a,type:h,className:lH({variant:n,size:r,state:i,rounded:o,disabled:a,icon:s,color:l,className:d}),...p})});(0,eY.j)([],{variants:{variant:{default:"border-t border-gray-500 dark:border-graydark-500 last-of-type:border-b",ghost:""}},defaultVariants:{variant:"default"}});let lq=(0,eY.j)("border border-gray-500 dark:border-graydark-500 bg-gray-100 dark:bg-graydark-100 rounded p-4"),l$=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)("div",{...r,className:lq({className:n}),ref:t})}),lY=(0,eY.j)(["flex-shrink-0 w-full mx-auto"],{variants:{pad:{true:"px-5 md:px-10",false:""},size:{1:"max-w-screen-sm",2:"max-w-screen-md",3:"max-w-[1145px]",4:"max-w-screen-2xl",full:"max-w-none"}},defaultVariants:{pad:!0,size:"3"}}),lG=el.forwardRef((e,t)=>{let{className:n,pad:r,size:i,...o}=e;return(0,es.jsx)("div",{ref:t,...o,className:lY({size:i,pad:r,className:n})})});var lK=n(39097),lX=n.n(lK);function lQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lJ(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l1=["width","height","viewBox"],l2=["tabindex"],l4={focusable:"false",preserveAspectRatio:"xMidYMid meet"},l3=n(13980),l5=n.n(l3);function l6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l8(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var ue=["className","children","tabIndex"],ut=["tabindex"],un=el.forwardRef(function(e,t){var n=e.className,r=e.children,i=e.tabIndex,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height,r=e.viewBox,i=void 0===r?"0 0 ".concat(t," ").concat(n):r,o=l0(e,l1),a=o.tabindex,s=l0(o,l2),l=lJ(lJ(lJ({},l4),s),{},{width:t,height:n,viewBox:i});return l["aria-label"]||l["aria-labelledby"]||l.title?(l.role="img",null!=a&&(l.focusable="true",l.tabindex=a)):l["aria-hidden"]=!0,l}(l8(l8({},l9(e,ue)),{},{tabindex:i})),a=o.tabindex,s=l9(o,ut);return n&&(s.className=n),null!=a&&(s.tabIndex=a),t&&(s.ref=t),el.createElement("svg",s,r)});un.displayName="Icon",un.propTypes={"aria-hidden":l5().string,"aria-label":l5().string,"aria-labelledby":l5().string,children:l5().node,className:l5().string,height:l5().oneOfType([l5().number,l5().string]),preserveAspectRatio:l5().string,tabIndex:l5().string,viewBox:l5().string,width:l5().oneOfType([l5().number,l5().string]),xmlns:l5().string},un.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"};var ur=["children"],ui=el.forwardRef(function(e,t){var n=e.children,r=l9(e,ur);return el.createElement(un,l7({width:20,height:20,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kA||(kA=el.createElement("path",{d:"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"})),kT||(kT=el.createElement("path",{d:"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"})),n)});let uo={20:"h3",24:"h3",32:"h2",40:"h2",64:"h1"},ua={20:"font-semibold text-base md:text-xl",24:"font-bold text-xl md:text-2xl",32:"font-semibold text-2xl md:text-3xl",40:"font-semibold text-3xl md:text-4xl",64:"font-semibold text-4xl md:text-6xl"},us=el.forwardRef((e,t)=>{let{size:n="24",className:r,id:i,children:o,anchorLink:a,showAnchor:s,...l}=e,u=uo[n];if(a){let c=i||("string"==typeof o?encodeURI(o.toLowerCase().replace(/ /g,"-")):"");return(0,es.jsxs)("div",{className:(0,eY.cx)("flex flex-col gap-6 items-start",r),children:[(0,es.jsx)("div",{className:"relative",children:(0,es.jsx)("div",{id:c,className:"absolute -top-[100px]"})}),(0,es.jsxs)(lX(),{href:"#".concat(c),className:"relative group",children:[(0,es.jsx)(nj,{className:"hidden group-hover:block",children:(0,es.jsx)(ui,{className:"absolute top-1 -left-7 hidden md:block"})}),(0,es.jsx)(nj,{as:u,...l,ref:t,weight:"none",className:(0,eY.cx)("proportional-nums inline-block",ua[n]),children:o})]})]})}return(0,es.jsx)("div",{className:(0,eY.cx)("flex flex-col gap-6 items-start",r),children:(0,es.jsx)(nj,{as:u,...l,ref:t,weight:"none",className:(0,eY.cx)("proportional-nums inline-block",ua[n],r),children:o})})}),ul=(0,eY.j)(["cursor-pointer"],{variants:{disabled:{true:"opacity-50 pointer-events-none"},underline:{accent:"underline underline-offset-4 decoration-2 decoration-accentdark-900 dark:decoration-accentdark-900",default:"underline underline-offset-4",hover:"hover:underline underline-offset-4",none:""}},defaultVariants:{disabled:!1,underline:"default"}}),uu=e=>{let{font:t,size:n,scaleSize:r,color:i,weight:o,noWrap:a,ellipsis:s,underline:l,disabled:u,className:c}=e;return(0,eY.cx)(nk({scaleSize:r,size:n,font:t,color:i,weight:o,noWrap:a,ellipsis:s,underline:l}),ul({disabled:u,underline:l}),c)},uc=el.forwardRef((e,t)=>{let{href:n="#",font:r,size:i,scaleSize:o,color:a,weight:s,noWrap:l,ellipsis:u,underline:c,disabled:f,className:d,rel:h,target:p,...v}=e;return(0,es.jsx)(lX(),{href:n,ref:t,className:uu({font:r,scaleSize:o,size:i,color:a,weight:s,noWrap:l,ellipsis:u,underline:c,disabled:f,className:d}),...v,rel:h||("_blank"===p?"noopener":void 0),target:p})});var uf=n(96577),ud=n.n(uf);let uh=(0,eY.j)(["rounded"]);function up(e){let{className:t,...n}=e;return(0,es.jsx)(ud(),{className:uh({className:t}),...n})}let uv={src:"/_next/static/media/logo.0e2362ab.png",height:192,width:192,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAIVBMVEV3g4Jpj3qDc4RMaXEjzWB4g4Ihz18O31QoxWAuvmItvWEvJfvtAAAAC3RSTlNHDBkAu1SpJEFsU9lM6RAAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA1SURBVHicNcsxDsAwDMNASnLsNv9/cBAU3TgciQAU9DrxEniqx0Dq2Z0vVBdqqtqgpejifz8ZAgCpRNIF2gAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8};function um(e){let{size:t=30,className:n}=e;return(0,es.jsx)(up,{priority:!0,src:uv.src,alt:"Logo",width:t,height:t,className:n})}var ug=n(86029);let uy="Avatar",[ub,ux]=(0,ef.b)(uy),[uw,u_]=ub(uy),uE=(0,el.forwardRef)((e,t)=>{let{__scopeAvatar:n,...r}=e,[i,o]=(0,el.useState)("idle");return(0,el.createElement)(uw,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:o},(0,el.createElement)(eg.WV.span,(0,ec.Z)({},r,{ref:t})))}),uk=(0,el.forwardRef)((e,t)=>{let{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...o}=e,a=u_("AvatarImage",n),s=function(e){let[t,n]=(0,el.useState)("idle");return(0,el.useEffect)(()=>{if(!e){n("error");return}let t=!0,r=new window.Image,i=e=>()=>{t&&n(e)};return n("loading"),r.onload=i("loaded"),r.onerror=i("error"),r.src=e,()=>{t=!1}},[e]),t}(r),l=(0,ug.W)(e=>{i(e),a.onImageLoadingStatusChange(e)});return(0,ey.b)(()=>{"idle"!==s&&l(s)},[s,l]),"loaded"===s?(0,el.createElement)(eg.WV.img,(0,ec.Z)({},o,{ref:t,src:r})):null}),uj=(0,el.forwardRef)((e,t)=>{let{__scopeAvatar:n,delayMs:r,...i}=e,o=u_("AvatarFallback",n),[a,s]=(0,el.useState)(void 0===r);return(0,el.useEffect)(()=>{if(void 0!==r){let e=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(e)}},[r]),a&&"loaded"!==o.imageLoadingStatus?(0,el.createElement)(eg.WV.span,(0,ec.Z)({},i,{ref:t})):null}),uS=(0,eY.j)(["items-center justify-center align-middle flex flex-shrink-0 relative","overflow-hidden select-none outline-none","font-sans font-medium text-sm"],{variants:{size:{1:"w-6 h-6",2:"w-12 h-12",3:"w-16 h-16"},variant:{filter:"bg-transparent",hiContrast:"bg-gray-900 dark:bg-white text-white dark:text-gray-1100",gray:"bg-gray-500 dark:bg-gray-800 text-gray-1100 dark:text-white"},shape:{square:"rounded",circle:"rounded-full"},inactive:{true:"opacity-30"},interactive:{true:"cursor-pointer"}},defaultVariants:{size:"2",variant:"gray",shape:"circle"}}),uO=(0,eY.j)("uppercase",{variants:{size:{1:"text-sm",2:"text-base",3:"text-lg"}},defaultVariants:{size:"2"}}),uC=el.forwardRef((e,t)=>{let{alt:n,src:r,fallback:i,size:o,variant:a,shape:s,interactive:l,inactive:u,className:c,...f}=e;return(0,es.jsx)("div",{className:(0,eY.cx)("relative h-fit w-fit",c),children:(0,es.jsxs)(uE,{...f,ref:t,className:uS({className:c,size:o,variant:a,interactive:l,inactive:u,shape:s}),children:["filter"===a&&(0,es.jsx)("div",{className:"absolute w-full h-full z-10",style:{backgroundColor:"rgba(30, 169, 76, 0.3)"}}),(0,es.jsx)(uk,{alt:n,src:r,className:"flex object-cover h-full align-middle w-full"}),(0,es.jsx)(uj,{className:uO({size:o}),children:i})]})})}),uA=(0,eY.j)(["items-center appearance-none inline-flex flex-shrink-0 whitespace-nowrap","font-sans font-regular text-sm","justify-center align-middle outline-none p-0 decoration-none select-none","disabled:pointer-events-none","py-0.5 px-2"],{variants:{variant:{active:["border","bg-gray-800 text-gray-900 border-gray-900","dark:bg-transparent dark:text-white dark:border-white/10"],simple:"bg-gray-300 dark:bg-graydark-800 text-gray-900 dark:text-white",green:["border","[&>svg]:opacity-50","bg-green-700 dark:bg-green-700","border-green-800/30 dark:border-green-600/70","hover:bg-green-800/90 dark:hover:bg-green-700/90","hover:border-green-800/50 hover:dark:border-green-600","text-white dark:text-white"],accent:["border","[&>svg]:opacity-50","bg-green-700 dark:bg-green-700","border-green-800/30 dark:border-green-600/70","hover:bg-green-800/90 dark:hover:bg-green-700/90","hover:border-green-800/50 hover:dark:border-green-600","text-white dark:text-white"],red:["border","[&>svg]:opacity-50","bg-red-700 dark:bg-red-700","border-red-800/30 dark:border-red-600/70","hover:bg-red-800/90 dark:hover:bg-red-700/90","hover:border-red-800/50 hover:dark:border-red-600","text-white dark:text-white"],amber:["border","[&>svg]:opacity-50","bg-amber-700 dark:bg-amber-700","border-amber-800/30 dark:border-amber-600/70","hover:bg-amber-800/90 dark:hover:bg-amber-700/90","hover:border-amber-800/50 hover:dark:border-amber-600","text-white dark:text-white"],gray:["border","[&>svg]:opacity-50","bg-white dark:bg-graydark-200","border-gray-400 dark:border-graydark-400","hover:bg-gray-50 dark:hover:bg-graydark-300","hover:border-gray-500 hover:dark:border-graydark-500","text-gray-1100 dark:text-white"],inactive:["border","[&>svg]:opacity-50","bg-white dark:bg-transparent","border-gray-400 dark:border-graydark-400","hover:border-gray-500 hover:dark:border-graydark-500","text-gray-1100/30 dark:text-white/30","hover:text-gray-1100/50 hover:dark:text-white/50"]},interactive:{true:"cursor-pointer"},rounded:{true:"rounded",false:""}},defaultVariants:{variant:"gray",rounded:!0}}),uT=el.forwardRef((e,t)=>{let{variant:n,interactive:r,rounded:i,className:o,...a}=e;return(0,es.jsx)("div",{...a,className:uA({variant:n,interactive:r,rounded:i,className:o}),ref:t})}),uM=el.forwardRef((e,t)=>{let{className:n,size:r,color:i,...o}=e;return(0,es.jsx)("pre",{children:(0,es.jsx)("code",{className:(0,eY.cx)(nk({font:"mono",size:r,color:i}),"block","w-full","overflow-auto","p-3","bg-white dark:bg-graydark-200","border border-gray-400 dark:border-graydark-400","rounded",n),...o,ref:t})})}),uP=(0,eY.j)(["font-mono","whitespace-nowrap","rounded"],{variants:{color:{gray:["bg-gray-200 dark:bg-graydark-200","text-gray-1100 dark:text-graydark-1100"],accent:["bg-accent-200 dark:bg-accentdark-200","text-accent-1100 dark:text-accentdark-1100"]}},defaultVariants:{color:"accent"}}),uN=el.forwardRef((e,t)=>{let{color:n,className:r,...i}=e;return(0,es.jsx)("code",{...i,className:uP({color:n,className:r}),ref:t})}),uR=(0,eY.j)(["flex","relative","[&>*]:rounded-none [&>*:last-child]:rounded-r [&>*:first-child]:rounded-l","[&>*]:border-r-0 [&>*]:border-l [&>*:first-child]:border-l [&>*:last-child]:border-r"]),uD=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)("div",{ref:t,className:uR({className:n}),...r})});(0,eY.j)(["select-none appearance-none outline-none overflow-hidden","inline-flex items-center justify-center","focus:ring ring-blue-500 dark:ring-blue-200","border","bg-gray-300 dark:bg-graydark-50","autofill:bg-blue-100 autofill:dark:bg-blue-800","border-gray-400 dark:border-graydark-400","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500","disabled:cursor-default","enabled:data-[state=checked]:bg-green-600 dark:enabled:data-[state=checked]:bg-green-500","disabled:data-[state=checked]:bg-green-600/50 dark:disabled:data-[state=checked]:bg-green-500/50"],{variants:{size:{small:"w-4 h-4 rounded",medium:"w-6 h-6 rounded"}},defaultVariants:{size:"small"}});var uL=n(72331),uF=["children"],uI=["children"],uz=["children"],uV=["children"],uB=["children"],uZ=["children"],uU=["children"],uH=el.forwardRef(function(e,t){var n=e.children,r=l9(e,uF);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kM||(kM=el.createElement("path",{d:"M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"})),n)}),uW=el.forwardRef(function(e,t){var n=e.children,r=l9(e,uI);return el.createElement(un,l7({width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kP||(kP=el.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),kN||(kN=el.createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),n)}),uq=el.forwardRef(function(e,t){var n=e.children,r=l9(e,uz);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kR||(kR=el.createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),kD||(kD=el.createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),n)}),u$=el.forwardRef(function(e,t){var n=e.children,r=l9(e,uV);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kL||(kL=el.createElement("path",{d:"M14 21.414L9 16.413 10.413 15 14 18.586 21.585 11 23 12.415 14 21.414z"})),kF||(kF=el.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),n)}),uY=el.forwardRef(function(e,t){var n=e.children,r=l9(e,uB);return el.createElement(un,l7({width:24,height:24,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kI||(kI=el.createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"})),n)}),uG=el.forwardRef(function(e,t){var n=e.children,r=l9(e,uZ);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kz||(kz=el.createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"})),n)}),uK=el.forwardRef(function(e,t){var n=e.children,r=l9(e,uU);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kV||(kV=el.createElement("path",{d:"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M16,28C9.4,28,4,22.6,4,16S9.4,4,16,4s12,5.4,12,12 S22.6,28,16,28z"})),kB||(kB=el.createElement("path",{d:"M21.4 23L16 17.6 10.6 23 9 21.4 14.4 16 9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4z"})),n)});let uX=(0,el.createContext)(void 0);function uQ(e){let t=(0,el.useContext)(uX);return e||t||"ltr"}let uJ="ScrollArea",[u0,u1]=(0,ef.b)(uJ),[u2,u4]=u0(uJ),u3=(0,el.forwardRef)((e,t)=>{let{__scopeScrollArea:n,type:r="hover",dir:i,scrollHideDelay:o=600,...a}=e,[s,l]=(0,el.useState)(null),[u,c]=(0,el.useState)(null),[f,d]=(0,el.useState)(null),[h,p]=(0,el.useState)(null),[v,m]=(0,el.useState)(null),[g,y]=(0,el.useState)(0),[b,x]=(0,el.useState)(0),[w,_]=(0,el.useState)(!1),[E,k]=(0,el.useState)(!1),j=(0,ed.e)(t,e=>l(e)),S=uQ(i);return(0,el.createElement)(u2,{scope:n,type:r,dir:S,scrollHideDelay:o,scrollArea:s,viewport:u,onViewportChange:c,content:f,onContentChange:d,scrollbarX:h,onScrollbarXChange:p,scrollbarXEnabled:w,onScrollbarXEnabledChange:_,scrollbarY:v,onScrollbarYChange:m,scrollbarYEnabled:E,onScrollbarYEnabledChange:k,onCornerWidthChange:y,onCornerHeightChange:x},(0,el.createElement)(eg.WV.div,(0,ec.Z)({dir:S},a,{ref:j,style:{position:"relative","--radix-scroll-area-corner-width":g+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})))}),u5=(0,el.forwardRef)((e,t)=>{let{__scopeScrollArea:n,children:r,...i}=e,o=u4("ScrollAreaViewport",n),a=(0,el.useRef)(null),s=(0,ed.e)(t,a,o.onViewportChange);return(0,el.createElement)(el.Fragment,null,(0,el.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,el.createElement)(eg.WV.div,(0,ec.Z)({"data-radix-scroll-area-viewport":""},i,{ref:s,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,el.createElement)("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},r)))}),u6="ScrollAreaScrollbar",u8=(0,el.forwardRef)((e,t)=>{let{forceMount:n,...r}=e,i=u4(u6,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:a}=i,s="horizontal"===e.orientation;return(0,el.useEffect)(()=>(s?o(!0):a(!0),()=>{s?o(!1):a(!1)}),[s,o,a]),"hover"===i.type?(0,el.createElement)(u7,(0,ec.Z)({},r,{ref:t,forceMount:n})):"scroll"===i.type?(0,el.createElement)(u9,(0,ec.Z)({},r,{ref:t,forceMount:n})):"auto"===i.type?(0,el.createElement)(ce,(0,ec.Z)({},r,{ref:t,forceMount:n})):"always"===i.type?(0,el.createElement)(ct,(0,ec.Z)({},r,{ref:t})):null}),u7=(0,el.forwardRef)((e,t)=>{let{forceMount:n,...r}=e,i=u4(u6,e.__scopeScrollArea),[o,a]=(0,el.useState)(!1);return(0,el.useEffect)(()=>{let e=i.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),a(!0)},r=()=>{t=window.setTimeout(()=>a(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[i.scrollArea,i.scrollHideDelay]),(0,el.createElement)(eb.z,{present:n||o},(0,el.createElement)(ce,(0,ec.Z)({"data-state":o?"visible":"hidden"},r,{ref:t})))}),u9=(0,el.forwardRef)((e,t)=>{var n;let{forceMount:r,...i}=e,o=u4(u6,e.__scopeScrollArea),a="horizontal"===e.orientation,s=cb(()=>u("SCROLL_END"),100),[l,u]=(n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,el.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},"hidden"));return(0,el.useEffect)(()=>{if("idle"===l){let e=window.setTimeout(()=>u("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(e)}},[l,o.scrollHideDelay,u]),(0,el.useEffect)(()=>{let e=o.viewport,t=a?"scrollLeft":"scrollTop";if(e){let n=e[t],r=()=>{let r=e[t],i=n!==r;i&&(u("SCROLL"),s()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[o.viewport,a,u,s]),(0,el.createElement)(eb.z,{present:r||"hidden"!==l},(0,el.createElement)(ct,(0,ec.Z)({"data-state":"hidden"===l?"hidden":"visible"},i,{ref:t,onPointerEnter:(0,ev.M)(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:(0,ev.M)(e.onPointerLeave,()=>u("POINTER_LEAVE"))})))}),ce=(0,el.forwardRef)((e,t)=>{let n=u4(u6,e.__scopeScrollArea),{forceMount:r,...i}=e,[o,a]=(0,el.useState)(!1),s="horizontal"===e.orientation,l=cb(()=>{if(n.viewport){let e=n.viewport.offsetWidth{let{orientation:n="vertical",...r}=e,i=u4(u6,e.__scopeScrollArea),o=(0,el.useRef)(null),a=(0,el.useRef)(0),[s,l]=(0,el.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=cp(s.viewport,s.content),c={...r,sizes:s,onSizesChange:l,hasThumb:Boolean(u>0&&u<1),onThumbChange:e=>o.current=e,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:e=>a.current=e};function f(e,t){return function(e,t,n,r="ltr"){let i=cv(n),o=t||i/2,a=n.scrollbar.paddingStart+o,s=n.scrollbar.size-n.scrollbar.paddingEnd-(i-o),l=n.content-n.viewport,u=cg([a,s],"ltr"===r?[0,l]:[-1*l,0]);return u(e)}(e,a.current,s,t)}return"horizontal"===n?(0,el.createElement)(cn,(0,ec.Z)({},c,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&o.current){let e=i.viewport.scrollLeft,t=cm(e,s,i.dir);o.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=f(e,i.dir))}})):"vertical"===n?(0,el.createElement)(cr,(0,ec.Z)({},c,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&o.current){let e=i.viewport.scrollTop,t=cm(e,s);o.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=f(e))}})):null}),cn=(0,el.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,o=u4(u6,e.__scopeScrollArea),[a,s]=(0,el.useState)(),l=(0,el.useRef)(null),u=(0,ed.e)(t,l,o.onScrollbarXChange);return(0,el.useEffect)(()=>{l.current&&s(getComputedStyle(l.current))},[l]),(0,el.createElement)(ca,(0,ec.Z)({"data-orientation":"horizontal"},i,{ref:u,sizes:n,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":cv(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(o.viewport){let r=o.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),r>0&&r{l.current&&o.viewport&&a&&r({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:ch(a.paddingLeft),paddingEnd:ch(a.paddingRight)}})}}))}),cr=(0,el.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,o=u4(u6,e.__scopeScrollArea),[a,s]=(0,el.useState)(),l=(0,el.useRef)(null),u=(0,ed.e)(t,l,o.onScrollbarYChange);return(0,el.useEffect)(()=>{l.current&&s(getComputedStyle(l.current))},[l]),(0,el.createElement)(ca,(0,ec.Z)({"data-orientation":"vertical"},i,{ref:u,sizes:n,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":cv(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(o.viewport){let r=o.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),r>0&&r{l.current&&o.viewport&&a&&r({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:ch(a.paddingTop),paddingEnd:ch(a.paddingBottom)}})}}))}),[ci,co]=u0(u6),ca=(0,el.forwardRef)((e,t)=>{let{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:o,onThumbPointerUp:a,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:u,onWheelScroll:c,onResize:f,...d}=e,h=u4(u6,n),[p,v]=(0,el.useState)(null),m=(0,ed.e)(t,e=>v(e)),g=(0,el.useRef)(null),y=(0,el.useRef)(""),b=h.viewport,x=r.content-r.viewport,w=(0,ug.W)(c),_=(0,ug.W)(l),E=cb(f,10);function k(e){if(g.current){let t=e.clientX-g.current.left,n=e.clientY-g.current.top;u({x:t,y:n})}}return(0,el.useEffect)(()=>{let e=e=>{let t=e.target,n=null==p?void 0:p.contains(t);n&&w(e,x)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[b,p,x,w]),(0,el.useEffect)(_,[r,_]),cx(p,E),cx(h.content,E),(0,el.createElement)(ci,{scope:n,scrollbar:p,hasThumb:i,onThumbChange:(0,ug.W)(o),onThumbPointerUp:(0,ug.W)(a),onThumbPositionChange:_,onThumbPointerDown:(0,ug.W)(s)},(0,el.createElement)(eg.WV.div,(0,ec.Z)({},d,{ref:m,style:{position:"absolute",...d.style},onPointerDown:(0,ev.M)(e.onPointerDown,e=>{if(0===e.button){let t=e.target;t.setPointerCapture(e.pointerId),g.current=p.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",k(e)}}),onPointerMove:(0,ev.M)(e.onPointerMove,k),onPointerUp:(0,ev.M)(e.onPointerUp,e=>{let t=e.target;t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=y.current,g.current=null})})))}),cs="ScrollAreaThumb",cl=(0,el.forwardRef)((e,t)=>{let{forceMount:n,...r}=e,i=co(cs,e.__scopeScrollArea);return(0,el.createElement)(eb.z,{present:n||i.hasThumb},(0,el.createElement)(cu,(0,ec.Z)({ref:t},r)))}),cu=(0,el.forwardRef)((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,o=u4(cs,n),a=co(cs,n),{onThumbPositionChange:s}=a,l=(0,ed.e)(t,e=>a.onThumbChange(e)),u=(0,el.useRef)(),c=cb(()=>{u.current&&(u.current(),u.current=void 0)},100);return(0,el.useEffect)(()=>{let e=o.viewport;if(e){let t=()=>{if(c(),!u.current){let t=cy(e,s);u.current=t,s()}};return s(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[o.viewport,c,s]),(0,el.createElement)(eg.WV.div,(0,ec.Z)({"data-state":a.hasThumb?"visible":"hidden"},i,{ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:(0,ev.M)(e.onPointerDownCapture,e=>{let t=e.target,n=t.getBoundingClientRect(),r=e.clientX-n.left,i=e.clientY-n.top;a.onThumbPointerDown({x:r,y:i})}),onPointerUp:(0,ev.M)(e.onPointerUp,a.onThumbPointerUp)}))}),cc="ScrollAreaCorner",cf=(0,el.forwardRef)((e,t)=>{let n=u4(cc,e.__scopeScrollArea),r=Boolean(n.scrollbarX&&n.scrollbarY),i="scroll"!==n.type&&r;return i?(0,el.createElement)(cd,(0,ec.Z)({},e,{ref:t})):null}),cd=(0,el.forwardRef)((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=u4(cc,n),[o,a]=(0,el.useState)(0),[s,l]=(0,el.useState)(0),u=Boolean(o&&s);return cx(i.scrollbarX,()=>{var e;let t=(null===(e=i.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;i.onCornerHeightChange(t),l(t)}),cx(i.scrollbarY,()=>{var e;let t=(null===(e=i.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;i.onCornerWidthChange(t),a(t)}),u?(0,el.createElement)(eg.WV.div,(0,ec.Z)({},r,{ref:t,style:{width:o,height:s,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}})):null});function ch(e){return e?parseInt(e,10):0}function cp(e,t){let n=e/t;return isNaN(n)?0:n}function cv(e){let t=cp(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function cm(e,t,n="ltr"){let r=cv(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-i,a=t.content-t.viewport,s=function(e,[t,n]){return Math.min(n,Math.max(t,e))}(e,"ltr"===n?[0,a]:[-1*a,0]),l=cg([0,a],[0,o-r]);return l(s)}function cg(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}let cy=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return!function i(){let o={left:e.scrollLeft,top:e.scrollTop},a=n.left!==o.left,s=n.top!==o.top;(a||s)&&t(),n=o,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function cb(e,t){let n=(0,ug.W)(e),r=(0,el.useRef)(0);return(0,el.useEffect)(()=>()=>window.clearTimeout(r.current),[]),(0,el.useCallback)(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function cx(e,t){let n=(0,ug.W)(t);(0,ey.b)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}let cw=el.forwardRef((e,t)=>{let{id:n,className:r,style:i,children:o,keyToResetScrollbars:a}=e;return(0,es.jsxs)(u3,{className:(0,eY.cx)("w-full h-full overflow-hidden",r),style:i,children:[(0,es.jsx)(u5,{id:n,ref:t,className:"w-full h-full [&>div]:!block [&>div]:!h-full",children:o}),(0,es.jsx)(u8,{orientation:"vertical",className:"z-10 flex select-none touch-none transition-colors hover:bg-black/20 w-1.5 m-px",children:(0,es.jsx)(cl,{className:(0,eY.cx)("flex-1 relative bg-gray-300 rounded",'before:content[""] before:absolute before:top-1/2 before:left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full')})},a?"v-".concat(a):void 0),(0,es.jsx)(u8,{orientation:"horizontal",className:"z-10 flex flex-col select-none touch-none transition-colors duration-1000 hover:bg-black/20 h-1 m-px",children:(0,es.jsx)(cl,{className:(0,eY.cx)("flex-1 relative bg-gray-300 rounded",'before:content[""] before:absolute before:top-1/2 before:left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full')})},a?"h-".concat(a):void 0),(0,es.jsx)(cf,{className:"bg-black/70"})]})}),c_=(0,eY.j)([lB,"z-20","overflow-hidden"],{variants:{variant:{default:"flex items-center justify-center w-full h-full",none:""}},defaultVariants:{variant:"default"}}),cE={show:{scale:[.95,1],transition:{duration:.1,ease:"easeOut"}},exit:{opacity:[1,0],scale:[1,.95],transition:{duration:.1,ease:"easeIn"}}},ck=el.forwardRef((e,t)=>{let{trigger:n,rootProps:r,open:i,onOpenChange:o,onSubmit:a,title:s,description:l,containerVariants:u,contentVariants:c,controls:f,children:d,bodyClassName:h,closeClassName:p,dynamicHeight:v=!0}=e,{open:m,onOpenChange:g}=lL({open:i,onOpenChange:o});return(0,es.jsxs)(uL.fC,{open:m,onOpenChange:g,...r,children:[n&&(0,es.jsx)(uL.xz,{asChild:!0,children:n}),(0,es.jsx)(n8,{children:m?(0,es.jsx)(uL.h_,{forceMount:!0,children:(0,es.jsx)(uL.VY,{asChild:!0,forceMount:!0,ref:t,children:(0,es.jsxs)("div",{className:"fixed w-full h-full top-0 left-0 z-20",children:[(0,es.jsx)(uL.aV,{onClick:()=>g(!1),className:"fixed z-10 top-0 right-0 bottom-0 left-0 inset-0 transition-opacity opacity-0 open:opacity-10 dark:open:opacity-20 bg-black"}),(0,es.jsx)(lD.div,{variants:cE,initial:"init",animate:"show",exit:"exit",className:c_(u),children:(0,es.jsx)(cO,{title:s,description:l,contentVariants:c,onSubmit:a,controls:f,bodyClassName:h,closeClassName:p,dynamicHeight:v,children:d})})]})})}):null})]})});function cj(e){let{className:t}=e;return(0,es.jsx)(uL.x8,{asChild:!0,type:"button",children:(0,es.jsx)("div",{className:(0,eY.cx)("appearance-none",t),children:(0,es.jsx)(lW,{size:"small",variant:"ghost",type:"button",children:(0,es.jsx)(uY,{})})})})}let cS=(0,eY.j)(["relative","z-40","overflow-hidden"],{variants:{variant:{default:[nO()],none:""}},defaultVariants:{variant:"default"}}),cO=el.forwardRef((e,t)=>{let{children:n,onSubmit:r,title:i,description:o,controls:a,contentVariants:s,closeClassName:l,bodyClassName:u,dynamicHeight:c=!0}=e,{ref:f,height:d}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],[t,n]=(0,el.useState)(0),r=(0,el.useRef)(null);return(0,el.useLayoutEffect)(()=>{if(!r.current)return;let e=r.current,t=()=>n(e.clientHeight);t(),r.current.addEventListener("resize",t);let i=new ResizeObserver(t);return i.observe(e),()=>{e.removeEventListener("resize",t),i.unobserve(e)}},e),{ref:r,height:t}}([n,o]),[h,p]=(0,el.useState)(!1);return(0,el.useEffect)(()=>{p(d>.7*window.innerHeight)},[d]),(0,es.jsxs)(r?"form":"div",{onSubmit:r,ref:t,className:cS(s),children:[i&&(0,es.jsx)(uL.Dx,{className:cC({showSeparator:h}),children:i}),(0,es.jsx)(cw,{style:{height:c?"".concat(d,"px"):void 0,maxHeight:c?"70vh":void 0},children:(0,es.jsxs)("div",{ref:f,className:(0,eY.cx)("p-4",u),children:[o&&(0,es.jsx)(uL.dk,{className:cA(),children:o}),n]})}),a&&(0,es.jsx)(cT,{separator:h,children:a}),(0,es.jsx)(cj,{className:l||"absolute top-3.5 right-2"})]})}),cC=(0,eY.j)(["pt-4 pb-2 px-4 w-full",nk({size:"20",weight:"semibold",font:"sans",color:"contrast"})],{variants:{showSeparator:{true:"border-b border-gray-200 dark:border-graydark-200"}}}),cA=(0,eY.j)([nk({color:"subtle",size:"14"}),"py-2"]);function cT(e){let{children:t,separator:n=!0}=e;return(0,es.jsx)("div",{className:(0,eY.cx)("py-2 mx-3",n?"border-t border-gray-200 dark:border-graydark-200":""),children:t})}var cM=n(55070),cP=n(77334);let cN="rovingFocusGroup.onEntryFocus",cR={bubbles:!1,cancelable:!0},cD="RovingFocusGroup",[cL,cF,cI]=ep(cD),[cz,cV]=(0,ef.b)(cD,[cI]),[cB,cZ]=cz(cD),cU=(0,el.forwardRef)((e,t)=>(0,el.createElement)(cL.Provider,{scope:e.__scopeRovingFocusGroup},(0,el.createElement)(cL.Slot,{scope:e.__scopeRovingFocusGroup},(0,el.createElement)(cH,(0,ec.Z)({},e,{ref:t}))))),cH=(0,el.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,f=(0,el.useRef)(null),d=(0,ed.e)(t,f),h=uQ(o),[p=null,v]=(0,em.T)({prop:a,defaultProp:s,onChange:l}),[m,g]=(0,el.useState)(!1),y=(0,ug.W)(u),b=cF(n),x=(0,el.useRef)(!1);return(0,el.useEffect)(()=>{let e=f.current;if(e)return e.addEventListener(cN,y),()=>e.removeEventListener(cN,y)},[y]),(0,el.createElement)(cB,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:p,onItemFocus:(0,el.useCallback)(e=>v(e),[v]),onItemShiftTab:(0,el.useCallback)(()=>g(!0),[])},(0,el.createElement)(eg.WV.div,(0,ec.Z)({tabIndex:m?-1:0,"data-orientation":r},c,{ref:d,style:{outline:"none",...e.style},onMouseDown:(0,ev.M)(e.onMouseDown,()=>{x.current=!0}),onFocus:(0,ev.M)(e.onFocus,e=>{let t=!x.current;if(e.target===e.currentTarget&&t&&!m){let n=new CustomEvent(cN,cR);if(e.currentTarget.dispatchEvent(n),!n.defaultPrevented){let r=b().filter(e=>e.focusable),i=r.find(e=>e.active),o=r.find(e=>e.id===p),a=[i,o,...r].filter(Boolean),s=a.map(e=>e.ref.current);c$(s)}}x.current=!1}),onBlur:(0,ev.M)(e.onBlur,()=>g(!1))})))}),cW=(0,el.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=(0,ex.M)(),s=cZ("RovingFocusGroupItem",n),l=s.currentTabStopId===a,u=cF(n);return(0,el.createElement)(cL.ItemSlot,{scope:n,id:a,focusable:r,active:i},(0,el.createElement)(eg.WV.span,(0,ec.Z)({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:(0,ev.M)(e.onMouseDown,e=>{r?s.onItemFocus(a):e.preventDefault()}),onFocus:(0,ev.M)(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:(0,ev.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){s.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return cq[i]}(e,s.orientation,s.dir);if(void 0!==t){e.preventDefault();let n=u().filter(e=>e.focusable),r=n.map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){var i,o;"prev"===t&&r.reverse();let a=r.indexOf(e.currentTarget);r=s.loop?(i=r,o=a+1,i.map((e,t)=>i[(o+t)%i.length])):r.slice(a+1)}setTimeout(()=>c$(r))}})})))}),cq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function c$(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}var cY=n(49732),cG=n(70506);let cK=["Enter"," "],cX=["ArrowUp","PageDown","End"],cQ=["ArrowDown","PageUp","Home",...cX],cJ={ltr:[...cK,"ArrowRight"],rtl:[...cK,"ArrowLeft"]},c0={ltr:["ArrowLeft"],rtl:["ArrowRight"]},c1="Menu",[c2,c4,c3]=ep(c1),[c5,c6]=(0,ef.b)(c1,[c3,tq,cV]),c8=tq(),c7=cV(),[c9,fe]=c5(c1),[ft,fn]=c5(c1),fr=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=c8(t),[l,u]=(0,el.useState)(null),c=(0,el.useRef)(!1),f=(0,ug.W)(o),d=uQ(i);return(0,el.useEffect)(()=>{let e=()=>{c.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>c.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,el.createElement)(tG,s,(0,el.createElement)(c9,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u},(0,el.createElement)(ft,{scope:t,onClose:(0,el.useCallback)(()=>f(!1),[f]),isUsingKeyboardRef:c,dir:d,modal:a},r)))},fi=(0,el.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e,i=c8(n);return(0,el.createElement)(tK,(0,ec.Z)({},i,r,{ref:t}))}),fo="MenuPortal",[fa,fs]=c5(fo,{forceMount:void 0}),fl=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=fe(fo,t);return(0,el.createElement)(fa,{scope:t,forceMount:n},(0,el.createElement)(eb.z,{present:n||o.open},(0,el.createElement)(t9.h,{asChild:!0,container:i},r)))},fu="MenuContent",[fc,ff]=c5(fu),fd=(0,el.forwardRef)((e,t)=>{let n=fs(fu,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=fe(fu,e.__scopeMenu),a=fn(fu,e.__scopeMenu);return(0,el.createElement)(c2.Provider,{scope:e.__scopeMenu},(0,el.createElement)(eb.z,{present:r||o.open},(0,el.createElement)(c2.Slot,{scope:e.__scopeMenu},a.modal?(0,el.createElement)(fh,(0,ec.Z)({},i,{ref:t})):(0,el.createElement)(fp,(0,ec.Z)({},i,{ref:t})))))}),fh=(0,el.forwardRef)((e,t)=>{let n=fe(fu,e.__scopeMenu),r=(0,el.useRef)(null),i=(0,ed.e)(t,r);return(0,el.useEffect)(()=>{let e=r.current;if(e)return(0,cY.R)(e)},[]),(0,el.createElement)(fv,(0,ec.Z)({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,ev.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),fp=(0,el.forwardRef)((e,t)=>{let n=fe(fu,e.__scopeMenu);return(0,el.createElement)(fv,(0,ec.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),fv=(0,el.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:d,disableOutsideScroll:h,...p}=e,v=fe(fu,n),m=fn(fu,n),g=c8(n),y=c7(n),b=c4(n),[x,w]=(0,el.useState)(null),_=(0,el.useRef)(null),E=(0,ed.e)(t,_,v.onContentChange),k=(0,el.useRef)(0),j=(0,el.useRef)(""),S=(0,el.useRef)(0),O=(0,el.useRef)(null),C=(0,el.useRef)("right"),A=(0,el.useRef)(0),T=h?cG.Z:el.Fragment,M=h?{as:eh.g7,allowPinchZoom:!0}:void 0,P=e=>{var t,n;let r=j.current+e,i=b().filter(e=>!e.disabled),o=document.activeElement,a=null===(t=i.find(e=>e.ref.current===o))||void 0===t?void 0:t.textValue,s=i.map(e=>e.textValue),l=function(e,t,n){var r;let i=t.length>1&&Array.from(t).every(e=>e===t[0]),o=i?t[0]:t,a=n?e.indexOf(n):-1,s=(r=Math.max(a,0),e.map((t,n)=>e[(r+n)%e.length])),l=1===o.length;l&&(s=s.filter(e=>e!==n));let u=s.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}(s,r,a),u=null===(n=i.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;!function e(t){j.current=t,window.clearTimeout(k.current),""!==t&&(k.current=window.setTimeout(()=>e(""),1e3))}(r),u&&setTimeout(()=>u.focus())};(0,el.useEffect)(()=>()=>window.clearTimeout(k.current),[]),(0,cM.EW)();let N=(0,el.useCallback)(e=>{var t,n;let r=C.current===(null===(t=O.current)||void 0===t?void 0:t.side);return r&&function(e,t){if(!t)return!1;let n={x:e.clientX,y:e.clientY};return function(e,t){let{x:n,y:r}=e,i=!1;for(let o=0,a=t.length-1;or!=c>r&&n<(u-s)*(r-l)/(c-l)+s;f&&(i=!i)}return i}(n,t)}(e,null===(n=O.current)||void 0===n?void 0:n.area)},[]);return(0,el.createElement)(fc,{scope:n,searchRef:j,onItemEnter:(0,el.useCallback)(e=>{N(e)&&e.preventDefault()},[N]),onItemLeave:(0,el.useCallback)(e=>{var t;N(e)||(null===(t=_.current)||void 0===t||t.focus(),w(null))},[N]),onTriggerLeave:(0,el.useCallback)(e=>{N(e)&&e.preventDefault()},[N]),pointerGraceTimerRef:S,onPointerGraceIntentChange:(0,el.useCallback)(e=>{O.current=e},[])},(0,el.createElement)(T,M,(0,el.createElement)(cP.M,{asChild:!0,trapped:i,onMountAutoFocus:(0,ev.M)(o,e=>{var t;e.preventDefault(),null===(t=_.current)||void 0===t||t.focus()}),onUnmountAutoFocus:a},(0,el.createElement)(eG.XB,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:d},(0,el.createElement)(cU,(0,ec.Z)({asChild:!0},y,{dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:w,onEntryFocus:e=>{m.isUsingKeyboardRef.current||e.preventDefault()}}),(0,el.createElement)(t2,(0,ec.Z)({role:"menu","aria-orientation":"vertical","data-state":fT(v.open),dir:m.dir},g,p,{ref:E,style:{outline:"none",...p.style},onKeyDown:(0,ev.M)(p.onKeyDown,e=>{let t=e.target,n=t.closest('[role="menu"]')===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,i=1===e.key.length;n&&("Tab"===e.key&&e.preventDefault(),!r&&i&&P(e.key));let o=_.current;if(e.target!==o||!cQ.includes(e.key))return;e.preventDefault();let a=b().filter(e=>!e.disabled),s=a.map(e=>e.ref.current);cX.includes(e.key)&&s.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(s)}),onBlur:(0,ev.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(k.current),j.current="")}),onPointerMove:(0,ev.M)(e.onPointerMove,fP(e=>{let t=e.target,n=A.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let r=e.clientX>A.current?"right":"left";C.current=r,A.current=e.clientX}}))})))))))}),fm=(0,el.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,el.createElement)(eg.WV.div,(0,ec.Z)({role:"group"},r,{ref:t}))}),fg=(0,el.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,el.createElement)(eg.WV.div,(0,ec.Z)({},r,{ref:t}))}),fy="MenuItem",fb="menu.itemSelect",fx=(0,el.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,o=(0,el.useRef)(null),a=fn(fy,e.__scopeMenu),s=ff(fy,e.__scopeMenu),l=(0,ed.e)(t,o),u=(0,el.useRef)(!1),c=()=>{let e=o.current;if(!n&&e){let t=new CustomEvent(fb,{bubbles:!0,cancelable:!0});e.addEventListener(fb,e=>null==r?void 0:r(e),{once:!0}),(0,eg.jH)(e,t),t.defaultPrevented?u.current=!1:a.onClose()}};return(0,el.createElement)(fw,(0,ec.Z)({},i,{ref:l,disabled:n,onClick:(0,ev.M)(e.onClick,c),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),u.current=!0},onPointerUp:(0,ev.M)(e.onPointerUp,e=>{var t;u.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,ev.M)(e.onKeyDown,e=>{let t=""!==s.searchRef.current;!n&&(!t||" "!==e.key)&&cK.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),fw=(0,el.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=ff(fy,n),s=c7(n),l=(0,el.useRef)(null),u=(0,ed.e)(t,l),[c,f]=(0,el.useState)(!1),[d,h]=(0,el.useState)("");return(0,el.useEffect)(()=>{let e=l.current;if(e){var t;h((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[o.children]),(0,el.createElement)(c2.ItemSlot,{scope:n,disabled:r,textValue:null!=i?i:d},(0,el.createElement)(cW,(0,ec.Z)({asChild:!0},s,{focusable:!r}),(0,el.createElement)(eg.WV.div,(0,ec.Z)({role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:(0,ev.M)(e.onPointerMove,fP(e=>{if(r)a.onItemLeave(e);else if(a.onItemEnter(e),!e.defaultPrevented){let t=e.currentTarget;t.focus()}})),onPointerLeave:(0,ev.M)(e.onPointerLeave,fP(e=>a.onItemLeave(e))),onFocus:(0,ev.M)(e.onFocus,()=>f(!0)),onBlur:(0,ev.M)(e.onBlur,()=>f(!1))}))))}),[f_,fE]=((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,el.createElement)(fj,{scope:e.__scopeMenu,checked:n},(0,el.createElement)(fx,(0,ec.Z)({role:"menuitemcheckbox","aria-checked":n},i,{ref:t,"data-state":fM(n),onSelect:(0,ev.M)(i.onSelect,()=>null==r?void 0:r(!n),{checkForDefaultPrevented:!1})})))},c5("MenuRadioGroup",{value:void 0,onValueChange:()=>{}})),fk=((e,t)=>{let{value:n,onValueChange:r,...i}=e,o=(0,ug.W)(r);return(0,el.createElement)(f_,{scope:e.__scopeMenu,value:n,onValueChange:o},(0,el.createElement)(fm,(0,ec.Z)({},i,{ref:t})))},"MenuItemIndicator"),[fj,fS]=c5(fk,{checked:!1}),[fO,fC]=((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,o=fS(fk,n);return(0,el.createElement)(eb.z,{present:r||o.checked},(0,el.createElement)(eg.WV.span,(0,ec.Z)({},i,{ref:t,"data-state":fM(o.checked)})))},c5("MenuSub")),fA="MenuSubTrigger";function fT(e){return e?"open":"closed"}function fM(e){return e?"checked":"unchecked"}function fP(e){return t=>"mouse"===t.pointerType?e(t):void 0}(e,t)=>{let n=fe(fA,e.__scopeMenu),r=fn(fA,e.__scopeMenu),i=fC(fA,e.__scopeMenu),o=ff(fA,e.__scopeMenu),a=(0,el.useRef)(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=o,u={__scopeMenu:e.__scopeMenu},c=(0,el.useCallback)(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return(0,el.useEffect)(()=>c,[c]),(0,el.useEffect)(()=>{let e=s.current;return()=>{window.clearTimeout(e),l(null)}},[s,l]),(0,el.createElement)(fi,(0,ec.Z)({asChild:!0},u),(0,el.createElement)(fw,(0,ec.Z)({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":fT(n.open)},e,{ref:(0,ed.F)(t,i.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,ev.M)(e.onPointerMove,fP(t=>{o.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||a.current||(o.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),c()},100))})),onPointerLeave:(0,ev.M)(e.onPointerLeave,fP(e=>{var t,r;c();let i=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(i){let a=null===(r=n.content)||void 0===r?void 0:r.dataset.side,l="right"===a,u=i[l?"left":"right"],f=i[l?"right":"left"];o.onPointerGraceIntentChange({area:[{x:e.clientX+(l?-5:5),y:e.clientY},{x:u,y:i.top},{x:f,y:i.top},{x:f,y:i.bottom},{x:u,y:i.bottom}],side:a}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(e),e.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:(0,ev.M)(e.onKeyDown,t=>{let i=""!==o.searchRef.current;if(!e.disabled&&(!i||" "!==t.key)&&cJ[r.dir].includes(t.key)){var a;n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault()}})})))},(e,t)=>{let n=fs(fu,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=fe(fu,e.__scopeMenu),a=fn(fu,e.__scopeMenu),s=fC("MenuSubContent",e.__scopeMenu),l=(0,el.useRef)(null),u=(0,ed.e)(t,l);return(0,el.createElement)(c2.Provider,{scope:e.__scopeMenu},(0,el.createElement)(eb.z,{present:r||o.open},(0,el.createElement)(c2.Slot,{scope:e.__scopeMenu},(0,el.createElement)(fv,(0,ec.Z)({id:s.contentId,"aria-labelledby":s.triggerId},i,{ref:u,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;a.isUsingKeyboardRef.current&&(null===(t=l.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,ev.M)(e.onFocusOutside,e=>{e.target!==s.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:(0,ev.M)(e.onEscapeKeyDown,a.onClose),onKeyDown:(0,ev.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=c0[a.dir].includes(e.key);if(t&&n){var r;o.onOpenChange(!1),null===(r=s.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))};let fN="DropdownMenu",[fR,fD]=(0,ef.b)(fN,[c6]),fL=c6(),[fF,fI]=fR(fN),fz=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,l=fL(t),u=(0,el.useRef)(null),[c=!1,f]=(0,em.T)({prop:i,defaultProp:o,onChange:a});return(0,el.createElement)(fF,{scope:t,triggerId:(0,ex.M)(),triggerRef:u,contentId:(0,ex.M)(),open:c,onOpenChange:f,onOpenToggle:(0,el.useCallback)(()=>f(e=>!e),[f]),modal:s},(0,el.createElement)(fr,(0,ec.Z)({},l,{open:c,onOpenChange:f,dir:r,modal:s}),n))},fV=(0,el.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,o=fI("DropdownMenuTrigger",n),a=fL(n);return(0,el.createElement)(fi,(0,ec.Z)({asChild:!0},a),(0,el.createElement)(eg.WV.button,(0,ec.Z)({type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":!!o.open||void 0,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},i,{ref:(0,ed.F)(t,o.triggerRef),onPointerDown:(0,ev.M)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(o.onOpenToggle(),o.open||e.preventDefault())}),onKeyDown:(0,ev.M)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&o.onOpenToggle(),"ArrowDown"===e.key&&o.onOpenChange(!0),[" ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),fB=e=>{let{__scopeDropdownMenu:t,...n}=e,r=fL(t);return(0,el.createElement)(fl,(0,ec.Z)({},r,n))},fZ=(0,el.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI("DropdownMenuContent",n),o=fL(n),a=(0,el.useRef)(!1);return(0,el.createElement)(fd,(0,ec.Z)({id:i.contentId,"aria-labelledby":i.triggerId},o,r,{ref:t,onCloseAutoFocus:(0,ev.M)(e.onCloseAutoFocus,e=>{var t;a.current||null===(t=i.triggerRef.current)||void 0===t||t.focus(),a.current=!1,e.preventDefault()}),onInteractOutside:(0,ev.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!i.modal||r)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)"}}))}),fU=(0,el.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fL(n);return(0,el.createElement)(fg,(0,ec.Z)({},i,r,{ref:t}))}),fH=(0,el.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fL(n);return(0,el.createElement)(fx,(0,ec.Z)({},i,r,{ref:t}))}),fW="horizontal",fq=["horizontal","vertical"],f$=(0,el.forwardRef)((e,t)=>{let{decorative:n,orientation:r=fW,...i}=e,o=fY(r)?r:fW;return(0,el.createElement)(eg.WV.div,(0,ec.Z)({"data-orientation":o},n?{role:"none"}:{"aria-orientation":"vertical"===o?o:void 0,role:"separator"},i,{ref:t}))});function fY(e){return fq.includes(e)}f$.propTypes={orientation(e,t,n){let r=e[t],i=String(r);return r&&!fY(r)?Error(`Invalid prop \`orientation\` of value \`${i}\` supplied to \`${n}\`, expected one of: + `), () => { document.head.removeChild(l) } + }, [t]), el.createElement(nQ, { isPresent: t, childRef: r, sizeRef: i }, el.cloneElement(e, { ref: r })) + } let n0 = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: o, mode: a }) => { let s = nX(n1), l = (0, el.useId)(), u = (0, el.useMemo)(() => ({ id: l, initial: t, isPresent: n, custom: i, onExitComplete: e => { for (let t of (s.set(e, !0), s.values())) if (!t) return; r && r() }, register: e => (s.set(e, !1), () => s.delete(e)) }), o ? void 0 : [n]); return (0, el.useMemo)(() => { s.forEach((e, t) => s.set(t, !1)) }, [n]), el.useEffect(() => { n || s.size || !r || r() }, [n]), "popLayout" === a && (e = el.createElement(nJ, { isPresent: n }, e)), el.createElement(nK.Provider, { value: u }, e) }; function n1() { return new Map } let n2 = (0, el.createContext)({}); function n4(e) { return (0, el.useEffect)(() => () => e(), []) } let n3 = new Set; function n5(e, t, n) { e || n3.has(t) || (console.warn(t), n && console.warn(n), n3.add(t)) } let n6 = e => e.key || "", n8 = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, exitBeforeEnter: i, presenceAffectsLayout: o = !0, mode: a = "sync" }) => { i && (a = "wait", n5(!1, "Replace exitBeforeEnter with mode='wait'")); let [s] = function() { let e = nG(), [t, n] = (0, el.useState)(0), r = (0, el.useCallback)(() => { e.current && n(t + 1) }, [t]), i = (0, el.useCallback)(() => nV.postRender(r), [r]); return [i, t] }(), l = (0, el.useContext)(n2).forceRender; l && (s = l); let u = nG(), c = function(e) { let t = []; return el.Children.forEach(e, e => { (0, el.isValidElement)(e) && t.push(e) }), t }(e), f = c, d = new Set, h = (0, el.useRef)(f), p = (0, el.useRef)(new Map).current, v = (0, el.useRef)(!0); if (nY(() => { v.current = !1, function(e, t) { e.forEach(e => { let n = n6(e); t.set(n, e) }) }(c, p), h.current = f }), n4(() => { v.current = !0, p.clear(), d.clear() }), v.current) return el.createElement(el.Fragment, null, f.map(e => el.createElement(n0, { key: n6(e), isPresent: !0, initial: !!n && void 0, presenceAffectsLayout: o, mode: a }, e))); f = [...f]; let m = h.current.map(n6), g = c.map(n6), y = m.length; for (let b = 0; b < y; b++) { let x = m[b]; -1 === g.indexOf(x) && d.add(x) } return "wait" === a && d.size && (f = []), d.forEach(e => { if (-1 !== g.indexOf(e)) return; let n = p.get(e); if (!n) return; let i = m.indexOf(e), l = () => { p.delete(e), d.delete(e); let t = h.current.findIndex(t => t.key === e); if (h.current.splice(t, 1), !d.size) { if (h.current = c, !1 === u.current) return; s(), r && r() } }; f.splice(i, 0, el.createElement(n0, { key: n6(n), isPresent: !1, onExitComplete: l, custom: t, presenceAffectsLayout: o, mode: a }, n)) }), f = f.map(e => { let t = e.key; return d.has(t) ? e : el.createElement(n0, { key: n6(e), isPresent: !0, presenceAffectsLayout: o, mode: a }, e) }), "production" !== nT && "wait" === a && f.length > 1 && console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'), el.createElement(el.Fragment, null, d.size ? f : f.map(e => (0, el.cloneElement)(e))) }, n7 = (0, el.createContext)({ transformPagePoint: e => e, isStatic: !1, reducedMotion: "never" }), n9 = (0, el.createContext)({}), re = (0, el.createContext)({ strict: !1 }); function rt(e) { return "object" == typeof e && Object.prototype.hasOwnProperty.call(e, "current") } function rn(e) { return "string" == typeof e || Array.isArray(e) } function rr(e) { return "object" == typeof e && "function" == typeof e.start } let ri = ["initial", "animate", "exit", "whileHover", "whileDrag", "whileTap", "whileFocus", "whileInView"]; function ro(e) { return rr(e.animate) || ri.some(t => rn(e[t])) } function ra(e) { return Boolean(ro(e) || e.variants) } function rs(e) { return Array.isArray(e) ? e.join(" ") : e } let rl = e => ({ isEnabled: t => e.some(e => !!t[e]) }), ru = { measureLayout: rl(["layout", "layoutId", "drag"]), animation: rl(["animate", "exit", "variants", "whileHover", "whileTap", "whileFocus", "whileDrag", "whileInView"]), exit: rl(["exit"]), drag: rl(["drag", "dragControls"]), focus: rl(["whileFocus"]), hover: rl(["whileHover", "onHoverStart", "onHoverEnd"]), tap: rl(["whileTap", "onTap", "onTapStart", "onTapCancel"]), pan: rl(["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"]), inView: rl(["whileInView", "onViewportEnter", "onViewportLeave"]) }, rc = { hasAnimatedSinceResize: !0, hasEverUpdated: !1 }, rf = 1; class rd extends el.Component { getSnapshotBeforeUpdate() { let { visualElement: e, props: t } = this.props; return e && e.setProps(t), null } componentDidUpdate() { } render() { return this.props.children } } let rh = (0, el.createContext)({}), rp = Symbol.for("motionComponentSymbol"), rv = ["animate", "circle", "defs", "desc", "ellipse", "g", "image", "line", "filter", "marker", "mask", "metadata", "path", "pattern", "polygon", "polyline", "rect", "stop", "svg", "switch", "symbol", "text", "tspan", "use", "view"]; function rm(e) { if ("string" != typeof e || e.includes("-")); else if (rv.indexOf(e) > -1 || /[A-Z]/.test(e)) return !0; return !1 } let rg = {}, ry = ["transformPerspective", "x", "y", "z", "translateX", "translateY", "translateZ", "scale", "scaleX", "scaleY", "rotate", "rotateX", "rotateY", "rotateZ", "skew", "skewX", "skewY"], rb = new Set(ry); function rx(e, { layout: t, layoutId: n }) { return rb.has(e) || e.startsWith("origin") || (t || void 0 !== n) && (!!rg[e] || "opacity" === e) } let rw = e => !!(null == e ? void 0 : e.getVelocity), r_ = { x: "translateX", y: "translateY", z: "translateZ", transformPerspective: "perspective" }, rE = (e, t) => ry.indexOf(e) - ry.indexOf(t); function rk(e) { return e.startsWith("--") } let rj = (e, t) => t && "number" == typeof e ? t.transform(e) : e, rS = (e, t) => n => Math.max(Math.min(n, t), e), rO = e => e % 1 ? Number(e.toFixed(5)) : e, rC = /(-)?([\d]*\.?[\d])+/g, rA = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, rT = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i; function rM(e) { return "string" == typeof e } let rP = e => ({ test: t => rM(t) && t.endsWith(e) && 1 === t.split(" ").length, parse: parseFloat, transform: t => `${t}${e}` }), rN = rP("deg"), rR = rP("%"), rD = rP("px"), rL = rP("vh"), rF = rP("vw"), rI = Object.assign(Object.assign({}, rR), { parse: e => rR.parse(e) / 100, transform: e => rR.transform(100 * e) }), rz = { test: e => "number" == typeof e, parse: parseFloat, transform: e => e }, rV = Object.assign(Object.assign({}, rz), { transform: rS(0, 1) }), rB = Object.assign(Object.assign({}, rz), { default: 1 }), rZ = { ...rz, transform: Math.round }, rU = { borderWidth: rD, borderTopWidth: rD, borderRightWidth: rD, borderBottomWidth: rD, borderLeftWidth: rD, borderRadius: rD, radius: rD, borderTopLeftRadius: rD, borderTopRightRadius: rD, borderBottomRightRadius: rD, borderBottomLeftRadius: rD, width: rD, maxWidth: rD, height: rD, maxHeight: rD, size: rD, top: rD, right: rD, bottom: rD, left: rD, padding: rD, paddingTop: rD, paddingRight: rD, paddingBottom: rD, paddingLeft: rD, margin: rD, marginTop: rD, marginRight: rD, marginBottom: rD, marginLeft: rD, rotate: rN, rotateX: rN, rotateY: rN, rotateZ: rN, scale: rB, scaleX: rB, scaleY: rB, scaleZ: rB, skew: rN, skewX: rN, skewY: rN, distance: rD, translateX: rD, translateY: rD, translateZ: rD, x: rD, y: rD, z: rD, perspective: rD, transformPerspective: rD, opacity: rV, originX: rI, originY: rI, originZ: rD, zIndex: rZ, fillOpacity: rV, strokeOpacity: rV, numOctaves: rZ }; function rH(e, t, n, r) { let { style: i, vars: o, transform: a, transformKeys: s, transformOrigin: l } = e; s.length = 0; let u = !1, c = !1, f = !0; for (let d in t) { let h = t[d]; if (rk(d)) { o[d] = h; continue } let p = rU[d], v = rj(h, p); if (rb.has(d)) { if (u = !0, a[d] = v, s.push(d), !f) continue; h !== (p.default || 0) && (f = !1) } else d.startsWith("origin") ? (c = !0, l[d] = v) : i[d] = v } if (!t.transform && (u || r ? i.transform = function({ transform: e, transformKeys: t }, { enableHardwareAcceleration: n = !0, allowTransformNone: r = !0 }, i, o) { let a = ""; for (let s of (t.sort(rE), t)) a += `${r_[s] || s}(${e[s]}) `; return n && !e.z && (a += "translateZ(0)"), a = a.trim(), o ? a = o(e, i ? "" : a) : r && i && (a = "none"), a }(e, n, f, r) : i.transform && (i.transform = "none")), c) { let { originX: m = "50%", originY: g = "50%", originZ: y = 0 } = l; i.transformOrigin = `${m} ${g} ${y}` } } let rW = () => ({ style: {}, transform: {}, transformKeys: [], transformOrigin: {}, vars: {} }); function rq(e, t, n) { for (let r in t) rw(t[r]) || rx(r, n) || (e[r] = t[r]) } function r$(e, t, n) { let r = {}, i = function(e, t, n) { let r = e.style || {}, i = {}; return rq(i, r, e), Object.assign(i, function({ transformTemplate: e }, t, n) { return (0, el.useMemo)(() => { let r = rW(); return rH(r, t, { enableHardwareAcceleration: !n }, e), Object.assign({}, r.vars, r.style) }, [t]) }(e, t, n)), e.transformValues ? e.transformValues(i) : i }(e, t, n); return e.drag && !1 !== e.dragListener && (r.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = !0 === e.drag ? "none" : `pan-${"x" === e.drag ? "y" : "x"}`), r.style = i, r } let rY = new Set(["initial", "style", "values", "variants", "transition", "transformTemplate", "transformValues", "custom", "inherit", "layout", "layoutId", "layoutDependency", "onLayoutAnimationStart", "onLayoutAnimationComplete", "onLayoutMeasure", "onBeforeLayoutMeasure", "onAnimationStart", "onAnimationComplete", "onUpdate", "onDragStart", "onDrag", "onDragEnd", "onMeasureDragConstraints", "onDirectionLock", "onDragTransitionEnd", "drag", "dragControls", "dragListener", "dragConstraints", "dragDirectionLock", "dragSnapToOrigin", "_dragX", "_dragY", "dragElastic", "dragMomentum", "dragPropagation", "dragTransition", "onHoverStart", "onHoverEnd", "layoutScroll", "whileInView", "onViewportEnter", "onViewportLeave", "viewport", "whileTap", "onTap", "onTapStart", "onTapCancel", "animate", "exit", "variants", "whileHover", "whileTap", "whileFocus", "whileDrag", "whileInView", "onPan", "onPanStart", "onPanSessionStart", "onPanEnd"]); function rG(e) { return rY.has(e) } let rK = e => !rG(e); try { (kw = require("@emotion/is-prop-valid").default) && (rK = e => e.startsWith("on") ? !rG(e) : kw(e)) } catch (rX) { } function rQ(e, t, n) { return "string" == typeof e ? e : rD.transform(t + n * e) } let rJ = { offset: "stroke-dashoffset", array: "stroke-dasharray" }, r0 = { offset: "strokeDashoffset", array: "strokeDasharray" }; function r1(e, { attrX: t, attrY: n, originX: r, originY: i, pathLength: o, pathSpacing: a = 1, pathOffset: s = 0, ...l }, u, c) { rH(e, l, u, c), e.attrs = e.style, e.style = {}; let { attrs: f, style: d, dimensions: h } = e; f.transform && (h && (d.transform = f.transform), delete f.transform), h && (void 0 !== r || void 0 !== i || d.transform) && (d.transformOrigin = function(e, t, n) { let r = rQ(t, e.x, e.width), i = rQ(n, e.y, e.height); return `${r} ${i}` }(h, void 0 !== r ? r : .5, void 0 !== i ? i : .5)), void 0 !== t && (f.x = t), void 0 !== n && (f.y = n), void 0 !== o && function(e, t, n = 1, r = 0, i = !0) { e.pathLength = 1; let o = i ? rJ : r0; e[o.offset] = rD.transform(-r); let a = rD.transform(t), s = rD.transform(n); e[o.array] = `${a} ${s}` }(f, o, a, s, !1) } let r2 = () => ({ ...rW(), attrs: {} }); function r4(e, t) { let n = (0, el.useMemo)(() => { let n = r2(); return r1(n, t, { enableHardwareAcceleration: !1 }, e.transformTemplate), { ...n.attrs, style: { ...n.style } } }, [t]); if (e.style) { let r = {}; rq(r, e.style, e), n.style = { ...r, ...n.style } } return n } let r3 = e => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); function r5(e, { style: t, vars: n }, r, i) { for (let o in Object.assign(e.style, t, i && i.getProjectionStyles(r)), n) e.style.setProperty(o, n[o]) } let r6 = new Set(["baseFrequency", "diffuseConstant", "kernelMatrix", "kernelUnitLength", "keySplines", "keyTimes", "limitingConeAngle", "markerHeight", "markerWidth", "numOctaves", "targetX", "targetY", "surfaceScale", "specularConstant", "specularExponent", "stdDeviation", "tableValues", "viewBox", "gradientTransform", "pathLength"]); function r8(e, t, n, r) { for (let i in r5(e, t, void 0, r), t.attrs) e.setAttribute(r6.has(i) ? i : r3(i), t.attrs[i]) } function r7(e) { let { style: t } = e, n = {}; for (let r in t) (rw(t[r]) || rx(r, e)) && (n[r] = t[r]); return n } function r9(e) { let t = r7(e); for (let n in e) if (rw(e[n])) { let r = "x" === n || "y" === n ? "attr" + n.toUpperCase() : n; t[r] = e[n] } return t } function ie(e, t, n, r = {}, i = {}) { return "function" == typeof t && (t = t(void 0 !== n ? n : e.custom, r, i)), "string" == typeof t && (t = e.variants && e.variants[t]), "function" == typeof t && (t = t(void 0 !== n ? n : e.custom, r, i)), t } let it = e => Array.isArray(e), ir = e => Boolean(e && "object" == typeof e && e.mix && e.toValue), ii = e => it(e) ? e[e.length - 1] || 0 : e; function io(e) { let t = rw(e) ? e.get() : e; return ir(t) ? t.toValue() : t } let ia = e => (t, n) => { let r = (0, el.useContext)(n9), i = (0, el.useContext)(nK), o = () => (function({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }, r, i, o) { let a = { latestValues: function(e, t, n, r) { let i = {}, o = r(e); for (let a in o) i[a] = io(o[a]); let { initial: s, animate: l } = e, u = ro(e), c = ra(e); t && c && !u && !1 !== e.inherit && (void 0 === s && (s = t.initial), void 0 === l && (l = t.animate)); let f = !!n && !1 === n.initial; f = f || !1 === s; let d = f ? l : s; if (d && "boolean" != typeof d && !rr(d)) { let h = Array.isArray(d) ? d : [d]; h.forEach(t => { let n = ie(e, t); if (!n) return; let { transitionEnd: r, transition: o, ...a } = n; for (let s in a) { let l = a[s]; if (Array.isArray(l)) { let u = f ? l.length - 1 : 0; l = l[u] } null !== l && (i[s] = l) } for (let c in r) i[c] = r[c] }) } return i }(r, i, o, e), renderState: t() }; return n && (a.mount = e => n(r, e, a)), a })(e, t, r, i); return n ? o() : nX(o) }, is = { useVisualState: ia({ scrapeMotionValuesFromProps: r9, createRenderState: r2, onMount: (e, t, { renderState: n, latestValues: r }) => { try { n.dimensions = "function" == typeof t.getBBox ? t.getBBox() : t.getBoundingClientRect() } catch (i) { n.dimensions = { x: 0, y: 0, width: 0, height: 0 } } r1(n, r, { enableHardwareAcceleration: !1 }, e.transformTemplate), r8(t, n) } }) }, il = { useVisualState: ia({ scrapeMotionValuesFromProps: r7, createRenderState: rW }) }; function iu(e, t, n, r = { passive: !0 }) { return e.addEventListener(t, n, r), () => e.removeEventListener(t, n) } function ic(e, t, n, r) { (0, el.useEffect)(() => { let i = e.current; if (n && i) return iu(i, t, n, r) }, [e, t, n, r]) } function id(e) { return "undefined" != typeof PointerEvent && e instanceof PointerEvent ? !("mouse" !== e.pointerType) : e instanceof MouseEvent } function ih(e) { let t = !!e.touches; return t } (k_ = kO || (kO = {})).Animate = "animate", k_.Hover = "whileHover", k_.Tap = "whileTap", k_.Drag = "whileDrag", k_.Focus = "whileFocus", k_.InView = "whileInView", k_.Exit = "exit"; let ip = { pageX: 0, pageY: 0 }; function iv(e, t = "page") { return { point: ih(e) ? function(e, t = "page") { let n = e.touches[0] || e.changedTouches[0], r = n || ip; return { x: r[t + "X"], y: r[t + "Y"] } }(e, t) : function(e, t = "page") { return { x: e[t + "X"], y: e[t + "Y"] } }(e, t) } } let im = (e, t = !1) => { let n = t => e(t, iv(t)); return t ? e => { let t = e instanceof MouseEvent, r = !t || t && 0 === e.button; r && n(e) } : n }, ig = () => n$ && null === window.onpointerdown, iy = () => n$ && null === window.ontouchstart, ib = () => n$ && null === window.onmousedown, ix = { pointerdown: "mousedown", pointermove: "mousemove", pointerup: "mouseup", pointercancel: "mousecancel", pointerover: "mouseover", pointerout: "mouseout", pointerenter: "mouseenter", pointerleave: "mouseleave" }, iw = { pointerdown: "touchstart", pointermove: "touchmove", pointerup: "touchend", pointercancel: "touchcancel" }; function i_(e) { if (ig()); else if (iy()) return iw[e]; else if (ib()) return ix[e]; return e } function iE(e, t, n, r) { return iu(e, i_(t), im(n, "pointerdown" === t), r) } function ik(e, t, n, r) { return ic(e, i_(t), n && im(n, "pointerdown" === t), r) } function ij(e) { let t = null; return () => { let n = () => { t = null }; return null === t && (t = e, n) } } let iS = ij("dragHorizontal"), iO = ij("dragVertical"); function iC(e) { let t = !1; if ("y" === e) t = iO(); else if ("x" === e) t = iS(); else { let n = iS(), r = iO(); n && r ? t = () => { n(), r() } : (n && n(), r && r()) } return t } function iA() { let e = iC(!0); return !e || (e(), !1) } function iT(e, t, n) { return (r, i) => { !(!id(r) || iA()) && (e.animationState && e.animationState.setActive(kO.Hover, t), n && n(r, i)) } } let iM = (e, t) => !!t && (e === t || iM(e, t.parentElement)), iP = (e, t) => n => t(e(n)), iN = (...e) => e.reduce(iP), iR = new WeakMap, iD = new WeakMap, iL = e => { let t = iR.get(e.target); t && t(e) }, iF = e => { e.forEach(iL) }, iI = { some: 0, all: 1 }; function iz(e, t, n, { root: r, margin: i, amount: o = "some", once: a }) { (0, el.useEffect)(() => { if (!e || !n.current) return; let s = { root: null == r ? void 0 : r.current, rootMargin: i, threshold: "number" == typeof o ? o : iI[o] }, l = e => { let { isIntersecting: r } = e; if (t.isInView === r || (t.isInView = r, a && !r && t.hasEnteredView)) return; r && (t.hasEnteredView = !0), n.animationState && n.animationState.setActive(kO.InView, r); let i = n.getProps(), o = r ? i.onViewportEnter : i.onViewportLeave; o && o(e) }; return function(e, t, n) { let r = function({ root: e, ...t }) { let n = e || document; iD.has(n) || iD.set(n, {}); let r = iD.get(n), i = JSON.stringify(t); return r[i] || (r[i] = new IntersectionObserver(iF, { root: e, ...t })), r[i] }(t); return iR.set(e, n), r.observe(e), () => { iR.delete(e), r.unobserve(e) } }(n.current, s, l) }, [e, r, i, o]) } function iV(e, t, n, { fallback: r = !0 }) { (0, el.useEffect)(() => { e && r && ("production" !== nT && n5(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(() => { t.hasEnteredView = !0; let { onViewportEnter: e } = n.getProps(); e && e(null), n.animationState && n.animationState.setActive(kO.InView, !0) })) }, [e]) } let iB = e => t => (e(t), null), iZ = { inView: iB(function({ visualElement: e, whileInView: t, onViewportEnter: n, onViewportLeave: r, viewport: i = {} }) { let o = (0, el.useRef)({ hasEnteredView: !1, isInView: !1 }), a = Boolean(t || n || r); i.once && o.current.hasEnteredView && (a = !1); let s = "undefined" == typeof IntersectionObserver ? iV : iz; s(a, o.current, e, i) }), tap: iB(function({ onTap: e, onTapStart: t, onTapCancel: n, whileTap: r, visualElement: i }) { let o = (0, el.useRef)(!1), a = (0, el.useRef)(null), s = { passive: !(t || e || n || d) }; function l() { a.current && a.current(), a.current = null } function u() { return l(), o.current = !1, i.animationState && i.animationState.setActive(kO.Tap, !1), !iA() } function c(t, r) { u() && (iM(i.current, t.target) ? e && e(t, r) : n && n(t, r)) } function f(e, t) { u() && n && n(e, t) } function d(e, n) { l(), !o.current && (o.current = !0, a.current = iN(iE(window, "pointerup", c, s), iE(window, "pointercancel", f, s)), i.animationState && i.animationState.setActive(kO.Tap, !0), t && t(e, n)) } ik(i, "pointerdown", e || t || n || r ? d : void 0, s), n4(l) }), focus: iB(function({ whileFocus: e, visualElement: t }) { let { animationState: n } = t, r = () => { n && n.setActive(kO.Focus, !0) }, i = () => { n && n.setActive(kO.Focus, !1) }; ic(t, "focus", e ? r : void 0), ic(t, "blur", e ? i : void 0) }), hover: iB(function({ onHoverStart: e, onHoverEnd: t, whileHover: n, visualElement: r }) { ik(r, "pointerenter", e || n ? iT(r, !0, e) : void 0, { passive: !e }), ik(r, "pointerleave", t || n ? iT(r, !1, t) : void 0, { passive: !t }) }) }; function iU() { let e = (0, el.useContext)(nK); if (null === e) return [!0, null]; let { isPresent: t, onExitComplete: n, register: r } = e, i = (0, el.useId)(); (0, el.useEffect)(() => r(i), []); let o = () => n && n(i); return !t && n ? [!1, o] : [!0] } function iH(e, t) { if (!Array.isArray(t)) return !1; let n = t.length; if (n !== e.length) return !1; for (let r = 0; r < n; r++)if (t[r] !== e[r]) return !1; return !0 } var iW = n(5163), iq = function() { }, i$ = function() { }; let iY = (e, t, n) => Math.min(Math.max(n, e), t); function iG(e, t) { return e * Math.sqrt(1 - t * t) } let iK = ["duration", "bounce"], iX = ["stiffness", "damping", "mass"]; function iQ(e, t) { return t.some(t => void 0 !== e[t]) } function iJ(e) { var { from: t = 0, to: n = 1, restSpeed: r = 2, restDelta: i } = e, o = (0, iW._T)(e, ["from", "to", "restSpeed", "restDelta"]); let a = { done: !1, value: t }, { stiffness: s, damping: l, mass: u, velocity: c, duration: f, isResolvedFromDuration: d } = function(e) { let t = Object.assign({ velocity: 0, stiffness: 100, damping: 10, mass: 1, isResolvedFromDuration: !1 }, e); if (!iQ(e, iX) && iQ(e, iK)) { let n = function({ duration: e = 800, bounce: t = .25, velocity: n = 0, mass: r = 1 }) { let i, o; iq(e <= 1e4, "Spring duration must be 10 seconds or less"); let a = 1 - t; a = iY(.05, 1, a), e = iY(.01, 10, e / 1e3), a < 1 ? (i = t => { let r = t * a, i = r * e, o = iG(t, a), s = Math.exp(-i); return .001 - (r - n) / o * s }, o = t => { let r = t * a, o = r * e, s = Math.pow(a, 2) * Math.pow(t, 2) * e, l = Math.exp(-o), u = iG(Math.pow(t, 2), a), c = -i(t) + .001 > 0 ? -1 : 1; return c * ((o * n + n - s) * l) / u }) : (i = t => { let r = Math.exp(-t * e), i = (t - n) * e + 1; return -.001 + r * i }, o = t => { let r = Math.exp(-t * e), i = (n - t) * (e * e); return r * i }); let s = 5 / e, l = function(e, t, n) { let r = n; for (let i = 1; i < 12; i++)r -= e(r) / t(r); return r }(i, o, s); if (e *= 1e3, isNaN(l)) return { stiffness: 100, damping: 10, duration: e }; { let u = Math.pow(l, 2) * r; return { stiffness: u, damping: 2 * a * Math.sqrt(r * u), duration: e } } }(e); (t = Object.assign(Object.assign(Object.assign({}, t), n), { velocity: 0, mass: 1 })).isResolvedFromDuration = !0 } return t }(o), h = i0, p = i0; function v() { let e = c ? -(c / 1e3) : 0, r = n - t, o = l / (2 * Math.sqrt(s * u)), a = Math.sqrt(s / u) / 1e3; if (void 0 === i && (i = Math.min(Math.abs(n - t) / 100, .4)), o < 1) { let f = iG(a, o); h = t => { let i = Math.exp(-o * a * t); return n - i * ((e + o * a * r) / f * Math.sin(f * t) + r * Math.cos(f * t)) }, p = t => { let n = Math.exp(-o * a * t); return o * a * n * (Math.sin(f * t) * (e + o * a * r) / f + r * Math.cos(f * t)) - n * (Math.cos(f * t) * (e + o * a * r) - f * r * Math.sin(f * t)) } } else if (1 === o) h = t => n - Math.exp(-a * t) * (r + (e + a * r) * t); else { let d = a * Math.sqrt(o * o - 1); h = t => { let i = Math.exp(-o * a * t), s = Math.min(d * t, 300); return n - i * ((e + o * a * r) * Math.sinh(s) + d * r * Math.cosh(s)) / d } } } return v(), { next: e => { let t = h(e); if (d) a.done = e >= f; else { let o = 1e3 * p(e), s = Math.abs(o) <= r, l = Math.abs(n - t) <= i; a.done = s && l } return a.value = a.done ? n : t, a }, flipTarget: () => { c = -c, [t, n] = [n, t], v() } } } iJ.needsInterpolation = (e, t) => "string" == typeof e || "string" == typeof t; let i0 = e => 0, i1 = (e, t, n) => { let r = t - e; return 0 === r ? 1 : (n - e) / r }, i2 = (e, t, n) => -n * e + n * t + e, i4 = (e, t) => n => Boolean(rM(n) && rT.test(n) && n.startsWith(e) || t && Object.prototype.hasOwnProperty.call(n, t)), i3 = (e, t, n) => r => { if (!rM(r)) return r; let [i, o, a, s] = r.match(rC); return { [e]: parseFloat(i), [t]: parseFloat(o), [n]: parseFloat(a), alpha: void 0 !== s ? parseFloat(s) : 1 } }, i5 = rS(0, 255), i6 = Object.assign(Object.assign({}, rz), { transform: e => Math.round(i5(e)) }), i8 = { test: i4("rgb", "red"), parse: i3("red", "green", "blue"), transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + i6.transform(e) + ", " + i6.transform(t) + ", " + i6.transform(n) + ", " + rO(rV.transform(r)) + ")" }, i7 = { test: i4("#"), parse: function(e) { let t = "", n = "", r = "", i = ""; return e.length > 5 ? (t = e.substr(1, 2), n = e.substr(3, 2), r = e.substr(5, 2), i = e.substr(7, 2)) : (t = e.substr(1, 1), n = e.substr(2, 1), r = e.substr(3, 1), i = e.substr(4, 1), t += t, n += n, r += r, i += i), { red: parseInt(t, 16), green: parseInt(n, 16), blue: parseInt(r, 16), alpha: i ? parseInt(i, 16) / 255 : 1 } }, transform: i8.transform }, i9 = { test: i4("hsl", "hue"), parse: i3("hue", "saturation", "lightness"), transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + rR.transform(rO(t)) + ", " + rR.transform(rO(n)) + ", " + rO(rV.transform(r)) + ")" }; function oe(e, t, n) { return (n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6) ? e + (t - e) * 6 * n : n < .5 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e } function ot({ hue: e, saturation: t, lightness: n, alpha: r }) { e /= 360, n /= 100; let i = 0, o = 0, a = 0; if (t /= 100) { let s = n < .5 ? n * (1 + t) : n + t - n * t, l = 2 * n - s; i = oe(l, s, e + 1 / 3), o = oe(l, s, e), a = oe(l, s, e - 1 / 3) } else i = o = a = n; return { red: Math.round(255 * i), green: Math.round(255 * o), blue: Math.round(255 * a), alpha: r } } let on = (e, t, n) => { let r = e * e; return Math.sqrt(Math.max(0, n * (t * t - r) + r)) }, or = [i7, i8, i9], oi = e => or.find(t => t.test(e)), oo = e => `'${e}' is not an animatable color. Use the equivalent color code instead.`, oa = (e, t) => { let n = oi(e), r = oi(t); i$(!!n, oo(e)), i$(!!r, oo(t)); let i = n.parse(e), o = r.parse(t); n === i9 && (i = ot(i), n = i8), r === i9 && (o = ot(o), r = i8); let a = Object.assign({}, i); return e => { for (let t in a) "alpha" !== t && (a[t] = on(i[t], o[t], e)); return a.alpha = i2(i.alpha, o.alpha, e), n.transform(a) } }, os = { test: e => i8.test(e) || i7.test(e) || i9.test(e), parse: e => i8.test(e) ? i8.parse(e) : i9.test(e) ? i9.parse(e) : i7.parse(e), transform: e => rM(e) ? e : e.hasOwnProperty("red") ? i8.transform(e) : i9.transform(e) }, ol = "${c}", ou = "${n}"; function oc(e) { "number" == typeof e && (e = `${e}`); let t = [], n = 0, r = e.match(rA); r && (n = r.length, e = e.replace(rA, ol), t.push(...r.map(os.parse))); let i = e.match(rC); return i && (e = e.replace(rC, ou), t.push(...i.map(rz.parse))), { values: t, numColors: n, tokenised: e } } function of(e) { return oc(e).values } function od(e) { let { values: t, numColors: n, tokenised: r } = oc(e), i = t.length; return e => { let t = r; for (let o = 0; o < i; o++)t = t.replace(o < n ? ol : ou, o < n ? os.transform(e[o]) : rO(e[o])); return t } } let oh = e => "number" == typeof e ? 0 : e, op = { test: function(e) { var t, n, r, i; return isNaN(e) && rM(e) && (null !== (n = null === (t = e.match(rC)) || void 0 === t ? void 0 : t.length) && void 0 !== n ? n : 0) + (null !== (i = null === (r = e.match(rA)) || void 0 === r ? void 0 : r.length) && void 0 !== i ? i : 0) > 0 }, parse: of, createTransformer: od, getAnimatableNone: function(e) { let t = of(e), n = od(e); return n(t.map(oh)) } }, ov = e => "number" == typeof e; function om(e, t) { return ov(e) ? n => i2(e, t, n) : os.test(e) ? oa(e, t) : ox(e, t) } let og = (e, t) => { let n = [...e], r = n.length, i = e.map((e, n) => om(e, t[n])); return e => { for (let t = 0; t < r; t++)n[t] = i[t](e); return n } }, oy = (e, t) => { let n = Object.assign(Object.assign({}, e), t), r = {}; for (let i in n) void 0 !== e[i] && void 0 !== t[i] && (r[i] = om(e[i], t[i])); return e => { for (let t in r) n[t] = r[t](e); return n } }; function ob(e) { let t = op.parse(e), n = t.length, r = 0, i = 0, o = 0; for (let a = 0; a < n; a++)r || "number" == typeof t[a] ? r++ : void 0 !== t[a].hue ? o++ : i++; return { parsed: t, numNumbers: r, numRGB: i, numHSL: o } } let ox = (e, t) => { let n = op.createTransformer(t), r = ob(e), i = ob(t), o = r.numHSL === i.numHSL && r.numRGB === i.numRGB && r.numNumbers >= i.numNumbers; return o ? iN(og(r.parsed, i.parsed), n) : (iq(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), n => `${n > 0 ? t : e}`) }, ow = (e, t) => n => i2(e, t, n); function o_(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) { let o = e.length; i$(o === t.length, "Both input and output ranges must be the same length"), i$(!r || !Array.isArray(r) || r.length === o - 1, "Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."), e[0] > e[o - 1] && (e = [].concat(e), t = [].concat(t), e.reverse(), t.reverse()); let a = function(e, t, n) { var r; let i = [], o = n || ("number" == typeof (r = e[0]) ? ow : "string" == typeof r ? os.test(r) ? oa : ox : Array.isArray(r) ? og : "object" == typeof r ? oy : void 0), a = e.length - 1; for (let s = 0; s < a; s++) { let l = o(e[s], e[s + 1]); if (t) { let u = Array.isArray(t) ? t[s] : t; l = iN(u, l) } i.push(l) } return i }(t, r, i), s = 2 === o ? function([e, t], [n]) { return r => n(i1(e, t, r)) }(e, a) : function(e, t) { let n = e.length, r = n - 1; return i => { let o = 0, a = !1; if (i <= e[0] ? a = !0 : i >= e[r] && (o = r - 1, a = !0), !a) { let s = 1; for (; s < n && !(e[s] > i) && s !== r; s++); o = s - 1 } let l = i1(e[o], e[o + 1], i); return t[o](l) } }(e, a); return n ? t => s(iY(e[0], e[o - 1], t)) : s } let oE = e => t => 1 - e(1 - t), ok = e => t => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, oj = e => t => t * t * ((e + 1) * t - e), oS = 4 / 11, oO = 8 / 11, oC = e => e, oA = e => Math.pow(e, 2), oT = oE(oA), oM = ok(oA), oP = e => 1 - Math.sin(Math.acos(e)), oN = oE(oP), oR = ok(oN), oD = oj(1.525), oL = oE(oD), oF = ok(oD), oI = (e => { let t = oj(1.525); return e => (e *= 2) < 1 ? .5 * t(e) : .5 * (2 - Math.pow(2, -10 * (e - 1))) })(0), oz = 4356 / 361, oV = 35442 / 1805, oB = 16061 / 1805, oZ = e => { if (1 === e || 0 === e) return e; let t = e * e; return e < oS ? 7.5625 * t : e < oO ? 9.075 * t - 9.9 * e + 3.4 : e < .9 ? oz * t - oV * e + oB : 10.8 * e * e - 20.52 * e + 10.72 }, oU = oE(oZ), oH = e => e < .5 ? .5 * (1 - oZ(1 - 2 * e)) : .5 * oZ(2 * e - 1) + .5; function oW({ from: e = 0, to: t = 1, ease: n, offset: r, duration: i = 300 }) { let o = { done: !1, value: e }, a = Array.isArray(t) ? t : [e, t], s = (r && r.length === a.length ? r : function(e) { let t = e.length; return e.map((e, n) => 0 !== n ? n / (t - 1) : 0) }(a)).map(e => e * i); function l() { return o_(s, a, { ease: Array.isArray(n) ? n : a.map(() => n || oM).splice(0, a.length - 1) }) } let u = l(); return { next: e => (o.value = u(e), o.done = e >= i, o), flipTarget: () => { a.reverse(), u = l() } } } let oq = { keyframes: oW, spring: iJ, decay: function({ velocity: e = 0, from: t = 0, power: n = .8, timeConstant: r = 350, restDelta: i = .5, modifyTarget: o }) { let a = { done: !1, value: t }, s = n * e, l = t + s, u = void 0 === o ? l : o(l); return u !== l && (s = u - t), { next: e => { let t = -s * Math.exp(-e / r); return a.done = !(t > i || t < -i), a.value = a.done ? u : u + t, a }, flipTarget: () => { } } } }; function o$(e, t, n = 0) { return e - t - n } let oY = e => { let t = ({ delta: t }) => e(t); return { start: () => nV.update(t, !0), stop: () => nB.update(t) } }; function oG(e) { let t, n, r; var i, { from: o, autoplay: a = !0, driver: s = oY, elapsed: l = 0, repeat: u = 0, repeatType: c = "loop", repeatDelay: f = 0, onPlay: d, onStop: h, onComplete: p, onRepeat: v, onUpdate: m } = e, g = (0, iW._T)(e, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]); let { to: y } = g, b = 0, x = g.duration, w = !1, _ = !0, E = function(e) { if (Array.isArray(e.to)) return oW; if (oq[e.type]) return oq[e.type]; let t = new Set(Object.keys(e)); if (t.has("ease") || t.has("duration") && !t.has("dampingRatio")); else if (t.has("dampingRatio") || t.has("stiffness") || t.has("mass") || t.has("damping") || t.has("restSpeed") || t.has("restDelta")) return iJ; return oW }(g); (null === (i = E.needsInterpolation) || void 0 === i ? void 0 : i.call(E, o, y)) && (r = o_([0, 100], [o, y], { clamp: !1 }), o = 0, y = 100); let k = E(Object.assign(Object.assign({}, g), { from: o, to: y })); return a && (null == d || d(), (t = s(function(e) { if (_ || (e = -e), l += e, !w) { let i = k.next(Math.max(0, l)); n = i.value, r && (n = r(n)), w = _ ? i.done : l <= 0 } if (null == m || m(n), w) { if (0 === b && (null != x || (x = l)), b < u) { var o, a; o = l, a = x, (_ ? o >= a + f : o <= -f) && (b++, "reverse" === c ? l = function(e, t, n = 0, r = !0) { return r ? o$(t + -e, t, n) : t - (e - t) + n }(l, x, f, _ = b % 2 == 0) : (l = o$(l, x, f), "mirror" === c && k.flipTarget()), w = !1, v && v()) } else t.stop(), p && p() } })).start()), { stop: () => { null == h || h(), t.stop() } } } let oK = e => 1e3 * e, oX = (e, t) => 1 - 3 * t + 3 * e, oQ = (e, t) => 3 * t - 6 * e, oJ = e => 3 * e, o0 = (e, t, n) => ((oX(t, n) * e + oQ(t, n)) * e + oJ(t)) * e, o1 = (e, t, n) => 3 * oX(t, n) * e * e + 2 * oQ(t, n) * e + oJ(t), o2 = { linear: oC, easeIn: oA, easeInOut: oM, easeOut: oT, circIn: oP, circInOut: oR, circOut: oN, backIn: oD, backInOut: oF, backOut: oL, anticipate: oI, bounceIn: oU, bounceInOut: oH, bounceOut: oZ }, o4 = e => { if (Array.isArray(e)) { i$(4 === e.length, "Cubic bezier arrays must contain four numerical values."); let [t, n, r, i] = e; return function(e, t, n, r) { if (e === t && n === r) return oC; let i = new Float32Array(11); for (let o = 0; o < 11; ++o)i[o] = o0(.1 * o, e, n); return o => 0 === o || 1 === o ? o : o0(function(t) { let r = 0, o = 1; for (; 10 !== o && i[o] <= t; ++o)r += .1; --o; let a = (t - i[o]) / (i[o + 1] - i[o]), s = r + .1 * a, l = o1(s, e, n); return l >= .001 ? function(e, t, n, r) { for (let i = 0; i < 8; ++i) { let o = o1(t, n, r); if (0 === o) break; let a = o0(t, n, r) - e; t -= a / o } return t }(t, s, e, n) : 0 === l ? s : function(e, t, n, r, i) { let o, a; let s = 0; do (o = o0(a = t + (n - t) / 2, r, i) - e) > 0 ? n = a : t = a; while (Math.abs(o) > 1e-7 && ++s < 10); return a }(t, r, r + .1, e, n) }(o), t, r) }(t, n, r, i) } return "string" == typeof e ? (i$(void 0 !== o2[e], `Invalid easing type '${e}'`), o2[e]) : e }, o3 = e => Array.isArray(e) && "number" != typeof e[0], o5 = (e, t) => "zIndex" !== e && !!("number" == typeof t || Array.isArray(t) || "string" == typeof t && op.test(t) && !t.startsWith("url(")), o6 = () => ({ type: "spring", stiffness: 500, damping: 25, restSpeed: 10 }), o8 = e => ({ type: "spring", stiffness: 550, damping: 0 === e ? 2 * Math.sqrt(550) : 30, restSpeed: 10 }), o7 = () => ({ type: "keyframes", ease: "linear", duration: .3 }), o9 = e => ({ type: "keyframes", duration: .8, values: e }), ae = { x: o6, y: o6, z: o6, rotate: o6, rotateX: o6, rotateY: o6, rotateZ: o6, scaleX: o8, scaleY: o8, scale: o8, opacity: o7, backgroundColor: o7, color: o7, default: o8 }, at = (e, t) => ({ to: t, ...(it(t) ? o9 : ae[e] || ae.default)(t) }), an = new Set(["brightness", "contrast", "saturate", "opacity"]); function ar(e) { let [t, n] = e.slice(0, -1).split("("); if ("drop-shadow" === t) return e; let [r] = n.match(rC) || []; if (!r) return e; let i = n.replace(r, ""), o = an.has(t) ? 1 : 0; return r !== n && (o *= 100), t + "(" + o + i + ")" } let ai = /([a-z-]*)\(.*?\)/g, ao = Object.assign(Object.assign({}, op), { getAnimatableNone: e => { let t = e.match(ai); return t ? t.map(ar).join(" ") : e } }), aa = { ...rU, color: os, backgroundColor: os, outlineColor: os, fill: os, stroke: os, borderColor: os, borderTopColor: os, borderRightColor: os, borderBottomColor: os, borderLeftColor: os, filter: ao, WebkitFilter: ao }, as = e => aa[e]; function al(e, t) { var n; let r = as(e); return r !== ao && (r = op), null === (n = r.getAnimatableNone) || void 0 === n ? void 0 : n.call(r, t) } let au = { current: !1 }; function ac(e, t) { let n = performance.now(), r = ({ timestamp: i }) => { let o = i - n; o >= t && (nB.read(r), e(o - t)) }; return nV.read(r, !0), () => nB.read(r) } let af = !1; function ad(e) { return 0 === e || "string" == typeof e && 0 === parseFloat(e) && -1 === e.indexOf(" ") } function ah(e) { return "number" == typeof e ? 0 : al("", e) } function ap(e, t) { return e[t] || e.default || e } function av(e, t, n, r = {}) { return au.current && (r = { type: !1 }), t.start(i => { let o, a; let s = function(e, t, n, r, i) { let o = ap(r, e) || {}, a = void 0 !== o.from ? o.from : t.get(), s = o5(e, n); "none" === a && s && "string" == typeof n ? a = al(e, n) : ad(a) && "string" == typeof n ? a = ah(n) : !Array.isArray(n) && ad(n) && "string" == typeof a && (n = ah(a)); let l = o5(e, a); return iq(l === s, `You are trying to animate ${e} from "${a}" to "${n}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${n} via the \`style\` property.`), l && s && !1 !== o.type ? function() { var r, s; let l = { from: a, to: n, velocity: t.getVelocity(), onComplete: i, onUpdate: e => t.set(e) }; return "inertia" === o.type || "decay" === o.type ? function({ from: e = 0, velocity: t = 0, min: n, max: r, power: i = .8, timeConstant: o = 750, bounceStiffness: a = 500, bounceDamping: s = 10, restDelta: l = 1, modifyTarget: u, driver: c, onUpdate: f, onComplete: d, onStop: h }) { let p; function v(e) { return void 0 !== n && e < n || void 0 !== r && e > r } function m(e) { return void 0 === n ? r : void 0 === r ? n : Math.abs(n - e) < Math.abs(r - e) ? n : r } function g(e) { null == p || p.stop(), p = oG(Object.assign(Object.assign({}, e), { driver: c, onUpdate: t => { var n; null == f || f(t), null === (n = e.onUpdate) || void 0 === n || n.call(e, t) }, onComplete: d, onStop: h })) } function y(e) { g(Object.assign({ type: "spring", stiffness: a, damping: s, restDelta: l }, e)) } if (v(e)) y({ from: e, velocity: t, to: m(e) }); else { let b, x, w = i * t + e; void 0 !== u && (w = u(w)); let _ = m(w), E = _ === n ? -1 : 1, k = e => { var n; b = x, x = e, t = (n = nq().delta) ? (e - b) * (1e3 / n) : 0, (1 === E && e > _ || -1 === E && e < _) && y({ from: e, to: _, velocity: t }) }; g({ type: "decay", from: e, velocity: t, timeConstant: o, power: i, restDelta: l, modifyTarget: u, onUpdate: v(w) ? k : void 0 }) } return { stop: () => null == p ? void 0 : p.stop() } }({ ...l, ...o }) : oG({ ...(r = o, Array.isArray(l.to) && void 0 === r.duration && (r.duration = .8), Array.isArray((s = l).to) && null === s.to[0] && (s.to = [...s.to], s.to[0] = s.from), !function({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: o, repeatType: a, repeatDelay: s, from: l, ...u }) { return !!Object.keys(u).length }(r) && (r = { ...r, ...at(e, l.to) }), { ...l, ...function({ ease: e, times: t, yoyo: n, flip: r, loop: i, ...o }) { let a = { ...o }; return t && (a.offset = t), o.duration && (a.duration = oK(o.duration)), o.repeatDelay && (a.repeatDelay = oK(o.repeatDelay)), e && (a.ease = o3(e) ? e.map(o4) : o4(e)), "tween" === o.type && (a.type = "keyframes"), (n || i || r) && (iq(!af, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), af = !0, n ? a.repeatType = "reverse" : i ? a.repeatType = "loop" : r && (a.repeatType = "mirror"), a.repeat = i || n || r || o.repeat), "spring" !== o.type && (a.type = "keyframes"), a }(r) }), onUpdate: e => { l.onUpdate(e), o.onUpdate && o.onUpdate(e) }, onComplete: () => { l.onComplete(), o.onComplete && o.onComplete() } }) } : function() { let e = ii(n); return t.set(e), i(), o.onUpdate && o.onUpdate(e), o.onComplete && o.onComplete(), { stop: () => { } } } }(e, t, n, r, i), l = function(e, t) { var n, r; let i = ap(e, t) || {}; return null !== (r = null !== (n = i.delay) && void 0 !== n ? n : e.delay) && void 0 !== r ? r : 0 }(r, e), u = () => o = s(); return l ? a = ac(u, oK(l)) : u(), () => { a && a(), o && o.stop() } }) } let am = e => /^\-?\d*\.?\d+$/.test(e), ag = e => /^0[^.\s]+$/.test(e); function ay(e, t) { -1 === e.indexOf(t) && e.push(t) } function ab(e, t) { let n = e.indexOf(t); n > -1 && e.splice(n, 1) } class ax { constructor() { this.subscriptions = [] } add(e) { return ay(this.subscriptions, e), () => ab(this.subscriptions, e) } notify(e, t, n) { let r = this.subscriptions.length; if (r) { if (1 === r) this.subscriptions[0](e, t, n); else for (let i = 0; i < r; i++) { let o = this.subscriptions[i]; o && o(e, t, n) } } } getSize() { return this.subscriptions.length } clear() { this.subscriptions.length = 0 } } let aw = e => !isNaN(parseFloat(e)); class a_ { constructor(e) { this.version = "7.6.5", this.timeDelta = 0, this.lastUpdated = 0, this.updateSubscribers = new ax, this.velocityUpdateSubscribers = new ax, this.renderSubscribers = new ax, this.canTrackVelocity = !1, this.updateAndNotify = (e, t = !0) => { this.prev = this.current, this.current = e; let { delta: n, timestamp: r } = nq(); this.lastUpdated !== r && (this.timeDelta = n, this.lastUpdated = r, nV.postRender(this.scheduleVelocityCheck)), this.prev !== this.current && this.updateSubscribers.notify(this.current), this.velocityUpdateSubscribers.getSize() && this.velocityUpdateSubscribers.notify(this.getVelocity()), t && this.renderSubscribers.notify(this.current) }, this.scheduleVelocityCheck = () => nV.postRender(this.velocityCheck), this.velocityCheck = ({ timestamp: e }) => { e !== this.lastUpdated && (this.prev = this.current, this.velocityUpdateSubscribers.notify(this.getVelocity())) }, this.hasAnimated = !1, this.prev = this.current = e, this.canTrackVelocity = aw(this.current) } onChange(e) { return this.updateSubscribers.add(e) } clearListeners() { this.updateSubscribers.clear() } onRenderRequest(e) { return e(this.get()), this.renderSubscribers.add(e) } attach(e) { this.passiveEffect = e } set(e, t = !0) { t && this.passiveEffect ? this.passiveEffect(e, this.updateAndNotify) : this.updateAndNotify(e, t) } get() { return this.current } getPrevious() { return this.prev } getVelocity() { var e, t; return this.canTrackVelocity ? (e = parseFloat(this.current) - parseFloat(this.prev), (t = this.timeDelta) ? e * (1e3 / t) : 0) : 0 } start(e) { return this.stop(), new Promise(t => { this.hasAnimated = !0, this.stopAnimation = e(t) }).then(() => this.clearAnimation()) } stop() { this.stopAnimation && this.stopAnimation(), this.clearAnimation() } isAnimating() { return !!this.stopAnimation } clearAnimation() { this.stopAnimation = null } destroy() { this.updateSubscribers.clear(), this.renderSubscribers.clear(), this.stop() } } function aE(e) { return new a_(e) } let ak = e => t => t.test(e), aj = [rz, rD, rR, rN, rF, rL, { test: e => "auto" === e, parse: e => e }], aS = e => aj.find(ak(e)), aO = [...aj, os, op], aC = e => aO.find(ak(e)); function aA(e, t, n) { let r = e.getProps(); return ie(r, t, void 0 !== n ? n : r.custom, function(e) { let t = {}; return e.values.forEach((e, n) => t[n] = e.get()), t }(e), function(e) { let t = {}; return e.values.forEach((e, n) => t[n] = e.getVelocity()), t }(e)) } function aT(e) { return Boolean(rw(e) && e.add) } function aM(e, t, n = {}) { var r; let i = aA(e, t, n.custom), { transition: o = e.getDefaultTransition() || {} } = i || {}; n.transitionOverride && (o = n.transitionOverride); let a = i ? () => aP(e, i, n) : () => Promise.resolve(), s = (null === (r = e.variantChildren) || void 0 === r ? void 0 : r.size) ? (r = 0) => { let { delayChildren: i = 0, staggerChildren: a, staggerDirection: s } = o; return function(e, t, n = 0, r = 0, i = 1, o) { let a = [], s = (e.variantChildren.size - 1) * r, l = 1 === i ? (e = 0) => e * r : (e = 0) => s - e * r; return Array.from(e.variantChildren).sort(aN).forEach((e, r) => { a.push(aM(e, t, { ...o, delay: n + l(r) }).then(() => e.notify("AnimationComplete", t))) }), Promise.all(a) }(e, t, i + r, a, s, n) } : () => Promise.resolve(), { when: l } = o; if (!l) return Promise.all([a(), s(n.delay)]); { let [u, c] = "beforeChildren" === l ? [a, s] : [s, a]; return u().then(c) } } function aP(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) { var o; let { transition: a = e.getDefaultTransition(), transitionEnd: s, ...l } = e.makeTargetAnimatable(t), u = e.getValue("willChange"); r && (a = r); let c = [], f = i && (null === (o = e.animationState) || void 0 === o ? void 0 : o.getState()[i]); for (let d in l) { let h = e.getValue(d), p = l[d]; if (!h || void 0 === p || f && function({ protectedKeys: e, needsAnimating: t }, n) { let r = e.hasOwnProperty(n) && !0 !== t[n]; return t[n] = !1, r }(f, d)) continue; let v = { delay: n, ...a }; e.shouldReduceMotion && rb.has(d) && (v = { ...v, type: !1, delay: 0 }); let m = av(d, h, p, v); aT(u) && (u.add(d), m = m.then(() => u.remove(d))), c.push(m) } return Promise.all(c).then(() => { s && function(e, t) { let n = aA(e, t), { transitionEnd: r = {}, transition: i = {}, ...o } = n ? e.makeTargetAnimatable(n, !1) : {}; for (let a in o = { ...o, ...r }) { var s; let l = ii(o[a]); s = a, e.hasValue(s) ? e.getValue(s).set(l) : e.addValue(s, aE(l)) } }(e, s) }) } function aN(e, t) { return e.sortNodePosition(t) } let aR = [kO.Animate, kO.InView, kO.Focus, kO.Hover, kO.Tap, kO.Drag, kO.Exit], aD = [...aR].reverse(), aL = aR.length; function aF(e = !1) { return { isActive: e, protectedKeys: {}, needsAnimating: {}, prevResolvedValues: {} } } let aI = { animation: iB(({ visualElement: e, animate: t }) => { e.animationState || (e.animationState = function(e) { let t = t => Promise.all(t.map(({ animation: t, options: n }) => (function(e, t, n = {}) { let r; if (e.notify("AnimationStart", t), Array.isArray(t)) { let i = t.map(t => aM(e, t, n)); r = Promise.all(i) } else if ("string" == typeof t) r = aM(e, t, n); else { let o = "function" == typeof t ? aA(e, t, n.custom) : t; r = aP(e, o, n) } return r.then(() => e.notify("AnimationComplete", t)) })(e, t, n))), n = { [kO.Animate]: aF(!0), [kO.InView]: aF(), [kO.Hover]: aF(), [kO.Tap]: aF(), [kO.Drag]: aF(), [kO.Focus]: aF(), [kO.Exit]: aF() }, r = !0, i = (t, n) => { let r = aA(e, n); if (r) { let { transition: i, transitionEnd: o, ...a } = r; t = { ...t, ...a, ...o } } return t }; function o(o, a) { var s, l; let u = e.getProps(), c = e.getVariantContext(!0) || {}, f = [], d = new Set, h = {}, p = 1 / 0; for (let v = 0; v < aL; v++) { let m = aD[v], g = n[m], y = null !== (s = u[m]) && void 0 !== s ? s : c[m], b = rn(y), x = m === a ? g.isActive : null; !1 === x && (p = v); let w = y === c[m] && y !== u[m] && b; if (w && r && e.manuallyAnimateOnMount && (w = !1), g.protectedKeys = { ...h }, !g.isActive && null === x || !y && !g.prevProp || rr(y) || "boolean" == typeof y) continue; let _ = (l = g.prevProp, "string" == typeof y ? y !== l : !!Array.isArray(y) && !iH(y, l)), E = _ || m === a && g.isActive && !w && b || v > p && b, k = Array.isArray(y) ? y : [y], j = k.reduce(i, {}); !1 === x && (j = {}); let { prevResolvedValues: S = {} } = g, O = { ...S, ...j }, C = e => { E = !0, d.delete(e), g.needsAnimating[e] = !0 }; for (let A in O) { let T = j[A], M = S[A]; h.hasOwnProperty(A) || (T !== M ? it(T) && it(M) ? !iH(T, M) || _ ? C(A) : g.protectedKeys[A] = !0 : void 0 !== T ? C(A) : d.add(A) : void 0 !== T && d.has(A) ? C(A) : g.protectedKeys[A] = !0) } g.prevProp = y, g.prevResolvedValues = j, g.isActive && (h = { ...h, ...j }), r && e.blockInitialAnimation && (E = !1), E && !w && f.push(...k.map(e => ({ animation: e, options: { type: m, ...o } }))) } if (d.size) { let P = {}; d.forEach(t => { let n = e.getBaseTarget(t); void 0 !== n && (P[t] = n) }), f.push({ animation: P }) } let N = Boolean(f.length); return r && !1 === u.initial && !e.manuallyAnimateOnMount && (N = !1), r = !1, N ? t(f) : Promise.resolve() } return { animateChanges: o, setActive: function(t, r, i) { var a; if (n[t].isActive === r) return Promise.resolve(); null === (a = e.variantChildren) || void 0 === a || a.forEach(e => { var n; return null === (n = e.animationState) || void 0 === n ? void 0 : n.setActive(t, r) }), n[t].isActive = r; let s = o(i, t); for (let l in n) n[l].protectedKeys = {}; return s }, setAnimateFunction: function(n) { t = n(e) }, getState: () => n } }(e)), rr(t) && (0, el.useEffect)(() => t.subscribe(e), [t]) }), exit: iB(e => { let { custom: t, visualElement: n } = e, [r, i] = iU(), o = (0, el.useContext)(nK); (0, el.useEffect)(() => { n.isPresent = r; let e = n.animationState && n.animationState.setActive(kO.Exit, !r, { custom: o && o.custom || t }); e && !r && e.then(i) }, [r]) }) }, az = e => e.hasOwnProperty("x") && e.hasOwnProperty("y"), aV = e => az(e) && e.hasOwnProperty("z"), aB = (e, t) => Math.abs(e - t); function aZ(e, t) { if (ov(e) && ov(t)) return aB(e, t); if (az(e) && az(t)) { let n = aB(e.x, t.x), r = aB(e.y, t.y), i = aV(e) && aV(t) ? aB(e.z, t.z) : 0; return Math.sqrt(Math.pow(n, 2) + Math.pow(r, 2) + Math.pow(i, 2)) } } class aU { constructor(e, t, { transformPagePoint: n } = {}) { if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.updatePoint = () => { if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return; let e = aq(this.lastMoveEventInfo, this.history), t = null !== this.startEvent, n = aZ(e.offset, { x: 0, y: 0 }) >= 3; if (!t && !n) return; let { point: r } = e, { timestamp: i } = nq(); this.history.push({ ...r, timestamp: i }); let { onStart: o, onMove: a } = this.handlers; t || (o && o(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e) }, this.handlePointerMove = (e, t) => { if (this.lastMoveEvent = e, this.lastMoveEventInfo = aH(t, this.transformPagePoint), id(e) && 0 === e.buttons) { this.handlePointerUp(e, t); return } nV.update(this.updatePoint, !0) }, this.handlePointerUp = (e, t) => { this.end(); let { onEnd: n, onSessionEnd: r } = this.handlers, i = aq(aH(t, this.transformPagePoint), this.history); this.startEvent && n && n(e, i), r && r(e, i) }, ih(e) && e.touches.length > 1) return; this.handlers = t, this.transformPagePoint = n; let r = iv(e), i = aH(r, this.transformPagePoint), { point: o } = i, { timestamp: a } = nq(); this.history = [{ ...o, timestamp: a }]; let { onSessionStart: s } = t; s && s(e, aq(i, this.history)), this.removeListeners = iN(iE(window, "pointermove", this.handlePointerMove), iE(window, "pointerup", this.handlePointerUp), iE(window, "pointercancel", this.handlePointerUp)) } updateHandlers(e) { this.handlers = e } end() { this.removeListeners && this.removeListeners(), nB.update(this.updatePoint) } } function aH(e, t) { return t ? { point: t(e.point) } : e } function aW(e, t) { return { x: e.x - t.x, y: e.y - t.y } } function aq({ point: e }, t) { return { point: e, delta: aW(e, a$(t)), offset: aW(e, t[0]), velocity: function(e, t) { if (e.length < 2) return { x: 0, y: 0 }; let n = e.length - 1, r = null, i = a$(e); for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > oK(.1)));)n--; if (!r) return { x: 0, y: 0 }; let o = (i.timestamp - r.timestamp) / 1e3; if (0 === o) return { x: 0, y: 0 }; let a = { x: (i.x - r.x) / o, y: (i.y - r.y) / o }; return a.x === 1 / 0 && (a.x = 0), a.y === 1 / 0 && (a.y = 0), a }(t, 0) } } function a$(e) { return e[e.length - 1] } function aY(e) { return e.max - e.min } function aG(e, t = 0, n = .01) { return aZ(e, t) < n } function aK(e, t, n, r = .5) { e.origin = r, e.originPoint = i2(t.min, t.max, e.origin), e.scale = aY(n) / aY(t), (aG(e.scale, 1, 1e-4) || isNaN(e.scale)) && (e.scale = 1), e.translate = i2(n.min, n.max, e.origin) - e.originPoint, (aG(e.translate) || isNaN(e.translate)) && (e.translate = 0) } function aX(e, t, n, r) { aK(e.x, t.x, n.x, null == r ? void 0 : r.originX), aK(e.y, t.y, n.y, null == r ? void 0 : r.originY) } function aQ(e, t, n) { e.min = n.min + t.min, e.max = e.min + aY(t) } function aJ(e, t, n) { e.min = t.min - n.min, e.max = e.min + aY(t) } function a0(e, t, n) { aJ(e.x, t.x, n.x), aJ(e.y, t.y, n.y) } function a1(e, t, n) { return { min: void 0 !== t ? e.min + t : void 0, max: void 0 !== n ? e.max + n - (e.max - e.min) : void 0 } } function a2(e, t) { let n = t.min - e.min, r = t.max - e.max; return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r } } function a4(e, t, n) { return { min: a3(e, t), max: a3(e, n) } } function a3(e, t) { var n; return "number" == typeof e ? e : null !== (n = e[t]) && void 0 !== n ? n : 0 } let a5 = () => ({ translate: 0, scale: 1, origin: 0, originPoint: 0 }), a6 = () => ({ x: a5(), y: a5() }), a8 = () => ({ min: 0, max: 0 }), a7 = () => ({ x: a8(), y: a8() }); function a9(e) { return [e("x"), e("y")] } function se({ top: e, left: t, right: n, bottom: r }) { return { x: { min: t, max: n }, y: { min: e, max: r } } } function st(e) { return void 0 === e || 1 === e } function sn({ scale: e, scaleX: t, scaleY: n }) { return !st(e) || !st(t) || !st(n) } function sr(e) { return sn(e) || si(e) || e.z || e.rotate || e.rotateX || e.rotateY } function si(e) { var t, n; return (t = e.x) && "0%" !== t || (n = e.y) && "0%" !== n } function so(e, t, n, r, i) { return void 0 !== i && (e = r + i * (e - r)), r + n * (e - r) + t } function sa(e, t = 0, n = 1, r, i) { e.min = so(e.min, t, n, r, i), e.max = so(e.max, t, n, r, i) } function ss(e, { x: t, y: n }) { sa(e.x, t.translate, t.scale, t.originPoint), sa(e.y, n.translate, n.scale, n.originPoint) } function sl(e, t) { e.min = e.min + t, e.max = e.max + t } function su(e, t, [n, r, i]) { let o = void 0 !== t[i] ? t[i] : .5, a = i2(e.min, e.max, o); sa(e, t[n], t[r], a, t.scale) } let sc = ["x", "scaleX", "originX"], sf = ["y", "scaleY", "originY"]; function sd(e, t) { su(e.x, t, sc), su(e.y, t, sf) } function sh(e, t) { return se(function(e, t) { if (!t) return e; let n = t({ x: e.left, y: e.top }), r = t({ x: e.right, y: e.bottom }); return { top: n.y, left: n.x, bottom: r.y, right: r.x } }(e.getBoundingClientRect(), t)) } let sp = new WeakMap; class sv { constructor(e) { this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = a7(), this.visualElement = e } start(e, { snapToCursor: t = !1 } = {}) { if (!1 === this.visualElement.isPresent) return; let n = e => { this.stopAnimation(), t && this.snapToCursor(iv(e, "page").point) }, r = (e, t) => { var n; let { drag: r, dragPropagation: i, onDragStart: o } = this.getProps(); (!r || i || (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = iC(r), this.openGlobalLock)) && (this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), a9(e => { var t, n; let r = this.getAxisMotionValue(e).get() || 0; if (rR.test(r)) { let i = null === (n = null === (t = this.visualElement.projection) || void 0 === t ? void 0 : t.layout) || void 0 === n ? void 0 : n.actual[e]; if (i) { let o = aY(i); r = o * (parseFloat(r) / 100) } } this.originPoint[e] = r }), null == o || o(e, t), null === (n = this.visualElement.animationState) || void 0 === n || n.setActive(kO.Drag, !0)) }, i = (e, t) => { let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: o } = this.getProps(); if (!n && !this.openGlobalLock) return; let { offset: a } = t; if (r && null === this.currentDirection) { this.currentDirection = function(e, t = 10) { let n = null; return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n }(a), null !== this.currentDirection && (null == i || i(this.currentDirection)); return } this.updateAxis("x", t.point, a), this.updateAxis("y", t.point, a), this.visualElement.render(), null == o || o(e, t) }, o = (e, t) => this.stop(e, t); this.panSession = new aU(e, { onSessionStart: n, onStart: r, onMove: i, onSessionEnd: o }, { transformPagePoint: this.visualElement.getTransformPagePoint() }) } stop(e, t) { let n = this.isDragging; if (this.cancel(), !n) return; let { velocity: r } = t; this.startAnimation(r); let { onDragEnd: i } = this.getProps(); null == i || i(e, t) } cancel() { var e, t; this.isDragging = !1, this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !1), null === (e = this.panSession) || void 0 === e || e.end(), this.panSession = void 0; let { dragPropagation: n } = this.getProps(); !n && this.openGlobalLock && (this.openGlobalLock(), this.openGlobalLock = null), null === (t = this.visualElement.animationState) || void 0 === t || t.setActive(kO.Drag, !1) } updateAxis(e, t, n) { let { drag: r } = this.getProps(); if (!n || !sm(e, r, this.currentDirection)) return; let i = this.getAxisMotionValue(e), o = this.originPoint[e] + n[e]; this.constraints && this.constraints[e] && (o = function(e, { min: t, max: n }, r) { return void 0 !== t && e < t ? e = r ? i2(t, e, r.min) : Math.max(e, t) : void 0 !== n && e > n && (e = r ? i2(n, e, r.max) : Math.min(e, n)), e }(o, this.constraints[e], this.elastic[e])), i.set(o) } resolveConstraints() { let { dragConstraints: e, dragElastic: t } = this.getProps(), { layout: n } = this.visualElement.projection || {}, r = this.constraints; e && rt(e) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : e && n ? this.constraints = function(e, { top: t, left: n, bottom: r, right: i }) { return { x: a1(e.x, n, i), y: a1(e.y, t, r) } }(n.actual, e) : this.constraints = !1, this.elastic = function(e = .35) { return !1 === e ? e = 0 : !0 === e && (e = .35), { x: a4(e, "left", "right"), y: a4(e, "top", "bottom") } }(t), r !== this.constraints && n && this.constraints && !this.hasMutatedConstraints && a9(e => { this.getAxisMotionValue(e) && (this.constraints[e] = function(e, t) { let n = {}; return void 0 !== t.min && (n.min = t.min - e.min), void 0 !== t.max && (n.max = t.max - e.min), n }(n.actual[e], this.constraints[e])) }) } resolveRefConstraints() { var e; let { dragConstraints: t, onMeasureDragConstraints: n } = this.getProps(); if (!t || !rt(t)) return !1; let r = t.current; i$(null !== r, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."); let { projection: i } = this.visualElement; if (!i || !i.layout) return !1; let o = function(e, t, n) { let r = sh(e, n), { scroll: i } = t; return i && (sl(r.x, i.x), sl(r.y, i.y)), r }(r, i.root, this.visualElement.getTransformPagePoint()), a = { x: a2((e = i.layout.actual).x, o.x), y: a2(e.y, o.y) }; if (n) { let s = n(function({ x: e, y: t }) { return { top: t.min, right: e.max, bottom: t.max, left: e.min } }(a)); this.hasMutatedConstraints = !!s, s && (a = se(s)) } return a } startAnimation(e) { let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), s = this.constraints || {}, l = a9(a => { var l; if (!sm(a, t, this.currentDirection)) return; let u = null !== (l = null == s ? void 0 : s[a]) && void 0 !== l ? l : {}; o && (u = { min: 0, max: 0 }); let c = { type: "inertia", velocity: n ? e[a] : 0, bounceStiffness: r ? 200 : 1e6, bounceDamping: r ? 40 : 1e7, timeConstant: 750, restDelta: 1, restSpeed: 10, ...i, ...u }; return this.startAxisValueAnimation(a, c) }); return Promise.all(l).then(a) } startAxisValueAnimation(e, t) { let n = this.getAxisMotionValue(e); return av(e, n, 0, t) } stopAnimation() { a9(e => this.getAxisMotionValue(e).stop()) } getAxisMotionValue(e) { var t, n; let r = "_drag" + e.toUpperCase(), i = this.visualElement.getProps()[r]; return i || this.visualElement.getValue(e, null !== (n = null === (t = this.visualElement.getProps().initial) || void 0 === t ? void 0 : t[e]) && void 0 !== n ? n : 0) } snapToCursor(e) { a9(t => { let { drag: n } = this.getProps(); if (!sm(t, n, this.currentDirection)) return; let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t); if (r && r.layout) { let { min: o, max: a } = r.layout.actual[t]; i.set(e[t] - i2(o, a, .5)) } }) } scalePositionWithinConstraints() { var e; if (!this.visualElement.current) return; let { drag: t, dragConstraints: n } = this.getProps(), { projection: r } = this.visualElement; if (!rt(n) || !r || !this.constraints) return; this.stopAnimation(); let i = { x: 0, y: 0 }; a9(e => { let t = this.getAxisMotionValue(e); if (t) { let n = t.get(); i[e] = function(e, t) { let n = .5, r = aY(e), i = aY(t); return i > r ? n = i1(t.min, t.max - r, e.min) : r > i && (n = i1(e.min, e.max - i, t.min)), iY(0, 1, n) }({ min: n, max: n }, this.constraints[e]) } }); let { transformTemplate: o } = this.visualElement.getProps(); this.visualElement.current.style.transform = o ? o({}, "") : "none", null === (e = r.root) || void 0 === e || e.updateScroll(), r.updateLayout(), this.resolveConstraints(), a9(e => { if (!sm(e, t, null)) return; let n = this.getAxisMotionValue(e), { min: r, max: o } = this.constraints[e]; n.set(i2(r, o, i[e])) }) } addListeners() { var e; if (!this.visualElement.current) return; sp.set(this.visualElement, this); let t = this.visualElement.current, n = iE(t, "pointerdown", e => { let { drag: t, dragListener: n = !0 } = this.getProps(); t && n && this.start(e) }), r = () => { let { dragConstraints: e } = this.getProps(); rt(e) && (this.constraints = this.resolveRefConstraints()) }, { projection: i } = this.visualElement, o = i.addEventListener("measure", r); i && !i.layout && (null === (e = i.root) || void 0 === e || e.updateScroll(), i.updateLayout()), r(); let a = iu(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t }) => { this.isDragging && t && (a9(t => { let n = this.getAxisMotionValue(t); n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate)) }), this.visualElement.render()) }); return () => { a(), n(), o(), null == s || s() } } getProps() { let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: o = .35, dragMomentum: a = !0 } = e; return { ...e, drag: t, dragDirectionLock: n, dragPropagation: r, dragConstraints: i, dragElastic: o, dragMomentum: a } } } function sm(e, t, n) { return (!0 === t || t === e) && (null === n || n === e) } let sg = { pan: iB(function({ onPan: e, onPanStart: t, onPanEnd: n, onPanSessionStart: r, visualElement: i }) { let o = (0, el.useRef)(null), { transformPagePoint: a } = (0, el.useContext)(n7), s = { onSessionStart: r, onStart: t, onMove: e, onEnd: (e, t) => { o.current = null, n && n(e, t) } }; (0, el.useEffect)(() => { null !== o.current && o.current.updateHandlers(s) }), ik(i, "pointerdown", (e || t || n || r) && function(e) { o.current = new aU(e, s, { transformPagePoint: a }) }), n4(() => o.current && o.current.end()) }), drag: iB(function(e) { let { dragControls: t, visualElement: n } = e, r = nX(() => new sv(n)); (0, el.useEffect)(() => t && t.subscribe(r), [r, t]), (0, el.useEffect)(() => r.addListeners(), [r]) }) }; function sy(e) { return "string" == typeof e && e.startsWith("var(--") } let sb = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/; function sx(e, t, n = 1) { i$(n <= 4, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`); let [r, i] = function(e) { let t = sb.exec(e); if (!t) return [,]; let [, n, r] = t; return [n, r] }(e); if (!r) return; let o = window.getComputedStyle(t).getPropertyValue(r); return o ? o.trim() : sy(i) ? sx(i, t, n + 1) : i } let sw = new Set(["width", "height", "top", "left", "right", "bottom", "x", "y"]), s_ = e => sw.has(e), sE = e => Object.keys(e).some(s_), sk = (e, t) => { e.set(t, !1), e.set(t) }, sj = e => e === rz || e === rD; (kE = kC || (kC = {})).width = "width", kE.height = "height", kE.left = "left", kE.right = "right", kE.top = "top", kE.bottom = "bottom"; let sS = (e, t) => parseFloat(e.split(", ")[t]), sO = (e, t) => (n, { transform: r }) => { if ("none" === r || !r) return 0; let i = r.match(/^matrix3d\((.+)\)$/); if (i) return sS(i[1], t); { let o = r.match(/^matrix\((.+)\)$/); return o ? sS(o[1], e) : 0 } }, sC = new Set(["x", "y", "z"]), sA = ry.filter(e => !sC.has(e)), sT = { width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n), height: ({ y: e }, { paddingTop: t = "0", paddingBottom: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n), top: (e, { top: t }) => parseFloat(t), left: (e, { left: t }) => parseFloat(t), bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min), right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min), x: sO(4, 13), y: sO(5, 14) }, sM = (e, t, n) => { let r = t.measureViewportBox(), i = t.current, o = getComputedStyle(i), { display: a } = o, s = {}; "none" === a && t.setStaticValue("display", e.display || "block"), n.forEach(e => { s[e] = sT[e](r, o) }), t.render(); let l = t.measureViewportBox(); return n.forEach(n => { let r = t.getValue(n); sk(r, s[n]), e[n] = sT[n](l, o) }), e }, sP = (e, t, n = {}, r = {}) => { t = { ...t }, r = { ...r }; let i = Object.keys(t).filter(s_), o = [], a = !1, s = []; if (i.forEach(i => { let l; let u = e.getValue(i); if (!e.hasValue(i)) return; let c = n[i], f = aS(c), d = t[i]; if (it(d)) { let h = d.length, p = null === d[0] ? 1 : 0; f = aS(c = d[p]); for (let v = p; v < h; v++)l ? i$(aS(d[v]) === l, "All keyframes must be of the same type") : i$((l = aS(d[v])) === f || sj(f) && sj(l), "Keyframes must be of the same dimension as the current value") } else l = aS(d); if (f !== l) { if (sj(f) && sj(l)) { let m = u.get(); "string" == typeof m && u.set(parseFloat(m)), "string" == typeof d ? t[i] = parseFloat(d) : Array.isArray(d) && l === rD && (t[i] = d.map(parseFloat)) } else (null == f ? void 0 : f.transform) && (null == l ? void 0 : l.transform) && (0 === c || 0 === d) ? 0 === c ? u.set(l.transform(c)) : t[i] = f.transform(d) : (a || (o = function(e) { let t = []; return sA.forEach(n => { let r = e.getValue(n); void 0 !== r && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0)) }), t.length && e.render(), t }(e), a = !0), s.push(i), r[i] = void 0 !== r[i] ? r[i] : t[i], sk(u, d)) } }), !s.length) return { target: t, transitionEnd: r }; { let l = s.indexOf("height") >= 0 ? window.pageYOffset : null, u = sM(t, e, s); return o.length && o.forEach(([t, n]) => { e.getValue(t).set(n) }), e.render(), n$ && null !== l && window.scrollTo({ top: l }), { target: u, transitionEnd: r } } }, sN = (e, t, n, r) => { var i, o; let a = function(e, { ...t }, n) { let r = e.current; if (!(r instanceof Element)) return { target: t, transitionEnd: n }; for (let i in n && (n = { ...n }), e.values.forEach(e => { let t = e.get(); if (!sy(t)) return; let n = sx(t, r); n && e.set(n) }), t) { let o = t[i]; if (!sy(o)) continue; let a = sx(o, r); a && (t[i] = a, n && void 0 === n[i] && (n[i] = o)) } return { target: t, transitionEnd: n } }(e, t, r); return t = a.target, r = a.transitionEnd, i = t, o = r, sE(i) ? sP(e, i, n, o) : { target: i, transitionEnd: o } }, sR = { current: null }, sD = { current: !1 }, sL = Object.keys(ru), sF = sL.length, sI = ["AnimationStart", "AnimationComplete", "Update", "Unmount", "BeforeLayoutMeasure", "LayoutMeasure", "LayoutAnimationStart", "LayoutAnimationComplete"]; class sz { constructor({ parent: e, props: t, reducedMotionConfig: n, visualState: r }, i = {}) { this.current = null, this.children = new Set, this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = new Map, this.isPresent = !0, this.valueSubscriptions = new Map, this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => { this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection)) }, this.scheduleRender = () => nV.render(this.render, !1, !0); let { latestValues: o, renderState: a } = r; this.latestValues = o, this.baseTarget = { ...o }, this.initialValues = t.initial ? { ...o } : {}, this.renderState = a, this.parent = e, this.props = t, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = n, this.options = i, this.isControllingVariants = ro(t), this.isVariantNode = ra(t), this.isVariantNode && (this.variantChildren = new Set), this.manuallyAnimateOnMount = Boolean(e && e.current); let { willChange: s, ...l } = this.scrapeMotionValuesFromProps(t); for (let u in l) { let c = l[u]; void 0 !== o[u] && rw(c) && (c.set(o[u], !1), aT(s) && s.add(u)) } if (t.values) for (let f in t.values) { let d = t.values[f]; void 0 !== o[f] && rw(d) && d.set(o[f]) } } scrapeMotionValuesFromProps(e) { return {} } mount(e) { var t; this.current = e, this.projection && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = null === (t = this.parent) || void 0 === t ? void 0 : t.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), sD.current || function() { if (sD.current = !0, n$) { if (window.matchMedia) { let e = window.matchMedia("(prefers-reduced-motion)"), t = () => sR.current = e.matches; e.addListener(t), t() } else sR.current = !1 } }(), this.shouldReduceMotion = "never" !== this.reducedMotionConfig && ("always" === this.reducedMotionConfig || sR.current), this.parent && this.parent.children.add(this), this.setProps(this.props) } unmount() { var e, t, n; for (let r in null === (e = this.projection) || void 0 === e || e.unmount(), nB.update(this.notifyUpdate), nB.render(this.render), this.valueSubscriptions.forEach(e => e()), null === (t = this.removeFromVariantTree) || void 0 === t || t.call(this), null === (n = this.parent) || void 0 === n || n.children.delete(this), this.events) this.events[r].clear(); this.current = null } bindToMotionValue(e, t) { let n = t.onChange(t => { this.latestValues[e] = t, this.props.onUpdate && nV.update(this.notifyUpdate, !1, !0) }), r = t.onRenderRequest(this.scheduleRender); this.valueSubscriptions.set(e, () => { n(), r() }) } sortNodePosition(e) { return this.current && this.sortInstanceNodePosition && this.type === e.type ? this.sortInstanceNodePosition(this.current, e.current) : 0 } loadFeatures(e, t, n, r, i, o) { let a = []; "production" !== nT && n && t && i$(!1, "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead."); for (let s = 0; s < sF; s++) { let l = sL[s], { isEnabled: u, Component: c } = ru[l]; u(e) && c && a.push((0, el.createElement)(c, { key: l, ...e, visualElement: this })) } if (!this.projection && i) { this.projection = new i(r, this.latestValues, this.parent && this.parent.projection); let { layoutId: f, layout: d, drag: h, dragConstraints: p, layoutScroll: v } = e; this.projection.setOptions({ layoutId: f, layout: d, alwaysMeasureLayout: Boolean(h) || p && rt(p), visualElement: this, scheduleRender: () => this.scheduleRender(), animationType: "string" == typeof d ? d : "both", initialPromotionConfig: o, layoutScroll: v }) } return a } triggerBuild() { this.build(this.renderState, this.latestValues, this.options, this.props) } measureViewportBox() { return this.current ? this.measureInstanceViewportBox(this.current, this.props) : a7() } getStaticValue(e) { return this.latestValues[e] } setStaticValue(e, t) { this.latestValues[e] = t } makeTargetAnimatable(e, t = !0) { return this.makeTargetAnimatableFromInstance(e, this.props, t) } setProps(e) { (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.props = e; for (let t = 0; t < sI.length; t++) { let n = sI[t]; this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]); let r = e["on" + n]; r && (this.propEventSubscriptions[n] = this.on(n, r)) } this.prevMotionValues = function(e, t, n) { let { willChange: r } = t; for (let i in t) { let o = t[i], a = n[i]; if (rw(o)) e.addValue(i, o), aT(r) && r.add(i); else if (rw(a)) e.addValue(i, aE(o)), aT(r) && r.remove(i); else if (a !== o) { if (e.hasValue(i)) { let s = e.getValue(i); s.hasAnimated || s.set(o) } else { let l = e.getStaticValue(i); e.addValue(i, aE(void 0 !== l ? l : o)) } } } for (let u in n) void 0 === t[u] && e.removeValue(u); return t }(this, this.scrapeMotionValuesFromProps(e), this.prevMotionValues) } getProps() { return this.props } getVariant(e) { var t; return null === (t = this.props.variants) || void 0 === t ? void 0 : t[e] } getDefaultTransition() { return this.props.transition } getTransformPagePoint() { return this.props.transformPagePoint } getClosestVariantNode() { var e; return this.isVariantNode ? this : null === (e = this.parent) || void 0 === e ? void 0 : e.getClosestVariantNode() } getVariantContext(e = !1) { var t, n; if (e) return null === (t = this.parent) || void 0 === t ? void 0 : t.getVariantContext(); if (!this.isControllingVariants) { let r = (null === (n = this.parent) || void 0 === n ? void 0 : n.getVariantContext()) || {}; return void 0 !== this.props.initial && (r.initial = this.props.initial), r } let i = {}; for (let o = 0; o < sB; o++) { let a = sV[o], s = this.props[a]; (rn(s) || !1 === s) && (i[a] = s) } return i } addVariantChild(e) { var t; let n = this.getClosestVariantNode(); if (n) return null === (t = n.variantChildren) || void 0 === t || t.add(e), () => n.variantChildren.delete(e) } addValue(e, t) { this.hasValue(e) && this.removeValue(e), this.values.set(e, t), this.latestValues[e] = t.get(), this.bindToMotionValue(e, t) } removeValue(e) { var t; this.values.delete(e), null === (t = this.valueSubscriptions.get(e)) || void 0 === t || t(), this.valueSubscriptions.delete(e), delete this.latestValues[e], this.removeValueFromRenderState(e, this.renderState) } hasValue(e) { return this.values.has(e) } getValue(e, t) { if (this.props.values && this.props.values[e]) return this.props.values[e]; let n = this.values.get(e); return void 0 === n && void 0 !== t && (n = aE(t), this.addValue(e, n)), n } readValue(e) { return void 0 === this.latestValues[e] && this.current ? this.readValueFromInstance(this.current, e, this.options) : this.latestValues[e] } setBaseTarget(e, t) { this.baseTarget[e] = t } getBaseTarget(e) { var t; let { initial: n } = this.props, r = "string" == typeof n || "object" == typeof n ? null === (t = ie(this.props, n)) || void 0 === t ? void 0 : t[e] : void 0; if (n && void 0 !== r) return r; let i = this.getBaseTargetFromProps(this.props, e); return void 0 === i || rw(i) ? void 0 !== this.initialValues[e] && void 0 === r ? void 0 : this.baseTarget[e] : i } on(e, t) { return this.events[e] || (this.events[e] = new ax), this.events[e].add(t) } notify(e, ...t) { var n; null === (n = this.events[e]) || void 0 === n || n.notify(...t) } } let sV = ["initial", ...aR], sB = sV.length; class sZ extends sz { sortInstanceNodePosition(e, t) { return 2 & e.compareDocumentPosition(t) ? 1 : -1 } getBaseTargetFromProps(e, t) { var n; return null === (n = e.style) || void 0 === n ? void 0 : n[t] } removeValueFromRenderState(e, { vars: t, style: n }) { delete t[e], delete n[e] } makeTargetAnimatableFromInstance({ transition: e, transitionEnd: t, ...n }, { transformValues: r }, i) { let o = function(e, t, n) { var r; let i = {}; for (let o in e) { let a = function(e, t) { if (!t) return; let n = t[e] || t.default || t; return n.from }(o, t); i[o] = void 0 !== a ? a : null === (r = n.getValue(o)) || void 0 === r ? void 0 : r.get() } return i }(n, e || {}, this); if (r && (t && (t = r(t)), n && (n = r(n)), o && (o = r(o))), i) { !function(e, t, n) { var r, i; let o = Object.keys(t).filter(t => !e.hasValue(t)), a = o.length; if (a) for (let s = 0; s < a; s++) { let l = o[s], u = t[l], c = null; Array.isArray(u) && (c = u[0]), null === c && (c = null !== (i = null !== (r = n[l]) && void 0 !== r ? r : e.readValue(l)) && void 0 !== i ? i : t[l]), null != c && ("string" == typeof c && (am(c) || ag(c)) ? c = parseFloat(c) : !aC(c) && op.test(u) && (c = al(l, u)), e.addValue(l, aE(c)), void 0 === n[l] && (n[l] = c), null !== c && e.setBaseTarget(l, c)) } }(this, n, o); let a = sN(this, n, o, t); t = a.transitionEnd, n = a.target } return { transition: e, transitionEnd: t, ...n } } } class sU extends sZ { readValueFromInstance(e, t) { if (rb.has(t)) { let n = as(t); return n && n.default || 0 } { let r = window.getComputedStyle(e), i = (rk(t) ? r.getPropertyValue(t) : r[t]) || 0; return "string" == typeof i ? i.trim() : i } } measureInstanceViewportBox(e, { transformPagePoint: t }) { return sh(e, t) } build(e, t, n, r) { rH(e, t, n, r.transformTemplate) } scrapeMotionValuesFromProps(e) { return r7(e) } renderInstance(e, t, n, r) { r5(e, t, n, r) } } class sH extends sZ { getBaseTargetFromProps(e, t) { return e[t] } readValueFromInstance(e, t) { var n; return rb.has(t) ? (null === (n = as(t)) || void 0 === n ? void 0 : n.default) || 0 : (t = r6.has(t) ? t : r3(t), e.getAttribute(t)) } measureInstanceViewportBox() { return a7() } scrapeMotionValuesFromProps(e) { return r9(e) } build(e, t, n, r) { r1(e, t, n, r.transformTemplate) } renderInstance(e, t, n, r) { r8(e, t, n, r) } } let sW = (e, t) => rm(e) ? new sH(t, { enableHardwareAcceleration: !1 }) : new sU(t, { enableHardwareAcceleration: !0 }); function sq(e, t) { return t.max === t.min ? 0 : e / (t.max - t.min) * 100 } let s$ = { correct: (e, t) => { if (!t.target) return e; if ("string" == typeof e) { if (!rD.test(e)) return e; e = parseFloat(e) } let n = sq(e, t.target.x), r = sq(e, t.target.y); return `${n}% ${r}%` } }, sY = "_$css", sG = { correct: (e, { treeScale: t, projectionDelta: n }) => { let r = e, i = e.includes("var("), o = []; i && (e = e.replace(sb, e => (o.push(e), sY))); let a = op.parse(e); if (a.length > 5) return r; let s = op.createTransformer(e), l = "number" != typeof a[0] ? 1 : 0, u = n.x.scale * t.x, c = n.y.scale * t.y; a[0 + l] /= u, a[1 + l] /= c; let f = i2(u, c, .5); "number" == typeof a[2 + l] && (a[2 + l] /= f), "number" == typeof a[3 + l] && (a[3 + l] /= f); let d = s(a); if (i) { let h = 0; d = d.replace(sY, () => { let e = o[h]; return h++, e }) } return d } }; class sK extends el.Component { componentDidMount() { let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e; Object.assign(rg, sX), i && (t.group && t.group.add(i), n && n.register && r && n.register(i), i.root.didUpdate(), i.addEventListener("animationComplete", () => { this.safeToRemove() }), i.setOptions({ ...i.options, onExitComplete: () => this.safeToRemove() })), rc.hasEverUpdated = !0 } getSnapshotBeforeUpdate(e) { let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, o = n.projection; return o && (o.isPresent = i, r || e.layoutDependency !== t || void 0 === t ? o.willUpdate() : this.safeToRemove(), e.isPresent === i || (i ? o.promote() : o.relegate() || nV.postRender(() => { var e; (null === (e = o.getStack()) || void 0 === e ? void 0 : e.members.length) || this.safeToRemove() }))), null } componentDidUpdate() { let { projection: e } = this.props.visualElement; e && (e.root.didUpdate(), !e.currentAnimation && e.isLead() && this.safeToRemove()) } componentWillUnmount() { let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e; r && (r.scheduleCheckAfterUnmount(), (null == t ? void 0 : t.group) && t.group.remove(r), (null == n ? void 0 : n.deregister) && n.deregister(r)) } safeToRemove() { let { safeToRemove: e } = this.props; null == e || e() } render() { return null } } let sX = { borderRadius: { ...s$, applyTo: ["borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius"] }, borderTopLeftRadius: s$, borderTopRightRadius: s$, borderBottomLeftRadius: s$, borderBottomRightRadius: s$, boxShadow: sG }, sQ = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], sJ = sQ.length, s0 = e => "string" == typeof e ? parseFloat(e) : e, s1 = e => "number" == typeof e || rD.test(e); function s2(e, t) { var n; return null !== (n = e[t]) && void 0 !== n ? n : e.borderRadius } let s4 = s5(0, .5, oN), s3 = s5(.5, .95, oC); function s5(e, t, n) { return r => r < e ? 0 : r > t ? 1 : n(i1(e, t, r)) } function s6(e, t) { e.min = t.min, e.max = t.max } function s8(e, t) { s6(e.x, t.x), s6(e.y, t.y) } function s7(e, t, n, r, i) { return e -= t, e = r + 1 / n * (e - r), void 0 !== i && (e = r + 1 / i * (e - r)), e } function s9(e, t, [n, r, i], o, a) { !function(e, t = 0, n = 1, r = .5, i, o = e, a = e) { if (rR.test(t)) { t = parseFloat(t); let s = i2(a.min, a.max, t / 100); t = s - a.min } if ("number" != typeof t) return; let l = i2(o.min, o.max, r); e === o && (l -= t), e.min = s7(e.min, t, n, l, i), e.max = s7(e.max, t, n, l, i) }(e, t[n], t[r], t[i], t.scale, o, a) } let le = ["x", "scaleX", "originX"], lt = ["y", "scaleY", "originY"]; function ln(e, t, n, r) { s9(e.x, t, le, null == n ? void 0 : n.x, null == r ? void 0 : r.x), s9(e.y, t, lt, null == n ? void 0 : n.y, null == r ? void 0 : r.y) } function lr(e) { return 0 === e.translate && 1 === e.scale } function li(e) { return lr(e.x) && lr(e.y) } function lo(e, t) { return e.x.min === t.x.min && e.x.max === t.x.max && e.y.min === t.y.min && e.y.max === t.y.max } function la(e) { return aY(e.x) / aY(e.y) } class ls { constructor() { this.members = [] } add(e) { ay(this.members, e), e.scheduleRender() } remove(e) { if (ab(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) { let t = this.members[this.members.length - 1]; t && this.promote(t) } } relegate(e) { let t; let n = this.members.findIndex(t => e === t); if (0 === n) return !1; for (let r = n; r >= 0; r--) { let i = this.members[r]; if (!1 !== i.isPresent) { t = i; break } } return !!t && (this.promote(t), !0) } promote(e, t) { var n; let r = this.lead; if (e !== r && (this.prevLead = r, this.lead = e, e.show(), r)) { r.instance && r.scheduleRender(), e.scheduleRender(), e.resumeFrom = r, t && (e.resumeFrom.preserveOpacity = !0), r.snapshot && (e.snapshot = r.snapshot, e.snapshot.latestValues = r.animationValues || r.latestValues, e.snapshot.isShared = !0), (null === (n = e.root) || void 0 === n ? void 0 : n.isUpdating) && (e.isLayoutDirty = !0); let { crossfade: i } = e.options; !1 === i && r.hide() } } exitAnimationComplete() { this.members.forEach(e => { var t, n, r, i, o; null === (n = (t = e.options).onExitComplete) || void 0 === n || n.call(t), null === (o = null === (r = e.resumingFrom) || void 0 === r ? void 0 : (i = r.options).onExitComplete) || void 0 === o || o.call(i) }) } scheduleRender() { this.members.forEach(e => { e.instance && e.scheduleRender(!1) }) } removeLeadSnapshot() { this.lead && this.lead.snapshot && (this.lead.snapshot = void 0) } } function ll(e, t, n) { let r = e.x.translate / t.x, i = e.y.translate / t.y, o = `translate3d(${r}px, ${i}px, 0) `; if (o += `scale(${1 / t.x}, ${1 / t.y}) `, n) { let { rotate: a, rotateX: s, rotateY: l } = n; a && (o += `rotate(${a}deg) `), s && (o += `rotateX(${s}deg) `), l && (o += `rotateY(${l}deg) `) } let u = e.x.scale * t.x, c = e.y.scale * t.y; return "translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)" == (o += `scale(${u}, ${c})`) ? "none" : o } let lu = (e, t) => e.depth - t.depth; class lc { constructor() { this.children = [], this.isDirty = !1 } add(e) { ay(this.children, e), this.isDirty = !0 } remove(e) { ab(this.children, e), this.isDirty = !0 } forEach(e) { this.isDirty && this.children.sort(lu), this.isDirty = !1, this.children.forEach(e) } } let lf = ["", "X", "Y", "Z"]; function ld({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) { return class { constructor(e, n = {}, r = null == t ? void 0 : t()) { this.children = new Set, this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = new Map, this.potentialNodes = new Map, this.checkUpdateFailed = () => { this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots()) }, this.updateProjection = () => { this.nodes.forEach(lb), this.nodes.forEach(lx) }, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = new Map, this.id = e, this.latestValues = n, this.root = r ? r.root || r : this, this.path = r ? [...r.path, r] : [], this.parent = r, this.depth = r ? r.depth + 1 : 0, e && this.root.registerPotentialNode(e, this); for (let i = 0; i < this.path.length; i++)this.path[i].shouldResetTransform = !0; this.root === this && (this.nodes = new lc) } addEventListener(e, t) { return this.eventHandlers.has(e) || this.eventHandlers.set(e, new ax), this.eventHandlers.get(e).add(t) } notifyListeners(e, ...t) { let n = this.eventHandlers.get(e); null == n || n.notify(...t) } hasListeners(e) { return this.eventHandlers.has(e) } registerPotentialNode(e, t) { this.potentialNodes.set(e, t) } mount(t, n = !1) { var r; if (this.instance) return; this.isSVG = t instanceof SVGElement && "svg" !== t.tagName, this.instance = t; let { layoutId: i, layout: o, visualElement: a } = this.options; if (a && !a.current && a.mount(t), this.root.nodes.add(this), null === (r = this.parent) || void 0 === r || r.children.add(this), this.id && this.root.potentialNodes.delete(this.id), n && (o || i) && (this.isLayoutDirty = !0), e) { let s; let l = () => this.root.updateBlockedByResize = !1; e(t, () => { this.root.updateBlockedByResize = !0, s && s(), s = ac(l, 250), rc.hasAnimatedSinceResize && (rc.hasAnimatedSinceResize = !1, this.nodes.forEach(ly)) }) } i && this.root.registerSharedNode(i, this), !1 !== this.options.animate && a && (i || o) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeTargetChanged: n, layout: r }) => { var i, o, s, l, u; if (this.isTreeAnimationBlocked()) { this.target = void 0, this.relativeTarget = void 0; return } let c = null !== (o = null !== (i = this.options.transition) && void 0 !== i ? i : a.getDefaultTransition()) && void 0 !== o ? o : lS, { onLayoutAnimationStart: f, onLayoutAnimationComplete: d } = a.getProps(), h = !this.targetLayout || !lo(this.targetLayout, r) || n, p = !t && n; if ((null === (s = this.resumeFrom) || void 0 === s ? void 0 : s.instance) || p || t && (h || !this.currentAnimation)) { this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(e, p); let v = { ...ap(c, "layout"), onPlay: f, onComplete: d }; a.shouldReduceMotion && (v.delay = 0, v.type = !1), this.startAnimation(v) } else t || 0 !== this.animationProgress || ly(this), this.isLead() && (null === (u = (l = this.options).onExitComplete) || void 0 === u || u.call(l)); this.targetLayout = r }) } unmount() { var e, t; this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), null === (e = this.getStack()) || void 0 === e || e.remove(this), null === (t = this.parent) || void 0 === t || t.children.delete(this), this.instance = void 0, nB.preRender(this.updateProjection) } blockUpdate() { this.updateManuallyBlocked = !0 } unblockUpdate() { this.updateManuallyBlocked = !1 } isUpdateBlocked() { return this.updateManuallyBlocked || this.updateBlockedByResize } isTreeAnimationBlocked() { var e; return this.isAnimationBlocked || (null === (e = this.parent) || void 0 === e ? void 0 : e.isTreeAnimationBlocked()) || !1 } startUpdate() { var e; this.isUpdateBlocked() || (this.isUpdating = !0, null === (e = this.nodes) || void 0 === e || e.forEach(lw)) } willUpdate(e = !0) { var t, n, r; if (this.root.isUpdateBlocked()) { null === (n = (t = this.options).onExitComplete) || void 0 === n || n.call(t); return } if (this.root.isUpdating || this.root.startUpdate(), this.isLayoutDirty) return; this.isLayoutDirty = !0; for (let i = 0; i < this.path.length; i++) { let o = this.path[i]; o.shouldResetTransform = !0, o.updateScroll() } let { layoutId: a, layout: s } = this.options; if (void 0 === a && !s) return; let l = null === (r = this.options.visualElement) || void 0 === r ? void 0 : r.getProps().transformTemplate; this.prevTransformTemplateValue = null == l ? void 0 : l(this.latestValues, ""), this.updateSnapshot(), e && this.notifyListeners("willUpdate") } didUpdate() { let e = this.isUpdateBlocked(); if (e) { this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(lm); return } this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(lO), this.potentialNodes.clear()), this.nodes.forEach(lg), this.nodes.forEach(lh), this.nodes.forEach(lp), this.clearAllSnapshots(), nZ.update(), nZ.preRender(), nZ.render()) } clearAllSnapshots() { this.nodes.forEach(lv), this.sharedNodes.forEach(l_) } scheduleUpdateProjection() { nV.preRender(this.updateProjection, !1, !0) } scheduleCheckAfterUnmount() { nV.postRender(() => { this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed() }) } updateSnapshot() { if (this.snapshot || !this.instance) return; let e = this.measure(), t = this.removeTransform(this.removeElementScroll(e)); lA(t), this.snapshot = { measured: e, layout: t, latestValues: {} } } updateLayout() { var e; if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return; if (this.resumeFrom && !this.resumeFrom.instance) for (let t = 0; t < this.path.length; t++) { let n = this.path[t]; n.updateScroll() } let r = this.measure(); lA(r); let i = this.layout; this.layout = { measured: r, actual: this.removeElementScroll(r) }, this.layoutCorrected = a7(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.actual), null === (e = this.options.visualElement) || void 0 === e || e.notify("LayoutMeasure", this.layout.actual, null == i ? void 0 : i.actual) } updateScroll() { this.options.layoutScroll && this.instance && (this.isScrollRoot = r(this.instance), this.scroll = n(this.instance)) } resetTransform() { var e; if (!i) return; let t = this.isLayoutDirty || this.shouldResetTransform, n = this.projectionDelta && !li(this.projectionDelta), r = null === (e = this.options.visualElement) || void 0 === e ? void 0 : e.getProps().transformTemplate, o = null == r ? void 0 : r(this.latestValues, ""), a = o !== this.prevTransformTemplateValue; t && (n || sr(this.latestValues) || a) && (i(this.instance, o), this.shouldResetTransform = !1, this.scheduleRender()) } measure() { let { visualElement: e } = this.options; if (!e) return a7(); let t = e.measureViewportBox(), { scroll: n } = this.root; return n && (sl(t.x, n.x), sl(t.y, n.y)), t } removeElementScroll(e) { let t = a7(); s8(t, e); for (let n = 0; n < this.path.length; n++) { let r = this.path[n], { scroll: i, options: o, isScrollRoot: a } = r; if (r !== this.root && i && o.layoutScroll) { if (a) { s8(t, e); let { scroll: s } = this.root; s && (sl(t.x, -s.x), sl(t.y, -s.y)) } sl(t.x, i.x), sl(t.y, i.y) } } return t } applyTransform(e, t = !1) { let n = a7(); s8(n, e); for (let r = 0; r < this.path.length; r++) { let i = this.path[r]; !t && i.options.layoutScroll && i.scroll && i !== i.root && sd(n, { x: -i.scroll.x, y: -i.scroll.y }), sr(i.latestValues) && sd(n, i.latestValues) } return sr(this.latestValues) && sd(n, this.latestValues), n } removeTransform(e) { var t; let n = a7(); s8(n, e); for (let r = 0; r < this.path.length; r++) { let i = this.path[r]; if (!i.instance || !sr(i.latestValues)) continue; sn(i.latestValues) && i.updateSnapshot(); let o = a7(), a = i.measure(); s8(o, a), ln(n, i.latestValues, null === (t = i.snapshot) || void 0 === t ? void 0 : t.layout, o) } return sr(this.latestValues) && ln(n, this.latestValues), n } setTargetDelta(e) { this.targetDelta = e, this.root.scheduleUpdateProjection() } setOptions(e) { this.options = { ...this.options, ...e, crossfade: void 0 === e.crossfade || e.crossfade } } clearMeasurements() { this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1 } resolveTargetDelta() { var e, t, n, r; let { layout: i, layoutId: o } = this.options; if (this.layout && (i || o)) { if (!this.targetDelta && !this.relativeTarget) { let a = this.getClosestProjectingParent(); a && a.layout ? (this.relativeParent = a, this.relativeTarget = a7(), this.relativeTargetOrigin = a7(), a0(this.relativeTargetOrigin, this.layout.actual, a.layout.actual), s8(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0 } if ((this.relativeTarget || this.targetDelta) && ((this.target || (this.target = a7(), this.targetWithTransforms = a7()), this.relativeTarget && this.relativeTargetOrigin && (null === (e = this.relativeParent) || void 0 === e ? void 0 : e.target)) ? (t = this.target, n = this.relativeTarget, r = this.relativeParent.target, aQ(t.x, n.x, r.x), aQ(t.y, n.y, r.y)) : this.targetDelta ? (Boolean(this.resumingFrom) ? this.target = this.applyTransform(this.layout.actual) : s8(this.target, this.layout.actual), ss(this.target, this.targetDelta)) : s8(this.target, this.layout.actual), this.attemptToResolveRelativeTarget)) { this.attemptToResolveRelativeTarget = !1; let s = this.getClosestProjectingParent(); s && Boolean(s.resumingFrom) === Boolean(this.resumingFrom) && !s.options.layoutScroll && s.target ? (this.relativeParent = s, this.relativeTarget = a7(), this.relativeTargetOrigin = a7(), a0(this.relativeTargetOrigin, this.target, s.target), s8(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0 } } } getClosestProjectingParent() { if (!(!this.parent || sn(this.parent.latestValues) || si(this.parent.latestValues))) return (this.parent.relativeTarget || this.parent.targetDelta) && this.parent.layout ? this.parent : this.parent.getClosestProjectingParent() } calcProjection() { var e; let { layout: t, layoutId: n } = this.options; if (this.isTreeAnimating = Boolean((null === (e = this.parent) || void 0 === e ? void 0 : e.isTreeAnimating) || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(t || n)) return; let r = this.getLead(); s8(this.layoutCorrected, this.layout.actual), function(e, t, n, r = !1) { var i, o; let a, s; let l = n.length; if (l) { t.x = t.y = 1; for (let u = 0; u < l; u++)s = (a = n[u]).projectionDelta, (null === (o = null === (i = a.instance) || void 0 === i ? void 0 : i.style) || void 0 === o ? void 0 : o.display) !== "contents" && (r && a.options.layoutScroll && a.scroll && a !== a.root && sd(e, { x: -a.scroll.x, y: -a.scroll.y }), s && (t.x *= s.x.scale, t.y *= s.y.scale, ss(e, s)), r && sr(a.latestValues) && sd(e, a.latestValues)) } }(this.layoutCorrected, this.treeScale, this.path, Boolean(this.resumingFrom) || this !== r); let { target: i } = r; if (!i) return; this.projectionDelta || (this.projectionDelta = a6(), this.projectionDeltaWithTransform = a6()); let o = this.treeScale.x, a = this.treeScale.y, s = this.projectionTransform; aX(this.projectionDelta, this.layoutCorrected, i, this.latestValues), this.projectionTransform = ll(this.projectionDelta, this.treeScale), (this.projectionTransform !== s || this.treeScale.x !== o || this.treeScale.y !== a) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", i)) } hide() { this.isVisible = !1 } show() { this.isVisible = !0 } scheduleRender(e = !0) { var t, n, r; null === (n = (t = this.options).scheduleRender) || void 0 === n || n.call(t), e && (null === (r = this.getStack()) || void 0 === r || r.scheduleRender()), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0) } setAnimationOrigin(e, t = !1) { var n; let r = this.snapshot, i = (null == r ? void 0 : r.latestValues) || {}, o = { ...this.latestValues }, a = a6(); this.relativeTarget = this.relativeTargetOrigin = void 0, this.attemptToResolveRelativeTarget = !t; let s = a7(), l = null == r ? void 0 : r.isShared, u = 1 >= ((null === (n = this.getStack()) || void 0 === n ? void 0 : n.members.length) || 0), c = Boolean(l && !u && !0 === this.options.crossfade && !this.path.some(lj)); this.animationProgress = 0, this.mixTargetDelta = t => { var n, r, f; let d = t / 1e3; lE(a.x, e.x, d), lE(a.y, e.y, d), this.setTargetDelta(a), this.relativeTarget && this.relativeTargetOrigin && this.layout && (null === (n = this.relativeParent) || void 0 === n ? void 0 : n.layout) && (a0(s, this.layout.actual, this.relativeParent.layout.actual), r = this.relativeTarget, f = this.relativeTargetOrigin, lk(r.x, f.x, s.x, d), lk(r.y, f.y, s.y, d)), l && (this.animationValues = o, function(e, t, n, r, i, o) { var a, s, l, u; i ? (e.opacity = i2(0, null !== (a = n.opacity) && void 0 !== a ? a : 1, s4(r)), e.opacityExit = i2(null !== (s = t.opacity) && void 0 !== s ? s : 1, 0, s3(r))) : o && (e.opacity = i2(null !== (l = t.opacity) && void 0 !== l ? l : 1, null !== (u = n.opacity) && void 0 !== u ? u : 1, r)); for (let c = 0; c < sJ; c++) { let f = `border${sQ[c]}Radius`, d = s2(t, f), h = s2(n, f); if (void 0 === d && void 0 === h) continue; d || (d = 0), h || (h = 0); let p = 0 === d || 0 === h || s1(d) === s1(h); p ? (e[f] = Math.max(i2(s0(d), s0(h), r), 0), (rR.test(h) || rR.test(d)) && (e[f] += "%")) : e[f] = h } (t.rotate || n.rotate) && (e.rotate = i2(t.rotate || 0, n.rotate || 0, r)) }(o, i, this.latestValues, d, c, u)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = d }, this.mixTargetDelta(0) } startAnimation(e) { var t, n; this.notifyListeners("animationStart"), null === (t = this.currentAnimation) || void 0 === t || t.stop(), this.resumingFrom && (null === (n = this.resumingFrom.currentAnimation) || void 0 === n || n.stop()), this.pendingAnimation && (nB.update(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = nV.update(() => { rc.hasAnimatedSinceResize = !0, this.currentAnimation = function(e, t, n = {}) { let r = rw(e) ? e : aE(e); return av("", r, 1e3, n), { stop: () => r.stop(), isAnimating: () => r.isAnimating() } }(0, 0, { ...e, onUpdate: t => { var n; this.mixTargetDelta(t), null === (n = e.onUpdate) || void 0 === n || n.call(e, t) }, onComplete: () => { var t; null === (t = e.onComplete) || void 0 === t || t.call(e), this.completeAnimation() } }), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0 }) } completeAnimation() { var e; this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0), null === (e = this.getStack()) || void 0 === e || e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete") } finishAnimation() { var e; this.currentAnimation && (null === (e = this.mixTargetDelta) || void 0 === e || e.call(this, 1e3), this.currentAnimation.stop()), this.completeAnimation() } applyTransformsToTarget() { let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e; if (t && n && r) { if (this !== e && this.layout && r && lT(this.options.animationType, this.layout.actual, r.actual)) { n = this.target || a7(); let o = aY(this.layout.actual.x); n.x.min = e.target.x.min, n.x.max = n.x.min + o; let a = aY(this.layout.actual.y); n.y.min = e.target.y.min, n.y.max = n.y.min + a } s8(t, n), sd(t, i), aX(this.projectionDeltaWithTransform, this.layoutCorrected, t, i) } } registerSharedNode(e, t) { var n, r, i; this.sharedNodes.has(e) || this.sharedNodes.set(e, new ls); let o = this.sharedNodes.get(e); o.add(t), t.promote({ transition: null === (n = t.options.initialPromotionConfig) || void 0 === n ? void 0 : n.transition, preserveFollowOpacity: null === (i = null === (r = t.options.initialPromotionConfig) || void 0 === r ? void 0 : r.shouldPreserveFollowOpacity) || void 0 === i ? void 0 : i.call(r, t) }) } isLead() { let e = this.getStack(); return !e || e.lead === this } getLead() { var e; let { layoutId: t } = this.options; return t && (null === (e = this.getStack()) || void 0 === e ? void 0 : e.lead) || this } getPrevLead() { var e; let { layoutId: t } = this.options; return t ? null === (e = this.getStack()) || void 0 === e ? void 0 : e.prevLead : void 0 } getStack() { let { layoutId: e } = this.options; if (e) return this.root.sharedNodes.get(e) } promote({ needsReset: e, transition: t, preserveFollowOpacity: n } = {}) { let r = this.getStack(); r && r.promote(this, n), e && (this.projectionDelta = void 0, this.needsReset = !0), t && this.setOptions({ transition: t }) } relegate() { let e = this.getStack(); return !!e && e.relegate(this) } resetRotation() { let { visualElement: e } = this.options; if (!e) return; let t = !1, n = {}; for (let r = 0; r < lf.length; r++) { let i = lf[r], o = "rotate" + i; e.getStaticValue(o) && (t = !0, n[o] = e.getStaticValue(o), e.setStaticValue(o, 0)) } if (t) { for (let a in null == e || e.render(), n) e.setStaticValue(a, n[a]); e.scheduleRender() } } getProjectionStyles(e = {}) { var t, n, r; let i = {}; if (!this.instance || this.isSVG) return i; if (!this.isVisible) return { visibility: "hidden" }; i.visibility = ""; let o = null === (t = this.options.visualElement) || void 0 === t ? void 0 : t.getProps().transformTemplate; if (this.needsReset) return this.needsReset = !1, i.opacity = "", i.pointerEvents = io(e.pointerEvents) || "", i.transform = o ? o(this.latestValues, "") : "none", i; let a = this.getLead(); if (!this.projectionDelta || !this.layout || !a.target) { let s = {}; return this.options.layoutId && (s.opacity = void 0 !== this.latestValues.opacity ? this.latestValues.opacity : 1, s.pointerEvents = io(e.pointerEvents) || ""), this.hasProjected && !sr(this.latestValues) && (s.transform = o ? o({}, "") : "none", this.hasProjected = !1), s } let l = a.animationValues || a.latestValues; this.applyTransformsToTarget(), i.transform = ll(this.projectionDeltaWithTransform, this.treeScale, l), o && (i.transform = o(l, i.transform)); let { x: u, y: c } = this.projectionDelta; for (let f in i.transformOrigin = `${100 * u.origin}% ${100 * c.origin}% 0`, a.animationValues ? i.opacity = a === this ? null !== (r = null !== (n = l.opacity) && void 0 !== n ? n : this.latestValues.opacity) && void 0 !== r ? r : 1 : this.preserveOpacity ? this.latestValues.opacity : l.opacityExit : i.opacity = a === this ? void 0 !== l.opacity ? l.opacity : "" : void 0 !== l.opacityExit ? l.opacityExit : 0, rg) { if (void 0 === l[f]) continue; let { correct: d, applyTo: h } = rg[f], p = d(l[f], a); if (h) { let v = h.length; for (let m = 0; m < v; m++)i[h[m]] = p } else i[f] = p } return this.options.layoutId && (i.pointerEvents = a === this ? io(e.pointerEvents) || "" : "none"), i } clearSnapshot() { this.resumeFrom = this.snapshot = void 0 } resetTree() { this.root.nodes.forEach(e => { var t; return null === (t = e.currentAnimation) || void 0 === t ? void 0 : t.stop() }), this.root.nodes.forEach(lm), this.root.sharedNodes.clear() } } } function lh(e) { e.updateLayout() } function lp(e) { var t, n, r; let i = (null === (t = e.resumeFrom) || void 0 === t ? void 0 : t.snapshot) || e.snapshot; if (e.isLead() && e.layout && i && e.hasListeners("didUpdate")) { let { actual: o, measured: a } = e.layout, { animationType: s } = e.options; "size" === s ? a9(e => { let t = i.isShared ? i.measured[e] : i.layout[e], n = aY(t); t.min = o[e].min, t.max = t.min + n }) : lT(s, i.layout, o) && a9(e => { let t = i.isShared ? i.measured[e] : i.layout[e], n = aY(o[e]); t.max = t.min + n }); let l = a6(); aX(l, o, i.layout); let u = a6(); i.isShared ? aX(u, e.applyTransform(a, !0), i.measured) : aX(u, o, i.layout); let c = !li(l), f = !1; if (!e.resumeFrom) { let d = e.getClosestProjectingParent(); if (d && !d.resumeFrom) { let { snapshot: h, layout: p } = d; if (h && p) { let v = a7(); a0(v, i.layout, h.layout); let m = a7(); a0(m, o, p.actual), lo(v, m) || (f = !0) } } } e.notifyListeners("didUpdate", { layout: o, snapshot: i, delta: u, layoutDelta: l, hasLayoutChanged: c, hasRelativeTargetChanged: f }) } else e.isLead() && (null === (r = (n = e.options).onExitComplete) || void 0 === r || r.call(n)); e.options.transition = void 0 } function lv(e) { e.clearSnapshot() } function lm(e) { e.clearMeasurements() } function lg(e) { let { visualElement: t } = e.options; (null == t ? void 0 : t.getProps().onBeforeLayoutMeasure) && t.notify("BeforeLayoutMeasure"), e.resetTransform() } function ly(e) { e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0 } function lb(e) { e.resolveTargetDelta() } function lx(e) { e.calcProjection() } function lw(e) { e.resetRotation() } function l_(e) { e.removeLeadSnapshot() } function lE(e, t, n) { e.translate = i2(t.translate, 0, n), e.scale = i2(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint } function lk(e, t, n, r) { e.min = i2(t.min, n.min, r), e.max = i2(t.max, n.max, r) } function lj(e) { return e.animationValues && void 0 !== e.animationValues.opacityExit } let lS = { duration: .45, ease: [.4, 0, .1, 1] }; function lO(e, t) { let n = e.root; for (let r = e.path.length - 1; r >= 0; r--)if (Boolean(e.path[r].instance)) { n = e.path[r]; break } let i = n && n !== e.root ? n.instance : document, o = i.querySelector(`[data-projection-id="${t}"]`); o && e.mount(o, !0) } function lC(e) { e.min = Math.round(e.min), e.max = Math.round(e.max) } function lA(e) { lC(e.x), lC(e.y) } function lT(e, t, n) { return "position" === e || "preserve-aspect" === e && !function(e, t, n = .1) { return aZ(e, t) <= n }(la(t), la(n), .2) } let lM = ld({ attachResizeListener: (e, t) => iu(e, "resize", t), measureScroll: () => ({ x: document.documentElement.scrollLeft || document.body.scrollLeft, y: document.documentElement.scrollTop || document.body.scrollTop }), checkIsScrollRoot: () => !0 }), lP = { current: void 0 }, lN = ld({ measureScroll: e => ({ x: e.scrollLeft, y: e.scrollTop }), defaultParent: () => { if (!lP.current) { let e = new lM(0, {}); e.mount(window), e.setOptions({ layoutScroll: !0 }), lP.current = e } return lP.current }, resetTransform: (e, t) => { e.style.transform = void 0 !== t ? t : "none" }, checkIsScrollRoot: e => Boolean("fixed" === window.getComputedStyle(e).position) }), lR = { ...aI, ...iZ, ...sg, measureLayout: function(e) { let [t, n] = iU(), r = (0, el.useContext)(n2); return el.createElement(sK, { ...e, layoutGroup: r, switchLayoutGroup: (0, el.useContext)(rh), isPresent: t, safeToRemove: n }) } }, lD = function(e) { function t(t, n = {}) { return function({ preloadedFeatures: e, createVisualElement: t, projectionNodeConstructor: n, useRender: r, useVisualState: i, Component: o }) { e && function(e) { for (let t in e) "projectionNodeConstructor" === t ? ru.projectionNodeConstructor = e[t] : ru[t].Component = e[t] }(e); let a = (0, el.forwardRef)(function(a, s) { var l, u; let c = { ...(0, el.useContext)(n7), ...a, layoutId: function({ layoutId: e }) { let t = (0, el.useContext)(n2).id; return t && void 0 !== e ? t + "-" + e : e }(a) }, { isStatic: f } = c, d = null, h = function(e) { let { initial: t, animate: n } = function(e, t) { if (ro(e)) { let { initial: n, animate: r } = e; return { initial: !1 === n || rn(n) ? n : void 0, animate: rn(r) ? r : void 0 } } return !1 !== e.inherit ? t : {} }(e, (0, el.useContext)(n9)); return (0, el.useMemo)(() => ({ initial: t, animate: n }), [rs(t), rs(n)]) }(a), p = f ? void 0 : nX(() => { if (rc.hasEverUpdated) return rf++ }), v = i(a, f); if (!f && n$) { h.visualElement = function(e, t, n, r) { let i = (0, el.useContext)(n9).visualElement, o = (0, el.useContext)(re), a = (0, el.useContext)(nK), s = (0, el.useContext)(n7).reducedMotion, l = (0, el.useRef)(); r = r || o.renderer, !l.current && r && (l.current = r(e, { visualState: t, parent: i, props: n, presenceId: a ? a.id : void 0, blockInitialAnimation: !!a && !1 === a.initial, reducedMotionConfig: s })); let u = l.current; return nY(() => { u && u.render() }), (0, el.useEffect)(() => { u && u.animationState && u.animationState.animateChanges() }), nY(() => () => u && u.notify("Unmount"), []), u }(o, v, c, t); let m = (0, el.useContext)(re).strict, g = (0, el.useContext)(rh); h.visualElement && (d = h.visualElement.loadFeatures(c, m, e, p, n || ru.projectionNodeConstructor, g)) } return el.createElement(rd, { visualElement: h.visualElement, props: c }, d, el.createElement(n9.Provider, { value: h }, r(o, a, p, (l = h.visualElement, u = s, (0, el.useCallback)(e => { e && v.mount && v.mount(e), l && (e ? l.mount(e) : l.unmount()), u && ("function" == typeof u ? u(e) : rt(u) && (u.current = e)) }, [l])), v, f, h.visualElement))) }); return a[rp] = o, a }(e(t, n)) } if ("undefined" == typeof Proxy) return t; let n = new Map; return new Proxy(t, { get: (e, r) => (n.has(r) || n.set(r, t(r)), n.get(r)) }) }((e, t) => (function(e, { forwardMotionProps: t = !1 }, n, r, i) { let o = rm(e) ? is : il; return { ...o, preloadedFeatures: n, useRender: function(e = !1) { let t = (t, n, r, i, { latestValues: o }, a) => { let s = rm(t) ? r4 : r$, l = s(n, o, a), u = function(e, t, n) { let r = {}; for (let i in e) (rK(i) || !0 === n && rG(i) || !t && !rG(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]); return r }(n, "string" == typeof t, e), c = { ...u, ...l, ref: i }; return r && (c["data-projection-id"] = r), (0, el.createElement)(t, c) }; return t }(t), createVisualElement: r, projectionNodeConstructor: i, Component: e } })(e, t, lR, sW, lN)); function lL(e) { let { open: t, onOpenChange: n } = e, [r, i] = (0, el.useState)(!1), o = (0, el.useMemo)(() => n ? t : r, [n, r, t]), a = (0, el.useCallback)(e => { n ? n(e) : i(e) }, [n]); return { open: o, onOpenChange: a } } var lF = n(1626), lI = n.n(lF), lz = n(91050), lV = n.n(lz); let lB = (0, eY.cx)(lI().variable, lV().variable), lZ = { show: { opacity: [0, 1], scale: [.95, 1], transition: { duration: .1, ease: "easeOut" } }, exit: { opacity: [1, 0], scale: [1, .95], transition: { duration: .1, ease: "easeIn" } } }; function lU(e) { let { children: t, content: n, defaultOpen: r, open: i, onOpenChange: o, delayDuration: a = 300, disableHoverableContent: s, ...l } = e, { open: u, onOpenChange: c } = lL({ open: i, onOpenChange: o }); return (0, es.jsxs)(nf, { open: u, delayDuration: a, disableHoverableContent: s, defaultOpen: r, onOpenChange: c, children: [(0, es.jsx)(nh, { asChild: !0, children: t }), (0, es.jsx)(n8, { children: n && u ? (0, es.jsx)(ng, { forceMount: !0, children: (0, es.jsx)(nb, { forceMount: !0, asChild: !0, side: "top", align: "center", sideOffset: l.sideOffset || 5, ...l, children: (0, es.jsx)(lD.div, { variants: lZ, initial: "init", animate: "show", exit: "exit", className: (0, eY.cx)(lB, "relative", "z-50", "data-[side=top]:bottom-1", "data-[side=top]:origin-bottom", "data-[side=bottom]:top-1", "data-[side=bottom]:origin-top", "data-[side=left]:right-1", "data-[side=left]:origin-right", "data-[side=right]:left-1", "data-[side=right]:origin-left"), children: (0, es.jsx)("div", { className: (0, eY.cx)("py-1 px-2", "max-w-xs", "overflow-hidden", nO()), children: (0, es.jsx)(nS, { size: "12", children: n }) }) }) }) }) : null })] }) } let lH = (0, eY.j)(["inline-flex", "gap-1", "appearance-none", "shrink-0", "items-center", "justify-center", "select-none", "leading-normal", "font-sans", "cursor-pointer", "overflow-hidden", "focus:z-10", "disabled:cursor-auto", "disabled:pointer-events-none", "outline-none", "focus:ring ring-blue-500 dark:ring-blue-200", "transition-colors duration-75"], { variants: { size: { small: ["text-xs", "px-2", "h-7"], medium: ["text-base", "px-4", "h-10"], large: ["text-lg", "px-4", "h-12"], none: [] }, state: { waiting: ["pointer-events-none"] }, disabled: { true: "cursor-auto pointer-events-none" }, rounded: { true: "rounded", false: "" }, variant: { accent: ["border", "text-white dark:text-white", "enabled:bg-green-700 enabled:dark:bg-green-700", "enabled:border-green-800/30 enabled:dark:border-green-600/70", "enabled:hover:bg-green-800/90 dark:enabled:hover:bg-green-700/90", "enabled:hover:border-green-800/50 enabled:hover:dark:border-green-600", "disabled:text-white/50 disabled:dark:text-white/50", "disabled:bg-green-700/70 disabled:dark:bg-green-600/70", "disabled:border-green-600/50 disabled:dark:border-green-500/30", "[&[href]]:bg-green-700 [&[href]]:dark:bg-green-700", "[&[href]]:border-green-800/30 [&[href]]:dark:border-green-600/70", "[&[href]]:hover:bg-green-800/90 dark:[&[href]]:hover:bg-green-700/90", "[&[href]]:hover:border-green-800/50 [href]]:hover:dark:border-green-600"], red: ["border", "bg-red-700 dark:bg-red-700", "border-red-800/30 dark:border-red-600/70", "enabled:hover:bg-red-800/90 dark:enabled:hover:bg-red-700/90", "enabled:hover:border-red-800/50 enabled:hover:dark:border-red-600", "disabled:bg-red-700/70 disabled:dark:bg-red-600/70", "disabled:border-red-600/50 disabled:dark:border-red-500/30", "text-white dark:text-white", "disabled:text-white/50 disabled:dark:text-white/50"], amber: ["border", "bg-amber-700 dark:bg-amber-700", "border-amber-800/30 dark:border-amber-600/70", "enabled:hover:bg-amber-800/90 dark:enabled:hover:bg-amber-700/90", "enabled:hover:border-amber-800/50 enabled:hover:dark:border-amber-600", "disabled:bg-amber-700/70 disabled:dark:bg-amber-600/70", "disabled:border-amber-600/50 disabled:dark:border-amber-500/30", "text-white dark:text-white", "disabled:text-white/50 disabled:dark:text-white/50"], gray: ["border", "bg-white dark:bg-graydark-200", "enabled:hover:bg-gray-50 dark:enabled:hover:bg-graydark-300", "disabled:bg-gray-200 disabled:dark:bg-graydark-200", "border-gray-400 dark:border-graydark-400", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500", "text-gray-1100 dark:text-gray-300", "disabled:text-gray-600 disabled:dark:text-graydark-700"], active: ["border", "bg-gray-200 dark:bg-graydark-400", "enabled:hover:bg-gray-50 dark:enabled:hover:bg-graydark-300", "disabled:bg-gray-200 disabled:dark:bg-graydark-200", "border-gray-500 dark:border-graydark-500", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500", "text-gray-1100 dark:text-white", "disabled:text-gray-600 disabled:dark:text-graydark-700"], inactive: ["border", "bg-white dark:bg-graydark-200", "enabled:hover:bg-gray-50 dark:enabled:hover:bg-graydark-300", "disabled:bg-gray-200 disabled:dark:bg-graydark-200", "border-gray-400/70 dark:border-graydark-400/70", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500", "text-gray-1100/30 dark:text-white/30", "enabled:hover:text-gray-1100 enabled:hover:dark:text-white", "disabled:text-gray-600 disabled:dark:text-graydark-700"], ghost: ["appearance-none border-none bg-transparent", "text-gray-1100 dark:text-white", "disabled:text-gray-600 disabled:dark:text-graydark-700"], state: ["open:text-gray-1100 open:dark:text-white", "hover:text-gray-1000 hover:dark:text-graydark-1000", "text-gray-700 dark:text-graydark-800"] }, icon: { contrast: "", hover: "[&>svg]:opacity-50 hover:[&>svg]:opacity-100 transition-opacity", subtle: "[&>svg]:opacity-50" }, color: { verySubtle: "!text-gray-700 dark:!text-graydark-700", subtle: "!text-gray-1000 dark:!text-graydark-1000", contrast: "!text-gray-1100 dark:!text-white", lo: "!text-white dark:!text-graydark-50", accent: "!text-accent-1100 dark:!text-accentdark-1100", red: "!text-red-700 dark:!text-red-400", green: "!text-emerald-700 dark:!text-emerald-500", amber: "!text-amber-600 dark:!text-amber-500", none: "" } }, defaultVariants: { variant: "gray", size: "small", rounded: !0, icon: "subtle", color: "none" } }), lW = el.forwardRef((e, t) => { let { variant: n, size: r, state: i, rounded: o, disabled: a, icon: s, color: l, tip: u, tipAlign: c, tipSide: f, className: d, type: h = "button", ...p } = e; return u ? (0, es.jsx)(lU, { content: u, align: c, side: f, children: (0, es.jsx)("button", { ref: t, type: h, disabled: a, className: lH({ variant: n, size: r, state: i, rounded: o, disabled: a, icon: s, color: l, className: d }), ...p }) }) : (0, es.jsx)("button", { ref: t, disabled: a, type: h, className: lH({ variant: n, size: r, state: i, rounded: o, disabled: a, icon: s, color: l, className: d }), ...p }) }); (0, eY.j)([], { variants: { variant: { default: "border-t border-gray-500 dark:border-graydark-500 last-of-type:border-b", ghost: "" } }, defaultVariants: { variant: "default" } }); let lq = (0, eY.j)("border border-gray-500 dark:border-graydark-500 bg-gray-100 dark:bg-graydark-100 rounded p-4"), l$ = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)("div", { ...r, className: lq({ className: n }), ref: t }) }), lY = (0, eY.j)(["flex-shrink-0 w-full mx-auto"], { variants: { pad: { true: "px-5 md:px-10", false: "" }, size: { 1: "max-w-screen-sm", 2: "max-w-screen-md", 3: "max-w-[1145px]", 4: "max-w-screen-2xl", full: "max-w-none" } }, defaultVariants: { pad: !0, size: "3" } }), lG = el.forwardRef((e, t) => { let { className: n, pad: r, size: i, ...o } = e; return (0, es.jsx)("div", { ref: t, ...o, className: lY({ size: i, pad: r, className: n }) }) }); var lK = n(39097), lX = n.n(lK); function lQ(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), n.push.apply(n, r) } return n } function lJ(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? lQ(Object(n), !0).forEach(function(t) { var r, i; r = e, i = n[t], t in r ? Object.defineProperty(r, t, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = i }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lQ(Object(n)).forEach(function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)) }) } return e } function l0(e, t) { if (null == e) return {}; var n, r, i = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (r = 0; r < o.length; r++)n = o[r], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (i[n] = e[n]) } return i } var l1 = ["width", "height", "viewBox"], l2 = ["tabindex"], l4 = { focusable: "false", preserveAspectRatio: "xMidYMid meet" }, l3 = n(13980), l5 = n.n(l3); function l6(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), n.push.apply(n, r) } return n } function l8(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? l6(Object(n), !0).forEach(function(t) { var r, i; r = e, i = n[t], t in r ? Object.defineProperty(r, t, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = i }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l6(Object(n)).forEach(function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)) }) } return e } function l7() { return (l7 = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function l9(e, t) { if (null == e) return {}; var n, r, i = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (r = 0; r < o.length; r++)n = o[r], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (i[n] = e[n]) } return i } var ue = ["className", "children", "tabIndex"], ut = ["tabindex"], un = el.forwardRef(function(e, t) { var n = e.className, r = e.children, i = e.tabIndex, o = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.width, n = e.height, r = e.viewBox, i = void 0 === r ? "0 0 ".concat(t, " ").concat(n) : r, o = l0(e, l1), a = o.tabindex, s = l0(o, l2), l = lJ(lJ(lJ({}, l4), s), {}, { width: t, height: n, viewBox: i }); return l["aria-label"] || l["aria-labelledby"] || l.title ? (l.role = "img", null != a && (l.focusable = "true", l.tabindex = a)) : l["aria-hidden"] = !0, l }(l8(l8({}, l9(e, ue)), {}, { tabindex: i })), a = o.tabindex, s = l9(o, ut); return n && (s.className = n), null != a && (s.tabIndex = a), t && (s.ref = t), el.createElement("svg", s, r) }); un.displayName = "Icon", un.propTypes = { "aria-hidden": l5().string, "aria-label": l5().string, "aria-labelledby": l5().string, children: l5().node, className: l5().string, height: l5().oneOfType([l5().number, l5().string]), preserveAspectRatio: l5().string, tabIndex: l5().string, viewBox: l5().string, width: l5().oneOfType([l5().number, l5().string]), xmlns: l5().string }, un.defaultProps = { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet" }; var ur = ["children"], ui = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, ur); return el.createElement(un, l7({ width: 20, height: 20, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kA || (kA = el.createElement("path", { d: "M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z" })), kT || (kT = el.createElement("path", { d: "M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z" })), n) }); let uo = { 20: "h3", 24: "h3", 32: "h2", 40: "h2", 64: "h1" }, ua = { 20: "font-semibold text-base md:text-xl", 24: "font-bold text-xl md:text-2xl", 32: "font-semibold text-2xl md:text-3xl", 40: "font-semibold text-3xl md:text-4xl", 64: "font-semibold text-4xl md:text-6xl" }, us = el.forwardRef((e, t) => { let { size: n = "24", className: r, id: i, children: o, anchorLink: a, showAnchor: s, ...l } = e, u = uo[n]; if (a) { let c = i || ("string" == typeof o ? encodeURI(o.toLowerCase().replace(/ /g, "-")) : ""); return (0, es.jsxs)("div", { className: (0, eY.cx)("flex flex-col gap-6 items-start", r), children: [(0, es.jsx)("div", { className: "relative", children: (0, es.jsx)("div", { id: c, className: "absolute -top-[100px]" }) }), (0, es.jsxs)(lX(), { href: "#".concat(c), className: "relative group", children: [(0, es.jsx)(nj, { className: "hidden group-hover:block", children: (0, es.jsx)(ui, { className: "absolute top-1 -left-7 hidden md:block" }) }), (0, es.jsx)(nj, { as: u, ...l, ref: t, weight: "none", className: (0, eY.cx)("proportional-nums inline-block", ua[n]), children: o })] })] }) } return (0, es.jsx)("div", { className: (0, eY.cx)("flex flex-col gap-6 items-start", r), children: (0, es.jsx)(nj, { as: u, ...l, ref: t, weight: "none", className: (0, eY.cx)("proportional-nums inline-block", ua[n], r), children: o }) }) }), ul = (0, eY.j)(["cursor-pointer"], { variants: { disabled: { true: "opacity-50 pointer-events-none" }, underline: { accent: "underline underline-offset-4 decoration-2 decoration-accentdark-900 dark:decoration-accentdark-900", default: "underline underline-offset-4", hover: "hover:underline underline-offset-4", none: "" } }, defaultVariants: { disabled: !1, underline: "default" } }), uu = e => { let { font: t, size: n, scaleSize: r, color: i, weight: o, noWrap: a, ellipsis: s, underline: l, disabled: u, className: c } = e; return (0, eY.cx)(nk({ scaleSize: r, size: n, font: t, color: i, weight: o, noWrap: a, ellipsis: s, underline: l }), ul({ disabled: u, underline: l }), c) }, uc = el.forwardRef((e, t) => { let { href: n = "#", font: r, size: i, scaleSize: o, color: a, weight: s, noWrap: l, ellipsis: u, underline: c, disabled: f, className: d, rel: h, target: p, ...v } = e; return (0, es.jsx)(lX(), { href: n, ref: t, className: uu({ font: r, scaleSize: o, size: i, color: a, weight: s, noWrap: l, ellipsis: u, underline: c, disabled: f, className: d }), ...v, rel: h || ("_blank" === p ? "noopener" : void 0), target: p }) }); var uf = n(96577), ud = n.n(uf); let uh = (0, eY.j)(["rounded"]); function up(e) { let { className: t, ...n } = e; return (0, es.jsx)(ud(), { className: uh({ className: t }), ...n }) } let uv = { src: "/_next/static/media/logo.0e2362ab.png", height: 192, width: 192, blurDataURL: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAIVBMVEV3g4Jpj3qDc4RMaXEjzWB4g4Ihz18O31QoxWAuvmItvWEvJfvtAAAAC3RSTlNHDBkAu1SpJEFsU9lM6RAAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA1SURBVHicNcsxDsAwDMNASnLsNv9/cBAU3TgciQAU9DrxEniqx0Dq2Z0vVBdqqtqgpejifz8ZAgCpRNIF2gAAAABJRU5ErkJggg==", blurWidth: 8, blurHeight: 8 }; function um(e) { let { size: t = 30, className: n } = e; return (0, es.jsx)(up, { priority: !0, src: uv.src, alt: "Logo", width: t, height: t, className: n }) } var ug = n(86029); let uy = "Avatar", [ub, ux] = (0, ef.b)(uy), [uw, u_] = ub(uy), uE = (0, el.forwardRef)((e, t) => { let { __scopeAvatar: n, ...r } = e, [i, o] = (0, el.useState)("idle"); return (0, el.createElement)(uw, { scope: n, imageLoadingStatus: i, onImageLoadingStatusChange: o }, (0, el.createElement)(eg.WV.span, (0, ec.Z)({}, r, { ref: t }))) }), uk = (0, el.forwardRef)((e, t) => { let { __scopeAvatar: n, src: r, onLoadingStatusChange: i = () => { }, ...o } = e, a = u_("AvatarImage", n), s = function(e) { let [t, n] = (0, el.useState)("idle"); return (0, el.useEffect)(() => { if (!e) { n("error"); return } let t = !0, r = new window.Image, i = e => () => { t && n(e) }; return n("loading"), r.onload = i("loaded"), r.onerror = i("error"), r.src = e, () => { t = !1 } }, [e]), t }(r), l = (0, ug.W)(e => { i(e), a.onImageLoadingStatusChange(e) }); return (0, ey.b)(() => { "idle" !== s && l(s) }, [s, l]), "loaded" === s ? (0, el.createElement)(eg.WV.img, (0, ec.Z)({}, o, { ref: t, src: r })) : null }), uj = (0, el.forwardRef)((e, t) => { let { __scopeAvatar: n, delayMs: r, ...i } = e, o = u_("AvatarFallback", n), [a, s] = (0, el.useState)(void 0 === r); return (0, el.useEffect)(() => { if (void 0 !== r) { let e = window.setTimeout(() => s(!0), r); return () => window.clearTimeout(e) } }, [r]), a && "loaded" !== o.imageLoadingStatus ? (0, el.createElement)(eg.WV.span, (0, ec.Z)({}, i, { ref: t })) : null }), uS = (0, eY.j)(["items-center justify-center align-middle flex flex-shrink-0 relative", "overflow-hidden select-none outline-none", "font-sans font-medium text-sm"], { variants: { size: { 1: "w-6 h-6", 2: "w-12 h-12", 3: "w-16 h-16" }, variant: { filter: "bg-transparent", hiContrast: "bg-gray-900 dark:bg-white text-white dark:text-gray-1100", gray: "bg-gray-500 dark:bg-gray-800 text-gray-1100 dark:text-white" }, shape: { square: "rounded", circle: "rounded-full" }, inactive: { true: "opacity-30" }, interactive: { true: "cursor-pointer" } }, defaultVariants: { size: "2", variant: "gray", shape: "circle" } }), uO = (0, eY.j)("uppercase", { variants: { size: { 1: "text-sm", 2: "text-base", 3: "text-lg" } }, defaultVariants: { size: "2" } }), uC = el.forwardRef((e, t) => { let { alt: n, src: r, fallback: i, size: o, variant: a, shape: s, interactive: l, inactive: u, className: c, ...f } = e; return (0, es.jsx)("div", { className: (0, eY.cx)("relative h-fit w-fit", c), children: (0, es.jsxs)(uE, { ...f, ref: t, className: uS({ className: c, size: o, variant: a, interactive: l, inactive: u, shape: s }), children: ["filter" === a && (0, es.jsx)("div", { className: "absolute w-full h-full z-10", style: { backgroundColor: "rgba(30, 169, 76, 0.3)" } }), (0, es.jsx)(uk, { alt: n, src: r, className: "flex object-cover h-full align-middle w-full" }), (0, es.jsx)(uj, { className: uO({ size: o }), children: i })] }) }) }), uA = (0, eY.j)(["items-center appearance-none inline-flex flex-shrink-0 whitespace-nowrap", "font-sans font-regular text-sm", "justify-center align-middle outline-none p-0 decoration-none select-none", "disabled:pointer-events-none", "py-0.5 px-2"], { variants: { variant: { active: ["border", "bg-gray-800 text-gray-900 border-gray-900", "dark:bg-transparent dark:text-white dark:border-white/10"], simple: "bg-gray-300 dark:bg-graydark-800 text-gray-900 dark:text-white", green: ["border", "[&>svg]:opacity-50", "bg-green-700 dark:bg-green-700", "border-green-800/30 dark:border-green-600/70", "hover:bg-green-800/90 dark:hover:bg-green-700/90", "hover:border-green-800/50 hover:dark:border-green-600", "text-white dark:text-white"], accent: ["border", "[&>svg]:opacity-50", "bg-green-700 dark:bg-green-700", "border-green-800/30 dark:border-green-600/70", "hover:bg-green-800/90 dark:hover:bg-green-700/90", "hover:border-green-800/50 hover:dark:border-green-600", "text-white dark:text-white"], red: ["border", "[&>svg]:opacity-50", "bg-red-700 dark:bg-red-700", "border-red-800/30 dark:border-red-600/70", "hover:bg-red-800/90 dark:hover:bg-red-700/90", "hover:border-red-800/50 hover:dark:border-red-600", "text-white dark:text-white"], amber: ["border", "[&>svg]:opacity-50", "bg-amber-700 dark:bg-amber-700", "border-amber-800/30 dark:border-amber-600/70", "hover:bg-amber-800/90 dark:hover:bg-amber-700/90", "hover:border-amber-800/50 hover:dark:border-amber-600", "text-white dark:text-white"], gray: ["border", "[&>svg]:opacity-50", "bg-white dark:bg-graydark-200", "border-gray-400 dark:border-graydark-400", "hover:bg-gray-50 dark:hover:bg-graydark-300", "hover:border-gray-500 hover:dark:border-graydark-500", "text-gray-1100 dark:text-white"], inactive: ["border", "[&>svg]:opacity-50", "bg-white dark:bg-transparent", "border-gray-400 dark:border-graydark-400", "hover:border-gray-500 hover:dark:border-graydark-500", "text-gray-1100/30 dark:text-white/30", "hover:text-gray-1100/50 hover:dark:text-white/50"] }, interactive: { true: "cursor-pointer" }, rounded: { true: "rounded", false: "" } }, defaultVariants: { variant: "gray", rounded: !0 } }), uT = el.forwardRef((e, t) => { let { variant: n, interactive: r, rounded: i, className: o, ...a } = e; return (0, es.jsx)("div", { ...a, className: uA({ variant: n, interactive: r, rounded: i, className: o }), ref: t }) }), uM = el.forwardRef((e, t) => { let { className: n, size: r, color: i, ...o } = e; return (0, es.jsx)("pre", { children: (0, es.jsx)("code", { className: (0, eY.cx)(nk({ font: "mono", size: r, color: i }), "block", "w-full", "overflow-auto", "p-3", "bg-white dark:bg-graydark-200", "border border-gray-400 dark:border-graydark-400", "rounded", n), ...o, ref: t }) }) }), uP = (0, eY.j)(["font-mono", "whitespace-nowrap", "rounded"], { variants: { color: { gray: ["bg-gray-200 dark:bg-graydark-200", "text-gray-1100 dark:text-graydark-1100"], accent: ["bg-accent-200 dark:bg-accentdark-200", "text-accent-1100 dark:text-accentdark-1100"] } }, defaultVariants: { color: "accent" } }), uN = el.forwardRef((e, t) => { let { color: n, className: r, ...i } = e; return (0, es.jsx)("code", { ...i, className: uP({ color: n, className: r }), ref: t }) }), uR = (0, eY.j)(["flex", "relative", "[&>*]:rounded-none [&>*:last-child]:rounded-r [&>*:first-child]:rounded-l", "[&>*]:border-r-0 [&>*]:border-l [&>*:first-child]:border-l [&>*:last-child]:border-r"]), uD = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)("div", { ref: t, className: uR({ className: n }), ...r }) }); (0, eY.j)(["select-none appearance-none outline-none overflow-hidden", "inline-flex items-center justify-center", "focus:ring ring-blue-500 dark:ring-blue-200", "border", "bg-gray-300 dark:bg-graydark-50", "autofill:bg-blue-100 autofill:dark:bg-blue-800", "border-gray-400 dark:border-graydark-400", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500", "disabled:cursor-default", "enabled:data-[state=checked]:bg-green-600 dark:enabled:data-[state=checked]:bg-green-500", "disabled:data-[state=checked]:bg-green-600/50 dark:disabled:data-[state=checked]:bg-green-500/50"], { variants: { size: { small: "w-4 h-4 rounded", medium: "w-6 h-6 rounded" } }, defaultVariants: { size: "small" } }); var uL = n(72331), uF = ["children"], uI = ["children"], uz = ["children"], uV = ["children"], uB = ["children"], uZ = ["children"], uU = ["children"], uH = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, uF); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kM || (kM = el.createElement("path", { d: "M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z" })), n) }), uW = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, uI); return el.createElement(un, l7({ width: 32, height: 32, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kP || (kP = el.createElement("path", { d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z" })), kN || (kN = el.createElement("path", { fill: "none", d: "M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z", "data-icon-path": "inner-path" })), n) }), uq = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, uz); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kR || (kR = el.createElement("path", { d: "M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z" })), kD || (kD = el.createElement("path", { d: "M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z", "data-icon-path": "inner-path", opacity: "0" })), n) }), u$ = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, uV); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kL || (kL = el.createElement("path", { d: "M14 21.414L9 16.413 10.413 15 14 18.586 21.585 11 23 12.415 14 21.414z" })), kF || (kF = el.createElement("path", { d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z" })), n) }), uY = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, uB); return el.createElement(un, l7({ width: 24, height: 24, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kI || (kI = el.createElement("path", { d: "M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z" })), n) }), uG = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, uZ); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kz || (kz = el.createElement("path", { d: "M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z" })), n) }), uK = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, uU); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kV || (kV = el.createElement("path", { d: "M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M16,28C9.4,28,4,22.6,4,16S9.4,4,16,4s12,5.4,12,12 S22.6,28,16,28z" })), kB || (kB = el.createElement("path", { d: "M21.4 23L16 17.6 10.6 23 9 21.4 14.4 16 9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4z" })), n) }); let uX = (0, el.createContext)(void 0); function uQ(e) { let t = (0, el.useContext)(uX); return e || t || "ltr" } let uJ = "ScrollArea", [u0, u1] = (0, ef.b)(uJ), [u2, u4] = u0(uJ), u3 = (0, el.forwardRef)((e, t) => { let { __scopeScrollArea: n, type: r = "hover", dir: i, scrollHideDelay: o = 600, ...a } = e, [s, l] = (0, el.useState)(null), [u, c] = (0, el.useState)(null), [f, d] = (0, el.useState)(null), [h, p] = (0, el.useState)(null), [v, m] = (0, el.useState)(null), [g, y] = (0, el.useState)(0), [b, x] = (0, el.useState)(0), [w, _] = (0, el.useState)(!1), [E, k] = (0, el.useState)(!1), j = (0, ed.e)(t, e => l(e)), S = uQ(i); return (0, el.createElement)(u2, { scope: n, type: r, dir: S, scrollHideDelay: o, scrollArea: s, viewport: u, onViewportChange: c, content: f, onContentChange: d, scrollbarX: h, onScrollbarXChange: p, scrollbarXEnabled: w, onScrollbarXEnabledChange: _, scrollbarY: v, onScrollbarYChange: m, scrollbarYEnabled: E, onScrollbarYEnabledChange: k, onCornerWidthChange: y, onCornerHeightChange: x }, (0, el.createElement)(eg.WV.div, (0, ec.Z)({ dir: S }, a, { ref: j, style: { position: "relative", "--radix-scroll-area-corner-width": g + "px", "--radix-scroll-area-corner-height": b + "px", ...e.style } }))) }), u5 = (0, el.forwardRef)((e, t) => { let { __scopeScrollArea: n, children: r, ...i } = e, o = u4("ScrollAreaViewport", n), a = (0, el.useRef)(null), s = (0, ed.e)(t, a, o.onViewportChange); return (0, el.createElement)(el.Fragment, null, (0, el.createElement)("style", { dangerouslySetInnerHTML: { __html: "[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}" } }), (0, el.createElement)(eg.WV.div, (0, ec.Z)({ "data-radix-scroll-area-viewport": "" }, i, { ref: s, style: { overflowX: o.scrollbarXEnabled ? "scroll" : "hidden", overflowY: o.scrollbarYEnabled ? "scroll" : "hidden", ...e.style } }), (0, el.createElement)("div", { ref: o.onContentChange, style: { minWidth: "100%", display: "table" } }, r))) }), u6 = "ScrollAreaScrollbar", u8 = (0, el.forwardRef)((e, t) => { let { forceMount: n, ...r } = e, i = u4(u6, e.__scopeScrollArea), { onScrollbarXEnabledChange: o, onScrollbarYEnabledChange: a } = i, s = "horizontal" === e.orientation; return (0, el.useEffect)(() => (s ? o(!0) : a(!0), () => { s ? o(!1) : a(!1) }), [s, o, a]), "hover" === i.type ? (0, el.createElement)(u7, (0, ec.Z)({}, r, { ref: t, forceMount: n })) : "scroll" === i.type ? (0, el.createElement)(u9, (0, ec.Z)({}, r, { ref: t, forceMount: n })) : "auto" === i.type ? (0, el.createElement)(ce, (0, ec.Z)({}, r, { ref: t, forceMount: n })) : "always" === i.type ? (0, el.createElement)(ct, (0, ec.Z)({}, r, { ref: t })) : null }), u7 = (0, el.forwardRef)((e, t) => { let { forceMount: n, ...r } = e, i = u4(u6, e.__scopeScrollArea), [o, a] = (0, el.useState)(!1); return (0, el.useEffect)(() => { let e = i.scrollArea, t = 0; if (e) { let n = () => { window.clearTimeout(t), a(!0) }, r = () => { t = window.setTimeout(() => a(!1), i.scrollHideDelay) }; return e.addEventListener("pointerenter", n), e.addEventListener("pointerleave", r), () => { window.clearTimeout(t), e.removeEventListener("pointerenter", n), e.removeEventListener("pointerleave", r) } } }, [i.scrollArea, i.scrollHideDelay]), (0, el.createElement)(eb.z, { present: n || o }, (0, el.createElement)(ce, (0, ec.Z)({ "data-state": o ? "visible" : "hidden" }, r, { ref: t }))) }), u9 = (0, el.forwardRef)((e, t) => { var n; let { forceMount: r, ...i } = e, o = u4(u6, e.__scopeScrollArea), a = "horizontal" === e.orientation, s = cb(() => u("SCROLL_END"), 100), [l, u] = (n = { hidden: { SCROLL: "scrolling" }, scrolling: { SCROLL_END: "idle", POINTER_ENTER: "interacting" }, interacting: { SCROLL: "interacting", POINTER_LEAVE: "idle" }, idle: { HIDE: "hidden", SCROLL: "scrolling", POINTER_ENTER: "interacting" } }, (0, el.useReducer)((e, t) => { let r = n[e][t]; return null != r ? r : e }, "hidden")); return (0, el.useEffect)(() => { if ("idle" === l) { let e = window.setTimeout(() => u("HIDE"), o.scrollHideDelay); return () => window.clearTimeout(e) } }, [l, o.scrollHideDelay, u]), (0, el.useEffect)(() => { let e = o.viewport, t = a ? "scrollLeft" : "scrollTop"; if (e) { let n = e[t], r = () => { let r = e[t], i = n !== r; i && (u("SCROLL"), s()), n = r }; return e.addEventListener("scroll", r), () => e.removeEventListener("scroll", r) } }, [o.viewport, a, u, s]), (0, el.createElement)(eb.z, { present: r || "hidden" !== l }, (0, el.createElement)(ct, (0, ec.Z)({ "data-state": "hidden" === l ? "hidden" : "visible" }, i, { ref: t, onPointerEnter: (0, ev.M)(e.onPointerEnter, () => u("POINTER_ENTER")), onPointerLeave: (0, ev.M)(e.onPointerLeave, () => u("POINTER_LEAVE")) }))) }), ce = (0, el.forwardRef)((e, t) => { let n = u4(u6, e.__scopeScrollArea), { forceMount: r, ...i } = e, [o, a] = (0, el.useState)(!1), s = "horizontal" === e.orientation, l = cb(() => { if (n.viewport) { let e = n.viewport.offsetWidth < n.viewport.scrollWidth, t = n.viewport.offsetHeight < n.viewport.scrollHeight; a(s ? e : t) } }, 10); return cx(n.viewport, l), cx(n.content, l), (0, el.createElement)(eb.z, { present: r || o }, (0, el.createElement)(ct, (0, ec.Z)({ "data-state": o ? "visible" : "hidden" }, i, { ref: t }))) }), ct = (0, el.forwardRef)((e, t) => { let { orientation: n = "vertical", ...r } = e, i = u4(u6, e.__scopeScrollArea), o = (0, el.useRef)(null), a = (0, el.useRef)(0), [s, l] = (0, el.useState)({ content: 0, viewport: 0, scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 } }), u = cp(s.viewport, s.content), c = { ...r, sizes: s, onSizesChange: l, hasThumb: Boolean(u > 0 && u < 1), onThumbChange: e => o.current = e, onThumbPointerUp: () => a.current = 0, onThumbPointerDown: e => a.current = e }; function f(e, t) { return function(e, t, n, r = "ltr") { let i = cv(n), o = t || i / 2, a = n.scrollbar.paddingStart + o, s = n.scrollbar.size - n.scrollbar.paddingEnd - (i - o), l = n.content - n.viewport, u = cg([a, s], "ltr" === r ? [0, l] : [-1 * l, 0]); return u(e) }(e, a.current, s, t) } return "horizontal" === n ? (0, el.createElement)(cn, (0, ec.Z)({}, c, { ref: t, onThumbPositionChange: () => { if (i.viewport && o.current) { let e = i.viewport.scrollLeft, t = cm(e, s, i.dir); o.current.style.transform = `translate3d(${t}px, 0, 0)` } }, onWheelScroll: e => { i.viewport && (i.viewport.scrollLeft = e) }, onDragScroll: e => { i.viewport && (i.viewport.scrollLeft = f(e, i.dir)) } })) : "vertical" === n ? (0, el.createElement)(cr, (0, ec.Z)({}, c, { ref: t, onThumbPositionChange: () => { if (i.viewport && o.current) { let e = i.viewport.scrollTop, t = cm(e, s); o.current.style.transform = `translate3d(0, ${t}px, 0)` } }, onWheelScroll: e => { i.viewport && (i.viewport.scrollTop = e) }, onDragScroll: e => { i.viewport && (i.viewport.scrollTop = f(e)) } })) : null }), cn = (0, el.forwardRef)((e, t) => { let { sizes: n, onSizesChange: r, ...i } = e, o = u4(u6, e.__scopeScrollArea), [a, s] = (0, el.useState)(), l = (0, el.useRef)(null), u = (0, ed.e)(t, l, o.onScrollbarXChange); return (0, el.useEffect)(() => { l.current && s(getComputedStyle(l.current)) }, [l]), (0, el.createElement)(ca, (0, ec.Z)({ "data-orientation": "horizontal" }, i, { ref: u, sizes: n, style: { bottom: 0, left: "rtl" === o.dir ? "var(--radix-scroll-area-corner-width)" : 0, right: "ltr" === o.dir ? "var(--radix-scroll-area-corner-width)" : 0, "--radix-scroll-area-thumb-width": cv(n) + "px", ...e.style }, onThumbPointerDown: t => e.onThumbPointerDown(t.x), onDragScroll: t => e.onDragScroll(t.x), onWheelScroll: (t, n) => { if (o.viewport) { let r = o.viewport.scrollLeft + t.deltaX; e.onWheelScroll(r), r > 0 && r < n && t.preventDefault() } }, onResize: () => { l.current && o.viewport && a && r({ content: o.viewport.scrollWidth, viewport: o.viewport.offsetWidth, scrollbar: { size: l.current.clientWidth, paddingStart: ch(a.paddingLeft), paddingEnd: ch(a.paddingRight) } }) } })) }), cr = (0, el.forwardRef)((e, t) => { let { sizes: n, onSizesChange: r, ...i } = e, o = u4(u6, e.__scopeScrollArea), [a, s] = (0, el.useState)(), l = (0, el.useRef)(null), u = (0, ed.e)(t, l, o.onScrollbarYChange); return (0, el.useEffect)(() => { l.current && s(getComputedStyle(l.current)) }, [l]), (0, el.createElement)(ca, (0, ec.Z)({ "data-orientation": "vertical" }, i, { ref: u, sizes: n, style: { top: 0, right: "ltr" === o.dir ? 0 : void 0, left: "rtl" === o.dir ? 0 : void 0, bottom: "var(--radix-scroll-area-corner-height)", "--radix-scroll-area-thumb-height": cv(n) + "px", ...e.style }, onThumbPointerDown: t => e.onThumbPointerDown(t.y), onDragScroll: t => e.onDragScroll(t.y), onWheelScroll: (t, n) => { if (o.viewport) { let r = o.viewport.scrollTop + t.deltaY; e.onWheelScroll(r), r > 0 && r < n && t.preventDefault() } }, onResize: () => { l.current && o.viewport && a && r({ content: o.viewport.scrollHeight, viewport: o.viewport.offsetHeight, scrollbar: { size: l.current.clientHeight, paddingStart: ch(a.paddingTop), paddingEnd: ch(a.paddingBottom) } }) } })) }), [ci, co] = u0(u6), ca = (0, el.forwardRef)((e, t) => { let { __scopeScrollArea: n, sizes: r, hasThumb: i, onThumbChange: o, onThumbPointerUp: a, onThumbPointerDown: s, onThumbPositionChange: l, onDragScroll: u, onWheelScroll: c, onResize: f, ...d } = e, h = u4(u6, n), [p, v] = (0, el.useState)(null), m = (0, ed.e)(t, e => v(e)), g = (0, el.useRef)(null), y = (0, el.useRef)(""), b = h.viewport, x = r.content - r.viewport, w = (0, ug.W)(c), _ = (0, ug.W)(l), E = cb(f, 10); function k(e) { if (g.current) { let t = e.clientX - g.current.left, n = e.clientY - g.current.top; u({ x: t, y: n }) } } return (0, el.useEffect)(() => { let e = e => { let t = e.target, n = null == p ? void 0 : p.contains(t); n && w(e, x) }; return document.addEventListener("wheel", e, { passive: !1 }), () => document.removeEventListener("wheel", e, { passive: !1 }) }, [b, p, x, w]), (0, el.useEffect)(_, [r, _]), cx(p, E), cx(h.content, E), (0, el.createElement)(ci, { scope: n, scrollbar: p, hasThumb: i, onThumbChange: (0, ug.W)(o), onThumbPointerUp: (0, ug.W)(a), onThumbPositionChange: _, onThumbPointerDown: (0, ug.W)(s) }, (0, el.createElement)(eg.WV.div, (0, ec.Z)({}, d, { ref: m, style: { position: "absolute", ...d.style }, onPointerDown: (0, ev.M)(e.onPointerDown, e => { if (0 === e.button) { let t = e.target; t.setPointerCapture(e.pointerId), g.current = p.getBoundingClientRect(), y.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", k(e) } }), onPointerMove: (0, ev.M)(e.onPointerMove, k), onPointerUp: (0, ev.M)(e.onPointerUp, e => { let t = e.target; t.releasePointerCapture(e.pointerId), document.body.style.webkitUserSelect = y.current, g.current = null }) }))) }), cs = "ScrollAreaThumb", cl = (0, el.forwardRef)((e, t) => { let { forceMount: n, ...r } = e, i = co(cs, e.__scopeScrollArea); return (0, el.createElement)(eb.z, { present: n || i.hasThumb }, (0, el.createElement)(cu, (0, ec.Z)({ ref: t }, r))) }), cu = (0, el.forwardRef)((e, t) => { let { __scopeScrollArea: n, style: r, ...i } = e, o = u4(cs, n), a = co(cs, n), { onThumbPositionChange: s } = a, l = (0, ed.e)(t, e => a.onThumbChange(e)), u = (0, el.useRef)(), c = cb(() => { u.current && (u.current(), u.current = void 0) }, 100); return (0, el.useEffect)(() => { let e = o.viewport; if (e) { let t = () => { if (c(), !u.current) { let t = cy(e, s); u.current = t, s() } }; return s(), e.addEventListener("scroll", t), () => e.removeEventListener("scroll", t) } }, [o.viewport, c, s]), (0, el.createElement)(eg.WV.div, (0, ec.Z)({ "data-state": a.hasThumb ? "visible" : "hidden" }, i, { ref: l, style: { width: "var(--radix-scroll-area-thumb-width)", height: "var(--radix-scroll-area-thumb-height)", ...r }, onPointerDownCapture: (0, ev.M)(e.onPointerDownCapture, e => { let t = e.target, n = t.getBoundingClientRect(), r = e.clientX - n.left, i = e.clientY - n.top; a.onThumbPointerDown({ x: r, y: i }) }), onPointerUp: (0, ev.M)(e.onPointerUp, a.onThumbPointerUp) })) }), cc = "ScrollAreaCorner", cf = (0, el.forwardRef)((e, t) => { let n = u4(cc, e.__scopeScrollArea), r = Boolean(n.scrollbarX && n.scrollbarY), i = "scroll" !== n.type && r; return i ? (0, el.createElement)(cd, (0, ec.Z)({}, e, { ref: t })) : null }), cd = (0, el.forwardRef)((e, t) => { let { __scopeScrollArea: n, ...r } = e, i = u4(cc, n), [o, a] = (0, el.useState)(0), [s, l] = (0, el.useState)(0), u = Boolean(o && s); return cx(i.scrollbarX, () => { var e; let t = (null === (e = i.scrollbarX) || void 0 === e ? void 0 : e.offsetHeight) || 0; i.onCornerHeightChange(t), l(t) }), cx(i.scrollbarY, () => { var e; let t = (null === (e = i.scrollbarY) || void 0 === e ? void 0 : e.offsetWidth) || 0; i.onCornerWidthChange(t), a(t) }), u ? (0, el.createElement)(eg.WV.div, (0, ec.Z)({}, r, { ref: t, style: { width: o, height: s, position: "absolute", right: "ltr" === i.dir ? 0 : void 0, left: "rtl" === i.dir ? 0 : void 0, bottom: 0, ...e.style } })) : null }); function ch(e) { return e ? parseInt(e, 10) : 0 } function cp(e, t) { let n = e / t; return isNaN(n) ? 0 : n } function cv(e) { let t = cp(e.viewport, e.content), n = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - n) * t; return Math.max(r, 18) } function cm(e, t, n = "ltr") { let r = cv(t), i = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, o = t.scrollbar.size - i, a = t.content - t.viewport, s = function(e, [t, n]) { return Math.min(n, Math.max(t, e)) }(e, "ltr" === n ? [0, a] : [-1 * a, 0]), l = cg([0, a], [0, o - r]); return l(s) } function cg(e, t) { return n => { if (e[0] === e[1] || t[0] === t[1]) return t[0]; let r = (t[1] - t[0]) / (e[1] - e[0]); return t[0] + r * (n - e[0]) } } let cy = (e, t = () => { }) => { let n = { left: e.scrollLeft, top: e.scrollTop }, r = 0; return !function i() { let o = { left: e.scrollLeft, top: e.scrollTop }, a = n.left !== o.left, s = n.top !== o.top; (a || s) && t(), n = o, r = window.requestAnimationFrame(i) }(), () => window.cancelAnimationFrame(r) }; function cb(e, t) { let n = (0, ug.W)(e), r = (0, el.useRef)(0); return (0, el.useEffect)(() => () => window.clearTimeout(r.current), []), (0, el.useCallback)(() => { window.clearTimeout(r.current), r.current = window.setTimeout(n, t) }, [n, t]) } function cx(e, t) { let n = (0, ug.W)(t); (0, ey.b)(() => { let t = 0; if (e) { let r = new ResizeObserver(() => { cancelAnimationFrame(t), t = window.requestAnimationFrame(n) }); return r.observe(e), () => { window.cancelAnimationFrame(t), r.unobserve(e) } } }, [e, n]) } let cw = el.forwardRef((e, t) => { let { id: n, className: r, style: i, children: o, keyToResetScrollbars: a } = e; return (0, es.jsxs)(u3, { className: (0, eY.cx)("w-full h-full overflow-hidden", r), style: i, children: [(0, es.jsx)(u5, { id: n, ref: t, className: "w-full h-full [&>div]:!block [&>div]:!h-full", children: o }), (0, es.jsx)(u8, { orientation: "vertical", className: "z-10 flex select-none touch-none transition-colors hover:bg-black/20 w-1.5 m-px", children: (0, es.jsx)(cl, { className: (0, eY.cx)("flex-1 relative bg-gray-300 rounded", 'before:content[""] before:absolute before:top-1/2 before:left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full') }) }, a ? "v-".concat(a) : void 0), (0, es.jsx)(u8, { orientation: "horizontal", className: "z-10 flex flex-col select-none touch-none transition-colors duration-1000 hover:bg-black/20 h-1 m-px", children: (0, es.jsx)(cl, { className: (0, eY.cx)("flex-1 relative bg-gray-300 rounded", 'before:content[""] before:absolute before:top-1/2 before:left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full') }) }, a ? "h-".concat(a) : void 0), (0, es.jsx)(cf, { className: "bg-black/70" })] }) }), c_ = (0, eY.j)([lB, "z-20", "overflow-hidden"], { variants: { variant: { default: "flex items-center justify-center w-full h-full", none: "" } }, defaultVariants: { variant: "default" } }), cE = { show: { scale: [.95, 1], transition: { duration: .1, ease: "easeOut" } }, exit: { opacity: [1, 0], scale: [1, .95], transition: { duration: .1, ease: "easeIn" } } }, ck = el.forwardRef((e, t) => { let { trigger: n, rootProps: r, open: i, onOpenChange: o, onSubmit: a, title: s, description: l, containerVariants: u, contentVariants: c, controls: f, children: d, bodyClassName: h, closeClassName: p, dynamicHeight: v = !0 } = e, { open: m, onOpenChange: g } = lL({ open: i, onOpenChange: o }); return (0, es.jsxs)(uL.fC, { open: m, onOpenChange: g, ...r, children: [n && (0, es.jsx)(uL.xz, { asChild: !0, children: n }), (0, es.jsx)(n8, { children: m ? (0, es.jsx)(uL.h_, { forceMount: !0, children: (0, es.jsx)(uL.VY, { asChild: !0, forceMount: !0, ref: t, children: (0, es.jsxs)("div", { className: "fixed w-full h-full top-0 left-0 z-20", children: [(0, es.jsx)(uL.aV, { onClick: () => g(!1), className: "fixed z-10 top-0 right-0 bottom-0 left-0 inset-0 transition-opacity opacity-0 open:opacity-10 dark:open:opacity-20 bg-black" }), (0, es.jsx)(lD.div, { variants: cE, initial: "init", animate: "show", exit: "exit", className: c_(u), children: (0, es.jsx)(cO, { title: s, description: l, contentVariants: c, onSubmit: a, controls: f, bodyClassName: h, closeClassName: p, dynamicHeight: v, children: d }) })] }) }) }) : null })] }) }); function cj(e) { let { className: t } = e; return (0, es.jsx)(uL.x8, { asChild: !0, type: "button", children: (0, es.jsx)("div", { className: (0, eY.cx)("appearance-none", t), children: (0, es.jsx)(lW, { size: "small", variant: "ghost", type: "button", children: (0, es.jsx)(uY, {}) }) }) }) } let cS = (0, eY.j)(["relative", "z-40", "overflow-hidden"], { variants: { variant: { default: [nO()], none: "" } }, defaultVariants: { variant: "default" } }), cO = el.forwardRef((e, t) => { let { children: n, onSubmit: r, title: i, description: o, controls: a, contentVariants: s, closeClassName: l, bodyClassName: u, dynamicHeight: c = !0 } = e, { ref: f, height: d } = function() { let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], [t, n] = (0, el.useState)(0), r = (0, el.useRef)(null); return (0, el.useLayoutEffect)(() => { if (!r.current) return; let e = r.current, t = () => n(e.clientHeight); t(), r.current.addEventListener("resize", t); let i = new ResizeObserver(t); return i.observe(e), () => { e.removeEventListener("resize", t), i.unobserve(e) } }, e), { ref: r, height: t } }([n, o]), [h, p] = (0, el.useState)(!1); return (0, el.useEffect)(() => { p(d > .7 * window.innerHeight) }, [d]), (0, es.jsxs)(r ? "form" : "div", { onSubmit: r, ref: t, className: cS(s), children: [i && (0, es.jsx)(uL.Dx, { className: cC({ showSeparator: h }), children: i }), (0, es.jsx)(cw, { style: { height: c ? "".concat(d, "px") : void 0, maxHeight: c ? "70vh" : void 0 }, children: (0, es.jsxs)("div", { ref: f, className: (0, eY.cx)("p-4", u), children: [o && (0, es.jsx)(uL.dk, { className: cA(), children: o }), n] }) }), a && (0, es.jsx)(cT, { separator: h, children: a }), (0, es.jsx)(cj, { className: l || "absolute top-3.5 right-2" })] }) }), cC = (0, eY.j)(["pt-4 pb-2 px-4 w-full", nk({ size: "20", weight: "semibold", font: "sans", color: "contrast" })], { variants: { showSeparator: { true: "border-b border-gray-200 dark:border-graydark-200" } } }), cA = (0, eY.j)([nk({ color: "subtle", size: "14" }), "py-2"]); function cT(e) { let { children: t, separator: n = !0 } = e; return (0, es.jsx)("div", { className: (0, eY.cx)("py-2 mx-3", n ? "border-t border-gray-200 dark:border-graydark-200" : ""), children: t }) } var cM = n(55070), cP = n(77334); let cN = "rovingFocusGroup.onEntryFocus", cR = { bubbles: !1, cancelable: !0 }, cD = "RovingFocusGroup", [cL, cF, cI] = ep(cD), [cz, cV] = (0, ef.b)(cD, [cI]), [cB, cZ] = cz(cD), cU = (0, el.forwardRef)((e, t) => (0, el.createElement)(cL.Provider, { scope: e.__scopeRovingFocusGroup }, (0, el.createElement)(cL.Slot, { scope: e.__scopeRovingFocusGroup }, (0, el.createElement)(cH, (0, ec.Z)({}, e, { ref: t }))))), cH = (0, el.forwardRef)((e, t) => { let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: o, currentTabStopId: a, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: l, onEntryFocus: u, ...c } = e, f = (0, el.useRef)(null), d = (0, ed.e)(t, f), h = uQ(o), [p = null, v] = (0, em.T)({ prop: a, defaultProp: s, onChange: l }), [m, g] = (0, el.useState)(!1), y = (0, ug.W)(u), b = cF(n), x = (0, el.useRef)(!1); return (0, el.useEffect)(() => { let e = f.current; if (e) return e.addEventListener(cN, y), () => e.removeEventListener(cN, y) }, [y]), (0, el.createElement)(cB, { scope: n, orientation: r, dir: h, loop: i, currentTabStopId: p, onItemFocus: (0, el.useCallback)(e => v(e), [v]), onItemShiftTab: (0, el.useCallback)(() => g(!0), []) }, (0, el.createElement)(eg.WV.div, (0, ec.Z)({ tabIndex: m ? -1 : 0, "data-orientation": r }, c, { ref: d, style: { outline: "none", ...e.style }, onMouseDown: (0, ev.M)(e.onMouseDown, () => { x.current = !0 }), onFocus: (0, ev.M)(e.onFocus, e => { let t = !x.current; if (e.target === e.currentTarget && t && !m) { let n = new CustomEvent(cN, cR); if (e.currentTarget.dispatchEvent(n), !n.defaultPrevented) { let r = b().filter(e => e.focusable), i = r.find(e => e.active), o = r.find(e => e.id === p), a = [i, o, ...r].filter(Boolean), s = a.map(e => e.ref.current); c$(s) } } x.current = !1 }), onBlur: (0, ev.M)(e.onBlur, () => g(!1)) }))) }), cW = (0, el.forwardRef)((e, t) => { let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, ...o } = e, a = (0, ex.M)(), s = cZ("RovingFocusGroupItem", n), l = s.currentTabStopId === a, u = cF(n); return (0, el.createElement)(cL.ItemSlot, { scope: n, id: a, focusable: r, active: i }, (0, el.createElement)(eg.WV.span, (0, ec.Z)({ tabIndex: l ? 0 : -1, "data-orientation": s.orientation }, o, { ref: t, onMouseDown: (0, ev.M)(e.onMouseDown, e => { r ? s.onItemFocus(a) : e.preventDefault() }), onFocus: (0, ev.M)(e.onFocus, () => s.onItemFocus(a)), onKeyDown: (0, ev.M)(e.onKeyDown, e => { if ("Tab" === e.key && e.shiftKey) { s.onItemShiftTab(); return } if (e.target !== e.currentTarget) return; let t = function(e, t, n) { var r; let i = (r = e.key, "rtl" !== n ? r : "ArrowLeft" === r ? "ArrowRight" : "ArrowRight" === r ? "ArrowLeft" : r); if (!("vertical" === t && ["ArrowLeft", "ArrowRight"].includes(i)) && !("horizontal" === t && ["ArrowUp", "ArrowDown"].includes(i))) return cq[i] }(e, s.orientation, s.dir); if (void 0 !== t) { e.preventDefault(); let n = u().filter(e => e.focusable), r = n.map(e => e.ref.current); if ("last" === t) r.reverse(); else if ("prev" === t || "next" === t) { var i, o; "prev" === t && r.reverse(); let a = r.indexOf(e.currentTarget); r = s.loop ? (i = r, o = a + 1, i.map((e, t) => i[(o + t) % i.length])) : r.slice(a + 1) } setTimeout(() => c$(r)) } }) }))) }), cq = { ArrowLeft: "prev", ArrowUp: "prev", ArrowRight: "next", ArrowDown: "next", PageUp: "first", Home: "first", PageDown: "last", End: "last" }; function c$(e) { let t = document.activeElement; for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return } var cY = n(49732), cG = n(70506); let cK = ["Enter", " "], cX = ["ArrowUp", "PageDown", "End"], cQ = ["ArrowDown", "PageUp", "Home", ...cX], cJ = { ltr: [...cK, "ArrowRight"], rtl: [...cK, "ArrowLeft"] }, c0 = { ltr: ["ArrowLeft"], rtl: ["ArrowRight"] }, c1 = "Menu", [c2, c4, c3] = ep(c1), [c5, c6] = (0, ef.b)(c1, [c3, tq, cV]), c8 = tq(), c7 = cV(), [c9, fe] = c5(c1), [ft, fn] = c5(c1), fr = e => { let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: o, modal: a = !0 } = e, s = c8(t), [l, u] = (0, el.useState)(null), c = (0, el.useRef)(!1), f = (0, ug.W)(o), d = uQ(i); return (0, el.useEffect)(() => { let e = () => { c.current = !0, document.addEventListener("pointerdown", t, { capture: !0, once: !0 }), document.addEventListener("pointermove", t, { capture: !0, once: !0 }) }, t = () => c.current = !1; return document.addEventListener("keydown", e, { capture: !0 }), () => { document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 }) } }, []), (0, el.createElement)(tG, s, (0, el.createElement)(c9, { scope: t, open: n, onOpenChange: f, content: l, onContentChange: u }, (0, el.createElement)(ft, { scope: t, onClose: (0, el.useCallback)(() => f(!1), [f]), isUsingKeyboardRef: c, dir: d, modal: a }, r))) }, fi = (0, el.forwardRef)((e, t) => { let { __scopeMenu: n, ...r } = e, i = c8(n); return (0, el.createElement)(tK, (0, ec.Z)({}, i, r, { ref: t })) }), fo = "MenuPortal", [fa, fs] = c5(fo, { forceMount: void 0 }), fl = e => { let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, o = fe(fo, t); return (0, el.createElement)(fa, { scope: t, forceMount: n }, (0, el.createElement)(eb.z, { present: n || o.open }, (0, el.createElement)(t9.h, { asChild: !0, container: i }, r))) }, fu = "MenuContent", [fc, ff] = c5(fu), fd = (0, el.forwardRef)((e, t) => { let n = fs(fu, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, o = fe(fu, e.__scopeMenu), a = fn(fu, e.__scopeMenu); return (0, el.createElement)(c2.Provider, { scope: e.__scopeMenu }, (0, el.createElement)(eb.z, { present: r || o.open }, (0, el.createElement)(c2.Slot, { scope: e.__scopeMenu }, a.modal ? (0, el.createElement)(fh, (0, ec.Z)({}, i, { ref: t })) : (0, el.createElement)(fp, (0, ec.Z)({}, i, { ref: t }))))) }), fh = (0, el.forwardRef)((e, t) => { let n = fe(fu, e.__scopeMenu), r = (0, el.useRef)(null), i = (0, ed.e)(t, r); return (0, el.useEffect)(() => { let e = r.current; if (e) return (0, cY.R)(e) }, []), (0, el.createElement)(fv, (0, ec.Z)({}, e, { ref: i, trapFocus: n.open, disableOutsidePointerEvents: n.open, disableOutsideScroll: !0, onFocusOutside: (0, ev.M)(e.onFocusOutside, e => e.preventDefault(), { checkForDefaultPrevented: !1 }), onDismiss: () => n.onOpenChange(!1) })) }), fp = (0, el.forwardRef)((e, t) => { let n = fe(fu, e.__scopeMenu); return (0, el.createElement)(fv, (0, ec.Z)({}, e, { ref: t, trapFocus: !1, disableOutsidePointerEvents: !1, disableOutsideScroll: !1, onDismiss: () => n.onOpenChange(!1) })) }), fv = (0, el.forwardRef)((e, t) => { let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: o, onCloseAutoFocus: a, disableOutsidePointerEvents: s, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: c, onInteractOutside: f, onDismiss: d, disableOutsideScroll: h, ...p } = e, v = fe(fu, n), m = fn(fu, n), g = c8(n), y = c7(n), b = c4(n), [x, w] = (0, el.useState)(null), _ = (0, el.useRef)(null), E = (0, ed.e)(t, _, v.onContentChange), k = (0, el.useRef)(0), j = (0, el.useRef)(""), S = (0, el.useRef)(0), O = (0, el.useRef)(null), C = (0, el.useRef)("right"), A = (0, el.useRef)(0), T = h ? cG.Z : el.Fragment, M = h ? { as: eh.g7, allowPinchZoom: !0 } : void 0, P = e => { var t, n; let r = j.current + e, i = b().filter(e => !e.disabled), o = document.activeElement, a = null === (t = i.find(e => e.ref.current === o)) || void 0 === t ? void 0 : t.textValue, s = i.map(e => e.textValue), l = function(e, t, n) { var r; let i = t.length > 1 && Array.from(t).every(e => e === t[0]), o = i ? t[0] : t, a = n ? e.indexOf(n) : -1, s = (r = Math.max(a, 0), e.map((t, n) => e[(r + n) % e.length])), l = 1 === o.length; l && (s = s.filter(e => e !== n)); let u = s.find(e => e.toLowerCase().startsWith(o.toLowerCase())); return u !== n ? u : void 0 }(s, r, a), u = null === (n = i.find(e => e.textValue === l)) || void 0 === n ? void 0 : n.ref.current; !function e(t) { j.current = t, window.clearTimeout(k.current), "" !== t && (k.current = window.setTimeout(() => e(""), 1e3)) }(r), u && setTimeout(() => u.focus()) }; (0, el.useEffect)(() => () => window.clearTimeout(k.current), []), (0, cM.EW)(); let N = (0, el.useCallback)(e => { var t, n; let r = C.current === (null === (t = O.current) || void 0 === t ? void 0 : t.side); return r && function(e, t) { if (!t) return !1; let n = { x: e.clientX, y: e.clientY }; return function(e, t) { let { x: n, y: r } = e, i = !1; for (let o = 0, a = t.length - 1; o < t.length; a = o++) { let s = t[o].x, l = t[o].y, u = t[a].x, c = t[a].y, f = l > r != c > r && n < (u - s) * (r - l) / (c - l) + s; f && (i = !i) } return i }(n, t) }(e, null === (n = O.current) || void 0 === n ? void 0 : n.area) }, []); return (0, el.createElement)(fc, { scope: n, searchRef: j, onItemEnter: (0, el.useCallback)(e => { N(e) && e.preventDefault() }, [N]), onItemLeave: (0, el.useCallback)(e => { var t; N(e) || (null === (t = _.current) || void 0 === t || t.focus(), w(null)) }, [N]), onTriggerLeave: (0, el.useCallback)(e => { N(e) && e.preventDefault() }, [N]), pointerGraceTimerRef: S, onPointerGraceIntentChange: (0, el.useCallback)(e => { O.current = e }, []) }, (0, el.createElement)(T, M, (0, el.createElement)(cP.M, { asChild: !0, trapped: i, onMountAutoFocus: (0, ev.M)(o, e => { var t; e.preventDefault(), null === (t = _.current) || void 0 === t || t.focus() }), onUnmountAutoFocus: a }, (0, el.createElement)(eG.XB, { asChild: !0, disableOutsidePointerEvents: s, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: c, onInteractOutside: f, onDismiss: d }, (0, el.createElement)(cU, (0, ec.Z)({ asChild: !0 }, y, { dir: m.dir, orientation: "vertical", loop: r, currentTabStopId: x, onCurrentTabStopIdChange: w, onEntryFocus: e => { m.isUsingKeyboardRef.current || e.preventDefault() } }), (0, el.createElement)(t2, (0, ec.Z)({ role: "menu", "aria-orientation": "vertical", "data-state": fT(v.open), dir: m.dir }, g, p, { ref: E, style: { outline: "none", ...p.style }, onKeyDown: (0, ev.M)(p.onKeyDown, e => { let t = e.target, n = t.closest('[role="menu"]') === e.currentTarget, r = e.ctrlKey || e.altKey || e.metaKey, i = 1 === e.key.length; n && ("Tab" === e.key && e.preventDefault(), !r && i && P(e.key)); let o = _.current; if (e.target !== o || !cQ.includes(e.key)) return; e.preventDefault(); let a = b().filter(e => !e.disabled), s = a.map(e => e.ref.current); cX.includes(e.key) && s.reverse(), function(e) { let t = document.activeElement; for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return }(s) }), onBlur: (0, ev.M)(e.onBlur, e => { e.currentTarget.contains(e.target) || (window.clearTimeout(k.current), j.current = "") }), onPointerMove: (0, ev.M)(e.onPointerMove, fP(e => { let t = e.target, n = A.current !== e.clientX; if (e.currentTarget.contains(t) && n) { let r = e.clientX > A.current ? "right" : "left"; C.current = r, A.current = e.clientX } })) }))))))) }), fm = (0, el.forwardRef)((e, t) => { let { __scopeMenu: n, ...r } = e; return (0, el.createElement)(eg.WV.div, (0, ec.Z)({ role: "group" }, r, { ref: t })) }), fg = (0, el.forwardRef)((e, t) => { let { __scopeMenu: n, ...r } = e; return (0, el.createElement)(eg.WV.div, (0, ec.Z)({}, r, { ref: t })) }), fy = "MenuItem", fb = "menu.itemSelect", fx = (0, el.forwardRef)((e, t) => { let { disabled: n = !1, onSelect: r, ...i } = e, o = (0, el.useRef)(null), a = fn(fy, e.__scopeMenu), s = ff(fy, e.__scopeMenu), l = (0, ed.e)(t, o), u = (0, el.useRef)(!1), c = () => { let e = o.current; if (!n && e) { let t = new CustomEvent(fb, { bubbles: !0, cancelable: !0 }); e.addEventListener(fb, e => null == r ? void 0 : r(e), { once: !0 }), (0, eg.jH)(e, t), t.defaultPrevented ? u.current = !1 : a.onClose() } }; return (0, el.createElement)(fw, (0, ec.Z)({}, i, { ref: l, disabled: n, onClick: (0, ev.M)(e.onClick, c), onPointerDown: t => { var n; null === (n = e.onPointerDown) || void 0 === n || n.call(e, t), u.current = !0 }, onPointerUp: (0, ev.M)(e.onPointerUp, e => { var t; u.current || null === (t = e.currentTarget) || void 0 === t || t.click() }), onKeyDown: (0, ev.M)(e.onKeyDown, e => { let t = "" !== s.searchRef.current; !n && (!t || " " !== e.key) && cK.includes(e.key) && (e.currentTarget.click(), e.preventDefault()) }) })) }), fw = (0, el.forwardRef)((e, t) => { let { __scopeMenu: n, disabled: r = !1, textValue: i, ...o } = e, a = ff(fy, n), s = c7(n), l = (0, el.useRef)(null), u = (0, ed.e)(t, l), [c, f] = (0, el.useState)(!1), [d, h] = (0, el.useState)(""); return (0, el.useEffect)(() => { let e = l.current; if (e) { var t; h((null !== (t = e.textContent) && void 0 !== t ? t : "").trim()) } }, [o.children]), (0, el.createElement)(c2.ItemSlot, { scope: n, disabled: r, textValue: null != i ? i : d }, (0, el.createElement)(cW, (0, ec.Z)({ asChild: !0 }, s, { focusable: !r }), (0, el.createElement)(eg.WV.div, (0, ec.Z)({ role: "menuitem", "data-highlighted": c ? "" : void 0, "aria-disabled": r || void 0, "data-disabled": r ? "" : void 0 }, o, { ref: u, onPointerMove: (0, ev.M)(e.onPointerMove, fP(e => { if (r) a.onItemLeave(e); else if (a.onItemEnter(e), !e.defaultPrevented) { let t = e.currentTarget; t.focus() } })), onPointerLeave: (0, ev.M)(e.onPointerLeave, fP(e => a.onItemLeave(e))), onFocus: (0, ev.M)(e.onFocus, () => f(!0)), onBlur: (0, ev.M)(e.onBlur, () => f(!1)) })))) }), [f_, fE] = ((e, t) => { let { checked: n = !1, onCheckedChange: r, ...i } = e; return (0, el.createElement)(fj, { scope: e.__scopeMenu, checked: n }, (0, el.createElement)(fx, (0, ec.Z)({ role: "menuitemcheckbox", "aria-checked": n }, i, { ref: t, "data-state": fM(n), onSelect: (0, ev.M)(i.onSelect, () => null == r ? void 0 : r(!n), { checkForDefaultPrevented: !1 }) }))) }, c5("MenuRadioGroup", { value: void 0, onValueChange: () => { } })), fk = ((e, t) => { let { value: n, onValueChange: r, ...i } = e, o = (0, ug.W)(r); return (0, el.createElement)(f_, { scope: e.__scopeMenu, value: n, onValueChange: o }, (0, el.createElement)(fm, (0, ec.Z)({}, i, { ref: t }))) }, "MenuItemIndicator"), [fj, fS] = c5(fk, { checked: !1 }), [fO, fC] = ((e, t) => { let { __scopeMenu: n, forceMount: r, ...i } = e, o = fS(fk, n); return (0, el.createElement)(eb.z, { present: r || o.checked }, (0, el.createElement)(eg.WV.span, (0, ec.Z)({}, i, { ref: t, "data-state": fM(o.checked) }))) }, c5("MenuSub")), fA = "MenuSubTrigger"; function fT(e) { return e ? "open" : "closed" } function fM(e) { return e ? "checked" : "unchecked" } function fP(e) { return t => "mouse" === t.pointerType ? e(t) : void 0 } (e, t) => { let n = fe(fA, e.__scopeMenu), r = fn(fA, e.__scopeMenu), i = fC(fA, e.__scopeMenu), o = ff(fA, e.__scopeMenu), a = (0, el.useRef)(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: l } = o, u = { __scopeMenu: e.__scopeMenu }, c = (0, el.useCallback)(() => { a.current && window.clearTimeout(a.current), a.current = null }, []); return (0, el.useEffect)(() => c, [c]), (0, el.useEffect)(() => { let e = s.current; return () => { window.clearTimeout(e), l(null) } }, [s, l]), (0, el.createElement)(fi, (0, ec.Z)({ asChild: !0 }, u), (0, el.createElement)(fw, (0, ec.Z)({ id: i.triggerId, "aria-haspopup": "menu", "aria-expanded": n.open, "aria-controls": i.contentId, "data-state": fT(n.open) }, e, { ref: (0, ed.F)(t, i.onTriggerChange), onClick: t => { var r; null === (r = e.onClick) || void 0 === r || r.call(e, t), e.disabled || t.defaultPrevented || (t.currentTarget.focus(), n.open || n.onOpenChange(!0)) }, onPointerMove: (0, ev.M)(e.onPointerMove, fP(t => { o.onItemEnter(t), t.defaultPrevented || e.disabled || n.open || a.current || (o.onPointerGraceIntentChange(null), a.current = window.setTimeout(() => { n.onOpenChange(!0), c() }, 100)) })), onPointerLeave: (0, ev.M)(e.onPointerLeave, fP(e => { var t, r; c(); let i = null === (t = n.content) || void 0 === t ? void 0 : t.getBoundingClientRect(); if (i) { let a = null === (r = n.content) || void 0 === r ? void 0 : r.dataset.side, l = "right" === a, u = i[l ? "left" : "right"], f = i[l ? "right" : "left"]; o.onPointerGraceIntentChange({ area: [{ x: e.clientX + (l ? -5 : 5), y: e.clientY }, { x: u, y: i.top }, { x: f, y: i.top }, { x: f, y: i.bottom }, { x: u, y: i.bottom }], side: a }), window.clearTimeout(s.current), s.current = window.setTimeout(() => o.onPointerGraceIntentChange(null), 300) } else { if (o.onTriggerLeave(e), e.defaultPrevented) return; o.onPointerGraceIntentChange(null) } })), onKeyDown: (0, ev.M)(e.onKeyDown, t => { let i = "" !== o.searchRef.current; if (!e.disabled && (!i || " " !== t.key) && cJ[r.dir].includes(t.key)) { var a; n.onOpenChange(!0), null === (a = n.content) || void 0 === a || a.focus(), t.preventDefault() } }) }))) }, (e, t) => { let n = fs(fu, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, o = fe(fu, e.__scopeMenu), a = fn(fu, e.__scopeMenu), s = fC("MenuSubContent", e.__scopeMenu), l = (0, el.useRef)(null), u = (0, ed.e)(t, l); return (0, el.createElement)(c2.Provider, { scope: e.__scopeMenu }, (0, el.createElement)(eb.z, { present: r || o.open }, (0, el.createElement)(c2.Slot, { scope: e.__scopeMenu }, (0, el.createElement)(fv, (0, ec.Z)({ id: s.contentId, "aria-labelledby": s.triggerId }, i, { ref: u, align: "start", side: "rtl" === a.dir ? "left" : "right", disableOutsidePointerEvents: !1, disableOutsideScroll: !1, trapFocus: !1, onOpenAutoFocus: e => { var t; a.isUsingKeyboardRef.current && (null === (t = l.current) || void 0 === t || t.focus()), e.preventDefault() }, onCloseAutoFocus: e => e.preventDefault(), onFocusOutside: (0, ev.M)(e.onFocusOutside, e => { e.target !== s.trigger && o.onOpenChange(!1) }), onEscapeKeyDown: (0, ev.M)(e.onEscapeKeyDown, a.onClose), onKeyDown: (0, ev.M)(e.onKeyDown, e => { let t = e.currentTarget.contains(e.target), n = c0[a.dir].includes(e.key); if (t && n) { var r; o.onOpenChange(!1), null === (r = s.trigger) || void 0 === r || r.focus(), e.preventDefault() } }) }))))) }; let fN = "DropdownMenu", [fR, fD] = (0, ef.b)(fN, [c6]), fL = c6(), [fF, fI] = fR(fN), fz = e => { let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: o, onOpenChange: a, modal: s = !0 } = e, l = fL(t), u = (0, el.useRef)(null), [c = !1, f] = (0, em.T)({ prop: i, defaultProp: o, onChange: a }); return (0, el.createElement)(fF, { scope: t, triggerId: (0, ex.M)(), triggerRef: u, contentId: (0, ex.M)(), open: c, onOpenChange: f, onOpenToggle: (0, el.useCallback)(() => f(e => !e), [f]), modal: s }, (0, el.createElement)(fr, (0, ec.Z)({}, l, { open: c, onOpenChange: f, dir: r, modal: s }), n)) }, fV = (0, el.forwardRef)((e, t) => { let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, o = fI("DropdownMenuTrigger", n), a = fL(n); return (0, el.createElement)(fi, (0, ec.Z)({ asChild: !0 }, a), (0, el.createElement)(eg.WV.button, (0, ec.Z)({ type: "button", id: o.triggerId, "aria-haspopup": "menu", "aria-expanded": !!o.open || void 0, "aria-controls": o.open ? o.contentId : void 0, "data-state": o.open ? "open" : "closed", "data-disabled": r ? "" : void 0, disabled: r }, i, { ref: (0, ed.F)(t, o.triggerRef), onPointerDown: (0, ev.M)(e.onPointerDown, e => { r || 0 !== e.button || !1 !== e.ctrlKey || (o.onOpenToggle(), o.open || e.preventDefault()) }), onKeyDown: (0, ev.M)(e.onKeyDown, e => { !r && (["Enter", " "].includes(e.key) && o.onOpenToggle(), "ArrowDown" === e.key && o.onOpenChange(!0), [" ", "ArrowDown"].includes(e.key) && e.preventDefault()) }) }))) }), fB = e => { let { __scopeDropdownMenu: t, ...n } = e, r = fL(t); return (0, el.createElement)(fl, (0, ec.Z)({}, r, n)) }, fZ = (0, el.forwardRef)((e, t) => { let { __scopeDropdownMenu: n, ...r } = e, i = fI("DropdownMenuContent", n), o = fL(n), a = (0, el.useRef)(!1); return (0, el.createElement)(fd, (0, ec.Z)({ id: i.contentId, "aria-labelledby": i.triggerId }, o, r, { ref: t, onCloseAutoFocus: (0, ev.M)(e.onCloseAutoFocus, e => { var t; a.current || null === (t = i.triggerRef.current) || void 0 === t || t.focus(), a.current = !1, e.preventDefault() }), onInteractOutside: (0, ev.M)(e.onInteractOutside, e => { let t = e.detail.originalEvent, n = 0 === t.button && !0 === t.ctrlKey, r = 2 === t.button || n; (!i.modal || r) && (a.current = !0) }), style: { ...e.style, "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)" } })) }), fU = (0, el.forwardRef)((e, t) => { let { __scopeDropdownMenu: n, ...r } = e, i = fL(n); return (0, el.createElement)(fg, (0, ec.Z)({}, i, r, { ref: t })) }), fH = (0, el.forwardRef)((e, t) => { let { __scopeDropdownMenu: n, ...r } = e, i = fL(n); return (0, el.createElement)(fx, (0, ec.Z)({}, i, r, { ref: t })) }), fW = "horizontal", fq = ["horizontal", "vertical"], f$ = (0, el.forwardRef)((e, t) => { let { decorative: n, orientation: r = fW, ...i } = e, o = fY(r) ? r : fW; return (0, el.createElement)(eg.WV.div, (0, ec.Z)({ "data-orientation": o }, n ? { role: "none" } : { "aria-orientation": "vertical" === o ? o : void 0, role: "separator" }, i, { ref: t })) }); function fY(e) { return fq.includes(e) } f$.propTypes = { + orientation(e, t, n) { + let r = e[t], i = String(r); return r && !fY(r) ? Error(`Invalid prop \`orientation\` of value \`${i}\` supplied to \`${n}\`, expected one of: - horizontal - vertical -Defaulting to \`${fW}\`.`):null}};let fG=(0,eY.j)(["m-0 flex-shrink-0 cursor-default"],{variants:{variant:{vertical:"border-r",horizontal:"border-b"},color:{subtle:"border-gray-300 dark:border-graydark-300",verySubtle:"border-gray-100 dark:border-graydark-100",panel:"border-gray-100 dark:border-graydark-400/50"}},defaultVariants:{variant:"horizontal",color:"subtle"}}),fK=el.forwardRef((e,t)=>{let{variant:n,color:r,className:i,...o}=e;return(0,es.jsx)(f$,{ref:t,className:fG({variant:n,color:r,className:i}),...o})}),fX=function(){let{className:e,font:t,color:n="subtle",weight:r="medium",size:i="14",scaleSize:o,noWrap:a,ellipsis:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,eY.cx)(nk({font:t,color:n,weight:r,size:i,scaleSize:o,noWrap:a,ellipsis:s,className:e}),["relative","flex","items-center","tabular-nums","select-none","whitespace-nowrap","px-1.5","py-1.5"])},fQ=function(){let{className:e,font:t,color:n="contrast",weight:r="medium",size:i="14",scaleSize:o,noWrap:a,ellipsis:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,eY.cx)(fX({font:t,color:n,weight:r,size:i,scaleSize:o,noWrap:a,ellipsis:s,className:e}),["group","cursor-pointer","rounded-sm","focus:outline-none","focus:text-gray-900","dark:focus:text-white","focus:bg-gray-300","dark:focus:bg-graydark-300","aria-selected:bg-gray-400","aria-selected:dark:bg-graydark-500","data-[disabled]:pointer-events-none","data-[disabled]:text-gray-700","dark:data-[disabled]:text-graydark-700"])},fJ=e=>{let{className:t,font:n,color:r="verySubtle",weight:i="medium",size:o="14",scaleSize:a,noWrap:s,ellipsis:l}=e;return nk({font:n,color:r,weight:i,size:o,scaleSize:a,noWrap:s,ellipsis:l,className:t})},f0=e=>(0,eY.cx)(["h-px","my-2","mx-1.5",e]),f1=el.forwardRef((e,t)=>{let{className:n,color:r,...i}=e;return(0,es.jsx)(fK,{ref:t,className:f0(n),...i})}),f2=el.forwardRef((e,t)=>{let{className:n,font:r,color:i,weight:o,size:a="14",scaleSize:s,noWrap:l,ellipsis:u,...c}=e;return(0,es.jsx)("div",{ref:t,className:(0,eY.cx)(fX({className:n,font:r,color:i,weight:o,size:a,scaleSize:s,noWrap:l,ellipsis:u})),...c})}),f4=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)("div",{ref:t,className:(0,eY.cx)(["ml-auto","pl-5",n]),...r})}),f3=(0,eY.j)([lB,"relative","max-w-sm","z-30","py-1","data-[side=top]:bottom-1","data-[side=top]:origin-bottom","data-[side=bottom]:top-1","data-[side=bottom]:origin-tip","data-[side=left]:right-1","data-[side=left]:origin-right","data-[side=right]:left-1","data-[side=right]:origin-left"]),f5=e=>(0,eY.cx)(nO(),(0,eY.j)(["max-w-xs","shadow-sm","py-1","px-1"])({className:e})),f6={show:{opacity:[0,1],scale:[.95,1],transition:{duration:.1,ease:"easeOut"}},exit:{opacity:[1,0],scale:[1,.95],transition:{duration:.1,ease:"easeIn"}}},f8=el.forwardRef((e,t)=>{let{trigger:n,children:r,rootProps:i,contentProps:o,className:a,open:s,onOpenChange:l}=e,{open:u,onOpenChange:c}=lL({open:s,onOpenChange:l});return(0,es.jsxs)(fz,{open:u,onOpenChange:c,...i,children:[(0,es.jsx)(fV,{asChild:!0,children:n}),(0,es.jsx)(n8,{children:u?(0,es.jsx)(fB,{forceMount:!0,children:(0,es.jsx)(fZ,{asChild:!0,forceMount:!0,ref:t,...o,children:(0,es.jsx)(lD.div,{variants:f6,initial:"init",animate:"show",exit:"exit",className:f3(),children:(0,es.jsx)("div",{className:f5(a),children:r})})})}):null})]})}),f7=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)(fH,{ref:t,className:fQ({className:n}),...r})}),f9=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)(fU,{ref:t,className:(0,eY.cx)("px-1.5",fJ({className:n})),...r})}),de=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)("div",{ref:t,className:(0,eY.cx)(["pr-2","opacity-70 group-hover:opacity-100",n]),...r})}),[dt,dn]=(0,ef.k)("Label",{id:void 0,controlRef:{current:null}}),dr=(0,el.forwardRef)((e,t)=>{let{htmlFor:n,id:r,...i}=e,o=(0,el.useRef)(null),a=(0,el.useRef)(null),s=(0,ed.e)(t,a),l=(0,ex.M)(r);return(0,el.useEffect)(()=>{if(n){let e=document.getElementById(n),t=a.current;if(t&&e){let r=()=>e.getAttribute("aria-labelledby"),i=[l,r()].filter(Boolean).join(" ");return e.setAttribute("aria-labelledby",i),o.current=e,()=>{var t;let n=null===(t=r())||void 0===t?void 0:t.replace(l,"");""===n?e.removeAttribute("aria-labelledby"):n&&e.setAttribute("aria-labelledby",n)}}}},[l,n]),(0,el.createElement)(dt,{id:l,controlRef:o},(0,el.createElement)(eg.WV.span,(0,ec.Z)({role:"label",id:l},i,{ref:s,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()},onClick:t=>{var n;if(null===(n=e.onClick)||void 0===n||n.call(e,t),!o.current||t.defaultPrevented)return;let r=o.current.contains(t.target),i=!0===t.isTrusted;!r&&i&&(o.current.click(),o.current.focus())}})))}),di=e=>{let t=dn("LabelConsumer"),{controlRef:n}=t;return(0,el.useEffect)(()=>{e&&(n.current=e)},[e,n]),t.id},da=el.forwardRef((e,t)=>{let{font:n,size:r="14",scaleSize:i,weight:o,color:a="verySubtle",noWrap:s,ellipsis:l,className:u,...c}=e;return(0,es.jsx)(dr,{ref:t,...c,className:fJ({font:n,size:r,scaleSize:i,color:a,weight:o,noWrap:s,ellipsis:l,className:u})})});var ds=["children"],dl=el.forwardRef(function(e,t){var n=e.children,r=l9(e,ds);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kZ||(kZ=el.createElement("circle",{cx:"21",cy:"26",r:"2"})),kU||(kU=el.createElement("circle",{cx:"21",cy:"6",r:"2"})),kH||(kH=el.createElement("circle",{cx:"4",cy:"16",r:"2"})),kW||(kW=el.createElement("path",{d:"M28,12a3.9962,3.9962,0,0,0-3.8579,3H19.8579a3.9655,3.9655,0,0,0-5.4914-2.6426L11.19,8.3872A3.9626,3.9626,0,0,0,12,6a4,4,0,1,0-4,4,3.96,3.96,0,0,0,1.6338-.3574l3.176,3.97a3.9239,3.9239,0,0,0,0,4.7744l-3.1758,3.97A3.96,3.96,0,0,0,8,22a4,4,0,1,0,4,4,3.9624,3.9624,0,0,0-.81-2.3872l3.1758-3.97A3.9658,3.9658,0,0,0,19.8579,17h4.2842A3.9934,3.9934,0,1,0,28,12ZM6,6A2,2,0,1,1,8,8,2.0023,2.0023,0,0,1,6,6ZM8,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,8,28Zm8-10a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,16,18Zm12,0a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,28,18Z"})),n)});let du="Popover",[dc,df]=(0,ef.b)(du,[tq]),dd=tq(),[dh,dp]=dc(du),dv=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!1}=e,s=dd(t),l=(0,el.useRef)(null),[u,c]=(0,el.useState)(!1),[f=!1,d]=(0,em.T)({prop:r,defaultProp:i,onChange:o});return(0,el.createElement)(tG,s,(0,el.createElement)(dh,{scope:t,contentId:(0,ex.M)(),triggerRef:l,open:f,onOpenChange:d,onOpenToggle:(0,el.useCallback)(()=>d(e=>!e),[d]),hasCustomAnchor:u,onCustomAnchorAdd:(0,el.useCallback)(()=>c(!0),[]),onCustomAnchorRemove:(0,el.useCallback)(()=>c(!1),[]),modal:a},n))},dm=(0,el.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,i=dp("PopoverTrigger",n),o=dd(n),a=(0,ed.e)(t,i.triggerRef),s=(0,el.createElement)(eg.WV.button,(0,ec.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":dS(i.open)},r,{ref:a,onClick:(0,ev.M)(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?s:(0,el.createElement)(tK,(0,ec.Z)({asChild:!0},o),s)}),dg="PopoverPortal",[dy,db]=dc(dg,{forceMount:void 0}),dx=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=dp(dg,t);return(0,el.createElement)(dy,{scope:t,forceMount:n},(0,el.createElement)(eb.z,{present:n||o.open},(0,el.createElement)(t9.h,{asChild:!0,container:i},r)))},dw="PopoverContent",d_=(0,el.forwardRef)((e,t)=>{let n=db(dw,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=dp(dw,e.__scopePopover);return(0,el.createElement)(eb.z,{present:r||o.open},o.modal?(0,el.createElement)(dE,(0,ec.Z)({},i,{ref:t})):(0,el.createElement)(dk,(0,ec.Z)({},i,{ref:t})))}),dE=(0,el.forwardRef)((e,t)=>{let n=dp(dw,e.__scopePopover),r=(0,el.useRef)(null),i=(0,ed.e)(t,r),o=(0,el.useRef)(!1);return(0,el.useEffect)(()=>{let e=r.current;if(e)return(0,cY.R)(e)},[]),(0,el.createElement)(cG.Z,{as:eh.g7,allowPinchZoom:!0},(0,el.createElement)(dj,(0,ec.Z)({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,ev.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),o.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,ev.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,ev.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})))}),dk=(0,el.forwardRef)((e,t)=>{let n=dp(dw,e.__scopePopover),r=(0,el.useRef)(!1);return(0,el.createElement)(dj,(0,ec.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,o;null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current||null===(o=n.triggerRef.current)||void 0===o||o.focus(),t.preventDefault()),r.current=!1},onInteractOutside:t=>{var i,o;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0);let a=t.target,s=null===(o=n.triggerRef.current)||void 0===o?void 0:o.contains(a);s&&t.preventDefault()}}))}),dj=(0,el.forwardRef)((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,d=dp(dw,n),h=dd(n);return(0,cM.EW)(),(0,el.createElement)(cP.M,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},(0,el.createElement)(eG.XB,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},(0,el.createElement)(t2,(0,ec.Z)({"data-state":dS(d.open),role:"dialog",id:d.contentId},h,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)"}}))))});function dS(e){return e?"open":"closed"}let dO=(0,eY.j)([lB,"relative","z-10","outline-none","max-w-sm","data-[side=top]:bottom-1","data-[side=top]:origin-bottom","data-[side=bottom]:top-1","data-[side=bottom]:origin-top","data-[side=left]:right-1","data-[side=left]:origin-right","data-[side=right]:left-1","data-[side=right]:origin-left"]),dC=(0,eY.cx)(nO(),(0,eY.j)(["py-1","px-1"])()),dA={show:{opacity:[0,1],scale:[.95,1],transition:{duration:.1,ease:"easeOut"}},exit:{opacity:[1,0],scale:[1,.95],transition:{duration:.1,ease:"easeIn"}}},dT=el.forwardRef((e,t)=>{let{trigger:n,children:r,rootProps:i,contentProps:o}=e,{open:a,onOpenChange:s}=lL({open:null==i?void 0:i.open,onOpenChange:null==i?void 0:i.onOpenChange});return(0,es.jsxs)(dv,{open:a,onOpenChange:s,...i,children:[(0,es.jsx)(dm,{asChild:!0,children:n}),(0,es.jsx)(n8,{children:a?(0,es.jsx)(dx,{forceMount:!0,children:(0,es.jsx)(d_,{asChild:!0,forceMount:!0,ref:t,...o,children:(0,es.jsx)(lD.div,{variants:dA,initial:"init",animate:"show",exit:"exit",className:dO(),children:(0,es.jsx)(cw,{className:dC,children:r})})})}):null})]})}),dM="Progress",[dP,dN]=(0,ef.b)(dM),[dR,dD]=dP(dM),dL=(0,el.forwardRef)((e,t)=>{let{__scopeProgress:n,value:r,max:i,getValueLabel:o=dI,...a}=e,s=dB(i)?i:100,l=dZ(r,s)?r:null,u=dV(l)?o(l,s):void 0;return(0,el.createElement)(dR,{scope:n,value:l,max:s},(0,el.createElement)(eg.WV.div,(0,ec.Z)({"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":dV(l)?l:void 0,"aria-valuetext":u,role:"progressbar","data-state":dz(l,s),"data-value":null!=l?l:void 0,"data-max":s},a,{ref:t})))});dL.propTypes={max(e,t,n){let r=e[t],i=String(r);return r&&!dB(r)?Error(`Invalid prop \`max\` of value \`${i}\` supplied to \`${n}\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`):null},value(e,t,n){let r=e[t],i=String(r),o=dB(e.max)?e.max:100;return null==r||dZ(r,o)?null:Error(`Invalid prop \`value\` of value \`${i}\` supplied to \`${n}\`. The \`value\` prop must be: +Defaulting to \`${fW}\`.`) : null + } + }; let fG = (0, eY.j)(["m-0 flex-shrink-0 cursor-default"], { variants: { variant: { vertical: "border-r", horizontal: "border-b" }, color: { subtle: "border-gray-300 dark:border-graydark-300", verySubtle: "border-gray-100 dark:border-graydark-100", panel: "border-gray-100 dark:border-graydark-400/50" } }, defaultVariants: { variant: "horizontal", color: "subtle" } }), fK = el.forwardRef((e, t) => { let { variant: n, color: r, className: i, ...o } = e; return (0, es.jsx)(f$, { ref: t, className: fG({ variant: n, color: r, className: i }), ...o }) }), fX = function() { let { className: e, font: t, color: n = "subtle", weight: r = "medium", size: i = "14", scaleSize: o, noWrap: a, ellipsis: s } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return (0, eY.cx)(nk({ font: t, color: n, weight: r, size: i, scaleSize: o, noWrap: a, ellipsis: s, className: e }), ["relative", "flex", "items-center", "tabular-nums", "select-none", "whitespace-nowrap", "px-1.5", "py-1.5"]) }, fQ = function() { let { className: e, font: t, color: n = "contrast", weight: r = "medium", size: i = "14", scaleSize: o, noWrap: a, ellipsis: s } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return (0, eY.cx)(fX({ font: t, color: n, weight: r, size: i, scaleSize: o, noWrap: a, ellipsis: s, className: e }), ["group", "cursor-pointer", "rounded-sm", "focus:outline-none", "focus:text-gray-900", "dark:focus:text-white", "focus:bg-gray-300", "dark:focus:bg-graydark-300", "aria-selected:bg-gray-400", "aria-selected:dark:bg-graydark-500", "data-[disabled]:pointer-events-none", "data-[disabled]:text-gray-700", "dark:data-[disabled]:text-graydark-700"]) }, fJ = e => { let { className: t, font: n, color: r = "verySubtle", weight: i = "medium", size: o = "14", scaleSize: a, noWrap: s, ellipsis: l } = e; return nk({ font: n, color: r, weight: i, size: o, scaleSize: a, noWrap: s, ellipsis: l, className: t }) }, f0 = e => (0, eY.cx)(["h-px", "my-2", "mx-1.5", e]), f1 = el.forwardRef((e, t) => { let { className: n, color: r, ...i } = e; return (0, es.jsx)(fK, { ref: t, className: f0(n), ...i }) }), f2 = el.forwardRef((e, t) => { let { className: n, font: r, color: i, weight: o, size: a = "14", scaleSize: s, noWrap: l, ellipsis: u, ...c } = e; return (0, es.jsx)("div", { ref: t, className: (0, eY.cx)(fX({ className: n, font: r, color: i, weight: o, size: a, scaleSize: s, noWrap: l, ellipsis: u })), ...c }) }), f4 = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)("div", { ref: t, className: (0, eY.cx)(["ml-auto", "pl-5", n]), ...r }) }), f3 = (0, eY.j)([lB, "relative", "max-w-sm", "z-30", "py-1", "data-[side=top]:bottom-1", "data-[side=top]:origin-bottom", "data-[side=bottom]:top-1", "data-[side=bottom]:origin-tip", "data-[side=left]:right-1", "data-[side=left]:origin-right", "data-[side=right]:left-1", "data-[side=right]:origin-left"]), f5 = e => (0, eY.cx)(nO(), (0, eY.j)(["max-w-xs", "shadow-sm", "py-1", "px-1"])({ className: e })), f6 = { show: { opacity: [0, 1], scale: [.95, 1], transition: { duration: .1, ease: "easeOut" } }, exit: { opacity: [1, 0], scale: [1, .95], transition: { duration: .1, ease: "easeIn" } } }, f8 = el.forwardRef((e, t) => { let { trigger: n, children: r, rootProps: i, contentProps: o, className: a, open: s, onOpenChange: l } = e, { open: u, onOpenChange: c } = lL({ open: s, onOpenChange: l }); return (0, es.jsxs)(fz, { open: u, onOpenChange: c, ...i, children: [(0, es.jsx)(fV, { asChild: !0, children: n }), (0, es.jsx)(n8, { children: u ? (0, es.jsx)(fB, { forceMount: !0, children: (0, es.jsx)(fZ, { asChild: !0, forceMount: !0, ref: t, ...o, children: (0, es.jsx)(lD.div, { variants: f6, initial: "init", animate: "show", exit: "exit", className: f3(), children: (0, es.jsx)("div", { className: f5(a), children: r }) }) }) }) : null })] }) }), f7 = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)(fH, { ref: t, className: fQ({ className: n }), ...r }) }), f9 = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)(fU, { ref: t, className: (0, eY.cx)("px-1.5", fJ({ className: n })), ...r }) }), de = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)("div", { ref: t, className: (0, eY.cx)(["pr-2", "opacity-70 group-hover:opacity-100", n]), ...r }) }), [dt, dn] = (0, ef.k)("Label", { id: void 0, controlRef: { current: null } }), dr = (0, el.forwardRef)((e, t) => { let { htmlFor: n, id: r, ...i } = e, o = (0, el.useRef)(null), a = (0, el.useRef)(null), s = (0, ed.e)(t, a), l = (0, ex.M)(r); return (0, el.useEffect)(() => { if (n) { let e = document.getElementById(n), t = a.current; if (t && e) { let r = () => e.getAttribute("aria-labelledby"), i = [l, r()].filter(Boolean).join(" "); return e.setAttribute("aria-labelledby", i), o.current = e, () => { var t; let n = null === (t = r()) || void 0 === t ? void 0 : t.replace(l, ""); "" === n ? e.removeAttribute("aria-labelledby") : n && e.setAttribute("aria-labelledby", n) } } } }, [l, n]), (0, el.createElement)(dt, { id: l, controlRef: o }, (0, el.createElement)(eg.WV.span, (0, ec.Z)({ role: "label", id: l }, i, { ref: s, onMouseDown: t => { var n; null === (n = e.onMouseDown) || void 0 === n || n.call(e, t), !t.defaultPrevented && t.detail > 1 && t.preventDefault() }, onClick: t => { var n; if (null === (n = e.onClick) || void 0 === n || n.call(e, t), !o.current || t.defaultPrevented) return; let r = o.current.contains(t.target), i = !0 === t.isTrusted; !r && i && (o.current.click(), o.current.focus()) } }))) }), di = e => { let t = dn("LabelConsumer"), { controlRef: n } = t; return (0, el.useEffect)(() => { e && (n.current = e) }, [e, n]), t.id }, da = el.forwardRef((e, t) => { let { font: n, size: r = "14", scaleSize: i, weight: o, color: a = "verySubtle", noWrap: s, ellipsis: l, className: u, ...c } = e; return (0, es.jsx)(dr, { ref: t, ...c, className: fJ({ font: n, size: r, scaleSize: i, color: a, weight: o, noWrap: s, ellipsis: l, className: u }) }) }); var ds = ["children"], dl = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, ds); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kZ || (kZ = el.createElement("circle", { cx: "21", cy: "26", r: "2" })), kU || (kU = el.createElement("circle", { cx: "21", cy: "6", r: "2" })), kH || (kH = el.createElement("circle", { cx: "4", cy: "16", r: "2" })), kW || (kW = el.createElement("path", { d: "M28,12a3.9962,3.9962,0,0,0-3.8579,3H19.8579a3.9655,3.9655,0,0,0-5.4914-2.6426L11.19,8.3872A3.9626,3.9626,0,0,0,12,6a4,4,0,1,0-4,4,3.96,3.96,0,0,0,1.6338-.3574l3.176,3.97a3.9239,3.9239,0,0,0,0,4.7744l-3.1758,3.97A3.96,3.96,0,0,0,8,22a4,4,0,1,0,4,4,3.9624,3.9624,0,0,0-.81-2.3872l3.1758-3.97A3.9658,3.9658,0,0,0,19.8579,17h4.2842A3.9934,3.9934,0,1,0,28,12ZM6,6A2,2,0,1,1,8,8,2.0023,2.0023,0,0,1,6,6ZM8,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,8,28Zm8-10a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,16,18Zm12,0a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,28,18Z" })), n) }); let du = "Popover", [dc, df] = (0, ef.b)(du, [tq]), dd = tq(), [dh, dp] = dc(du), dv = e => { let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: o, modal: a = !1 } = e, s = dd(t), l = (0, el.useRef)(null), [u, c] = (0, el.useState)(!1), [f = !1, d] = (0, em.T)({ prop: r, defaultProp: i, onChange: o }); return (0, el.createElement)(tG, s, (0, el.createElement)(dh, { scope: t, contentId: (0, ex.M)(), triggerRef: l, open: f, onOpenChange: d, onOpenToggle: (0, el.useCallback)(() => d(e => !e), [d]), hasCustomAnchor: u, onCustomAnchorAdd: (0, el.useCallback)(() => c(!0), []), onCustomAnchorRemove: (0, el.useCallback)(() => c(!1), []), modal: a }, n)) }, dm = (0, el.forwardRef)((e, t) => { let { __scopePopover: n, ...r } = e, i = dp("PopoverTrigger", n), o = dd(n), a = (0, ed.e)(t, i.triggerRef), s = (0, el.createElement)(eg.WV.button, (0, ec.Z)({ type: "button", "aria-haspopup": "dialog", "aria-expanded": i.open, "aria-controls": i.contentId, "data-state": dS(i.open) }, r, { ref: a, onClick: (0, ev.M)(e.onClick, i.onOpenToggle) })); return i.hasCustomAnchor ? s : (0, el.createElement)(tK, (0, ec.Z)({ asChild: !0 }, o), s) }), dg = "PopoverPortal", [dy, db] = dc(dg, { forceMount: void 0 }), dx = e => { let { __scopePopover: t, forceMount: n, children: r, container: i } = e, o = dp(dg, t); return (0, el.createElement)(dy, { scope: t, forceMount: n }, (0, el.createElement)(eb.z, { present: n || o.open }, (0, el.createElement)(t9.h, { asChild: !0, container: i }, r))) }, dw = "PopoverContent", d_ = (0, el.forwardRef)((e, t) => { let n = db(dw, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, o = dp(dw, e.__scopePopover); return (0, el.createElement)(eb.z, { present: r || o.open }, o.modal ? (0, el.createElement)(dE, (0, ec.Z)({}, i, { ref: t })) : (0, el.createElement)(dk, (0, ec.Z)({}, i, { ref: t }))) }), dE = (0, el.forwardRef)((e, t) => { let n = dp(dw, e.__scopePopover), r = (0, el.useRef)(null), i = (0, ed.e)(t, r), o = (0, el.useRef)(!1); return (0, el.useEffect)(() => { let e = r.current; if (e) return (0, cY.R)(e) }, []), (0, el.createElement)(cG.Z, { as: eh.g7, allowPinchZoom: !0 }, (0, el.createElement)(dj, (0, ec.Z)({}, e, { ref: i, trapFocus: n.open, disableOutsidePointerEvents: !0, onCloseAutoFocus: (0, ev.M)(e.onCloseAutoFocus, e => { var t; e.preventDefault(), o.current || null === (t = n.triggerRef.current) || void 0 === t || t.focus() }), onPointerDownOutside: (0, ev.M)(e.onPointerDownOutside, e => { let t = e.detail.originalEvent, n = 0 === t.button && !0 === t.ctrlKey, r = 2 === t.button || n; o.current = r }, { checkForDefaultPrevented: !1 }), onFocusOutside: (0, ev.M)(e.onFocusOutside, e => e.preventDefault(), { checkForDefaultPrevented: !1 }) }))) }), dk = (0, el.forwardRef)((e, t) => { let n = dp(dw, e.__scopePopover), r = (0, el.useRef)(!1); return (0, el.createElement)(dj, (0, ec.Z)({}, e, { ref: t, trapFocus: !1, disableOutsidePointerEvents: !1, onCloseAutoFocus: t => { var i, o; null === (i = e.onCloseAutoFocus) || void 0 === i || i.call(e, t), t.defaultPrevented || (r.current || null === (o = n.triggerRef.current) || void 0 === o || o.focus(), t.preventDefault()), r.current = !1 }, onInteractOutside: t => { var i, o; null === (i = e.onInteractOutside) || void 0 === i || i.call(e, t), t.defaultPrevented || (r.current = !0); let a = t.target, s = null === (o = n.triggerRef.current) || void 0 === o ? void 0 : o.contains(a); s && t.preventDefault() } })) }), dj = (0, el.forwardRef)((e, t) => { let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: o, disableOutsidePointerEvents: a, onEscapeKeyDown: s, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: c, ...f } = e, d = dp(dw, n), h = dd(n); return (0, cM.EW)(), (0, el.createElement)(cP.M, { asChild: !0, loop: !0, trapped: r, onMountAutoFocus: i, onUnmountAutoFocus: o }, (0, el.createElement)(eG.XB, { asChild: !0, disableOutsidePointerEvents: a, onInteractOutside: c, onEscapeKeyDown: s, onPointerDownOutside: l, onFocusOutside: u, onDismiss: () => d.onOpenChange(!1) }, (0, el.createElement)(t2, (0, ec.Z)({ "data-state": dS(d.open), role: "dialog", id: d.contentId }, h, f, { ref: t, style: { ...f.style, "--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)" } })))) }); function dS(e) { return e ? "open" : "closed" } let dO = (0, eY.j)([lB, "relative", "z-10", "outline-none", "max-w-sm", "data-[side=top]:bottom-1", "data-[side=top]:origin-bottom", "data-[side=bottom]:top-1", "data-[side=bottom]:origin-top", "data-[side=left]:right-1", "data-[side=left]:origin-right", "data-[side=right]:left-1", "data-[side=right]:origin-left"]), dC = (0, eY.cx)(nO(), (0, eY.j)(["py-1", "px-1"])()), dA = { show: { opacity: [0, 1], scale: [.95, 1], transition: { duration: .1, ease: "easeOut" } }, exit: { opacity: [1, 0], scale: [1, .95], transition: { duration: .1, ease: "easeIn" } } }, dT = el.forwardRef((e, t) => { let { trigger: n, children: r, rootProps: i, contentProps: o } = e, { open: a, onOpenChange: s } = lL({ open: null == i ? void 0 : i.open, onOpenChange: null == i ? void 0 : i.onOpenChange }); return (0, es.jsxs)(dv, { open: a, onOpenChange: s, ...i, children: [(0, es.jsx)(dm, { asChild: !0, children: n }), (0, es.jsx)(n8, { children: a ? (0, es.jsx)(dx, { forceMount: !0, children: (0, es.jsx)(d_, { asChild: !0, forceMount: !0, ref: t, ...o, children: (0, es.jsx)(lD.div, { variants: dA, initial: "init", animate: "show", exit: "exit", className: dO(), children: (0, es.jsx)(cw, { className: dC, children: r }) }) }) }) : null })] }) }), dM = "Progress", [dP, dN] = (0, ef.b)(dM), [dR, dD] = dP(dM), dL = (0, el.forwardRef)((e, t) => { let { __scopeProgress: n, value: r, max: i, getValueLabel: o = dI, ...a } = e, s = dB(i) ? i : 100, l = dZ(r, s) ? r : null, u = dV(l) ? o(l, s) : void 0; return (0, el.createElement)(dR, { scope: n, value: l, max: s }, (0, el.createElement)(eg.WV.div, (0, ec.Z)({ "aria-valuemax": s, "aria-valuemin": 0, "aria-valuenow": dV(l) ? l : void 0, "aria-valuetext": u, role: "progressbar", "data-state": dz(l, s), "data-value": null != l ? l : void 0, "data-max": s }, a, { ref: t }))) }); dL.propTypes = { + max(e, t, n) { let r = e[t], i = String(r); return r && !dB(r) ? Error(`Invalid prop \`max\` of value \`${i}\` supplied to \`${n}\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`) : null }, value(e, t, n) { + let r = e[t], i = String(r), o = dB(e.max) ? e.max : 100; return null == r || dZ(r, o) ? null : Error(`Invalid prop \`value\` of value \`${i}\` supplied to \`${n}\`. The \`value\` prop must be: - a positive number - less than the value passed to \`max\` (or 100 if no \`max\` prop is set) - \`null\` if the progress is indeterminate. -Defaulting to \`null\`.`)}};let dF=(0,el.forwardRef)((e,t)=>{var n;let{__scopeProgress:r,...i}=e,o=dD("ProgressIndicator",r);return(0,el.createElement)(eg.WV.div,(0,ec.Z)({"data-state":dz(o.value,o.max),"data-value":null!==(n=o.value)&&void 0!==n?n:void 0,"data-max":o.max},i,{ref:t}))});function dI(e,t){return`${Math.round(e/t*100)}%`}function dz(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function dV(e){return"number"==typeof e}function dB(e){return dV(e)&&!isNaN(e)&&e>0}function dZ(e,t){return dV(e)&&!isNaN(e)&&e<=t&&e>=0}let dU=(0,eY.j)(["relative h-1 w-full overflow-hidden rounded-lg"],{variants:{variant:{gray:"bg-gray-700 dark:bg-graydark-700",accent:"bg-green-600 dark:bg-green-500"}},defaultVariants:{variant:"gray"}}),dH=el.forwardRef((e,t)=>{let{label:n,variant:r,className:i,value:o,max:a=100,...s}=e,l=null!=o?Math.round(o/a*100):null;return(0,es.jsxs)("div",{className:"flex flex-col gap-1 w-full",children:[(0,es.jsx)(dL,{...s,ref:t,value:o,max:a,className:dU({variant:r,className:i}),children:(0,es.jsx)(dF,{className:"absolute top-0 right-0 left-0 bottom-0 w-full bg-gray-300 dark:bg-graydark-300 transition-transform",style:{transform:"translateX(".concat(l,"%)")}})}),n&&(0,es.jsx)(nj,{color:"subtle",size:"12",ellipsis:!0,children:n})]})});function dW(e){let t=(0,el.useRef)({value:e,previous:e});return(0,el.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}let dq="Radio",[d$,dY]=(0,ef.b)(dq),[dG,dK]=d$(dq),dX=(0,el.forwardRef)((e,t)=>{let{__scopeRadio:n,"aria-labelledby":r,name:i,checked:o=!1,required:a,disabled:s,value:l="on",onCheck:u,...c}=e,[f,d]=(0,el.useState)(null),h=(0,ed.e)(t,e=>d(e)),p=di(f),v=(0,el.useRef)(!1),m=!f||Boolean(f.closest("form"));return(0,el.createElement)(dG,{scope:n,checked:o,disabled:s},(0,el.createElement)(eg.WV.button,(0,ec.Z)({type:"button",role:"radio","aria-checked":o,"aria-labelledby":r||p,"data-state":d0(o),"data-disabled":s?"":void 0,disabled:s,value:l},c,{ref:h,onClick:(0,ev.M)(e.onClick,e=>{o||null==u||u(),m&&(v.current=e.isPropagationStopped(),v.current||e.stopPropagation())})})),m&&(0,el.createElement)(dJ,{control:f,bubbles:!v.current,name:i,value:l,checked:o,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),dQ=(0,el.forwardRef)((e,t)=>{let{__scopeRadio:n,forceMount:r,...i}=e,o=dK("RadioIndicator",n);return(0,el.createElement)(eb.z,{present:r||o.checked},(0,el.createElement)(eg.WV.span,(0,ec.Z)({"data-state":d0(o.checked),"data-disabled":o.disabled?"":void 0},i,{ref:t})))}),dJ=e=>{let{control:t,checked:n,bubbles:r=!0,...i}=e,o=(0,el.useRef)(null),a=dW(n),s=tU(t);return(0,el.useEffect)(()=>{let e=o.current,t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,"checked"),s=i.set;if(a!==n&&s){let l=new Event("click",{bubbles:r});s.call(e,n),e.dispatchEvent(l)}},[a,n,r]),(0,el.createElement)("input",(0,ec.Z)({type:"radio","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:o,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function d0(e){return e?"checked":"unchecked"}let d1=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],d2="RadioGroup",[d4,d3]=(0,ef.b)(d2,[cV,dY]),d5=cV(),d6=dY(),[d8,d7]=d4(d2),d9=(0,el.forwardRef)((e,t)=>{let{__scopeRadioGroup:n,name:r,"aria-labelledby":i,defaultValue:o,value:a,required:s=!1,orientation:l,dir:u,loop:c=!0,onValueChange:f,...d}=e,h=di(),p=d5(n),v=uQ(u),[m,g]=(0,em.T)({prop:a,defaultProp:o,onChange:f});return(0,el.createElement)(d8,{scope:n,name:r,required:s,value:m,onValueChange:g},(0,el.createElement)(cU,(0,ec.Z)({asChild:!0},p,{orientation:l,dir:v,loop:c}),(0,el.createElement)(eg.WV.div,(0,ec.Z)({role:"radiogroup","aria-required":s,"aria-orientation":l,"aria-labelledby":i||h,dir:v},d,{ref:t}))))}),he=(0,el.forwardRef)((e,t)=>{let{__scopeRadioGroup:n,disabled:r,...i}=e,o=d7("RadioGroupItem",n),a=d5(n),s=d6(n),l=(0,el.useRef)(null),u=(0,ed.e)(t,l),c=o.value===i.value,f=(0,el.useRef)(!1);return(0,el.useEffect)(()=>{let e=e=>{d1.includes(e.key)&&(f.current=!0)},t=()=>f.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,el.createElement)(cW,(0,ec.Z)({asChild:!0},a,{focusable:!r,active:c}),(0,el.createElement)(dX,(0,ec.Z)({disabled:r,required:o.required,checked:c},s,i,{name:o.name,ref:u,onCheck:()=>o.onValueChange(i.value),onKeyDown:(0,ev.M)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,ev.M)(i.onFocus,()=>{var e;f.current&&(null===(e=l.current)||void 0===e||e.click())})})))}),ht=(0,el.forwardRef)((e,t)=>{let{__scopeRadioGroup:n,...r}=e,i=d6(n);return(0,el.createElement)(dQ,(0,ec.Z)({},i,r,{ref:t}))}),hn=(0,eY.j)(["relative flex items-center h-full justify-center w-full",'after:content-[""] after:block after:rounded-full after:bg-green-600 after:dark:bg-green-500'],{variants:{size:{small:"after:w-2 after:h-2 ",medium:"after:w-4 after:h-4"}},defaultVariants:{size:"small"}}),hr=(0,eY.j)(["select-none","inline-flex items-center justify-center","m-0 p-0","outline-none","rounded-full","overflow-hidden","focus:ring ring-blue-500 dark:ring-blue-200","bg-white dark:bg-graydark-200","border border-gray-500 dark:border-graydark-400","enabled:hover:border-gray-700 enabled:hover:dark:border-graydark-600","text-gray-1100 dark:text-white","disabled:text-gray-600 disabled:dark:text-graydark-400","disabled:bg-gray-200 disabled:dark:bg-graydark-200"],{variants:{size:{small:"w-4 h-4",medium:"w-6 h-6"}},defaultVariants:{size:"small"}}),hi=el.forwardRef((e,t)=>{let{size:n,className:r,children:i,...o}=e;return(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(he,{...o,className:hr({size:n,className:r}),ref:t,children:(0,es.jsx)(ht,{className:hn({size:n})})}),(0,es.jsx)(nj,{size:"14",className:"relative top-px flex items-center",color:o.disabled?"verySubtle":"subtle",children:i})]})}),ho=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)(d9,{...r,className:(0,eY.cx)("flex gap-2",n),ref:t})});(0,eY.j)(["relative appearance-none outline-none","p-2 m-0 w-full","min-h-[80px]",nk(),"tabular-nums","resize-y","rounded","focus:ring ring-blue-500 dark:ring-blue-200","text-gray-1100 dark:text-white","placeholder:text-gray-600 placeholder:dark:text-graydark-500","disabled:text-gray-400 disabled:dark:text-graydark-400"],{variants:{size:{small:"h-7 text-sm px-2",medium:"h-10 text-base px-3",large:"h-12 text-lg px-3"},variant:{default:["border","bg-white dark:bg-graydark-50","autofill:bg-blue-100 autofill:dark:bg-blue-800"],ghost:"bg-transparent"},state:{default:["border-gray-400 dark:border-graydark-400","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"],invalid:["border-red-500 dark:border-red-400"],valid:["border-green-500 dark:border-green-400"]},cursor:{default:"",text:"cursor-text"}},defaultVariants:{size:"small",variant:"default",cursor:"default",state:"default"}});let ha=(0,eY.j)(["font-sans [type=number]:font-mono","outline-none m-0 p-0 w-full","disabled:pointer-events-none","tabular-nums","rounded","text-gray-1100 dark:text-white","autofill:text-fill-gray-1100 autofill:dark:text-fill-white","autofill:placeholder:text-fill-gray-700 autofill:placeholder:dark:text-fill-graydark-700","placeholder:text-gray-700 placeholder:dark:text-graydark-700","disabled:text-gray-400 disabled:dark:text-graydark-400"],{variants:{size:{small:"h-7 text-sm px-2",medium:"h-10 text-base px-3",large:"h-12 text-lg px-3"},variant:{default:["border","bg-white dark:bg-graydark-50","autofill:bg-white autofill:dark:bg-graydark-50","autofill:shadow-fill-white autofill:dark:shadow-fill-graydark-50"],ghost:"bg-transparent"},state:{default:["border-gray-400 dark:border-graydark-400","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"],invalid:["border-red-500 dark:border-red-400"],valid:["border-green-500 dark:border-green-400"]},focus:{default:["focus:ring ring-blue-500 dark:ring-blue-200","focus:z-10"],none:""},cursor:{default:"",text:"cursor-text"},noSpin:{true:"[&::-webkit-outer-spin-button, &::-webkit-inner-spin-button]:appearance-none"}},defaultVariants:{size:"small",focus:"default",variant:"default",cursor:"default",state:"default"}}),hs=el.forwardRef((e,t)=>{let{variant:n,size:r,state:i,noSpin:o,cursor:a,focus:s,className:l,...u}=e;return(0,es.jsx)("input",{ref:t,className:ha({variant:n,size:r,state:i,noSpin:o,cursor:a,focus:s,className:l}),...u})});/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var hl=function(){return(hl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1){if(e.includes(t)){var r=e.split(t),i=r[0],o=r[1];if(o.length>n)return""+i+t+o.slice(0,n)}var a=e.length>n?RegExp("(\\d+)(\\d{"+n+"})"):RegExp("(\\d)(\\d+)"),s=e.match(a);if(s){var i=s[1],o=s[2];return""+i+t+o}}return e},hg=function(e,t){var n=t.groupSeparator,r=t.decimalSeparator,i=RegExp("\\d([^"+hc(void 0===n?",":n)+hc(void 0===r?".":r)+"0-9]+)"),o=e.match(i);return o?o[1]:void 0},hy=function(e){var t=e.value,n=e.decimalSeparator,r=e.intlConfig,i=e.decimalScale,o=e.prefix,a=void 0===o?"":o,s=e.suffix,l=void 0===s?"":s;if(""===t||void 0===t)return"";if("-"===t)return"-";var u=RegExp("^\\d?-"+(a?hc(a)+"?":"")+"\\d").test(t),c="."!==n?hb(t,n,u):t,f=hx((r?new Intl.NumberFormat(r.locale,r.currency?{style:"currency",currency:r.currency,minimumFractionDigits:i||0,maximumFractionDigits:20}:void 0):new Intl.NumberFormat(void 0,{minimumFractionDigits:i||0,maximumFractionDigits:20})).formatToParts(Number(c)),e),d=hg(f,hl({},e)),h=t.slice(-1)===n?n:"",p=(c.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return(void 0===i&&p&&n&&(f=f.includes(n)?f.replace(RegExp("(\\d+)("+hc(n)+")(\\d+)","g"),"$1$2"+p):d&&!l?f.replace(d,""+n+p+d):""+f+n+p),l&&h)?""+f+h+l:d&&h?f.replace(d,""+h+d):d&&l?f.replace(d,""+h+l):[f,h,l].join("")},hb=function(e,t,n){var r=e;return t&&"."!==t&&(r=r.replace(RegExp(hc(t),"g"),"."),n&&"-"===t&&(r="-"+r.slice(1))),r},hx=function(e,t){var n=t.prefix,r=t.groupSeparator,i=t.decimalSeparator,o=t.decimalScale,a=t.disableGroupSeparators,s=void 0!==a&&a;return e.reduce(function(e,t,a){var l=t.type,u=t.value;return 0===a&&n?"minusSign"===l?[u,n]:"currency"===l?hu(hu([],e),[n]):[n,u]:"currency"===l?n?e:hu(hu([],e),[u]):"group"===l?s?e:hu(hu([],e),[void 0!==r?r:u]):"decimal"===l?void 0!==o&&0===o?e:hu(hu([],e),[void 0!==i?i:u]):"fraction"===l?hu(hu([],e),[void 0!==o?u.slice(0,o):u]):hu(hu([],e),[u])},[""]).join("")},hw={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},h_=function(e){var t=e||{},n=t.locale,r=t.currency;return(n?new Intl.NumberFormat(n,r?{currency:r,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce(function(e,t,n){return"currency"===t.type?0===n?hl(hl({},e),{currencySymbol:t.value,prefix:t.value}):hl(hl({},e),{currencySymbol:t.value,suffix:t.value}):"group"===t.type?hl(hl({},e),{groupSeparator:t.value}):"decimal"===t.type?hl(hl({},e),{decimalSeparator:t.value}):e},hw)},hE=function(e){return RegExp(/\d/,"gi").test(e)},hk=function(e,t,n){if(void 0===t&&(t="."),void 0===n||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var r=e.split(t),i=r[0],o=r[1];if(0===n)return i;var a=o||"";if(a.lengtht.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(e,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue"]);if(S&&hE(S))throw Error("decimalSeparator cannot be a number");if(O&&hE(O))throw Error("groupSeparator cannot be a number");var D=(0,el.useMemo)(function(){return h_(b)},[b]),L=S||D.decimalSeparator||"",F=O||D.groupSeparator||"";if(L&&F&&L===F&&!1===k)throw Error("decimalSeparator cannot be the same as groupSeparator");var I={decimalSeparator:L,groupSeparator:F,disableGroupSeparators:k,intlConfig:b,prefix:g||D.prefix,suffix:y},z={decimalSeparator:L,groupSeparator:F,allowDecimals:void 0===n||n,decimalsLimit:l||p||2,allowNegativeValue:void 0===r||r,disableAbbreviations:void 0!==j&&j,prefix:g||D.prefix,transformRawValue:N},V=null!=u?hy(hl(hl({},I),{decimalScale:m,value:String(u)})):null!=d?hy(hl(hl({},I),{decimalScale:m,value:String(d)})):"",B=(0,el.useState)(V),Z=B[0],U=B[1],H=(0,el.useState)(!1),W=H[0],q=H[1],$=(0,el.useState)(0),Y=$[0],G=$[1],K=(0,el.useState)(0),X=K[0],Q=K[1],J=(0,el.useState)(null),ee=J[0],et=J[1],en=t||(0,el.useRef)(null),er=function(e,t){q(!0);var n=hj({selectionStart:t,value:e,lastKeyStroke:ee,stateValue:Z,groupSeparator:F}),r=n.modifiedValue,i=n.cursorPosition,a=hv(hl({value:r},z));if(!f||!(a.replace(/-/g,"").length>f)){if(""===a||"-"===a||a===L){h&&h(void 0,o,{float:null,formatted:"",value:""}),U(a);return}var s=parseFloat(a.replace(L,".")),l=hy(hl({value:a},I));if(null!=i){var u=i+(l.length-e.length);G(u=u<=0?g?g.length:0:u),Q(X+1)}U(l),h&&h(a,o,{float:s,formatted:l,value:a})}};(0,el.useEffect)(function(){W&&"-"!==Z&&en&&"object"==typeof en&&en.current&&en.current.setSelectionRange(Y,Y)},[Z,Y,en,W,X]);var ei=hl({type:"text",inputMode:"decimal",id:i,name:o,className:a,onChange:function(e){var t=e.target;er(t.value,t.selectionStart),C&&C(e)},onBlur:function(e){var t=hv(hl({value:e.target.value},z));if("-"===t||!t){U(""),T&&T(e);return}var n=hk(hm(t,L,p),L,void 0!==m?m:p),r=parseFloat(n.replace(L,".")),i=hy(hl(hl({},I),{value:n}));h&&h(n,o,{float:r,formatted:i,value:n}),U(i),T&&T(e)},onFocus:function(e){return A&&A(e),Z?Z.length:0},onKeyDown:function(e){var t=e.key;if(et(t),x&&("ArrowUp"===t||"ArrowDown"===t)){e.preventDefault(),G(Z.length);var n=parseFloat(null!=d?String(d).replace(L,"."):hv(hl({value:Z},z)))||0,r="ArrowUp"===t?n+x:n-x;if(void 0!==w&&r_)return;var i=String(x).includes(".")?Number(String(x).split(".")[1].length):void 0;er(String(i?r.toFixed(i):r).replace(".",L))}M&&M(e)},onKeyUp:function(e){var t=e.key,n=e.currentTarget.selectionStart;if("ArrowUp"!==t&&"ArrowDown"!==t&&"-"!==Z){var r=hg(Z,{groupSeparator:F,decimalSeparator:L});if(r&&n&&n>Z.length-r.length&&en&&"object"==typeof en&&en.current){var i=Z.length-r.length;en.current.setSelectionRange(i,i)}}P&&P(e)},placeholder:v,disabled:void 0!==c&&c,value:null==d||"-"===Z||L&&Z===L?Z:hy(hl(hl({},I),{decimalScale:W?void 0:m,value:String(d)})),ref:en},R);return s?el.createElement(s,hl({},ei)):el.createElement("input",hl({},ei))});function hO(e){let{units:t,variant:n,size:r="small",state:i,noSpin:o,focus:a,cursor:s,className:l,decimalsLimit:u,onValueChange:c,...f}=e,[d,h]=(0,el.useState)();return(0,el.useEffect)(()=>{h(navigator.language)},[]),(0,es.jsxs)("div",{className:"relative",children:[(0,es.jsx)(hS,{...f,decimalsLimit:u,intlConfig:d?{locale:d}:void 0,allowDecimals:!!u,autoComplete:"off",spellCheck:!1,onValueChange:c,className:(0,eY.cx)(ha({variant:n,size:r,state:i,focus:a,noSpin:o,cursor:s,className:l}),t?"pr-9":"")}),t&&(0,es.jsx)("div",{className:(0,eY.cx)("flex items-center absolute top-0 h-full","small"===r?"right-2":"","medium"===r?"right-3":"","large"===r?"right-3":""),children:(0,es.jsx)(nj,{size:"12",weight:"medium",color:"subtle",children:t})})]})}hS.displayName="CurrencyInput";var hC=n(6391),hA=n.n(hC);function hT(e,t){return e.decimalPlaces()>t?e.toFixed(t):e.toString()}let hM=(0,el.forwardRef)(function(e,t){let{value:n,placeholder:r=new(hA())(100),decimalsLimit:i=6,onChange:o,size:a="small",units:s,error:l,changed:u,onBlur:c,onFocus:f,...d}=e,h=(0,el.useMemo)(()=>new(hA())(n),[n]),[p,v]=(0,el.useState)(""),m=(0,el.useMemo)(()=>hP(p),[p]),g=(0,el.useCallback)(e=>{o&&o((e=hP(e))&&!isNaN(Number(e))?new(hA())(e):void 0)},[o]),y=(0,el.useCallback)(e=>{v(e),g(e)},[v,g]);return(0,el.useEffect)(()=>{if(!h.isEqualTo(m)){let e=hT(h,i);v(e)}},[h]),(0,es.jsx)(hO,{ref:t,...d,"data-testid":"numberfield",size:a,placeholder:r.isNaN()?"":r.toFixed(i),units:s,value:"NaN"!==p?p:"",decimalsLimit:i,onBlur:e=>{c&&c(e)},onFocus:e=>{f&&f(e)},onValueChange:e=>y(e||"")})});function hP(e){return(null==e?void 0:e.replace(/,/g,"."))||""}var hN=n(41755);let hR=new(hA())(0),hD=(0,el.forwardRef)(function(e,t){let{sc:n,placeholder:r=new(hA())(100),decimalsLimitFiat:i=6,decimalsLimitSc:o=6,onChange:a,size:s="medium",units:l="SC",showFiat:u=!0,error:c,changed:f,prefix:d,onBlur:h,onFocus:p,...v}=e,m=(0,el.useMemo)(()=>new(hA())(void 0===n?NaN:n),[n]),{settings:g}=(0,hN.Hv)(),y=(0,hN.DG)({config:{swr:{revalidateOnFocus:!1}}}),b=(0,el.useMemo)(()=>{var e;return g.siaCentral&&y.data?new(hA())((null===(e=y.data)||void 0===e?void 0:e.rates.sc[g.currency.id])||hR):hR},[y.data,g]),[x,w]=(0,el.useState)(),[_,E]=(0,el.useState)(""),[k,j]=(0,el.useState)(""),S=(0,el.useMemo)(()=>hL(_),[_]),O=(0,el.useMemo)(()=>hL(k),[k]),C=(0,el.useCallback)(e=>{a&&a((e=hL(e))&&!isNaN(Number(e))?new(hA())(e):void 0)},[a]),A=(0,el.useCallback)(e=>{let t=hT(e,i);j(t)},[j,i]),T=(0,el.useCallback)(e=>{let t=hT(e,o);return E(t),C(t),t},[E,o,C]),M=(0,el.useCallback)(e=>{E(e),C(e)},[E,C]),P=(0,el.useCallback)(e=>{let t=new(hA())(e).times(b);A(t)},[A,b]),N=(0,el.useCallback)(e=>{let t=new(hA())(e).dividedBy(b);T(t)},[T,b]);return(0,el.useEffect)(()=>{if(!m.isEqualTo(S)){let e=hT(m,o);E(e),"fiat"!==x&&P(e)}},[m]),(0,el.useEffect)(()=>{P(S)},[b]),(0,el.useEffect)(()=>{"sc"===x&&P(S)},[S]),(0,el.useEffect)(()=>{"fiat"===x&&N(O)},[O]),(0,es.jsxs)("div",{ref:t,className:(0,eY.cx)("flex flex-col bg-white dark:bg-graydark-50","focus-within:ring ring-blue-500 dark:ring-blue-200","border",c?"border-red-500 dark:border-red-400":f?"border-green-500 dark:border-green-400":"border-gray-200 dark:border-graydark-200","rounded"),children:[(0,es.jsx)(hO,{...v,"data-testid":"scInput",size:s,variant:"ghost",focus:"none",placeholder:r.toFixed(o),units:l,value:"NaN"!==_?_:"",decimalsLimit:o,allowNegativeValue:!1,onBlur:e=>{w(void 0),h&&h(e)},onFocus:e=>{w("sc"),p&&p(e)},onValueChange:e=>{M(e||"")}}),u&&g.siaCentral&&(0,es.jsx)(hO,{...v,"data-testid":"fiatInput",size:s,variant:"ghost",focus:"none",value:"NaN"!==k?k:"",units:g.currency.label,decimalsLimit:i,allowNegativeValue:!1,placeholder:"".concat(g.currency.prefix).concat(b?b.times(r).toFixed(i):"0.42"),prefix:d||g.currency.prefix,onFocus:e=>{w("fiat"),p&&p(e)},onBlur:e=>{w(void 0),h&&h(e)},onValueChange:e=>{j(e||"")}})]})});function hL(e){return(null==e?void 0:e.replace(/,/g,"."))||""}var hF=["children"],hI=el.forwardRef(function(e,t){var n=e.children,r=l9(e,hF);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kq||(kq=el.createElement("path",{d:"M8.5 11L8.5 6.5 6.5 6.5 6.5 7.5 7.5 7.5 7.5 11 6 11 6 12 10 12 10 11zM8 3.5c-.4 0-.8.3-.8.8S7.6 5 8 5c.4 0 .8-.3.8-.8S8.4 3.5 8 3.5z"})),k$||(k$=el.createElement("path",{d:"M8,15c-3.9,0-7-3.1-7-7s3.1-7,7-7s7,3.1,7,7S11.9,15,8,15z M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z"})),n)});function hz(e){let{children:t}=e;return(0,es.jsx)(lU,{content:t,children:(0,es.jsx)("div",{className:"relative flex items-center inline mx-1",children:(0,es.jsx)(nj,{color:"subtle",children:(0,es.jsx)(hI,{className:"scale-75"})})})})}function hV(e){let{values:t,options:n,onChange:r}=e;return(0,es.jsx)("div",{className:"flex flex-wrap gap-1",children:n.map(e=>(0,es.jsx)(lW,{variant:t.includes(e.value)?"active":"inactive",onClick:()=>{r(e.value)},children:e.label},e.value))})}var hB=["children"],hZ=["children"],hU=["children"],hH=["children"],hW=["children"],hq=["children"],h$=el.forwardRef(function(e,t){var n=e.children,r=l9(e,hB);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kY||(kY=el.createElement("path",{d:"M26,4H22V2H20V4H12V2H10V4H6A2.0025,2.0025,0,0,0,4,6V26a2.0025,2.0025,0,0,0,2,2H26a2.0025,2.0025,0,0,0,2-2V6A2.0025,2.0025,0,0,0,26,4ZM6,6h4V8h2V6h8V8h2V6h4l0,4H6Zm0,6h5v6H6ZM19,26H13V20h6Zm0-8H13V12h6Zm2,8V20h5l.0012,6Z"})),n)}),hY=el.forwardRef(function(e,t){var n=e.children,r=l9(e,hZ);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kG||(kG=el.createElement("path",{d:"M24 12L16 22 8 12z"})),n)}),hG=el.forwardRef(function(e,t){var n=e.children,r=l9(e,hU);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kK||(kK=el.createElement("path",{d:"M20 24L10 16 20 8z"})),n)}),hK=el.forwardRef(function(e,t){var n=e.children,r=l9(e,hH);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kX||(kX=el.createElement("path",{d:"M12 8L22 16 12 24z"})),n)}),hX=el.forwardRef(function(e,t){var n=e.children,r=l9(e,hW);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kQ||(kQ=el.createElement("path",{d:"M24 24L16 32 8 24zM8 8L16 0 24 8z"})),n)}),hQ=el.forwardRef(function(e,t){var n=e.children,r=l9(e,hq);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),kJ||(kJ=el.createElement("path",{d:"M8 20L16 10 24 20z"})),n)});let hJ=(0,eY.j)(["font-sans","font-normal","tabular-nums","flex-shrink-0","rounded","flex items-center","bg-white dark:bg-graydark-200","hover:bg-gray-50 dark:hover:bg-graydark-300","disabled:bg-gray-200 disabled:dark:bg-graydark-200","autofill:bg-blue-100 autofill:dark:bg-blue-800","border","focus-within:z-10","focus-within:ring ring-blue-500 dark:ring-blue-200","text-gray-1100 dark:text-white","[&>select:disabled]:text-gray-600 [&>select:disabled]:dark:text-graydark-700"],{variants:{size:{small:"h-7 text-sm px-1",medium:"h-10 text-base px-3",large:"h-12 text-lg px-3"},state:{default:["border-gray-400 dark:border-graydark-400","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"],invalid:["border-red-500 dark:border-red-400"],valid:["border-green-500 dark:border-green-400"]}},defaultVariants:{state:"default",size:"small"}}),h0=el.forwardRef((e,t)=>{let{size:n,state:r,icon:i,className:o,...a}=e;return(0,es.jsxs)("div",{className:hJ({size:n,state:r,className:o}),children:[i,(0,es.jsx)("select",{ref:t,...a,className:"appearance-none flex-1 bg-transparent outline-none w-full h-full pl-1 pr-1"}),(0,es.jsx)(hX,{className:"pointer-events-none scale-75"})]})}),h1=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)("option",{ref:t,...r,className:(0,eY.cx)("bg-white dark:bg-graydark-200","text-gray-1100 dark:text-white",n)})}),h2=(0,eY.j)(["bg-gray-300 dark:bg-graydark-300","relative","overflow-hidden","animate-pulse","rounded"]);function h4(e){let{className:t}=e;return(0,es.jsx)("div",{className:h2({className:t})})}let h3=(0,eY.j)(["rounded-full flex-shrink-0"],{variants:{size:{default:"w-2 h-2"}},defaultVariants:{size:"default"}}),h5=el.forwardRef((e,t)=>{let{size:n,className:r,...i}=e;return(0,es.jsx)("div",{ref:t,className:h3({size:n,className:r}),...i})}),h6="Switch",[h8,h7]=(0,ef.b)(h6),[h9,pe]=h8(h6),pt=(0,el.forwardRef)((e,t)=>{let{__scopeSwitch:n,"aria-labelledby":r,name:i,checked:o,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,...f}=e,[d,h]=(0,el.useState)(null),p=(0,ed.e)(t,e=>h(e)),v=di(d),m=(0,el.useRef)(!1),g=!d||Boolean(d.closest("form")),[y=!1,b]=(0,em.T)({prop:o,defaultProp:a,onChange:c});return(0,el.createElement)(h9,{scope:n,checked:y,disabled:l},(0,el.createElement)(eg.WV.button,(0,ec.Z)({type:"button",role:"switch","aria-checked":y,"aria-labelledby":r||v,"aria-required":s,"data-state":pi(y),"data-disabled":l?"":void 0,disabled:l,value:u},f,{ref:p,onClick:(0,ev.M)(e.onClick,e=>{b(e=>!e),g&&(m.current=e.isPropagationStopped(),m.current||e.stopPropagation())})})),g&&(0,el.createElement)(pr,{control:d,bubbles:!m.current,name:i,value:u,checked:y,required:s,disabled:l,style:{transform:"translateX(-100%)"}}))}),pn=(0,el.forwardRef)((e,t)=>{let{__scopeSwitch:n,...r}=e,i=pe("SwitchThumb",n);return(0,el.createElement)(eg.WV.span,(0,ec.Z)({"data-state":pi(i.checked),"data-disabled":i.disabled?"":void 0},r,{ref:t}))}),pr=e=>{let{control:t,checked:n,bubbles:r=!0,...i}=e,o=(0,el.useRef)(null),a=dW(n),s=tU(t);return(0,el.useEffect)(()=>{let e=o.current,t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,"checked"),s=i.set;if(a!==n&&s){let l=new Event("click",{bubbles:r});s.call(e,n),e.dispatchEvent(l)}},[a,n,r]),(0,el.createElement)("input",(0,ec.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:o,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function pi(e){return e?"checked":"unchecked"}let po=(0,eY.j)(["absolute left-0 rounded-full","transition-transform","bg-white dark:bg-graydark-500"],{variants:{size:{small:["w-3 h-3","translate-x-px","data-[state=checked]:translate-x-[9px]"],medium:["w-5 h-5","translate-x-0.5","data-[state=checked]:translate-x-[20px]"]}},defaultVariants:{size:"small"}}),pa=(0,eY.j)(["select-none outline-none","relative inline-flex items-center justify-center","m-0 rounded-full","focus:ring ring-blue-500 dark:ring-blue-200","border","bg-gray-300 dark:bg-graydark-50","autofill:bg-blue-100 autofill:dark:bg-blue-800","border-gray-400 dark:border-graydark-400","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500","disabled:cursor-default","enabled:data-[state=checked]:bg-green-600 dark:enabled:data-[state=checked]:bg-green-500","disabled:data-[state=checked]:bg-green-600/50 dark:disabled:data-[state=checked]:bg-green-500/50"],{variants:{size:{small:"w-6 h-4",medium:"w-11 h-6"},state:{default:["border-gray-400 dark:border-graydark-400","enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"],invalid:["border-red-500 dark:border-red-400"],valid:["border-green-500 dark:border-green-400"]}},defaultVariants:{size:"small",state:"default"}}),ps=(0,el.forwardRef)((e,t)=>{let{size:n,state:r,className:i,children:o,...a}=e;return(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(pt,{className:pa({size:n,state:r,className:i}),...a,ref:t,children:(0,es.jsx)(pn,{className:po({size:n})})}),o&&(0,es.jsx)(nj,{color:a.disabled?"subtle":"contrast",children:o})]})}),pl=(0,el.forwardRef)((e,t)=>{let{children:n,...r}=e,i=el.Children.toArray(n),o=i.find(pf);if(o){let a=o.props.children,s=i.map(e=>e!==o?e:el.Children.count(a)>1?el.Children.only(null):(0,el.isValidElement)(a)?a.props.children:null);return(0,el.createElement)(pu,(0,ec.Z)({},r,{ref:t}),(0,el.isValidElement)(a)?(0,el.cloneElement)(a,void 0,s):null)}return(0,el.createElement)(pu,(0,ec.Z)({},r,{ref:t}),n)});pl.displayName="Slot";let pu=(0,el.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,el.isValidElement)(n)?(0,el.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:(0,ed.F)(t,n.ref)}):el.Children.count(n)>1?el.Children.only(null):null});pu.displayName="SlotClone";let pc=({children:e})=>(0,el.createElement)(el.Fragment,null,e);function pf(e){return(0,el.isValidElement)(e)&&e.type===pc}let pd=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,el.forwardRef)((e,n)=>{let{asChild:r,...i}=e,o=r?pl:t;return(0,el.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,el.createElement)(o,(0,ec.Z)({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),ph=(0,el.forwardRef)((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,el.createElement)(pd.svg,(0,ec.Z)({},o,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,el.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),pp="Popper",[pv,pm]=(0,ef.b)(pp),[pg,py]=pv(pp),pb=e=>{let{__scopePopper:t,children:n}=e,[r,i]=(0,el.useState)(null);return(0,el.createElement)(pg,{scope:t,anchor:r,onAnchorChange:i},n)},px=(0,el.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,o=py("PopperAnchor",n),a=(0,el.useRef)(null),s=(0,ed.e)(t,a);return(0,el.useEffect)(()=>{o.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,el.createElement)(pd.div,(0,ec.Z)({},i,{ref:s}))}),pw="PopperContent",[p_,pE]=pv(pw),[pk,pj]=pv(pw,{hasParent:!1,positionUpdateFns:new Set}),pS=(0,el.forwardRef)((e,t)=>{var n,r,i,o,a,s,l,u,c;let{__scopePopper:f,side:d="bottom",sideOffset:h=0,align:p="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:g=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,onPlaced:_,...E}=e,k=py(pw,f),[j,S]=(0,el.useState)(null),O=(0,ed.e)(t,e=>S(e)),[C,A]=(0,el.useState)(null),T=tU(C),M=null!==(n=null==T?void 0:T.width)&&void 0!==n?n:0,P=null!==(r=null==T?void 0:T.height)&&void 0!==r?r:0,N="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},R=Array.isArray(g)?g:[g],D=R.length>0,L={padding:N,boundary:R.filter(pA),altBoundary:D},{reference:F,floating:I,strategy:z,x:V,y:B,placement:Z,middlewareData:U,update:H}=tV({strategy:"fixed",placement:d+("center"!==p?"-"+p:""),whileElementsMounted:tL,middleware:[pT(),ts({mainAxis:h+P,alignmentAxis:v}),w?tu({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?tc():void 0,...L}):void 0,C?tB({element:C,padding:m}):void 0,w?tr({...L}):void 0,{name:"size",options:c={...L,apply:({elements:e,availableWidth:t,availableHeight:n})=>{e.floating.style.setProperty("--radix-popper-available-width",`${t}px`),e.floating.style.setProperty("--radix-popper-available-height",`${n}px`)}},async fn(e){let t,n;let{placement:r,rects:i,platform:o,elements:a}=e,{apply:s,...l}=c,u=await e3(e,l),f=eK(r),d=eX(r);"top"===f||"bottom"===f?(t=f,n=d===(await (null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(n=f,t="end"===d?"top":"bottom");let h=e6(u.left,0),p=e6(u.right,0),v=e6(u.top,0),m=e6(u.bottom,0),g={availableHeight:i.floating.height-(["left","right"].includes(r)?2*(0!==v||0!==m?v+m:e6(u.top,u.bottom)):u[t]),availableWidth:i.floating.width-(["top","bottom"].includes(r)?2*(0!==h||0!==p?h+p:e6(u.left,u.right)):u[n])},y=await o.getDimensions(a.floating);null==s||s({...e,...g});let b=await o.getDimensions(a.floating);return y.width!==b.width||y.height!==b.height?{reset:{rects:!0}}:{}}},pM({arrowWidth:M,arrowHeight:P}),x?ta({strategy:"referenceHidden"}):void 0].filter(pC)});(0,ey.b)(()=>{F(k.anchor)},[F,k.anchor]);let W=null!==V&&null!==B,[q,$]=pP(Z),Y=(0,ug.W)(_);(0,ey.b)(()=>{W&&(null==Y||Y())},[W,Y]);let G=null===(i=U.arrow)||void 0===i?void 0:i.x,K=null===(o=U.arrow)||void 0===o?void 0:o.y,X=(null===(a=U.arrow)||void 0===a?void 0:a.centerOffset)!==0,[Q,J]=(0,el.useState)();(0,ey.b)(()=>{j&&J(window.getComputedStyle(j).zIndex)},[j]);let{hasParent:ee,positionUpdateFns:et}=pj(pw,f),en=!ee;(0,el.useLayoutEffect)(()=>{if(!en)return et.add(H),()=>{et.delete(H)}},[en,et,H]),(0,ey.b)(()=>{en&&W&&Array.from(et).reverse().forEach(e=>requestAnimationFrame(e))},[en,W,et]);let er={"data-side":q,"data-align":$,...E,ref:O,style:{...E.style,animation:W?void 0:"none",opacity:null!==(s=U.hide)&&void 0!==s&&s.referenceHidden?0:void 0}};return(0,el.createElement)("div",{ref:I,"data-radix-popper-content-wrapper":"",style:{position:z,left:0,top:0,transform:W?`translate3d(${Math.round(V)}px, ${Math.round(B)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null===(l=U.transformOrigin)||void 0===l?void 0:l.x,null===(u=U.transformOrigin)||void 0===u?void 0:u.y].join(" ")},dir:e.dir},(0,el.createElement)(p_,{scope:f,placedSide:q,onArrowChange:A,arrowX:G,arrowY:K,shouldHideArrow:X},en?(0,el.createElement)(pk,{scope:f,hasParent:!0,positionUpdateFns:et},(0,el.createElement)(pd.div,er)):(0,el.createElement)(pd.div,er)))}),pO={top:"bottom",right:"left",bottom:"top",left:"right"};function pC(e){return void 0!==e}function pA(e){return null!==e}let pT=()=>({name:"anchorCssProperties",fn(e){let{rects:t,elements:n}=e,{width:r,height:i}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${i}px`),{}}}),pM=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[h,p]=pP(s),v={start:"0%",center:"50%",end:"100%"}[p],m=(null!==(r=null===(i=u.arrow)||void 0===i?void 0:i.x)&&void 0!==r?r:0)+f/2,g=(null!==(o=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==o?o:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:`${m}px`,b=`${-d}px`):"top"===h?(y=c?v:`${m}px`,b=`${l.floating.height+d}px`):"right"===h?(y=`${-d}px`,b=c?v:`${g}px`):"left"===h&&(y=`${l.floating.width+d}px`,b=c?v:`${g}px`),{data:{x:y,y:b}}}});function pP(e){let[t,n="center"]=e.split("-");return[t,n]}let pN=(0,el.forwardRef)((e,t)=>{var n;let{container:r=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...i}=e;return r?tI.createPortal((0,el.createElement)(pd.div,(0,ec.Z)({},i,{ref:t})),r):null}),pR="dismissableLayer.update",pD=(0,el.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),pL=(0,el.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:u,...c}=e,f=(0,el.useContext)(pD),[d,h]=(0,el.useState)(null),p=null!==(n=null==d?void 0:d.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,v]=(0,el.useState)({}),m=(0,ed.e)(t,e=>h(e)),g=Array.from(f.layers),[y]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(y),x=d?g.indexOf(d):-1,w=f.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,ug.W)(e),r=(0,el.useRef)(!1),i=(0,el.useRef)(()=>{});return(0,el.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let o={originalEvent:e};function a(){pI("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...f.branches].some(e=>e.contains(t));!_||n||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==u||u())},p),k=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,ug.W)(e),r=(0,el.useRef)(!1);return(0,el.useEffect)(()=>{let e=e=>{e.target&&!r.current&&pI("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target,n=[...f.branches].some(e=>e.contains(t));n||(null==s||s(e),null==l||l(e),e.defaultPrevented||null==u||u())},p);return!function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,ug.W)(e);(0,el.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{let t=x===f.layers.size-1;t&&(null==o||o(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},p),(0,el.useEffect)(()=>{if(d)return i&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(r=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),pF(),()=>{i&&1===f.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=r)}},[d,p,i,f]),(0,el.useEffect)(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),pF())},[d,f]),(0,el.useEffect)(()=>{let e=()=>v({});return document.addEventListener(pR,e),()=>document.removeEventListener(pR,e)},[]),(0,el.createElement)(pd.div,(0,ec.Z)({},c,{ref:m,style:{pointerEvents:w?_?"auto":"none":void 0,...e.style},onFocusCapture:(0,ev.M)(e.onFocusCapture,k.onFocusCapture),onBlurCapture:(0,ev.M)(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:(0,ev.M)(e.onPointerDownCapture,E.onPointerDownCapture)}))});function pF(){let e=new CustomEvent(pR);document.dispatchEvent(e)}function pI(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&i.addEventListener(e,t,{once:!0}),r)?i&&(0,tI.flushSync)(()=>i.dispatchEvent(o)):i.dispatchEvent(o)}let pz="HoverCard",[pV,pB]=(0,ef.b)(pz,[pm]),pZ=pm(),[pU,pH]=pV(pz),pW=e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:i,onOpenChange:o,openDelay:a=700,closeDelay:s=300}=e,l=pZ(t),u=(0,el.useRef)(0),c=(0,el.useRef)(0),f=(0,el.useRef)(!1),d=(0,el.useRef)(!1),[h=!1,p]=(0,em.T)({prop:r,defaultProp:i,onChange:o}),v=(0,el.useCallback)(()=>{clearTimeout(c.current),u.current=window.setTimeout(()=>p(!0),a)},[a,p]),m=(0,el.useCallback)(()=>{clearTimeout(u.current),f.current||d.current||(c.current=window.setTimeout(()=>p(!1),s))},[s,p]),g=(0,el.useCallback)(()=>p(!1),[p]);return(0,el.useEffect)(()=>()=>{clearTimeout(u.current),clearTimeout(c.current)},[]),(0,el.createElement)(pU,{scope:t,open:h,onOpenChange:p,onOpen:v,onClose:m,onDismiss:g,hasSelectionRef:f,isPointerDownOnContentRef:d},(0,el.createElement)(pb,l,n))},pq=(0,el.forwardRef)((e,t)=>{let{__scopeHoverCard:n,...r}=e,i=pH("HoverCardTrigger",n),o=pZ(n);return(0,el.createElement)(px,(0,ec.Z)({asChild:!0},o),(0,el.createElement)(pd.a,(0,ec.Z)({"data-state":i.open?"open":"closed"},r,{ref:t,onPointerEnter:(0,ev.M)(e.onPointerEnter,p0(i.onOpen)),onPointerLeave:(0,ev.M)(e.onPointerLeave,p0(i.onClose)),onFocus:(0,ev.M)(e.onFocus,i.onOpen),onBlur:(0,ev.M)(e.onBlur,i.onClose),onTouchStart:(0,ev.M)(e.onTouchStart,e=>e.preventDefault())})))}),p$="HoverCardPortal",[pY,pG]=pV(p$,{forceMount:void 0}),pK=e=>{let{__scopeHoverCard:t,forceMount:n,children:r,container:i}=e,o=pH(p$,t);return(0,el.createElement)(pY,{scope:t,forceMount:n},(0,el.createElement)(eb.z,{present:n||o.open},(0,el.createElement)(pN,{asChild:!0,container:i},r)))},pX="HoverCardContent",pQ=(0,el.forwardRef)((e,t)=>{let n=pG(pX,e.__scopeHoverCard),{forceMount:r=n.forceMount,...i}=e,o=pH(pX,e.__scopeHoverCard);return(0,el.createElement)(eb.z,{present:r||o.open},(0,el.createElement)(pJ,(0,ec.Z)({"data-state":o.open?"open":"closed"},i,{onPointerEnter:(0,ev.M)(e.onPointerEnter,p0(o.onOpen)),onPointerLeave:(0,ev.M)(e.onPointerLeave,p0(o.onClose)),ref:t})))}),pJ=(0,el.forwardRef)((e,t)=>{let{__scopeHoverCard:n,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,...l}=e,u=pH(pX,n),c=pZ(n),f=(0,el.useRef)(null),d=(0,ed.e)(t,f),[h,p]=(0,el.useState)(!1);return(0,el.useEffect)(()=>{if(h){let e=document.body;return i=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=i,e.style.webkitUserSelect=i}}},[h]),(0,el.useEffect)(()=>{if(f.current){let e=()=>{p(!1),u.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;let t=(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!=="";t&&(u.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!1}}},[u.isPointerDownOnContentRef,u.hasSelectionRef]),(0,el.useEffect)(()=>{if(f.current){let e=function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}(f.current);e.forEach(e=>e.setAttribute("tabindex","-1"))}}),(0,el.createElement)(pL,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:s,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:(0,ev.M)(a,e=>{e.preventDefault()}),onDismiss:u.onDismiss},(0,el.createElement)(pS,(0,ec.Z)({},c,l,{onPointerDown:(0,ev.M)(l.onPointerDown,e=>{e.currentTarget.contains(e.target)&&p(!0),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!0}),ref:d,style:{...l.style,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)",userSelect:h?"text":void 0,WebkitUserSelect:h?"text":void 0}})))});function p0(e){return t=>"touch"===t.pointerType?void 0:e()}let p1=(0,eY.j)([lB,"relative","z-10","data-[side=top]:bottom-1","data-[side=top]:origin-bottom","data-[side=bottom]:top-1","data-[side=bottom]:origin-top","data-[side=left]:right-1","data-[side=left]:origin-right","data-[side=right]:left-1","data-[side=right]:origin-left"]),p2=(0,eY.cx)(nO(),"max-w-sm","py-0.5","px-1"),p4={show:{opacity:[0,1],scale:[.95,1],transition:{duration:.1,ease:"easeOut"}},exit:{opacity:[1,0],scale:[1,.95],transition:{duration:.1,ease:"easeIn"}}},p3=el.forwardRef((e,t)=>{let{trigger:n,children:r,rootProps:i,contentProps:o}=e,{className:a,...s}=o||{},{open:l,onOpenChange:u}=lL({open:null==i?void 0:i.open,onOpenChange:null==i?void 0:i.onOpenChange});return(0,es.jsxs)(pW,{open:l,onOpenChange:u,...i,children:[n&&(0,es.jsx)(pq,{asChild:!0,children:n}),(0,es.jsx)(n8,{children:l?(0,es.jsx)(pK,{forceMount:!0,children:(0,es.jsx)(pQ,{asChild:!0,forceMount:!0,ref:t,...s,children:(0,es.jsx)(lD.div,{variants:p4,initial:"init",animate:"show",exit:"exit",className:p1(),children:(0,es.jsx)("div",{className:(0,eY.cx)(p2,a),children:r})})})}):null})]})});function p5(e,t=[]){let n=[],r=()=>{let t=n.map(e=>(0,el.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,el.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=(0,el.createContext)(r),o=n.length;function a(t){let{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][o])||i,l=(0,el.useMemo)(()=>a,Object.values(a));return(0,el.createElement)(s.Provider,{value:l},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){let s=(null==a?void 0:a[e][o])||i,l=(0,el.useContext)(s);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e),o=i[`__scope${r}`];return{...t,...o}},{});return(0,el.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}function p6(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function p8(...e){return t=>e.forEach(e=>{var n;"function"==typeof(n=e)?n(t):null!=n&&(n.current=t)})}function p7(...e){return(0,el.useCallback)(p8(...e),e)}let p9=(0,el.forwardRef)((e,t)=>{let{children:n,...r}=e,i=el.Children.toArray(n),o=i.find(vn);if(o){let a=o.props.children,s=i.map(e=>e!==o?e:el.Children.count(a)>1?el.Children.only(null):(0,el.isValidElement)(a)?a.props.children:null);return(0,el.createElement)(ve,(0,ec.Z)({},r,{ref:t}),(0,el.isValidElement)(a)?(0,el.cloneElement)(a,void 0,s):null)}return(0,el.createElement)(ve,(0,ec.Z)({},r,{ref:t}),n)});p9.displayName="Slot";let ve=(0,el.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,el.isValidElement)(n)?(0,el.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?p8(t,n.ref):n.ref}):el.Children.count(n)>1?el.Children.only(null):null});ve.displayName="SlotClone";let vt=({children:e})=>(0,el.createElement)(el.Fragment,null,e);function vn(e){return(0,el.isValidElement)(e)&&e.type===vt}let vr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,el.forwardRef)((e,n)=>{let{asChild:r,...i}=e,o=r?p9:t;return(0,el.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,el.createElement)(o,(0,ec.Z)({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function vi(e){let t=(0,el.useRef)(e);return(0,el.useEffect)(()=>{t.current=e}),(0,el.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}let vo=Boolean(null==globalThis?void 0:globalThis.document)?el.useLayoutEffect:()=>{},va=e=>{let{present:t,children:n}=e,r=function(e){var t;let[n,r]=(0,el.useState)(),i=(0,el.useRef)({}),o=(0,el.useRef)(e),a=(0,el.useRef)("none"),[s,l]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,el.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},e?"mounted":"unmounted"));return(0,el.useEffect)(()=>{let e=vs(i.current);a.current="mounted"===s?e:"none"},[s]),vo(()=>{let t=i.current,n=o.current;if(n!==e){let r=a.current,s=vs(t);e?l("MOUNT"):"none"===s||(null==t?void 0:t.display)==="none"?l("UNMOUNT"):n&&r!==s?l("ANIMATION_OUT"):l("UNMOUNT"),o.current=e}},[e,l]),vo(()=>{if(n){let e=e=>{let t=vs(i.current),r=t.includes(e.animationName);e.target===n&&r&&(0,tI.flushSync)(()=>l("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=vs(i.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")},[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,el.useCallback)(e=>{e&&(i.current=getComputedStyle(e)),r(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):el.Children.only(n),o=p7(r.ref,i.ref);return"function"==typeof n||r.isPresent?(0,el.cloneElement)(i,{ref:o}):null};function vs(e){return(null==e?void 0:e.animationName)||"none"}va.displayName="Presence";let vl=eu["useId".toString()]||(()=>void 0),vu=0;function vc(e){let t=e+"CollectionProvider",[n,r]=p5(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=el.useRef(null),o=el.useRef(new Map).current;return el.createElement(i,{scope:t,itemMap:o,collectionRef:r},n)},s=e+"CollectionSlot",l=el.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=o(s,n),a=p7(t,i.collectionRef);return el.createElement(p9,{ref:a},r)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=el.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,a=el.useRef(null),s=p7(t,a),l=o(u,n);return el.useEffect(()=>(l.itemMap.set(a,{ref:a,...i}),()=>void l.itemMap.delete(a))),el.createElement(p9,{[c]:"",ref:s},r)});return[{Provider:a,Slot:l,ItemSlot:f},function(t){let n=o(e+"CollectionConsumer",t),r=el.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${c}]`)),r=Array.from(n.itemMap.values()),i=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return i},[n.collectionRef,n.itemMap]);return r},r]}let vf="dismissableLayer.update",vd=(0,el.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vh=(0,el.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:u,...c}=e,f=(0,el.useContext)(vd),[d,h]=(0,el.useState)(null),p=null!==(n=null==d?void 0:d.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,v]=(0,el.useState)({}),m=p7(t,e=>h(e)),g=Array.from(f.layers),[y]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(y),x=d?g.indexOf(d):-1,w=f.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=function(e,t=null==globalThis?void 0:globalThis.document){let n=vi(e),r=(0,el.useRef)(!1),i=(0,el.useRef)(()=>{});return(0,el.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let o={originalEvent:e};function a(){vv("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...f.branches].some(e=>e.contains(t));!_||n||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==u||u())},p),k=function(e,t=null==globalThis?void 0:globalThis.document){let n=vi(e),r=(0,el.useRef)(!1);return(0,el.useEffect)(()=>{let e=e=>{e.target&&!r.current&&vv("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target,n=[...f.branches].some(e=>e.contains(t));n||(null==s||s(e),null==l||l(e),e.defaultPrevented||null==u||u())},p);return!function(e,t=null==globalThis?void 0:globalThis.document){let n=vi(e);(0,el.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{let t=x===f.layers.size-1;t&&(null==i||i(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},p),(0,el.useEffect)(()=>{if(d)return r&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(o=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),vp(),()=>{r&&1===f.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=o)}},[d,p,r,f]),(0,el.useEffect)(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),vp())},[d,f]),(0,el.useEffect)(()=>{let e=()=>v({});return document.addEventListener(vf,e),()=>document.removeEventListener(vf,e)},[]),(0,el.createElement)(vr.div,(0,ec.Z)({},c,{ref:m,style:{pointerEvents:w?_?"auto":"none":void 0,...e.style},onFocusCapture:p6(e.onFocusCapture,k.onFocusCapture),onBlurCapture:p6(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:p6(e.onPointerDownCapture,E.onPointerDownCapture)}))});function vp(){let e=new CustomEvent(vf);document.dispatchEvent(e)}function vv(e,t,n,{discrete:r}){var i,o;let a=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?(i=a,o=s,i&&(0,tI.flushSync)(()=>i.dispatchEvent(o))):a.dispatchEvent(s)}(e,t)=>(0,el.createElement)(vr.span,(0,ec.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));let vm="NavigationMenu",[vg,vy,vb]=vc(vm),[vx,vw,v_]=vc(vm),[vE,vk]=p5(vm,[vb,v_]),[vj,vS]=vE(vm),[vO,vC]=vE(vm),[vA,vT]=vE("NavigationMenuItem"),vM=((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=vS("NavigationMenuIndicator",n),o=vy(n),[a,s]=(0,el.useState)(null),[l,u]=(0,el.useState)(null),c="horizontal"===i.orientation,f=Boolean(i.value);(0,el.useEffect)(()=>{var e;let t=o(),n=null===(e=t.find(e=>e.value===i.value))||void 0===e?void 0:e.ref.current;n&&s(n)},[o,i.value]);let d=()=>{a&&u({size:c?a.offsetWidth:a.offsetHeight,offset:c?a.offsetLeft:a.offsetTop})};return vF(a,d),vF(i.indicatorTrack,d),l?(0,el.createElement)(vr.div,(0,ec.Z)({"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":i.orientation},r,{ref:t,style:{position:"absolute",...c?{left:0,width:l.size+"px",transform:`translateX(${l.offset}px)`}:{top:0,height:l.size+"px",transform:`translateY(${l.offset}px)`},...r.style}})):null},"NavigationMenuContent"),vP=((e,t)=>{let n=vS(vM,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:i}=n;return vo(()=>{r(e.value,{ref:t,...e})},[e,t,r]),vo(()=>()=>i(e.value),[e.value,i]),null},"navigationMenu.rootContentDismiss"),vN=(0,el.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,value:r,triggerRef:i,focusProxyRef:o,wasEscapeCloseRef:a,onRootContentClose:s,onContentFocusOutside:l,...u}=e,c=vS(vM,n),f=(0,el.useRef)(null),d=p7(f,t),h=function(e,t){return`${e}-trigger-${t}`}(c.baseId,r),p=function(e,t){return`${e}-content-${t}`}(c.baseId,r),v=vy(n),m=(0,el.useRef)(null),{onItemDismiss:g}=c;(0,el.useEffect)(()=>{let e=f.current;if(c.isRootMenu&&e){let t=()=>{var t;g(),s(),e.contains(document.activeElement)&&(null===(t=i.current)||void 0===t||t.focus())};return e.addEventListener(vP,t),()=>e.removeEventListener(vP,t)}},[c.isRootMenu,e.value,i,g,s]);let y=(0,el.useMemo)(()=>{let e=v(),t=e.map(e=>e.value);"rtl"===c.dir&&t.reverse();let n=t.indexOf(c.value),i=t.indexOf(c.previousValue),o=r===c.value,a=i===t.indexOf(r);if(!o&&!a)return m.current;let s=(()=>{if(n!==i){if(o&&-1!==i)return n>i?"from-end":"from-start";if(a&&-1!==n)return n>i?"to-start":"to-end"}return null})();return m.current=s,s},[c.previousValue,c.value,c.dir,v,r]);return(0,el.createElement)(vR,{asChild:!0},(0,el.createElement)(vh,(0,ec.Z)({id:p,"aria-labelledby":h,"data-motion":y,"data-orientation":c.orientation},u,{ref:d,onDismiss:()=>{var e;let t=new Event(vP,{bubbles:!0,cancelable:!0});null===(e=f.current)||void 0===e||e.dispatchEvent(t)},onFocusOutside:p6(e.onFocusOutside,e=>{var t;l();let n=e.target;null!==(t=c.rootNavigationMenu)&&void 0!==t&&t.contains(n)&&e.preventDefault()}),onPointerDownOutside:p6(e.onPointerDownOutside,e=>{var t;let n=e.target,r=v().some(e=>{var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(n)}),i=c.isRootMenu&&(null===(t=c.viewport)||void 0===t?void 0:t.contains(n));(r||i||!c.isRootMenu)&&e.preventDefault()}),onKeyDown:p6(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey,n="Tab"===e.key&&!t;if(n){let r=function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}(e.currentTarget),i=document.activeElement,a=r.findIndex(e=>e===i),s=e.shiftKey,l=s?r.slice(0,a).reverse():r.slice(a+1,r.length);if(vL(l))e.preventDefault();else{var u;null===(u=o.current)||void 0===u||u.focus()}}}),onEscapeKeyDown:p6(e.onEscapeKeyDown,e=>{a.current=!0})})))}),vR=((e,t)=>{let{__scopeNavigationMenu:n,children:r,...i}=e,o=vS("NavigationMenuViewport",n),a=p7(t,o.onViewportChange),s=vC(vM,e.__scopeNavigationMenu),[l,u]=(0,el.useState)(null),[c,f]=(0,el.useState)(null),d=l?(null==l?void 0:l.width)+"px":void 0,h=l?(null==l?void 0:l.height)+"px":void 0,p=Boolean(o.value),v=p?o.value:o.previousValue,m=()=>{c&&u({width:c.offsetWidth,height:c.offsetHeight})};return vF(c,m),(0,el.createElement)(vr.div,(0,ec.Z)({"data-state":function(e){return e?"open":"closed"}(p),"data-orientation":o.orientation},i,{ref:a,style:{pointerEvents:!p&&o.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":d,"--radix-navigation-menu-viewport-height":h,...i.style},onPointerEnter:p6(e.onPointerEnter,o.onContentEnter),onPointerLeave:p6(e.onPointerLeave,function(e){return t=>"mouse"===t.pointerType?e(t):void 0}(o.onContentLeave))}),Array.from(s.items).map(([e,{ref:t,forceMount:n,...r}])=>{let i=v===e;return(0,el.createElement)(va,{key:e,present:n||i},(0,el.createElement)(vN,(0,ec.Z)({},r,{ref:p8(t,e=>{i&&e&&f(e)})})))}))},(0,el.forwardRef)((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=vS("FocusGroup",n);return(0,el.createElement)(vx.Provider,{scope:n},(0,el.createElement)(vx.Slot,{scope:n},(0,el.createElement)(vr.div,(0,ec.Z)({dir:i.dir},r,{ref:t}))))})),vD=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"];(e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=vw(n),o=vS("FocusGroupItem",n);return(0,el.createElement)(vx.ItemSlot,{scope:n},(0,el.createElement)(vr.button,(0,ec.Z)({},r,{ref:t,onKeyDown:p6(e.onKeyDown,e=>{let t=["Home","End",...vD].includes(e.key);if(t){let n=i().map(e=>e.ref.current),r="rtl"===o.dir?"ArrowRight":"ArrowLeft";if([r,"ArrowUp","End"].includes(e.key)&&n.reverse(),vD.includes(e.key)){let a=n.indexOf(e.currentTarget);n=n.slice(a+1)}setTimeout(()=>vL(n)),e.preventDefault()}})})))};function vL(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function vF(e,t){let n=vi(t);vo(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var vI=n(38617),vz=["children"],vV=["children"],vB=["children"],vZ=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vz);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k0||(k0=el.createElement("path",{d:"M28,4H4A2,2,0,0,0,2,6V22a2,2,0,0,0,2,2h8v4H8v2H24V28H20V24h8a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM18,28H14V24h4Zm10-6H4V6H28Z"})),n)}),vU=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vV);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k1||(k1=el.createElement("path",{d:"M13.5,8.4c0-0.1,0-0.3,0-0.4c0-0.1,0-0.3,0-0.4l1-0.8c0.4-0.3,0.4-0.9,0.2-1.3l-1.2-2C13.3,3.2,13,3,12.6,3 c-0.1,0-0.2,0-0.3,0.1l-1.2,0.4c-0.2-0.1-0.4-0.3-0.7-0.4l-0.3-1.3C10.1,1.3,9.7,1,9.2,1H6.8c-0.5,0-0.9,0.3-1,0.8L5.6,3.1 C5.3,3.2,5.1,3.3,4.9,3.4L3.7,3C3.6,3,3.5,3,3.4,3C3,3,2.7,3.2,2.5,3.5l-1.2,2C1.1,5.9,1.2,6.4,1.6,6.8l0.9,0.9c0,0.1,0,0.3,0,0.4 c0,0.1,0,0.3,0,0.4L1.6,9.2c-0.4,0.3-0.5,0.9-0.2,1.3l1.2,2C2.7,12.8,3,13,3.4,13c0.1,0,0.2,0,0.3-0.1l1.2-0.4 c0.2,0.1,0.4,0.3,0.7,0.4l0.3,1.3c0.1,0.5,0.5,0.8,1,0.8h2.4c0.5,0,0.9-0.3,1-0.8l0.3-1.3c0.2-0.1,0.4-0.2,0.7-0.4l1.2,0.4 c0.1,0,0.2,0.1,0.3,0.1c0.4,0,0.7-0.2,0.9-0.5l1.1-2c0.2-0.4,0.2-0.9-0.2-1.3L13.5,8.4z M12.6,12l-1.7-0.6c-0.4,0.3-0.9,0.6-1.4,0.8 L9.2,14H6.8l-0.4-1.8c-0.5-0.2-0.9-0.5-1.4-0.8L3.4,12l-1.2-2l1.4-1.2c-0.1-0.5-0.1-1.1,0-1.6L2.2,6l1.2-2l1.7,0.6 C5.5,4.2,6,4,6.5,3.8L6.8,2h2.4l0.4,1.8c0.5,0.2,0.9,0.5,1.4,0.8L12.6,4l1.2,2l-1.4,1.2c0.1,0.5,0.1,1.1,0,1.6l1.4,1.2L12.6,12z"})),k2||(k2=el.createElement("path",{d:"M8,11c-1.7,0-3-1.3-3-3s1.3-3,3-3s3,1.3,3,3C11,9.6,9.7,11,8,11C8,11,8,11,8,11z M8,6C6.9,6,6,6.8,6,7.9C6,7.9,6,8,6,8 c0,1.1,0.8,2,1.9,2c0,0,0.1,0,0.1,0c1.1,0,2-0.8,2-1.9c0,0,0-0.1,0-0.1C10,6.9,9.2,6,8,6C8.1,6,8,6,8,6z"})),n)}),vH=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vB);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k4||(k4=el.createElement("path",{d:"M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30V8zM21 12c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3S22.7 12 21 12zM2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2V24zM11 20c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3S9.3 20 11 20z"})),n)}),vW=["children"],vq=["children"],v$=["children"],vY=["children"],vG=["children"],vK=["children"],vX=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vW);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k3||(k3=el.createElement("path",{d:"M22 26L22 24 9.41 24 26 7.41 24.59 6 8 22.59 8 10 6 10 6 26 22 26z"})),n)}),vQ=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vq);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k5||(k5=el.createElement("path",{d:"M10 26L10 24 22.59 24 6 7.41 7.41 6 24 22.59 24 10 26 10 26 26 10 26z"})),n)}),vJ=el.forwardRef(function(e,t){var n=e.children,r=l9(e,v$);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k6||(k6=el.createElement("path",{d:"M22 6L22 8 9.41 8 26 24.59 24.59 26 8 9.41 8 22 6 22 6 6 22 6z"})),n)}),v0=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vY);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k8||(k8=el.createElement("path",{d:"M10 6L10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6z"})),n)}),v1=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vG);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k7||(k7=el.createElement("path",{d:"M7.2,2.3c-1,4.4,1.7,8.7,6.1,9.8c0.1,0,0.1,0,0.2,0c-1.1,1.2-2.7,1.8-4.3,1.8c-0.1,0-0.2,0-0.2,0C5.6,13.8,3,11,3.2,7.7 C3.2,5.3,4.8,3.1,7.2,2.3 M8,1L8,1C4.1,1.6,1.5,5.3,2.1,9.1c0.6,3.3,3.4,5.8,6.8,5.9c0.1,0,0.2,0,0.3,0c2.3,0,4.4-1.1,5.8-3 c0.2-0.2,0.1-0.6-0.1-0.7c-0.1-0.1-0.2-0.1-0.3-0.1c-3.9-0.3-6.7-3.8-6.4-7.6C8.3,3,8.4,2.4,8.6,1.8c0.1-0.3,0-0.6-0.3-0.7 C8.1,1,8.1,1,8,1z"})),n)}),v2=el.forwardRef(function(e,t){var n=e.children,r=l9(e,vK);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k9||(k9=el.createElement("path",{d:"M7.5 1H8.5V3.5H7.5z"})),je||(je=el.createElement("path",{d:"M10.8 3.4H13.3V4.4H10.8z",transform:"rotate(-45.001 12.074 3.922)"})),jt||(jt=el.createElement("path",{d:"M12.5 7.5H15V8.5H12.5z"})),jn||(jn=el.createElement("path",{d:"M11.6 10.8H12.6V13.3H11.6z",transform:"rotate(-45.001 12.077 12.075)"})),jr||(jr=el.createElement("path",{d:"M7.5 12.5H8.5V15H7.5z"})),ji||(ji=el.createElement("path",{d:"M2.7 11.6H5.2V12.6H2.7z",transform:"rotate(-45.001 3.929 12.078)"})),jo||(jo=el.createElement("path",{d:"M1 7.5H3.5V8.5H1z"})),ja||(ja=el.createElement("path",{d:"M3.4 2.7H4.4V5.2H3.4z",transform:"rotate(-45.001 3.926 3.925)"})),js||(js=el.createElement("path",{d:"M8,6c1.1,0,2,0.9,2,2s-0.9,2-2,2S6,9.1,6,8S6.9,6,8,6 M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z"})),n)});let v4=el.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,es.jsx)(he,{...r,ref:t,className:(0,eY.cx)("select-none flex items-center rounded cursor-pointer","focus:ring ring-blue-500 dark:ring-blue-200","text-gray-700 dark:text-graydark-700","data-[state=checked]:text-gray-1100 data-[state=checked]:dark:text-white",n)})});function v3(e){let{className:t,tooltipClassName:n,tabIndex:r}=e,{theme:i,setTheme:o}=(0,vI.F)();return(0,es.jsxs)(d9,{value:i,tabIndex:r,className:(0,eY.cx)("flex gap-4",t),onValueChange:e=>o(e),children:[(0,es.jsx)(v4,{value:"system",children:(0,es.jsx)(lU,{className:n,sideOffset:16,content:"System",children:(0,es.jsx)(vZ,{})})}),(0,es.jsx)(v4,{value:"light",children:(0,es.jsx)(lU,{className:n,sideOffset:16,content:"Light",children:(0,es.jsx)(v2,{})})}),(0,es.jsx)(v4,{value:"dark",children:(0,es.jsx)(lU,{className:n,sideOffset:16,content:"Dark",children:(0,es.jsx)(v1,{})})})]})}var v5=n(14582),v6=n(63739),v8=n(72779),v7=n.n(v8),v9=n(47440),me=n(59309),mt=n(19067),mn=n(71220),mr=n(28142);function mi(e){return"bandwidth"in e?e.bandwidth():0}var mo=["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","children","numTicks","lineStyle","offset","tickValues"];function ma(){return(ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,mo),g=null!=v?v:(0,mn.Z)(r,void 0===d?10:d),y=(null!=p?p:0)+mi(r)/2,b=g.map(function(e,t){var n,o=(null!=(n=(0,mr.Z)(r(e)))?n:0)+y;return{index:t,from:new mt.Z({x:0,y:o}),to:new mt.Z({x:i,y:o})}});return el.createElement(me.Z,{className:v7()("visx-rows",c),top:void 0===t?0:t,left:void 0===n?0:n},f?f({lines:b}):b.map(function(e){var t=e.from,n=e.to,r=e.index;return el.createElement(v9.default,ma({key:"row-line-"+r,from:t,to:n,stroke:a,strokeWidth:l,strokeDasharray:u,style:h},m))}))}ms.propTypes={tickValues:l5().array,width:l5().number.isRequired};var ml=["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues","children"];function mu(){return(mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,ml),g=null!=p?p:(0,mn.Z)(r,void 0===f?10:f),y=(null!=h?h:0)+mi(r)/2,b=g.map(function(e,t){var n,o=(null!=(n=(0,mr.Z)(r(e)))?n:0)+y;return{index:t,from:new mt.Z({x:o,y:0}),to:new mt.Z({x:o,y:i})}});return el.createElement(me.Z,{className:v7()("visx-columns",c),top:void 0===t?0:t,left:void 0===n?0:n},v?v({lines:b}):b.map(function(e){var t=e.from,n=e.to,r=e.index;return el.createElement(v9.default,mu({key:"column-line-"+r,from:t,to:n,stroke:a,strokeWidth:l,strokeDasharray:u,style:d},m))}))}mc.propTypes={tickValues:l5().array,height:l5().number.isRequired};var mf=n(64183),md=n(8597);function mh(e){var t=e.id,n=e.width,r=e.height,i=e.children;return el.createElement("defs",null,el.createElement("pattern",{id:t,width:n,height:r,patternUnits:"userSpaceOnUse"},i))}mh.propTypes={id:l5().string.isRequired,width:l5().number.isRequired,height:l5().number.isRequired,children:l5().node.isRequired};var mp={horizontal:"horizontal",vertical:"vertical",diagonal:"diagonal",diagonalRightToLeft:"diagonalRightToLeft"};function mv(e){var t=e.id,n=e.width,r=e.height,i=e.stroke,o=e.strokeWidth,a=e.strokeDasharray,s=e.strokeLinecap,l=void 0===s?"square":s,u=e.shapeRendering,c=void 0===u?"auto":u,f=e.orientation,d=void 0===f?["vertical"]:f,h=e.background,p=e.className,v=Array.isArray(d)?d:[d];return el.createElement(mh,{id:t,width:n,height:r},!!h&&el.createElement("rect",{className:v7()("visx-pattern-line-background"),width:n,height:r,fill:h}),v.map(function(e,n){return el.createElement("path",{key:"visx-"+t+"-line-"+e+"-"+n,className:v7()("visx-pattern-line",p),d:function(e){var t=e.height;switch(e.orientation){case mp.horizontal:return"M 0,"+t/2+" l "+t+",0";case mp.diagonal:return"M 0,"+t+" l "+t+","+-t+" M "+-t/4+","+t/4+" l "+t/2+","+-t/2+"\n M "+3/4*t+","+5/4*t+" l "+t/2+","+-t/2;case mp.diagonalRightToLeft:return"M 0,0 l "+t+","+t+"\n M "+-t/4+","+3/4*t+" l "+t/2+","+t/2+"\n M "+3/4*t+","+-t/4+" l "+t/2+","+t/2;case mp.vertical:default:return"M "+t/2+", 0 l 0, "+t}}({orientation:e,height:r}),stroke:i,strokeWidth:o,strokeDasharray:a,strokeLinecap:l,shapeRendering:c})}))}mv.propTypes={id:l5().string.isRequired,width:l5().number.isRequired,height:l5().number.isRequired,className:l5().string,background:l5().string,stroke:l5().string,strokeWidth:l5().oneOfType([l5().number,l5().string]),strokeDasharray:l5().oneOfType([l5().string,l5().number]),strokeLinecap:l5().oneOf(["square","butt","round","inherit"]),shapeRendering:l5().oneOfType([l5().string,l5().number]),orientation:l5().array};var mm=["tooltipOpen"];function mg(){return(mg=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,my);return el.createElement("div",mb({ref:t,className:v7()("visx-tooltip",n),style:mb({top:null==r||null==l?r:r+l,left:null==i||null==a?i:i+a},void 0!==d&&d&&{position:"absolute"},!(void 0!==f&&f)&&(void 0===u?mx:u))},h),c)});function m_(){return(m_=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,mO),v=!1,m=!1;if(u&&l){var g=void 0===r?0:r,y=void 0===f?0:f;if(l.width){var b=g+o+u.width-l.width,x=u.width-g-o;v=b>0&&b>x}else{var w=g+o+u.width-window.innerWidth,_=u.width-g-o;v=w>0&&w>_}if(l.height){var E=y+s+u.height-l.height,k=u.height-y-s;m=E>0&&E>k}else m=y+s+u.height>window.innerHeight;g=v?g-u.width-o:g+o,y=m?y-u.height-s:y+s,t="translate("+(g=Math.round(g))+"px, "+(y=Math.round(y))+"px)"}return el.createElement(mw,mC({ref:h,style:mC({left:0,top:0,transform:t},!(void 0!==d&&d)&&(void 0===c?mx:c))},p),el.createElement(mS,{value:{isFlippedVertically:!m,isFlippedHorizontally:!v}},n))}mA.propTypes={nodeRef:l5().oneOfType([l5().string,l5().func,l5().object])};var mT=((kk=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={rect:void 0,parentRect:void 0},n.nodeRef=el.createRef(),n.getRects=n.getRects.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}(n=t).prototype=Object.create(e.prototype),n.prototype.constructor=n,mE(n,e);var n,r=t.prototype;return r.componentDidMount=function(){var e,t=this;this.node=null!=(e=this.nodeRef)&&e.current?this.nodeRef.current:tI.findDOMNode(this),this.setState(function(){return t.getRects()})},r.getRects=function(){if(!this.node)return this.state;var e=this.node,t=e.parentNode;return{rect:e.getBoundingClientRect?e.getBoundingClientRect():mk,parentRect:null!=t&&t.getBoundingClientRect?t.getBoundingClientRect():mk}},r.render=function(){return el.createElement(mA,m_({nodeRef:this.nodeRef,getRects:this.getRects},this.state,this.props))},t}(el.PureComponent)).displayName="withBoundingRects("+(mA.displayName||"")+")",kk),mM=n(99985);function mP(e,t){if("invert"in e&&void 0!==e.invert)return e.invert(t).valueOf();var n=e.range(),r=n[0],i=n[1],o=0,a=("step"in e&&void 0!==e.step?e.step():1)*(i-r)/Math.abs(i-r);if(a>0)for(;t>r+a*(o+1);)o+=1;else for(;t0?Math.min(e.dx,t.bounds.x1-a):Math.max(e.dx,t.bounds.x0-r),u=e.dy>0?Math.min(e.dy,t.bounds.y1-s):Math.max(e.dy,t.bounds.y0-i);return mB({},t,{isBrushing:!0,extent:mB({},t.extent,{x0:r+l,x1:a+l,y0:i+u,y1:s+u})})})},t.selectionDragEnd=function(){var e=t.props,n=e.updateBrush,r=e.onBrushEnd,i=e.onMoveSelectionChange;e.isControlled||n(function(e){var t=mB({},e,{isBrushing:!1,start:mB({},e.start,{x:Math.min(e.extent.x0,e.extent.x1),y:Math.min(e.extent.y0,e.extent.y1)}),end:mB({},e.end,{x:Math.max(e.extent.x0,e.extent.x1),y:Math.max(e.extent.y0,e.extent.y1)})});return r&&r(t),t}),i&&i()},t}return(t=n).prototype=Object.create(e.prototype),t.prototype.constructor=t,mZ(t,e),n.prototype.render=function(){var e=this.props,t=e.width,n=e.height,r=e.stageWidth,i=e.stageHeight,o=e.brush,a=e.disableDraggingSelection,s=e.onMouseLeave,l=e.onMouseMove,u=e.onMouseUp,c=e.onClick,f=e.selectedBoxStyle,d=e.isControlled,h=e.isDragInProgress;return el.createElement(mM.Z,{width:t,height:n,resetOnStart:!0,onDragStart:this.selectionDragStart,onDragMove:this.selectionDragMove,onDragEnd:this.selectionDragEnd,isDragging:d?h:void 0},function(e){var h=e.isDragging,p=e.dragStart,v=e.dragEnd,m=e.dragMove;return el.createElement("g",null,h&&el.createElement("rect",{width:r,height:i,fill:"transparent",onPointerUp:d?void 0:v,onPointerMove:m,onPointerLeave:d?void 0:v,style:mU}),el.createElement("rect",mB({x:Math.min(o.extent.x0,o.extent.x1),y:Math.min(o.extent.y0,o.extent.y1),width:t,height:n,className:"visx-brush-selection",onPointerDown:a?void 0:p,onPointerLeave:function(e){s&&s(e)},onPointerMove:function(e){m(e),l&&l(e)},onPointerUp:function(e){d||v(e),u&&u(e)},onClick:function(e){c&&c(e)},style:{pointerEvents:o.isBrushing||o.activeHandle?"none":"all",cursor:a?void 0:"move"}},f)))})},n}(el.Component);function mW(){return(mW=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Math.min(l,e.bounds.x1-o):Math.max(l,e.bounds.x0-n),c=u>0?Math.min(u,e.bounds.y1-a):Math.max(u,e.bounds.y0-r);return mW({},e,{isBrushing:!0,extent:mW({},e.extent,{x0:n+s,y0:r+c,x1:o+s,y1:a+c})})}),"select"===i&&n.updateBrush(function(e){var t=e.start,r=t.x,i=t.y,o={x:Math.min(Math.max(r+l,e.bounds.x0),e.bounds.x1),y:Math.min(Math.max(i+u,e.bounds.y0),e.bounds.y1)},a=n.getExtent(s,o);return mW({},e,{end:o,extent:a})})}},n.getExtent=function(e,t){var r=n.props,i=r.brushDirection,o=r.width,a=r.height;return{x0:"vertical"===i?0:Math.min(e.x||0,t.x||0),x1:"vertical"===i?o:Math.max(e.x||0,t.x||0),y0:"horizontal"===i?0:Math.min(e.y||0,t.y||0),y1:"horizontal"===i?a:Math.max(e.y||0,t.y||0)}},n.handleDragStart=function(e){var t=n.props,r=t.onBrushStart,i=t.left,o=t.top,a=t.inheritedMargin,s=t.useWindowMoveEvents,l=null!=a&&a.left?a.left:0,u=null!=a&&a.top?a.top:0,c={x:(e.x||0)+e.dx-i-l,y:(e.y||0)+e.dy-o-u},f=mW({},c);r&&r(c),n.updateBrush(function(t){return mW({},t,{start:c,end:f,extent:{x0:-1,x1:-1,y0:-1,y1:-1},isBrushing:!0,brushingType:"select",brushPageOffset:s?mR(e.event):void 0})})},n.handleBrushStart=function(e){var t=n.props,r=t.onBrushStart,i=t.left,o=t.top,a=t.inheritedMargin;if(r){var s=null!=a&&a.left?a.left:0,l=null!=a&&a.top?a.top:0;r({x:(e.x||0)+e.dx-i-s,y:(e.y||0)+e.dy-o-l})}},n.handleDragMove=function(e){var t=n.props,r=t.left,i=t.top,o=t.inheritedMargin,a=t.useWindowMoveEvents;if(e.isDragging&&!a){var s=(null==o?void 0:o.left)||0,l=(null==o?void 0:o.top)||0,u={x:(e.x||0)+e.dx-r-s,y:(e.y||0)+e.dy-i-l};n.updateBrush(function(e){var t=e.start,r=n.getExtent(t,u);return mW({},e,{end:u,extent:r})})}},n.handleDragEnd=function(){var e=n.props,t=e.onBrushEnd,r=e.resetOnEnd;e.useWindowMoveEvents||n.updateBrush(function(e){var i=e.extent,o=mW({},e,{start:{x:i.x0,y:i.y0},end:{x:i.x1,y:i.y1},isBrushing:!1,brushingType:void 0,activeHandle:null});return t&&t(o),r&&n.reset(),o})},n.getBrushWidth=function(){var e=n.state.extent,t=e.x0,r=e.x1;return Math.max(Math.max(t,r)-Math.min(t,r),0)},n.getBrushHeight=function(){var e=n.state.extent,t=e.y1,r=e.y0;return Math.max(Math.max(r,t)-Math.min(r,t),0)},n.handles=function(){var e=n.props.handleSize,t=n.state.extent,r=t.x0,i=t.x1,o=t.y0,a=t.y1,s=e/2,l=n.getBrushWidth(),u=n.getBrushHeight();return{top:{x:r-s,y:o-s,height:e,width:l+e},bottom:{x:r-s,y:a-s,height:e,width:l+e},right:{x:i-s,y:o-s,height:u+e,width:e},left:{x:r-s,y:o-s,height:u+e,width:e}}},n.corners=function(){var e=n.props.handleSize,t=n.state.extent,r=t.x0,i=t.x1,o=t.y0,a=t.y1,s=e/2;return{topLeft:{x:Math.min(r,i)-s,y:Math.min(o,a)-s,width:e,height:e},topRight:{x:Math.max(r,i)-s,y:Math.min(o,a)-s,width:e,height:e},bottomLeft:{x:Math.min(r,i)-s,y:Math.max(o,a)-s,width:e,height:e},bottomRight:{x:Math.max(r,i)-s,y:Math.max(o,a)-s,width:e,height:e}}},n.updateBrush=function(e){var t=n.props.onChange;n.setState(e,function(){t&&t(n.state)})},n.reset=function(){var e=n.props,t=e.width,r=e.height;n.updateBrush(function(){return{start:{x:0,y:0},end:{x:0,y:0},extent:{x0:-1,x1:-1,y0:-1,y1:-1},bounds:{x0:0,x1:t,y0:0,y1:r},isBrushing:!1,brushPageOffset:void 0,activeHandle:null,brushingType:void 0}})},n.handleBrushingTypeChange=function(e,t){n.updateBrush(function(n){var r=mW({},n,{brushingType:e,isBrushing:void 0!==e});return(t||void 0===e)&&(r.brushPageOffset=t),r})};var n,r=t.initialBrushPosition,i=r?n.getExtent(r.start,r.end):{x0:-1,x1:-1,y0:-1,y1:-1};return n.state={start:{x:Math.max(0,i.x0),y:Math.max(0,i.y0)},end:{x:Math.max(0,i.x1),y:Math.max(0,i.y1)},extent:i,bounds:{x0:0,x1:n.props.width,y0:0,y1:n.props.height},isBrushing:!1,brushingType:void 0,activeHandle:null},n}(n=t).prototype=Object.create(e.prototype),n.prototype.constructor=n,mq(n,e);var n,r=t.prototype;return r.componentDidUpdate=function(e){var t=this;(this.props.width!==e.width||this.props.height!==e.height)&&this.setState(function(n){var r=n.start,i=n.end,o=n.extent;if(!(-1===o.x0&&-1===o.x1&&-1===o.y0&&-1===o.y1)){var a=t.props.width/e.width,s=t.props.height/e.height;r={x:a*o.x0,y:s*o.y0},i={x:a*o.x1,y:s*o.y1},o=t.getExtent(r,i)}return{start:r,end:i,extent:o,bounds:{x0:0,x1:t.props.width,y0:0,y1:t.props.height}}})},r.componentDidMount=function(){this.props.useWindowMoveEvents&&(window.addEventListener("mouseup",this.handleWindowPointerUp),window.addEventListener("mousemove",this.handleWindowPointerMove))},r.componentWillUnmount=function(){this.props.useWindowMoveEvents&&(window.removeEventListener("mouseup",this.handleWindowPointerUp),window.removeEventListener("mousemove",this.handleWindowPointerMove))},r.render=function(){var e=this,t=this.state,n=t.start,r=t.end,i=this.props,o=i.top,a=i.left,s=i.width,l=i.height,u=i.onMouseLeave,c=i.onMouseUp,f=i.onMouseMove,d=i.onBrushEnd,h=i.onClick,p=i.resizeTriggerAreas,v=i.selectedBoxStyle,m=i.disableDraggingSelection,g=i.clickSensitivity,y=i.useWindowMoveEvents,b=i.renderBrushHandle,x=this.state.brushingType,w=this.handles(),_=this.corners(),E=this.getBrushWidth(),k=this.getBrushHeight(),j=new Set(p);return el.createElement(me.Z,{className:"visx-brush",top:o,left:a},el.createElement(mM.Z,{width:s,height:l,resetOnStart:!0,onDragStart:this.handleDragStart,onDragMove:this.handleDragMove,onDragEnd:this.handleDragEnd,isDragging:y?"select"===x:void 0},function(t){var n=t.dragStart,r=t.isDragging,i=t.dragMove,o=t.dragEnd;return el.createElement(v5.Z,{className:"visx-brush-overlay",fill:"transparent",x:0,y:0,width:s,height:l,onDoubleClick:function(){return e.reset()},onClick:function(t){var n=e.mouseUpTime-e.mouseDownTime;h&&n=0||(i[n]=e[n]);return i}(e,mJ),g=o,y=s,b=a,x=l;return void 0!==v&&!v||g||y||b||x||(g="0",y="0",b="0",x="1"),el.createElement("defs",null,el.createElement("linearGradient",m0({id:n,x1:g,y1:b,x2:y,y2:x,gradientTransform:h?"rotate("+h+")":p},m),!!t&&t,!t&&el.createElement("stop",{offset:void 0===u?"0%":u,stopColor:r,stopOpacity:void 0===c?1:c}),!t&&el.createElement("stop",{offset:void 0===f?"100%":f,stopColor:i,stopOpacity:void 0===d?1:d})))}function m2(e,t){return null==e||null==t?NaN:et?1:e>=t?0:NaN}function m4(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function m3(){return 0}function m5(e,t){let n,r;if(void 0===t)for(let i of e)null!=i&&(void 0===n?i>=i&&(n=r=i):(n>i&&(n=i),r=a&&(n=r=a):(n>a&&(n=a),r=r)&&(n=r);else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(n=o)&&(n=o)}return n}m1.propTypes={id:l5().string.isRequired,from:l5().string,to:l5().string,x1:l5().oneOfType([l5().string,l5().number]),x2:l5().oneOfType([l5().string,l5().number]),y1:l5().oneOfType([l5().string,l5().number]),y2:l5().oneOfType([l5().string,l5().number]),fromOffset:l5().oneOfType([l5().string,l5().number]),fromOpacity:l5().oneOfType([l5().string,l5().number]),toOffset:l5().oneOfType([l5().string,l5().number]),toOpacity:l5().oneOfType([l5().string,l5().number]),rotate:l5().oneOfType([l5().string,l5().number]),transform:l5().string,children:l5().node,vertical:l5().bool};var m8=n(76635),m7=n(55746),m9=n(45742),ge=n(27266),gt=["id","markerWidth","markerHeight","markerUnits","children"];function gn(){return(gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,gt);return el.createElement("defs",null,el.createElement("marker",gn({id:t,markerWidth:void 0===n?3:n,markerHeight:void 0===r?3:r,markerUnits:void 0===i?"userSpaceOnUse":i},a),o))}gr.propTypes={id:l5().string.isRequired,size:l5().number,markerWidth:l5().oneOfType([l5().string,l5().number]),markerHeight:l5().oneOfType([l5().string,l5().number]),markerUnits:l5().string,refX:l5().oneOfType([l5().string,l5().number]),refY:l5().oneOfType([l5().string,l5().number]),strokeWidth:l5().number,children:l5().node.isRequired};var gi=["id","size","strokeWidth"];function go(){return(go=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,gi),s=2*r+o,l=s/2;return el.createElement(gr,go({id:t,markerWidth:s,markerHeight:s,refX:0,refY:l,orient:"auto-start-reverse",markerUnits:"strokeWidth",strokeWidth:o},a),el.createElement("circle",{r:r,cx:l,cy:l}))}var gs=n(64170),gl={top:"top",left:"left",right:"right",bottom:"bottom"};function gu(){return(gu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,gg),_=null!=m?m:"tickFormat"in v?v.tickFormat():gp.Z,E=d===gl.left,k=d===gl.top,j=k||d===gl.bottom,S=function(e,t){if(void 0===t&&(t="center"),"start"!==t&&"bandwidth"in e){var n=e.bandwidth();return"center"===t&&(n/=2),e.round()&&(n=Math.round(n)),function(t){var r=e(t);return"number"==typeof r?r+n:r}}return e}(v),O=E||k?-1:1,C=v.range(),A=(void 0===(t=p)&&(t=0),"number"==typeof t?{start:t,end:t}:gm({start:0,end:0},t)),T=gv({x:Number(C[0])+.5-A.start,y:0},j),M=gv({x:Number(C[C.length-1])+.5+A.end,y:0},j),P=(null!=b?b:(0,mn.Z)(v,c)).filter(function(e){return!s||0!==e&&"0"!==e}).map(function(e,t){return{value:e,index:t}}),N=P.map(function(e){var t=e.value,n=e.index,r=(0,mr.Z)(S(t));return{value:t,index:n,from:gv({x:r,y:0},j),to:gv({x:r,y:y*O},j),formattedValue:_(t,n,P)}});return el.createElement(me.Z,{className:v7()("visx-axis",r),top:void 0===x?0:x,left:void 0===l?0:l},(void 0===n?gh:n)(gy({},w,{axisFromPoint:T,axisToPoint:M,hideAxisLine:void 0!==i&&i,hideTicks:void 0!==o&&o,hideZero:s,horizontal:j,numTicks:c,orientation:d,rangePadding:p,scale:v,tickFormat:_,tickLength:y,tickPosition:S,tickSign:O,ticks:N})))}var gx=["axisClassName","labelOffset","tickLabelProps","tickLength"];function gw(){return(gw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,gx);return el.createElement(gb,gw({axisClassName:v7()("visx-axis-bottom",t),labelOffset:void 0===n?8:n,orientation:gl.bottom,tickLabelProps:void 0===r?g_:r,tickLength:void 0===i?8:i},o))}var gk=["axisClassName","labelOffset","tickLabelProps","tickLength"];function gj(){return(gj=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,gk);return el.createElement(gb,gj({axisClassName:v7()("visx-axis-left",t),labelOffset:void 0===n?36:n,orientation:gl.left,tickLabelProps:void 0===r?gS:r,tickLength:void 0===i?8:i},o))}let gC=e=>new Date((null==e?void 0:e.timestamp)||0),gA=e=>(null==e?void 0:e.value)||0,gT="var(--colors-hiContrast)",gM={textAnchor:"middle",fontFamily:"var(--fonts-sans)",fontSize:10,fill:gT},gP={dx:"-0.25em",dy:"0.25em",fontFamily:"var(--fonts-sans)",fontSize:10,textAnchor:"end",fill:gT};function gN(e){let{data:t,gradientColor:n,width:r,yMax:i,margin:o,xScale:a,yScale:s,hideBottomAxis:l=!1,hideLeftAxis:u=!1,top:c,left:f,curve:d="step",children:h}=e;return r<10?null:(0,es.jsxs)(me.Z,{left:f||o.left,top:c||o.top,children:[(0,es.jsx)(ga,{id:"marker-circle",fill:"var(--colors-accent11)",size:1.5,refX:1.5}),(0,es.jsx)(m1,{id:"gradient",from:n,fromOpacity:1,to:n,toOpacity:.2}),(0,es.jsx)(m7.Z,{data:t,x:e=>a(gC(e))||0,y:e=>s(gA(e))||0,yScale:s,strokeWidth:1,stroke:"url(#gradient)",fill:"url(#gradient)",markerMid:"url(#marker-circle)",curve:"step"===d?m9.ZP:ge.Z}),!l&&(0,es.jsx)(gE,{top:i,scale:a,numTicks:r>520?10:5,stroke:gT,tickStroke:gT,tickLabelProps:()=>gM}),!u&&(0,es.jsx)(gO,{scale:s,numTicks:5,stroke:gT,tickStroke:gT,tickLabelProps:()=>gP}),h]})}var gR=["children"],gD=["children"],gL=["children"],gF=el.forwardRef(function(e,t){var n=e.children,r=l9(e,gR);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),jl||(jl=el.createElement("path",{d:"M18,28A12,12,0,1,0,6,16v6.2L2.4,18.6,1,20l6,6,6-6-1.4-1.4L8,22.2V16H8A10,10,0,1,1,18,26Z"})),n)}),gI=el.forwardRef(function(e,t){var n=e.children,r=l9(e,gD);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),ju||(ju=el.createElement("path",{d:"M29,10H3a1,1,0,0,0-1,1V21a1,1,0,0,0,1,1H29a1,1,0,0,0,1-1V11A1,1,0,0,0,29,10ZM28,20H4V12H8v4h2V12h5v4h2V12h5v4h2V12h4Z"})),n)}),gz=el.forwardRef(function(e,t){var n=e.children,r=l9(e,gL);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),jc||(jc=el.createElement("path",{d:"M13.9,4.6l-2.5-2.5C11.3,2.1,11.1,2,11,2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V5 C14,4.9,13.9,4.7,13.9,4.6z M6,3h4v2H6V3z M10,13H6V9h4V13z M11,13V9c0-0.6-0.4-1-1-1H6C5.4,8,5,8.4,5,9v4H3V3h2v2c0,0.6,0.4,1,1,1 h4c0.6,0,1-0.4,1-1V3.2l2,2V13H11z"})),n)}),gV=n(88015),gB=n(2288);let gZ={top:10,bottom:15,left:10,right:10},gU="brush_pattern",gH="brush_gradient",gW=(0,m8.throttle)(e=>e(),15),gq=function(e){let t,n,r;function i(e,r,i=0,o=e.length){if(i>>1;0>n(e[a],r)?i=a+1:o=a}while(im2(e(t),n),r=(t,n)=>e(t)-n):(t=e===m2||e===m4?e:m3,n=e,r=e),{left:i,center:function(e,t,n=0,o=e.length){let a=i(e,t,n,o-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,i=0,o=e.length){if(i>>1;0>=n(e[a],r)?i=a+1:o=a}while(inew Date((null==e?void 0:e.timestamp)||0)).left;void 0===kj&&(kj={style:{position:"relative",width:"inherit",height:"inherit"}}),void 0===kS&&(kS=function(e,t){return el.createElement("div",t,e)});var g$=n(70390);function gY(e){let{id:t,width:n,height:r,accessors:i,animationTrajectory:o,curve:a,data:s,config:l,scales:u,enabledGraph:c,enabledTip:f,isStack:d,todayOffset:h,numTicks:p,renderAreaSeries:v,renderAreaStack:m,renderBarGroup:g,renderBarStack:y,enableTooltipGlyph:b,renderTooltipGlyph:x,renderLineSeries:w,sharedTooltip:_,showHorizontalCrosshair:E,showTooltip:k,showVerticalCrosshair:j,snapTooltipToDatum:S,stackOffset:O,margin:C,theme:A,xAxisOrientation:T,yAxisOrientation:M,AreaSeries:P,AreaStack:N,Axis:R,BarGroup:D,BarSeries:L,BarStack:F,Grid:I,LineSeries:z,Tooltip:V,XYChart:B}=e;return(0,es.jsxs)(B,{theme:A.xyChartTheme,xScale:u.x,yScale:u.y,height:Math.min(400,r),margin:C,captureEvents:!0,children:[(0,es.jsx)("g",{children:(0,es.jsx)("rect",{className:"fill-gray-600 dark:fill-graydark-600 h-full w-px y-0",style:{left:"".concat(100*h,"%")}})},"today-line-".concat(n,"-").concat(r)),(0,es.jsx)(m1,{id:"gradient-default",from:"gray",fromOpacity:1,to:"gray",toOpacity:.4}),Object.entries(l.data).map(e=>{let[n,r]=e,i=r.color;return(0,es.jsxs)(el.Fragment,{children:[(0,es.jsx)(mv,{id:"pattern-".concat(gG(t,n)),height:6,width:6,stroke:i,strokeWidth:.5,orientation:["diagonal"]}),(0,es.jsx)(m1,{id:"gradient-".concat(gG(t,n)),from:i,fromOpacity:1,to:i,toOpacity:d?.4:1})]},n)}),(0,es.jsx)(I,{rows:!1,columns:!0,strokeDasharray:"1,3",animationTrajectory:o,numTicks:p},"grid-".concat(o)),y&&(0,es.jsx)(F,{offset:O,children:c.map(e=>(0,es.jsx)(L,{dataKey:e,data:s,xAccessor:i.x[e],yAccessor:i.y[e],colorAccessor:()=>gK(t,e,l)},e))}),g&&(0,es.jsx)(D,{children:c.map(e=>(0,es.jsx)(L,{dataKey:e,data:s,xAccessor:i.x[e],yAccessor:i.y[e],colorAccessor:()=>gK(t,e,l)},e))}),v&&(0,es.jsx)(es.Fragment,{children:c.map(e=>(0,es.jsx)(P,{dataKey:e,data:s,xAccessor:i.x[e],yAccessor:i.y[e],stroke:gK(t,e,l),fill:gK(t,e,l),curve:a},e))}),m&&(0,es.jsx)(N,{curve:a,offset:O,renderLine:"wiggle"!==O,children:c.map(e=>(0,es.jsx)(P,{dataKey:e,data:s,xAccessor:i.x[e],yAccessor:i.y[e],stroke:gK(t,e,l),fill:gK(t,e,l)},e))}),w&&(0,es.jsx)(es.Fragment,{children:c.map(e=>{var t,n;return(0,es.jsx)(z,{dataKey:e,data:s,xAccessor:i.x[e],yAccessor:i.y[e],stroke:(null===(t=l.data)||void 0===t?void 0:null===(n=t[e])||void 0===n?void 0:n.color)||"gray",curve:a},e)})}),(0,es.jsx)(R,{orientation:T,numTicks:p,animationTrajectory:o,tickFormat:e=>(0,gB.rN)(e),tickLength:12,tickLabelProps:e=>({...e,fill:A.labels.color,fontFamily:A.labels.fontFamily,y:"14px",fontWeight:"500",fontSize:"8"})},"time-axis-".concat(o)),(0,es.jsx)(R,{label:null==O?"SC":"expand"===O?"Fraction of total":"",orientation:M,numTicks:p,tickLength:0,rangePadding:0,animationTrajectory:o,tickFormat:()=>""},"temp-axis-".concat(o)),k&&(0,es.jsx)(V,{showHorizontalCrosshair:E,showVerticalCrosshair:j,snapTooltipToDatumX:S,snapTooltipToDatumY:S,showDatumGlyph:S&&!g,showSeriesGlyphs:_&&!g,renderGlyph:b?x:void 0,renderTooltip:e=>{var t,n;let{tooltipData:r}=e,o=null==r?void 0:null===(t=r.nearestDatum)||void 0===t?void 0:t.datum,a=null==r?void 0:null===(n=r.nearestDatum)||void 0===n?void 0:n.key,s=l.formatTimestamp||(e=>(0,gB.rN)(e,{timeStyle:"short",hour12:!1})),u=(_?f:a?[a]:[]).map(e=>{var t,n;return{key:e,category:(null===(t=l.data)||void 0===t?void 0:null===(n=t[e])||void 0===n?void 0:n.category)||""}}),c=(0,m8.groupBy)(u,"category"),h=l.categories?l.categories.map(e=>[e,c[e]]):Object.entries(c);return(0,es.jsxs)("div",{className:(0,eY.cx)(lB,"flex flex-col gap-2 py-1"),children:[(0,es.jsx)(nj,{font:"mono",size:"12",color:"contrast",className:"text-end",children:o?s(i.date(o)):"No date"}),(0,es.jsx)(fK,{color:"panel",className:"w-full"}),(0,es.jsx)("div",{className:(0,eY.cx)("grid gap-x-6 gap-y-4",h.length>1?"grid-cols-2":"grid-cols-1"),children:h.map(e=>{let[t,n]=e,r=o?n.reduce((e,t)=>{let{key:n}=t,r=i.y[n](o);return null==r||Number.isNaN(r)?e:e+r},0):0;return(0,es.jsxs)("div",{className:"flex flex-col gap-2 w-[250px]",children:[t&&(0,es.jsx)(nj,{weight:"semibold",children:t}),(0,es.jsxs)("div",{className:"grid grid-cols-2 gap-x-2 gap-y-1 items-center",children:[n.map(e=>{var t,n,r,s;let{key:u}=e,c=o&&i.y[u](o);return(0,es.jsxs)(el.Fragment,{children:[(0,es.jsx)(nj,{color:"accent",style:{color:null===(t=l.data)||void 0===t?void 0:null===(n=t[u])||void 0===n?void 0:n.color},className:(0,eY.cx)(a===u?"underline":""),children:(null===(r=l.data)||void 0===r?void 0:null===(s=r[u])||void 0===s?void 0:s.label)||u}),(0,es.jsx)(nj,{size:"12",style:{textAlign:"end"},className:(0,eY.cx)(a===u?"underline":""),children:null==c||Number.isNaN(c)?"–":l.format(c)})]},u)}),n.length>1&&d&&(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(nj,{className:"pt-2",children:"total"}),(0,es.jsx)(nj,{size:"12",weight:"bold",className:"pt-2 text-end",children:l.format(r)})]})]})]},t)})})]})}})]})}function gG(e,t){return"".concat(e,"-").concat(t)}function gK(e,t,n){var r;let i=gG(e,t);return(null===(r=n.data)||void 0===r?void 0:r[t])?n.data[t].pattern?"url(#pattern-".concat(i,")"):"url(#gradient-".concat(i,")"):"url(#gradient-default)"}var gX=n(24037),gQ=n(86707);function gJ(e){var t=e.top,n=e.left,r=e.className,i=e.children;return el.createElement(me.Z,{className:v7()("visx-glyph",r),top:void 0===t?0:t,left:void 0===n?0:n},i)}gJ.propTypes={top:l5().number,left:l5().number,className:l5().string,children:l5().node};var g0=["children","className","top","left","size"];function g1(){return(g1=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,g0),s=(0,gX.Z)();return(s.type(gQ.Z),"number"==typeof o?s.size(o):o&&s.size(o),t)?el.createElement(el.Fragment,null,t({path:s})):el.createElement(gJ,{top:r,left:i},el.createElement("path",g1({className:v7()("visx-glyph-star",n),d:s()||""},a)))}g2.propTypes={children:l5().func,className:l5().string,top:l5().number,left:l5().number,size:l5().oneOfType([l5().number,l5().func])};var g4=["top","left","className"];function g3(){return(g3=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,g4);return el.createElement(gJ,{top:void 0===t?0:t,left:void 0===n?0:n},el.createElement("circle",g3({className:v7()("visx-glyph-dot",r)},i)))}g5.propTypes={className:l5().string,top:l5().number,left:l5().number,r:l5().number,cx:l5().number,cy:l5().number};var g6=n(9135),g8=["children","className","top","left","size"];function g7(){return(g7=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,g8),s=(0,gX.Z)();return(s.type(g6.Z),"number"==typeof o?s.size(o):o&&s.size(o),t)?el.createElement(el.Fragment,null,t({path:s})):el.createElement(gJ,{top:r,left:i},el.createElement("path",g7({className:v7()("visx-glyph-cross",n),d:s()||""},a)))}g9.propTypes={children:l5().func,className:l5().string,top:l5().number,left:l5().number,size:l5().oneOfType([l5().number,l5().func])};var ye=n(46385),yt=n(20651),yn={red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e8f7ff","#ccedff","#a3daff","#72c3fc","#4dadf7","#329af0","#228ae6","#1c7cd6","#1b6ec2","#1862ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"]},yr=yn.gray,yi=yr[7],yo=[yn.cyan[9],yn.cyan[3],yn.yellow[5],yn.red[4],yn.grape[8],yn.grape[5],yn.pink[9]];function ya(){return(ya=Object.assign?Object.assign.bind():function(e){for(var t=1;t{for(var n in t)yf(e,n,{get:t[n],enumerable:!0})})(yd,{assign:()=>yH,colors:()=>yB,createStringInterpolator:()=>jf,skipAnimation:()=>yZ,to:()=>jd,willAdvance:()=>yU});var yh=yA(),yp=e=>yj(e,yh),yv=yA();yp.write=e=>yj(e,yv);var ym=yA();yp.onStart=e=>yj(e,ym);var yg=yA();yp.onFrame=e=>yj(e,yg);var yy=yA();yp.onFinish=e=>yj(e,yy);var yb=[];yp.setTimeout=(e,t)=>{let n=yp.now()+t,r=()=>{let e=yb.findIndex(e=>e.cancel==r);~e&&yb.splice(e,1),yE-=~e?1:0},i={time:n,handler:e,cancel:r};return yb.splice(yx(n),0,i),yE+=1,yS(),i};var yx=e=>~(~yb.findIndex(t=>t.time>e)||~yb.length);yp.cancel=e=>{ym.delete(e),yg.delete(e),yy.delete(e),yh.delete(e),yv.delete(e)},yp.sync=e=>{yk=!0,yp.batchedUpdates(e),yk=!1},yp.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,yp.onStart(n)}return r.handler=e,r.cancel=()=>{ym.delete(n),t=null},r};var yw="undefined"!=typeof window?window.requestAnimationFrame:()=>{};yp.use=e=>yw=e,yp.now="undefined"!=typeof performance?()=>performance.now():Date.now,yp.batchedUpdates=e=>e(),yp.catch=console.error,yp.frameLoop="always",yp.advance=()=>{"demand"!==yp.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):yC()};var y_=-1,yE=0,yk=!1;function yj(e,t){yk?(t.delete(e),e(0)):(t.add(e),yS())}function yS(){y_<0&&(y_=0,"demand"!==yp.frameLoop&&yw(yO))}function yO(){~y_&&(yw(yO),yp.batchedUpdates(yC))}function yC(){let e=y_;y_=yp.now();let t=yx(y_);if(t&&(yT(yb.splice(0,t),e=>e.handler()),yE-=t),!yE){y_=-1;return}ym.flush(),yh.flush(e?Math.min(64,y_-e):16.667),yg.flush(),yv.flush(),yy.flush()}function yA(){let e=new Set,t=e;return{add(n){yE+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(yE-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,yE-=t.size,yT(t,t=>t(n)&&e.add(t)),yE+=e.size,t=e)}}}function yT(e,t){e.forEach(e=>{try{t(e)}catch(n){yp.catch(n)}})}function yM(){}var yP=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),yN={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function yR(e,t){if(yN.arr(e)){if(!yN.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function yL(e,t,n){if(yN.arr(e)){for(let r=0;ryN.und(e)?[]:yN.arr(e)?e:[e];function yI(e,t){if(e.size){let n=Array.from(e);e.clear(),yD(n,t)}}var yz=(e,...t)=>yI(e,e=>e(...t)),yV=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),yB=null,yZ=!1,yU=yM,yH=e=>{e.to&&(jd=e.to),e.now&&(yp.now=e.now),void 0!==e.colors&&(yB=e.colors),null!=e.skipAnimation&&(yZ=e.skipAnimation),e.createStringInterpolator&&(jf=e.createStringInterpolator),e.requestAnimationFrame&&yp.use(e.requestAnimationFrame),e.batchedUpdates&&(yp.batchedUpdates=e.batchedUpdates),e.willAdvance&&(yU=e.willAdvance),e.frameLoop&&(yp.frameLoop=e.frameLoop)},yW=new Set,yq=[],y$=[],yY=0,yG={get idle(){return!yW.size&&!yq.length},start(e){yY>e.priority?(yW.add(e),yp.onStart(yK)):(yX(e),yp(yJ))},advance:yJ,sort(e){if(yY)yp.onFrame(()=>yG.sort(e));else{let t=yq.indexOf(e);~t&&(yq.splice(t,1),yQ(e))}},clear(){yq=[],yW.clear()}};function yK(){yW.forEach(yX),yW.clear(),yp(yJ)}function yX(e){yq.includes(e)||yQ(e)}function yQ(e){yq.splice(function(e,t){let n=e.findIndex(t);return n<0?e.length:n}(yq,t=>t.priority>e.priority),0,e)}function yJ(e){let t=y$;for(let n=0;n0}var y0="[-+]?\\d*\\.?\\d+",y1=y0+"%";function y2(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var y4=RegExp("rgb"+y2(y0,y0,y0)),y3=RegExp("rgba"+y2(y0,y0,y0,y0)),y5=RegExp("hsl"+y2(y0,y1,y1)),y6=RegExp("hsla"+y2(y0,y1,y1,y0)),y8=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,y7=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,y9=/^#([0-9a-fA-F]{6})$/,be=/^#([0-9a-fA-F]{8})$/;function bt(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function bn(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=bt(i,r,e+1/3),a=bt(i,r,e),s=bt(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function br(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function bi(e){let t=parseFloat(e);return(t%360+360)%360/360}function bo(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ba(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function bs(e){let t;let n="number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=y9.exec(e))?parseInt(t[1]+"ff",16)>>>0:yB&&void 0!==yB[e]?yB[e]:(t=y4.exec(e))?(br(t[1])<<24|br(t[2])<<16|br(t[3])<<8|255)>>>0:(t=y3.exec(e))?(br(t[1])<<24|br(t[2])<<16|br(t[3])<<8|bo(t[4]))>>>0:(t=y8.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=be.exec(e))?parseInt(t[1],16)>>>0:(t=y7.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=y5.exec(e))?(255|bn(bi(t[1]),ba(t[2]),ba(t[3])))>>>0:(t=y6.exec(e))?(bn(bi(t[1]),ba(t[2]),ba(t[3]))|bo(t[4]))>>>0:null;if(null===n)return e;n=n||0;let r=(4278190080&n)>>>24,i=(16711680&n)>>>16,o=(65280&n)>>>8,a=(255&n)/255;return`rgba(${r}, ${i}, ${o}, ${a})`}var bl=(e,t,n)=>{if(yN.fun(e))return e;if(yN.arr(e))return bl({range:e,output:t,extrapolate:n});if(yN.str(e.output[0]))return jf(e);let r=e.output,i=e.range||[0,1],o=e.extrapolateLeft||e.extrapolate||"extend",a=e.extrapolateRight||e.extrapolate||"extend",s=e.easing||(e=>e);return t=>{let n=function(e,t){for(var n=1;n=e);++n);return n-1}(t,i);return function(e,t,n,r,i,o,a,s,l){let u=l?l(e):e;if(un){if("identity"===s)return u;"clamp"===s&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r,u)}(t,i[n],i[n+1],r[n],r[n+1],s,o,a,e.map)}},bu=Symbol.for("FluidValue.get"),bc=Symbol.for("FluidValue.observers"),bf=e=>Boolean(e&&e[bu]),bd=e=>e&&e[bu]?e[bu]():e,bh=e=>e[bc]||null;function bp(e,t){let n=e[bc];n&&n.forEach(e=>{e.eventObserved?e.eventObserved(t):e(t)})}var bv=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");bm(this,e)}},bm=(e,t)=>bb(e,bu,t);function bg(e,t){if(e[bu]){let n=e[bc];n||bb(e,bc,n=new Set),!n.has(t)&&(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function by(e,t){let n=e[bc];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[bc]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var bb=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),bx=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bw=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,b_=RegExp(`(${bx.source})(%|[a-z]+)`,"i"),bE=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,bk=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,bj=e=>{let[t,n]=bS(e);if(!t||yV())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){let i=window.getComputedStyle(document.documentElement).getPropertyValue(n);if(i)return i}else if(n&&bk.test(n))return bj(n);else if(n)return n;return e},bS=e=>{let t=bk.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},bO=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,bC=e=>{jh||(jh=yB?RegExp(`(${Object.keys(yB).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>bd(e).replace(bk,bj).replace(bw,bs).replace(jh,bs)),n=t.map(e=>e.match(bx).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})),i=r.map(t=>bl({...e,output:t}));return e=>{let n=!b_.test(t[0])&&t.find(e=>b_.test(e))?.replace(bx,""),r=0;return t[0].replace(bx,()=>`${i[r++](e)}${n||""}`).replace(bE,bO)}},bA="react-spring: ",bT=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${bA}once requires a function parameter`);return(...n)=>{t||(e(...n),t=!0)}},bM=bT(console.warn),bP=bT(console.warn);function bN(e){return yN.str(e)&&("#"==e[0]||/\d/.test(e)||!yV()&&bk.test(e)||e in(yB||{}))}new WeakMap,new WeakMap,new WeakMap,new WeakMap;var bR=yV()?el.useEffect:el.useLayoutEffect,bD=()=>{let e=(0,el.useRef)(!1);return bR(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function bL(){let e=(0,el.useState)()[1],t=bD();return()=>{t.current&&e(Math.random())}}var bF=e=>(0,el.useEffect)(e,bI),bI=[];function bz(e){let t=(0,el.useRef)();return(0,el.useEffect)(()=>{t.current=e}),t.current}var bV=Symbol.for("Animated:node"),bB=e=>!!e&&e[bV]===e,bZ=e=>e&&e[bV],bU=(e,t)=>yP(e,bV,t),bH=e=>e&&e[bV]&&e[bV].getPayload(),bW=class{constructor(){bU(this,this)}getPayload(){return this.payload||[]}},bq=class extends bW{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,yN.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new bq(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return yN.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,yN.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},b$=class extends bq{constructor(e){super(0),this._string=null,this._toString=bl({output:[e,e]})}static create(e){return new b$(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(yN.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=bl({output:[this.getValue(),e]})),this._value=0,super.reset()}},bY={dependencies:null},bG=class extends bW{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return yL(this.source,(n,r)=>{bB(n)?t[r]=n.getValue(e):bf(n)?t[r]=bd(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&yD(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return yL(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){bY.dependencies&&bf(e)&&bY.dependencies.add(e);let t=bH(e);t&&yD(t,e=>this.add(e))}},bK=class extends bG{constructor(e){super(e)}static create(e){return new bK(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(bX)),!0)}};function bX(e){let t=bN(e)?b$:bq;return t.create(e)}function bQ(e){let t=bZ(e);return t?t.constructor:yN.arr(e)?bK:bN(e)?b$:bq}var bJ=(e,t)=>{let n=!yN.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,el.forwardRef)((r,i)=>{let o=(0,el.useRef)(null),a=n&&(0,el.useCallback)(e=>{var t;o.current=((t=i)&&(yN.fun(t)?t(e):t.current=e),e)},[i]),[s,l]=function(e,t){let n=new Set;return bY.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new bG(e),bY.dependencies=null,[e,n]}(r,t),u=bL(),c=()=>{let e=o.current;if(n&&!e)return;let r=!!e&&t.applyAnimatedValues(e,s.getValue(!0));!1===r&&u()},f=new b0(c,l),d=(0,el.useRef)();bR(()=>(d.current=f,yD(l,e=>bg(e,f)),()=>{d.current&&(yD(d.current.deps,e=>by(e,d.current)),yp.cancel(d.current.update))})),(0,el.useEffect)(c,[]),bF(()=>()=>{let e=d.current;yD(e.deps,t=>by(t,e))});let h=t.getComponentProps(s.getValue());return el.createElement(e,{...h,ref:a})})},b0=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&yp.write(this.update)}},b1=Symbol.for("AnimatedComponent"),b2=e=>yN.str(e)?e:e&&yN.str(e.displayName)?e.displayName:yN.fun(e)&&e.name||null;function b4(e,...t){return yN.fun(e)?e(...t):e}var b3=(e,t)=>!0===e||!!(t&&e&&(yN.fun(e)?e(t):yF(e).includes(t))),b5=(e,t)=>yN.obj(e)?t&&e[t]:e,b6=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,b8=e=>e,b7=(e,t=b8)=>{let n=b9;e.default&&!0!==e.default&&(n=Object.keys(e=e.default));let r={};for(let i of n){let o=t(e[i],i);yN.und(o)||(r[i]=o)}return r},b9=["config","onProps","onStart","onChange","onPause","onResume","onRest"],xe={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function xt(e){let t=function(e){let t={},n=0;if(yL(e,(e,r)=>{!xe[r]&&(t[r]=e,n++)}),n)return t}(e);if(t){let n={to:t};return yL(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function xn(e){return e=bd(e),yN.arr(e)?e.map(xn):bN(e)?yd.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function xr(e){for(let t in e)return!0;return!1}function xi(e){return yN.fun(e)||yN.arr(e)&&yN.obj(e[0])}function xo(e,t){e.ref?.delete(e),t?.delete(e)}function xa(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var xs={tension:170,friction:26,mass:1,damping:1,easing:e=>e,clamp:!1},xl=class{constructor(){this.velocity=0,Object.assign(this,xs)}};function xu(e,t){if(yN.und(t.decay)){let n=!yN.und(t.tension)||!yN.und(t.friction);!n&&yN.und(t.frequency)&&yN.und(t.damping)&&yN.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var xc=[],xf=class{constructor(){this.changed=!1,this.values=xc,this.toValues=null,this.fromValues=xc,this.config=new xl,this.immediate=!1}};function xd(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((a,s)=>{let l,u;let c=b3(n.cancel??r?.cancel,t);if(c)p();else{yN.und(n.pause)||(i.paused=b3(n.pause,t));let f=r?.pause;!0!==f&&(f=i.paused||b3(f,t)),l=b4(n.delay||0,t),f?(i.resumeQueue.add(h),o.pause()):(o.resume(),h())}function d(){i.resumeQueue.add(h),i.timeouts.delete(u),u.cancel(),l=u.time-yp.now()}function h(){l>0&&!yd.skipAnimation?(i.delayed=!0,u=yp.setTimeout(p,l),i.pauseQueue.add(d),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(u),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},a)}catch(t){s(t)}}})}var xh=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?xm(e.get()):t.every(e=>e.noop)?xp(e.get()):xv(e.get(),t.every(e=>e.finished)),xp=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),xv=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),xm=e=>({value:e,cancelled:!0,finished:!1});function xg(e,t,n,r){let{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{let u,c,f;n.asyncId=i,n.asyncTo=e;let d=b7(t,(e,t)=>"onRest"===t?void 0:e),h=new Promise((e,t)=>(u=e,c=t)),p=e=>{let t=i<=(n.cancelId||0)&&xm(r)||i!==n.asyncId&&xv(r,!1);if(t)throw e.result=t,c(e),e},v=(e,t)=>{let o=new xb,a=new xx;return(async()=>{if(yd.skipAnimation)throw xy(n),a.result=xv(r,!1),c(a),a;p(o);let s=yN.obj(e)?{...e}:{...t,to:e};s.parentId=i,yL(d,(e,t)=>{yN.und(s[t])&&(s[t]=e)});let l=await r.start(s);return p(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),l})()};if(yd.skipAnimation)return xy(n),xv(r,!1);try{await Promise.all([(yN.arr(e)?(async e=>{for(let t of e)await v(t)})(e):Promise.resolve(e(v,r.stop.bind(r)))).then(u),h]),f=xv(r.get(),!0,!1)}catch(m){if(m instanceof xb)f=m.result;else if(m instanceof xx)f=m.result;else throw m}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return yN.fun(a)&&yp.batchedUpdates(()=>{a(f,r,r.item)}),f})():l}function xy(e,t){yI(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var xb=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},xx=class extends Error{constructor(){super("SkipAnimationSignal")}},xw=e=>e instanceof xE,x_=1,xE=class extends bv{constructor(){super(...arguments),this.id=x_++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=bZ(this);return e&&e.getValue()}to(...e){return yd.to(this,e)}interpolate(...e){return bM(`${bA}The "interpolate" function is deprecated in v9 (use "to" instead)`),yd.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){bp(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||yG.sort(this),bp(this,{type:"priority",parent:this,priority:e})}},xk=Symbol.for("SpringPhase"),xj=e=>(1&e[xk])>0,xS=e=>(2&e[xk])>0,xO=e=>(4&e[xk])>0,xC=(e,t)=>t?e[xk]|=3:e[xk]&=-3,xA=(e,t)=>t?e[xk]|=4:e[xk]&=-5,xT=class extends xE{constructor(e,t){if(super(),this.animation=new xf,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!yN.und(e)||!yN.und(t)){let n=yN.obj(e)?{...e}:{...t,from:e};yN.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(xS(this)||this._state.asyncTo)||xO(this)}get goal(){return bd(this.animation.to)}get velocity(){let e=bZ(this);return e instanceof bq?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return xj(this)}get isAnimating(){return xS(this)}get isPaused(){return xO(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,r=this.animation,{toValues:i}=r,{config:o}=r,a=bH(r.to);!a&&bf(r.to)&&(i=yF(bd(r.to))),r.values.forEach((s,l)=>{if(s.done)return;let u=s.constructor==b$?1:a?a[l].lastPosition:i[l],c=r.immediate,f=u;if(!c){let d;if(f=s.lastPosition,o.tension<=0){s.done=!0;return}let h=s.elapsedTime+=e,p=r.fromValues[l],v=null!=s.v0?s.v0:s.v0=yN.arr(o.velocity)?o.velocity[l]:o.velocity,m=o.precision||(p==u?.005:Math.min(1,.001*Math.abs(u-p)));if(yN.und(o.duration)){if(o.decay){let g=!0===o.decay?.998:o.decay,y=Math.exp(-(1-g)*h);f=p+v/(1-g)*(1-y),c=Math.abs(s.lastPosition-f)<=m,d=v*y}else{d=null==s.lastVelocity?v:s.lastVelocity;let b=o.restVelocity||m/10,x=o.clamp?0:o.bounce,w=!yN.und(x),_=p==u?s.v0>0:pb)&&(c=Math.abs(u-f)<=m));++k){w&&(f==u||f>u==_)&&(d=-d*x,f=u);let j=-(1e-6*o.tension)*(f-u),S=-(.001*o.friction)*d,O=(j+S)/o.mass;d+=1*O,f+=1*d}}}else{let C=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,h=s.elapsedTime+=e)),C=(C=(o.progress||0)+h/this._memoizedDuration)>1?1:C<0?0:C,s.durationProgress=C),d=((f=p+o.easing(C)*(u-p))-s.lastPosition)/e,c=1==C}s.lastVelocity=d,Number.isNaN(f)&&(console.warn("Got NaN while animating:",this),c=!0)}a&&!a[l].done&&(c=!1),c?s.done=!0:t=!1,s.setValue(f,o.round)&&(n=!0)});let s=bZ(this),l=s.getValue();if(t){let u=bd(r.to);(l!==u||n)&&!o.decay?(s.setValue(u),this._onChange(u)):n&&o.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return yp.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(xS(this)){let{to:e,config:t}=this.animation;yp.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){let t=this.queue||(this.queue=[]);return t.push(e),this}start(e,t){let n;return yN.und(e)?(n=this.queue||[],this.queue=[]):n=[yN.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>{let t=this._update(e);return t})).then(e=>xh(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),xy(this._state,e&&this._lastCallId),yp.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:r}=e;(null==(n=yN.obj(n)?n[t]:n)||xi(n))&&(n=void 0),null==(r=yN.obj(r)?r[t]:r)&&(r=void 0);let i={to:n,from:r};return xj(this)||(e.reverse&&([n,r]=[r,n]),r=bd(r),yN.und(r)?bZ(this)||this._set(n):this._set(r)),i}_update({...e},t){let{key:n,defaultProps:r}=this;e.default&&Object.assign(r,b7(e,(e,t)=>/^on/.test(t)?b5(e,n):e)),xL(this,e,"onProps"),xF(this,"onProps",e,this);let i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let o=this._state;return xd(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{xO(this)||(xA(this,!0),yz(o.pauseQueue),xF(this,"onPause",xv(this,xM(this,this.animation.to)),this))},resume:()=>{xO(this)&&(xA(this,!1),xS(this)&&this._resume(),yz(o.resumeQueue),xF(this,"onResume",xv(this,xM(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&!(t&&n.noop)){let r=xP(e);if(r)return this._update(r,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(xm(this));let r=!yN.und(e.to),i=!yN.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(xm(this));this._lastToId=t.callId}let{key:o,defaultProps:a,animation:s}=this,{to:l,from:u}=s,{to:c=l,from:f=u}=e;i&&!r&&(!t.default||yN.und(c))&&(c=f),t.reverse&&([c,f]=[f,c]);let d=!yR(f,u);d&&(s.from=f),f=bd(f);let h=!yR(c,l);h&&this._focus(c);let p=xi(t.to),{config:v}=s,{decay:m,velocity:g}=v;(r||i)&&(v.velocity=0),t.config&&!p&&function(e,t,n){for(let r in n&&(xu(n={...n},t),t={...n,...t}),xu(e,t),Object.assign(e,t),xs)null==e[r]&&(e[r]=xs[r]);let{frequency:i,damping:o}=e,{mass:a}=e;yN.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*a,e.friction=4*Math.PI*o*a/i)}(v,b4(t.config,o),t.config!==a.config?b4(a.config,o):void 0);let y=bZ(this);if(!y||yN.und(c))return n(xv(this,!0));let b=yN.und(t.reset)?i&&!t.default:!yN.und(f)&&b3(t.reset,o),x=b?f:this.get(),w=xn(c),_=yN.num(w)||yN.arr(w)||bN(w),E=!p&&(!_||b3(a.immediate||t.immediate,o));if(h){let k=bQ(c);if(k!==y.constructor){if(E)y=this._set(w);else throw Error(`Cannot animate between ${y.constructor.name} and ${k.name}, as the "to" prop suggests`)}}let j=y.constructor,S=bf(c),O=!1;if(!S){let C=b||!xj(this)&&d;(h||C)&&(S=!(O=yR(xn(x),w))),(yR(s.immediate,E)||E)&&yR(v.decay,m)&&yR(v.velocity,g)||(S=!0)}if(O&&xS(this)&&(s.changed&&!b?S=!0:S||this._stop(l)),!p&&((S||bf(l))&&(s.values=y.getPayload(),s.toValues=bf(c)?null:j==b$?[1]:yF(w)),s.immediate==E||(s.immediate=E,E||b||this._set(l)),S)){let{onRest:A}=s;yD(xD,e=>xL(this,t,e));let T=xv(this,xM(this,l));yz(this._pendingCalls,T),this._pendingCalls.add(n),s.changed&&yp.batchedUpdates(()=>{s.changed=!b,A?.(T,this),b?b4(a.onRest,T):s.onStart?.(T,this)})}b&&this._set(x),p?n(xg(t.to,t,this._state,this)):S?this._start():xS(this)&&!h?this._pendingCalls.add(n):n(xp(x))}_focus(e){let t=this.animation;e!==t.to&&(bh(this)&&this._detach(),t.to=e,bh(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;bf(t)&&(bg(t,this),xw(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;bf(e)&&by(e,this)}_set(e,t=!0){let n=bd(e);if(!yN.und(n)){let r=bZ(this);if(!r||!yR(n,r.getValue())){let i=bQ(n);r&&r.constructor==i?r.setValue(n):bU(this,i.create(n)),r&&yp.batchedUpdates(()=>{this._onChange(n,t)})}}return bZ(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,xF(this,"onStart",xv(this,xM(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),b4(this.animation.onChange,e,this)),b4(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;bZ(this).reset(bd(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),xS(this)||(xC(this,!0),xO(this)||this._resume())}_resume(){yd.skipAnimation?this.finish():yG.start(this)}_stop(e,t){if(xS(this)){xC(this,!1);let n=this.animation;yD(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),bp(this,{type:"idle",parent:this});let r=t?xm(this.get()):xv(this.get(),xM(this,e??n.to));yz(this._pendingCalls,r),n.changed&&(n.changed=!1,xF(this,"onRest",r,this))}}};function xM(e,t){let n=xn(t),r=xn(e.get());return yR(r,n)}function xP(e,t=e.loop,n=e.to){let r=b4(t);if(r){let i=!0!==r&&xt(r),o=(i||e).reverse,a=!i||i.reset;return xN({...e,loop:t,default:!1,pause:void 0,to:!o||xi(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function xN(e){let{to:t,from:n}=e=xt(e),r=new Set;return yN.obj(t)&&xR(t,r),yN.obj(n)&&xR(n,r),e.keys=r.size?Array.from(r):null,e}function xR(e,t){yL(e,(e,n)=>null!=e&&t.add(n))}var xD=["onStart","onRest","onChange","onPause","onResume"];function xL(e,t,n){e.animation[n]=t[n]!==b6(t,n)?b5(t[n],e.key):void 0}function xF(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var xI=["onStart","onChange","onRest"],xz=1,xV=class{constructor(e,t){this.id=xz++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(let t in e){let n=e[t];yN.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(xN(e)),this}start(e){let{queue:t}=this;return(e?t=yF(e).map(xN):this.queue=[],this._flush)?this._flush(this,t):(x$(this,t),xB(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let n=this.springs;yD(yF(t),t=>n[t].stop(!!e))}else xy(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(yN.und(e))this.start({pause:!0});else{let t=this.springs;yD(yF(e),e=>t[e].pause())}return this}resume(e){if(yN.und(e))this.start({pause:!1});else{let t=this.springs;yD(yF(e),e=>t[e].resume())}return this}each(e){yL(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,yI(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&yI(t,([e,t])=>{t.value=a,e(t,this,this._item)}),o&&(this._started=!1,yI(n,([e,t])=>{t.value=a,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}yp.onFrame(this._onFrame)}};function xB(e,t){return Promise.all(t.map(t=>xZ(e,t))).then(t=>xh(e,t))}async function xZ(e,t,n){let{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,u=yN.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);let c=yN.arr(i)||yN.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):yD(xI,n=>{let r=t[n];if(yN.fun(r)){let i=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}});let f=e._state;!f.paused===t.pause?(f.paused=t.pause,yz(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let d=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),h=!0===t.cancel||!0===b6(t,"cancel");(c||h&&f.asyncId)&&d.push(xd(++e._lastAsyncId,{props:t,state:f,actions:{pause:yM,resume:yM,start(t,n){h?(xy(f,e._lastAsyncId),n(xm(e))):(t.onRest=s,n(xg(c,t,f,e)))}}})),f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});let p=xh(e,await Promise.all(d));if(a&&p.finished&&!(n&&p.noop)){let v=xP(t,a,i);if(v)return x$(e,[v]),xZ(e,v,!0)}return l&&yp.batchedUpdates(()=>l(p,e,e.item)),p}function xU(e,t){let n={...e.springs};return t&&yD(yF(t),e=>{yN.und(e.keys)&&(e=xN(e)),yN.obj(e.to)||(e={...e,to:void 0}),xq(n,e,e=>xW(e))}),xH(e,n),n}function xH(e,t){yL(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,bg(t,e))})}function xW(e,t){let n=new xT;return n.key=e,t&&bg(n,t),n}function xq(e,t,n){t.keys&&yD(t.keys,r=>{let i=e[r]||(e[r]=n(r));i._prepareNode(t)})}function x$(e,t){yD(t,t=>{xq(e.springs,t,t=>xW(t,e))})}var xY=({children:e,...t})=>{let n=(0,el.useContext)(xG),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){let[n]=(0,el.useState)(()=>({inputs:t,result:e()})),r=(0,el.useRef)(),i=r.current,o=i;if(o){let a=Boolean(t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}(()=>({pause:r,immediate:i}),[r,i]);let{Provider:o}=xG;return el.createElement(o,{value:t},e)},xG=(Object.assign(kx=xY,el.createContext({})),kx.Provider._context=kx,kx.Consumer._context=kx,kx);xY.Provider=xG.Provider,xY.Consumer=xG.Consumer;var xK=()=>{let e=[],t=function(t){bP(`${bA}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);let r=[];return yD(e,(e,i)=>{if(yN.und(t))r.push(e.start());else{let o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return yD(e,e=>e.pause(...arguments)),this},t.resume=function(){return yD(e,e=>e.resume(...arguments)),this},t.set=function(t){yD(e,(e,n)=>{let r=yN.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){let n=[];return yD(e,(e,r)=>{if(yN.und(t))n.push(e.start());else{let i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return yD(e,e=>e.stop(...arguments)),this},t.update=function(t){return yD(e,(e,n)=>e.update(this._getProps(t,e,n))),this};let n=function(e,t,n){return yN.fun(e)?e(n,t):e};return t._getProps=n,t};function xX(e,t){let n=yN.fun(e),[[r],i]=function(e,t,n){let r=yN.fun(t)&&t;r&&!n&&(n=[]);let i=(0,el.useMemo)(()=>r||3==arguments.length?xK():void 0,[]),o=(0,el.useRef)(0),a=bL(),s=(0,el.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let n=xU(e,t),r=o.current>0&&!s.queue.length&&!Object.keys(n).some(t=>!e.springs[t]);return r?xB(e,t):new Promise(r=>{xH(e,n),s.queue.push(()=>{r(xB(e,t))}),a()})}}),[]),l=(0,el.useRef)([...s.ctrls]),u=[],c=bz(e)||0;function f(e,n){for(let i=e;i{yD(l.current.slice(e,c),e=>{xo(e,i),e.stop(!0)}),l.current.length=e,f(c,e)},[e]),(0,el.useMemo)(()=>{f(0,Math.min(c,e))},n);let d=l.current.map((e,t)=>xU(e,u[t])),h=(0,el.useContext)(xY),p=bz(h),v=h!==p&&xr(h);bR(()=>{o.current++,s.ctrls=l.current;let{queue:e}=s;e.length&&(s.queue=[],yD(e,e=>e())),yD(l.current,(e,t)=>{i?.add(e),v&&e.start({default:h});let n=u[t];n&&(xa(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),bF(()=>()=>{yD(s.ctrls,e=>e.stop(!0))});let m=d.map(e=>({...e}));return i?[m,i]:m}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}function xQ(e,t,n){let r=yN.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:c,config:f}=r?r():t,d=(0,el.useMemo)(()=>r||3==arguments.length?xK():void 0,[]),h=yF(e),p=[],v=(0,el.useRef)(null),m=i?null:v.current;bR(()=>{v.current=p}),bF(()=>(yD(p,e=>{d?.add(e.ctrl),e.ctrl.ref=d}),()=>{yD(v.current,e=>{e.expired&&clearTimeout(e.expirationId),xo(e.ctrl,d),e.ctrl.stop(!0)})}));let g=function(e,{key:t,keys:n=t},r){if(null===n){let i=new Set;return e.map(e=>{let t=r&&r.find(t=>t.item===e&&"leave"!==t.phase&&!i.has(t));return t?(i.add(t),t.key):xJ++})}return yN.und(n)?e:yN.fun(n)?e.map(n):yF(n)}(h,r?r():t,m),y=i&&v.current||[];bR(()=>yD(y,({ctrl:e,item:t,key:n})=>{xo(e,d),b4(u,t,n)}));let b=[];if(m&&yD(m,(e,t)=>{e.expired?(clearTimeout(e.expirationId),y.push(e)):~(t=b[t]=g.indexOf(e.key))&&(p[t]=e)}),yD(h,(e,t)=>{p[t]||(p[t]={key:g[t],item:e,phase:"mount",ctrl:new xV},p[t].ctrl.item=e)}),b.length){let x=-1,{leave:w}=r?r():t;yD(b,(e,t)=>{let n=m[t];~e?(x=p.indexOf(n),p[x]={...n,item:h[e]}):w&&p.splice(++x,0,n)})}yN.fun(o)&&p.sort((e,t)=>o(e.item,t.item));let _=-a,E=bL(),k=b7(t),j=new Map,S=(0,el.useRef)(new Map),O=(0,el.useRef)(!1);yD(p,(e,n)=>{let i,o;let u=e.key,d=e.phase,h=r?r():t,p=b4(h.delay||0,u);if("mount"==d)i=h.enter,o="enter";else{let y=0>g.indexOf(u);if("leave"!=d){if(y)i=h.leave,o="leave";else{if(!(i=h.update))return;o="update"}}else{if(y)return;i=h.enter,o="enter"}}if(i=b4(i,e.item,n),!(i=yN.obj(i)?xt(i):{to:i}).config){let b=f||k.config;i.config=b4(b,e.item,n,o)}_+=a;let x={...k,delay:p+_,ref:c,immediate:h.immediate,reset:!1,...i};if("enter"==o&&yN.und(x.from)){let w=r?r():t,C=yN.und(w.initial)||m?w.from:w.initial;x.from=b4(C,e.item,n)}let{onResolve:A}=x;x.onResolve=e=>{b4(A,e);let t=v.current,n=t.find(e=>e.key===u);if(n){if(e.cancelled&&"update"!=n.phase)return;if(n.ctrl.idle){let r=t.every(e=>e.ctrl.idle);if("leave"==n.phase){let i=b4(s,n.item);if(!1!==i){let o=!0===i?0:i;if(n.expired=!0,!r&&o>0){o<=2147483647&&(n.expirationId=setTimeout(E,o));return}}}r&&t.some(e=>e.expired)&&(S.current.delete(n),l&&(O.current=!0),E())}}};let T=xU(e.ctrl,x);"leave"===o&&l?S.current.set(e,{phase:o,springs:T,payload:x}):j.set(e,{phase:o,springs:T,payload:x})});let C=(0,el.useContext)(xY),A=bz(C),T=C!==A&&xr(C);bR(()=>{T&&yD(p,e=>{e.ctrl.start({default:C})})},[C]),yD(j,(e,t)=>{if(S.current.size){let n=p.findIndex(e=>e.key===t.key);p.splice(n,1)}}),bR(()=>{yD(S.current.size?S.current:j,({phase:e,payload:t},n)=>{let{ctrl:r}=n;n.phase=e,d?.add(r),T&&"enter"==e&&r.start({default:C}),t&&(xa(r,t.ref),(r.ref||d)&&!O.current?r.update(t):(r.start(t),O.current&&(O.current=!1)))})},i?void 0:n);let M=e=>el.createElement(el.Fragment,null,p.map((t,n)=>{let{springs:r}=j.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?el.createElement(i.type,{...i.props,key:yN.str(t.key)||yN.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i}));return d?[M,d]:M}var xJ=1,x0=class extends xE{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=bl(...t);let n=this._get(),r=bQ(n);bU(this,r.create(n))}advance(e){let t=this._get(),n=this.get();yR(t,n)||(bZ(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&x2(this._active)&&x4(this)}_get(){let e=yN.arr(this.source)?this.source.map(bd):yF(bd(this.source));return this.calc(...e)}_start(){this.idle&&!x2(this._active)&&(this.idle=!1,yD(bH(this),e=>{e.done=!1}),yd.skipAnimation?(yp.batchedUpdates(()=>this.advance()),x4(this)):yG.start(this))}_attach(){let e=1;yD(yF(this.source),t=>{bf(t)&&bg(t,this),xw(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){yD(yF(this.source),e=>{bf(e)&&by(e,this)}),this._active.clear(),x4(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=yF(this.source).reduce((e,t)=>Math.max(e,(xw(t)?t.priority:0)+1),0))}};function x1(e){return!1!==e.idle}function x2(e){return!e.size||Array.from(e).every(x1)}function x4(e){e.idle||(e.idle=!0,yD(bH(e),e=>{e.done=!0}),bp(e,{type:"idle",parent:e}))}var x3=(e,...t)=>new x0(e,t);yd.assign({createStringInterpolator:bC,to:(e,t)=>new x0(e,t)}),yG.advance;var x5=/^--/,x6={},x8={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},x7=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),x9=["Webkit","Ms","Moz","O"];x8=Object.keys(x8).reduce((e,t)=>(x9.forEach(n=>e[x7(n,t)]=e[t]),e),x8);var we=/^(matrix|translate|scale|rotate|skew)/,wt=/^(translate)/,wn=/^(rotate|skew)/,wr=(e,t)=>yN.num(e)&&0!==e?e+t:e,wi=(e,t)=>yN.arr(e)?e.every(e=>wi(e,t)):yN.num(e)?e===t:parseFloat(e)===t,wo=class extends bG{constructor({x:e,y:t,z:n,...r}){let i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(e=>[`translate3d(${e.map(e=>wr(e,"px")).join(",")})`,wi(e,0)])),yL(r,(e,t)=>{if("transform"===t)i.push([e||""]),o.push(e=>[e,""===e]);else if(we.test(t)){if(delete r[t],yN.und(e))return;let n=wt.test(t)?"px":wn.test(t)?"deg":"";i.push(yF(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${wr(i,n)})`,wi(i,0)]:e=>[`${t}(${e.map(e=>wr(e,n)).join(",")})`,wi(e,t.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new wa(i,o)),super(r)}},wa=class extends bv{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return yD(this.inputs,(n,r)=>{let i=bd(n[0]),[o,a]=this.transforms[r](yN.arr(i)?i:n.map(bd));e+=" "+o,t=t&&a}),t?"none":e}observerAdded(e){1==e&&yD(this.inputs,e=>yD(e,e=>bf(e)&&bg(e,this)))}observerRemoved(e){0==e&&yD(this.inputs,e=>yD(e,e=>bf(e)&&by(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),bp(this,e)}};yd.assign({batchedUpdates:tI.unstable_batchedUpdates,createStringInterpolator:bC,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var ws=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new bG(e),getComponentProps:r=e=>e}={})=>{let i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{let t=b2(e)||"Anonymous";return(e=yN.str(e)?o[e]||(o[e]=bJ(e,i)):e[b1]||(e[b1]=bJ(e,i))).displayName=`Animated(${t})`,e};return yL(e,(t,n)=>{yN.arr(e)&&(n=b2(t)),o[n]=o(t)}),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:i,scrollTop:o,scrollLeft:a,viewBox:s,...l}=t,u=Object.values(l),c=Object.keys(l).map(t=>n||e.hasAttribute(t)?t:x6[t]||(x6[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let f in void 0!==i&&(e.textContent=i),r)if(r.hasOwnProperty(f)){var d,h;let p=(d=f,null==(h=r[f])||"boolean"==typeof h||""===h?"":"number"!=typeof h||0===h||x5.test(d)||x8.hasOwnProperty(d)&&x8[d]?(""+h).trim():h+"px");x5.test(f)?e.style.setProperty(f,p):e.style[f]=p}c.forEach((t,n)=>{e.setAttribute(t,u[n])}),void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==s&&e.setAttribute("viewBox",s)},createAnimatedStyle:e=>new wo(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}).animated,wl=n(23442),wu=(0,el.createContext)({});function wc(e){var t=e.x,n=e.y,r=e.dx,i=e.dy,o=e.children,a=(0,el.useMemo)(function(){return{x:t,y:n,dx:r,dy:i}},[t,n,r,i]);return el.createElement(wu.Provider,{value:a},o)}function wf(){return(wf=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,wg),p=(0,el.useContext)(wp)||{},v=p.innerHeight,m=p.innerWidth,g=p.margin,y=p.xScale,b=p.yScale,x=p.dataRegistry,w=(0,el.useMemo)(function(){return y?wv(y):0},[y]),_=(0,el.useMemo)(function(){return b?wv(b):0},[b]);if((!s||!l)&&!a)return console.warn("[@visx/xychart/BaseAnnotation]: dataKey or x/yAccessors must be specified."),null;var E=s&&l||null==a?null:null==x?void 0:x.get(a),k=s||(null==E?void 0:E.xAccessor),j=l||(null==E?void 0:E.yAccessor);if(!y||!b||!m||!v||!k||!j||!g)return null;var S=(null!=(t=(0,mr.Z)(y(k(o))))?t:NaN)+w/2,O=(null!=(n=(0,mr.Z)(b(j(o))))?n:NaN)+_/2,C=S+c+16>g.left+m?-c:c,A=O+d+16>g.top+v?-d:d;return wm(S)&&wm(O)?el.createElement(r,wy({width:m,height:v},h,{x:S,y:O,dx:C,dy:A}),i):null}wb.propTypes={dataKey:l5().string,xAccessor:l5().func,yAccessor:l5().func};var wx=["x","y","AnnotationComponent"],ww=["editable"];function w_(){return(w_=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function wk(e){var t=e.x,n=void 0===t?0:t,r=e.y,i=void 0===r?0:r,o=e.AnnotationComponent,a=wE(e,wx),s=(0,el.useRef)({x:n,y:i}),l=xX({from:{x:s.current.x-n,y:s.current.y-i},to:{x:0,y:0},reset:!0});return(0,el.useEffect)(function(){s.current={x:n,y:i}},[n,i]),el.createElement(ws.g,{transform:x3([l.x,l.y],function(e,t){return"translate("+e+", "+t+")"})},el.createElement(o,w_({x:n,y:i},a)))}function wj(e){var t=e.editable,n=wE(e,ww),r=(0,el.useCallback)(function(e){return el.createElement(wk,w_({AnnotationComponent:t?wh:wc},e))},[t]);return el.createElement(wb,w_({AnnotationComponent:r},n))}wj.propTypes={editable:l5().bool};var wS=n(12766),wO=n(54073),wC=n.n(wO),wA=["d","stroke","fill"];function wT(){return(wT=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,wA),o=(0,el.useRef)(t),a=(0,el.useCallback)(wC()(function(e){o.current=e},50),[]),s=(0,wS.interpolatePath)(o.current,t);a(t);var l=xX({from:{t:0},to:{t:1},reset:!0,delay:0}).t,u=xX({stroke:void 0===n?"transparent":n,fill:void 0===r?"transparent":r});return el.createElement(ws.path,wT({className:"visx-path",d:l.to(s),stroke:u.stroke,fill:u.fill},i))}var wP=n(12935),wN=n(12151);function wR(){return(wR=Object.assign?Object.assign.bind():function(e){for(var t=1;tt?1:e>=t?0:NaN}function wW(e){let t=e,n=e;function r(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;0>n(e[o],t)?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=(t,n)=>wH(e(t),n)),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);let a=r(e,n,i,o-1);return a>i&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}let wq=wW(wH);wq.right;let w$=wq.left;function wY(e){var t,n,r=e.scale,i=e.accessor,o=e.scaledValue,a=e.data;if("invert"in r&&"function"==typeof r.invert){var s=wW(i).left,l=Number(r.invert(o)),u=s(a,l),c=a[u-1],f=a[u];n=(t=!c||Math.abs(l-i(c))>Math.abs(l-i(f))?f:c)===c?u-1:u}else{if(!("step"in r)||void 0===r.step)return console.warn("[visx/xychart/findNearestDatum] encountered incompatible scale type, bailing"),null;var d=r.domain(),h=r.range().map(Number),p=[].concat(h).sort(function(e,t){return e-t}),v=w$(function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=Array(i);++r=0||(i[n]=e[n]);return i}(e,w6),j=(0,el.useContext)(wp),S=j.colorScale,O=j.theme,C=j.horizontal,A=(0,el.useMemo)(function(){return b?wL(x,b):void 0},[x,b]),T=(0,el.useMemo)(function(){return wL(x,y)},[x,y]),M=(0,el.useMemo)(function(){return _?wL(E,_):void 0},[E,_]),P=(0,el.useMemo)(function(){return wL(E,w)},[E,w]),N=(0,el.useCallback)(function(e){return wm(x(y(e)))&&wm(E(w(e)))},[x,y,E,w]),R=null!=(t=null!=(n=null==S?void 0:S(l))?n:null==O?void 0:null==(r=O.colors)?void 0:r[0])?t:"#222",D="AREASERIES_EVENT_SOURCE-"+l,L=w1({dataKey:l,enableEvents:void 0===m||m,onBlur:c,onFocus:f,onPointerMove:d,onPointerOut:h,onPointerUp:p,onPointerDown:v,source:D,allowedSources:[wI,D]}),F=(0,el.useMemo)(function(){var e=wF(C?x:E);return C?{x0:null!=A?A:e,x1:T,y:P}:{x:T,y0:null!=M?M:e,y1:P}},[x,E,C,T,P,A,M]),I=Boolean(f||c),z=(0,el.useCallback)(function(e){var t=e.glyphs;return I?t.map(function(e){return el.createElement(el.Fragment,{key:e.key},w5(w8({},e,{color:"transparent",onFocus:L.onFocus,onBlur:L.onBlur})))}):null},[I,L.onFocus,L.onBlur]);return el.createElement(el.Fragment,null,el.createElement(wP.Z,w8({},F,k,{curve:a,defined:N}),function(e){var t=e.path;return el.createElement(o,w8({className:"visx-area",stroke:"transparent",fill:R,strokeLinecap:"round"},k,{d:t(s)||""},L))}),(void 0===g||g)&&el.createElement(wN.Z,w8({x:T,y:P,defined:N,curve:a},u),function(e){var t=e.path;return el.createElement(o,w8({className:"visx-line",fill:"transparent",stroke:R,strokeWidth:2,pointerEvents:"none",strokeLinecap:"round"},u,{d:t(s)||""}))}),I&&el.createElement(w4,{dataKey:l,data:s,xAccessor:y,yAccessor:w,xScale:x,yScale:E,renderGlyphs:z}))}w7.propTypes={renderLine:l5().bool};var w9=wD(w7);function _e(){return(_e=Object.assign?Object.assign.bind():function(e){for(var t=1;t1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o=0;)n[t]=t;return n}function _s(e,t){return e[t]}function _l(e){let t=[];return t.key=e,t}Array.prototype.slice;var _u=n(74322),_c=n(58543);function _f(e,t){let n,r;if(void 0===t)for(let i of e)null!=i&&(void 0===n?i>=i&&(n=r=i):(n>i&&(n=i),r=a&&(n=r=a):(n>a&&(n=a),r=0?"positiveSum":"negativeSum"]+=i})}}),Object.values(e)},[o,l]),f=(0,el.useMemo)(function(){var e=r?null:c.some(function(e){return e.negativeSum<0}),t=function(){var e=_i([]),t=_a,n=_o,r=_s;function i(i){var o,a,s,l=Array.from(e.apply(this,arguments),_l),u=l.length,c=-1;for(let f of i)for(a=0,++c;a0&&0===r&&(o?i.xScale=function(e){return e.domain(_f(e.domain().concat(d)))}:i.yScale=function(e){return e.domain(_f(e.domain().concat(d)))}),i}).filter(function(e){return e}))),function(){return s(u)}},[u,d,o,f,a,s,l]),{seriesChildren:l,dataKeys:u,stackedData:f}}function _g(e,t,n){var r,i,o,a,s=e.xScale,l=e.yScale,u=e.point,c=(n?wK:wG)(e),f=(null==c?void 0:c.index)==null?null:t[c.index];return c&&f&&u?{index:c.index,datum:f,distanceX:n&&u.x>=(null!=(r=s((0,_r.l8)(c.datum)))?r:1/0)&&u.x<=(null!=(i=s((0,_r.xf)(c.datum)))?i:-1/0)?0:c.distanceX,distanceY:n?c.distanceY:u.y<=(null!=(o=l((0,_r.l8)(c.datum)))?o:-1/0)&&u.y>=(null!=(a=l((0,_r.xf)(c.datum)))?a:1/0)?0:c.distanceY}:null}var _y=["data","dataKey","xAccessor","yAccessor","curve","PathComponent","lineProps","renderLine"];function _b(){return(_b=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(a,_y)),u=_b({fill:null!=(n=null!=(r=null==m?void 0:m(e.key))?r:null==w?void 0:null==(i=w.colors)?void 0:i[0])?n:"#222"},l);return{key:t+"-"+e.key,accessors:S,data:e,areaProps:u,lineProps:s}})},[j,S,m,k,w]),C=(0,el.useCallback)(function(e){var t,n,r=null==(t=k.find(function(t){return t.props.dataKey===e.dataKey}))?void 0:null==(n=t.props)?void 0:n.data;return r?_g(e,r,y):null},[k,y]),A="AREASTACK_EVENT_SOURCE-"+E.join("-"),T=w1({dataKey:E,enableEvents:void 0===o||o,findNearestDatum:C,onBlur:s,onFocus:l,onPointerMove:u,onPointerOut:c,onPointerUp:f,onPointerDown:d,source:A,allowedSources:[wI,A]}),M=Boolean(l||s),P=(0,el.useCallback)(function(e){var t=e.glyphs;return M?t.map(function(e){return el.createElement(el.Fragment,{key:e.key},w5(_b({},e,{color:"transparent",onFocus:T.onFocus,onBlur:T.onBlur})))}):null},[M,T.onFocus,T.onBlur]);return!E.some(function(e){return null==g.get(e)})&&b&&x&&m?el.createElement("g",{className:"visx-area-stack"},O.map(function(e){return el.createElement(wP.Z,_b({key:e.key,curve:i},e.accessors),function(t){var r=t.path;return el.createElement(n,_b({className:"visx-area",stroke:"transparent",d:r(e.data)||""},e.areaProps,T))})}),(void 0===p||p)&&O.map(function(e){return el.createElement(_n.Z,_b({key:"line-"+e.key,x:e.accessors.x||e.accessors.x1,y:e.accessors.y||e.accessors.y1,defined:e.accessors.defined,curve:i},e.lineProps),function(t){var r=t.path;return el.createElement(n,_b({className:"visx-line",fill:"transparent",stroke:e.areaProps.fill,strokeWidth:2,pointerEvents:"none"},e.lineProps,{d:r(e.data)||""}))})}),M&&O.map(function(e,t){var n=O[O.length-t-1];return el.createElement(w4,{key:"glyphs-"+n.key,dataKey:n.key,data:n.data,xAccessor:n.accessors.x||n.accessors.x1,yAccessor:n.accessors.y||n.accessors.y1,xScale:_x,yScale:_x,renderGlyphs:P})})):null}function __(){return(__=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,_j),c=(0,el.useContext)(wp),f=c.theme,d=c.xScale,h=c.yScale,p=c.margin,v=c.width,m=c.height,g=u.orientation,y=(0,el.useMemo)(function(){var e,t,n,r;return"left"===g||"right"===g?null==f?void 0:null==(e=f.axisStyles)?void 0:null==(t=e.y)?void 0:t[g]:null==f?void 0:null==(n=f.axisStyles)?void 0:null==(r=n.x)?void 0:r[g]},[f,g]),b=u.tickLabelProps,x=(0,el.useMemo)(function(){return b||y?function(e,t,n){return _S({},null==y?void 0:y.tickLabel,{width:"left"===g||"right"===g?null==p?void 0:p[g]:void 0},null==b?void 0:b(e,t,n))}:void 0},[b,y,g,p]),w="bottom"===g?(null!=m?m:0)-(null!=(t=null==p?void 0:p.bottom)?t:0):"top"===g&&null!=(n=null==p?void 0:p.top)?n:0,_="left"===g?null!=(r=null==p?void 0:p.left)?r:0:"right"===g?(null!=v?v:0)-(null!=(i=null==p?void 0:p.right)?i:0):0,E="left"===g||"right"===g?h:d;return E?el.createElement(l,_S({top:w,left:_,labelProps:null==y?void 0:y.axisLabel,stroke:null==y?void 0:null==(o=y.axisLine)?void 0:o.stroke,strokeWidth:null==y?void 0:null==(a=y.axisLine)?void 0:a.strokeWidth,tickLength:null==y?void 0:y.tickLength,tickStroke:null==y?void 0:null==(s=y.tickLine)?void 0:s.stroke},u,{tickLabelProps:x,scale:E})):null}function _C(){return(_C=Object.assign?Object.assign.bind():function(e){for(var t=1;t=h&&l.y<=p?0:Math.abs(l.y-(h+p)/2)})}var v=a(i(u.datum)),m=(null!=v?v:1/0)+(null!=c?c:1/0),g=m+f;return _M({},u,{distanceY:0,distanceX:l.x>=m&&l.x<=g?0:Math.abs(l.x-(m+g)/2)})}(e,E,m)},[E,m]),j="BARGROUP_EVENT_SOURCE-"+_.join("-")+"}",S=w1({dataKey:_,enableEvents:void 0===d||d,findNearestDatum:k,onBlur:a,onFocus:s,onPointerMove:l,onPointerOut:u,onPointerUp:c,onPointerDown:f,source:j,allowedSources:[wI,j]}),O=(0,el.useMemo)(function(){return b?wF(b):0},[b]),C=(0,el.useMemo)(function(){return x?wF(x):0},[x]),A=_.map(function(e){return v.get(e)});if(A.some(function(e){return null==e})||!b||!x||!p)return null;var T=wv(E),M=A.map(function(e){var t,n=e.xAccessor,r=e.yAccessor,i=e.data,o=e.key,a=function(e){var t,i;return m?(null!=(t=b(n(e)))?t:NaN)-O:(null!=(i=x(r(e)))?i:NaN)-C},s=m?function(e){var t;return null!=(t=x(r(e)))?t:NaN}:function(e){var t;return null!=(t=b(n(e)))?t:NaN},l=null!=(t=E(o))?t:0,u=m?function(e){return O+Math.min(0,a(e))}:function(e){return s(e)+l},c=m?function(e){return s(e)+l}:function(e){return C+Math.min(0,a(e))},f=m?function(e){return Math.abs(a(e))}:function(){return T},d=m?function(){return T}:function(e){return Math.abs(a(e))},h=w.find(function(e){return e.props.dataKey===o}),v=(null==h?void 0:h.props)||{},g=v.colorAccessor;return{key:o,radius:v.radius,radiusAll:v.radiusAll,radiusBottom:v.radiusBottom,radiusLeft:v.radiusLeft,radiusRight:v.radiusRight,radiusTop:v.radiusTop,bars:i.map(function(e,t){var n,r=u(e);if(!wm(r))return null;var i=c(e);if(!wm(i))return null;var a=f(e);if(!wm(a))return null;var s=d(e);return wm(s)?{key:o+"-"+t,x:r,y:i,width:a,height:s,fill:null!=(n=null==g?void 0:g(e,t))?n:p(o)}:null}).filter(function(e){return e})}});return el.createElement("g",{className:"visx-bar-group"},M.map(function(e){return e&&el.createElement(o,_P({horizontal:m,xScale:b,yScale:x},e,S,{key:e.key}))}))}_N.propTypes={children:l5().node.isRequired,padding:l5().number,sortBars:l5().func};var _R=n(10897),_D=function(e){return Boolean(null==e?void 0:e.includes("url("))},_L=function(e){return _D(e)?"rgba(0,0,0,0.1)":e},_F=["bars","xScale","yScale","horizontal","radius","radiusAll","radiusTop","radiusRight","radiusBottom","radiusLeft"],_I=["bars","xScale","yScale","horizontal","radius","radiusAll","radiusTop","radiusRight","radiusBottom","radiusLeft"];function _z(){return(_z=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function _B(e){return{x:e.x,y:e.y,width:e.width,height:e.height,fill:_L(e.fill),opacity:1}}function _Z(e){var t=e.bars,n=(e.xScale,e.yScale,e.horizontal,e.radius),r=e.radiusAll,i=e.radiusTop,o=e.radiusRight,a=e.radiusBottom,s=e.radiusLeft,l=_V(e,_F);return el.createElement(el.Fragment,null,t.map(function(e){var t=e.key,u=e.fill,c=e.x,f=e.y,d=e.width,h=e.height;return el.createElement(_R.Z,{key:t,x:c,y:f,width:d,height:h,radius:n,all:r,top:i,right:o,bottom:a,left:s},function(e){var t=e.path;return el.createElement(wM,_z({className:"visx-bar visx-bar-rounded",d:t,fill:u},l))})}))}function _U(e){var t,n,r,i=e.bars,o=e.xScale,a=e.yScale,s=e.horizontal,l=(e.radius,e.radiusAll,e.radiusTop,e.radiusRight,e.radiusBottom,e.radiusLeft,_V(e,_I)),u=xQ(i,_z({},(n=(t={horizontal:s,scale:s?o:a}).scale,r=!!t.horizontal,(0,el.useMemo)(function(){var e=wF(n);function t(t){var n=t.x,i=t.y,o=t.width,a=t.height;return{x:r?null!=e?e:0:n,y:r?i:null!=e?e:0,width:r?0:o,height:r?a:0,fill:_L(t.fill),opacity:0}}return{unique:!0,from:t,leave:t,enter:_B,update:_B,keys:function(e){return e.key}}},[n,r])))),c=Boolean(l.onFocus||l.onBlur);return el.createElement(el.Fragment,null,u(function(e,t,n){var r=e.x,i=e.y,o=e.width,a=e.height,s=e.fill,u=e.opacity,f=n.key;return null==t||null==f?null:el.createElement(ws.rect,_z({key:f,tabIndex:c?0:void 0,className:"visx-bar",x:r,y:i,width:o,height:a,fill:_D(t.fill)?t.fill:s,opacity:u},l))}))}function _H(e){return null==e.radius?el.createElement(_U,e):el.createElement(_Z,_z({},e,{radius:e.radius}))}function _W(){return(_W=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,_$),w=(0,el.useContext)(wp),_=w.colorScale,E=w.horizontal,k=w.theme,j=w.innerWidth,S=w.innerHeight,O=(0,el.useMemo)(function(){return wL(g,m)},[g,m]),C=(0,el.useMemo)(function(){return wL(b,y)},[b,y]),A=wv(E?b:g)||(E?void 0===S?0:S:void 0===j?0:j)/s.length*(1-Math.min(1,Math.max(0,void 0===o?.1:o))),T=(0,el.useMemo)(function(){return g?wF(g):0},[g]),M=(0,el.useMemo)(function(){return b?wF(b):0},[b]),P=null!=(t=null!=(n=null==_?void 0:_(l))?n:null==k?void 0:null==(r=k.colors)?void 0:r[0])?t:"#222",N=(0,el.useMemo)(function(){var e=E?0:-A/2,t=E?-A/2:0;return s.map(function(n,r){var i,o=O(n)+e;if(!wm(o))return null;var s=C(n)+t;if(!wm(s))return null;var l=E?o-T:s-M;return wm(l)?{key:""+r,x:E?T+Math.min(0,l):o,y:E?s:M+Math.min(0,l),width:E?Math.abs(l):A,height:E?A:Math.abs(l),fill:null!=(i=null==a?void 0:a(n,r))?i:P}:null}).filter(function(e){return e})},[A,P,a,s,O,C,E,T,M]),R="BARSERIES_EVENT_SOURCE-"+l,D=w1({dataKey:l,enableEvents:void 0===v||v,onBlur:u,onFocus:c,onPointerMove:f,onPointerOut:d,onPointerUp:h,onPointerDown:p,source:R,allowedSources:[wI,R]});return el.createElement("g",{className:"vx-bar-series"},el.createElement(i,_Y({bars:N,horizontal:E,xScale:g,yScale:b},D,x)))}_G.propTypes={barPadding:l5().number,colorAccessor:l5().func};var _K=wD(_G),_X=["colorAccessor"];function _Q(){return(_Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,_X);return el.createElement(_K,_Q({},n,{colorAccessor:t,BarsComponent:_H}))}var _0=n(15590);function _1(){return(_1=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,_8),i=(0,el.useCallback)(function(e){return el.createElement(_6,_7({},e,{renderGlyph:n}))},[n]);return el.createElement(w3,_7({},r,{renderGlyphs:i}))}var Ee=n(93353),Et=n(63962),En=["rows","columns","GridRowsComponent","GridColumnsComponent"];function Er(){return(Er=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,En),a=(0,el.useContext)(wp),s=a.theme,l=a.xScale,u=a.yScale,c=a.margin,f=a.innerWidth,d=a.innerHeight,h=null==s?void 0:s.gridStyles;return el.createElement(el.Fragment,null,(void 0===t||t)&&u&&null!=f&&el.createElement(r,Er({left:null==c?void 0:c.left,lineStyle:h,width:f,scale:u},o)),(void 0===n||n)&&l&&null!=d&&el.createElement(i,Er({top:null==c?void 0:c.top,lineStyle:h,height:d,scale:l},o)))}Ei.propTypes={rows:l5().bool,columns:l5().bool};var Eo=["animationTrajectory"];function Ea(){return(Ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,Eo),r=(0,el.useMemo)(function(){return function(e){return el.createElement(Ee.Z,Ea({},e,{animationTrajectory:t}))}},[t]),i=(0,el.useMemo)(function(){return function(e){return el.createElement(Et.Z,Ea({},e,{animationTrajectory:t}))}},[t]);return el.createElement(Ei,Ea({GridRowsComponent:r,GridColumnsComponent:i},n))}var El=["colorAccessor","curve","data","dataKey","onBlur","onFocus","onPointerMove","onPointerOut","onPointerUp","onPointerDown","enableEvents","xAccessor","xScale","yAccessor","yScale","PathComponent"];function Eu(){return(Eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,El),_=(0,el.useContext)(wp),E=_.colorScale,k=_.theme,j=(0,el.useMemo)(function(){return wL(m,v)},[m,v]),S=(0,el.useMemo)(function(){return wL(y,g)},[y,g]),O=(0,el.useCallback)(function(e){return wm(m(v(e)))&&wm(y(g(e)))},[m,v,y,g]),C=null!=(t=null!=(n=null==E?void 0:E(s))?n:null==k?void 0:null==(r=k.colors)?void 0:r[0])?t:"#222",A="LINESERIES_EVENT_SOURCE-"+s,T=w1({dataKey:s,enableEvents:void 0===p||p,onBlur:l,onFocus:u,onPointerMove:c,onPointerOut:f,onPointerUp:d,onPointerDown:h,source:A,allowedSources:[wI,A]}),M=Boolean(u||l),P=(0,el.useCallback)(function(e){var t=e.glyphs;return M?t.map(function(e){return el.createElement(el.Fragment,{key:e.key},w5(Eu({},e,{color:"transparent",onFocus:T.onFocus,onBlur:T.onBlur})))}):null},[M,T.onFocus,T.onBlur]);return el.createElement(el.Fragment,null,el.createElement(wN.Z,Eu({x:j,y:S,defined:O,curve:o},w),function(e){var t,n=e.path;return el.createElement(x,Eu({stroke:null!=(t=null==i?void 0:i(s))?t:C,strokeWidth:2,fill:"transparent",strokeLinecap:"round"},w,{d:n(a)||""},T))}),M&&el.createElement(w4,{dataKey:s,data:a,xAccessor:v,yAccessor:g,xScale:m,yScale:y,renderGlyphs:P}))}Ec.propTypes={colorAccessor:l5().func};var Ef=wD(Ec);function Ed(){return(Ed=Object.assign?Object.assign.bind():function(e){for(var t=1;tEm.every(n=>e[n]===t[n]);function Ey(e,t){return(Ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Eb=function(e){function t(){return e.apply(this,arguments)||this}(n=t).prototype=Object.create(e.prototype),n.prototype.constructor=n,Ey(n,e);var n,r=t.prototype;return r.componentWillUnmount=function(){this.node&&document.body&&(document.body.removeChild(this.node),delete this.node)},r.render=function(){return(this.node||"undefined"==typeof document||(this.node=document.createElement("div"),null!=this.props.zIndex&&(this.node.style.zIndex=""+this.props.zIndex),document.body.append(this.node)),this.node)?tI.createPortal(this.props.children,this.node):null},t}(el.PureComponent);Eb.propTypes={zIndex:l5().oneOfType([l5().number,l5().string])};var Ex=["detectBounds","zIndex"],Ew=["left","top","detectBounds","zIndex"];function E_(){return(E_=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var Ek=["debounce","detectBounds","horizontalCrosshairStyle","glyphStyle","renderTooltip","renderGlyph","resizeObserverPolyfill","scroll","showDatumGlyph","showHorizontalCrosshair","showSeriesGlyphs","showVerticalCrosshair","snapTooltipToDatumX","snapTooltipToDatumY","verticalCrosshairStyle","zIndex"],Ej=["x","y"];function ES(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function EO(){return(EO=Object.assign?Object.assign.bind():function(e){for(var t=1;t(d.current=!0,()=>void(d.current=!1)));let[h,p,v]=(0,el.useMemo)(()=>{let e=()=>{if(!u.current.element)return;let{left:e,top:t,width:n,height:r,bottom:i,right:a,x:s,y:c}=u.current.element.getBoundingClientRect(),f={left:e,top:t,width:n,height:r,bottom:i,right:a,x:s,y:c};u.current.element instanceof HTMLElement&&o&&(f.height=u.current.element.offsetHeight,f.width=u.current.element.offsetWidth),Object.freeze(f),d.current&&!Eg(u.current.lastBounds,f)&&l(u.current.lastBounds=f)};return[e,f?Ev()(e,f):e,c?Ev()(e,c):e]},[l,o,c,f]);function m(){u.current.scrollContainers&&(u.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",v,!0)),u.current.scrollContainers=null),u.current.resizeObserver&&(u.current.resizeObserver.disconnect(),u.current.resizeObserver=null)}function g(){u.current.element&&(u.current.resizeObserver=new a(v),u.current.resizeObserver.observe(u.current.element),r&&u.current.scrollContainers&&u.current.scrollContainers.forEach(e=>e.addEventListener("scroll",v,{capture:!0,passive:!0})))}let y=e=>{e&&e!==u.current.element&&(m(),u.current.element=e,u.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:r,overflowX:i,overflowY:o}=window.getComputedStyle(t);return[r,i,o].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),g())};return t=Boolean(r),(0,el.useEffect)(()=>{if(t)return window.addEventListener("scroll",v,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",v,!0)},[v,t]),(0,el.useEffect)(()=>(window.addEventListener("resize",p),()=>void window.removeEventListener("resize",p)),[p]),(0,el.useEffect)(()=>{m(),g()},[r,v,p]),(0,el.useEffect)(()=>m,[]),[y,s,h]}(EE(et,Ex)))[0],es=eo[1],eu=eo[2],ec=(0,el.useMemo)(function(){return function(e){var t=e.left,n=e.top,r=e.detectBounds,i=e.zIndex,o=EE(e,Ew),a=(null==r?er:r)?mT:mw,s=(void 0===t?0:t)+(es.left||0)+window.scrollX,l=(void 0===n?0:n)+(es.top||0)+window.scrollY;return el.createElement(Eb,{zIndex:null==i?ei:i},el.createElement(a,E_({left:s,top:l},o)))}},[er,ei,es.left,es.top]),{containerRef:ea,containerBounds:es,forceRefreshBounds:eu,TooltipInPortal:ec}),N=P.containerRef,R=P.TooltipInPortal,D=P.forceRefreshBounds,L=(0,el.useCallback)(function(e){var t;N(null!=(t=null==e?void 0:e.parentElement)?t:null)},[N]),F=null!=M&&M.tooltipOpen?o(EO({},M,{colorScale:E})):null,I=(null==M?void 0:M.tooltipOpen)&&null!=F,z=(0,el.useRef)(!1);(0,el.useEffect)(function(){I&&!z.current&&D(),z.current=I},[I,D]);var V=null==M?void 0:M.tooltipLeft,B=null==M?void 0:M.tooltipTop,Z=C?wv(C):0,U=A?wv(A):0,H=(0,el.useCallback)(function(e,t){var n,r,i=null==T?void 0:T.get(e),o=null==i?void 0:i.xAccessor,a=null==i?void 0:i.yAccessor;return{left:C&&o?null!=(n=Number(C(o(t)))+Z/2)?n:0:void 0,top:A&&a?null!=(r=Number(A(a(t)))+U/2)?r:0:void 0}},[T,Z,U,C,A]),W=null==M?void 0:null==(ef=M.tooltipData)?void 0:ef.nearestDatum,q=null!=(ed=null==W?void 0:W.key)?ed:"";if(I&&W&&(m||y)){var $=H(q,W.datum),Y=$.left,G=$.top;V=m&&wm(Y)?Y:V,B=y&&wm(G)?G:B}var K=[];if(I&&(void 0!==c&&c||h)){var X=Number(null!=(ek=null==i?void 0:i.radius)?ek:4);if(h)Object.values(null!=(ej=null==M?void 0:null==(eS=M.tooltipData)?void 0:eS.datumByKey)?ej:{}).forEach(function(e){var t,n,r,o=e.key,a=e.datum,s=e.index,l=null!=(t=null!=(n=null==E?void 0:E(o))?n:null==k?void 0:null==(r=k.htmlLabel)?void 0:r.color)?t:"#222",u=H(o,a),c=u.left,f=u.top;wm(c)&&wm(f)&&K.push({key:o,color:l,datum:a,index:s,size:X,x:c,y:f,glyphStyle:i,isNearestDatum:!!W&&W.key===o})});else if(W){var Q=H(q,W.datum),J=Q.left,ee=Q.top;if(wm(J)&&wm(ee)){var et,en,er,ei,eo,ea,es,eu,ec,ef,ed,eh,ep,ev,em,eg,ey,eb,ex,ew,e_,eE,ek,ej,eS,eO,eC,eA,eT,eM,eP,eN=null!=(eO=null!=(eC=null!=(eA=null!=(eT=q&&(null==E?void 0:E(q)))?eT:null)?eA:null==k?void 0:null==(eM=k.gridStyles)?void 0:eM.stroke)?eC:null==k?void 0:null==(eP=k.htmlLabel)?void 0:eP.color)?eO:"#222";K.push({key:q,color:eN,datum:W.datum,index:W.index,size:X,x:J,y:ee,glyphStyle:i,isNearestDatum:!0})}}}return el.createElement(el.Fragment,null,el.createElement("svg",{ref:L,style:EA}),I&&el.createElement(el.Fragment,null,void 0!==p&&p&&el.createElement(R,{className:"visx-crosshair visx-crosshair-vertical",left:V,top:null==O?void 0:O.top,offsetLeft:0,offsetTop:0,detectBounds:!1,style:EC},el.createElement("svg",{width:"1",height:j,overflow:"visible"},el.createElement("line",EO({x1:0,x2:0,y1:0,y2:j,strokeWidth:1.5,stroke:null!=(eh=null!=(ep=null==k?void 0:null==(ev=k.gridStyles)?void 0:ev.stroke)?ep:null==k?void 0:null==(em=k.htmlLabel)?void 0:em.color)?eh:"#222"},b)))),void 0!==f&&f&&el.createElement(R,{className:"visx-crosshair visx-crosshair-horizontal",left:null==O?void 0:O.left,top:B,offsetLeft:0,offsetTop:0,detectBounds:!1,style:EC},el.createElement("svg",{width:S,height:"1",overflow:"visible"},el.createElement("line",EO({x1:0,x2:S,y1:0,y2:0,strokeWidth:1.5,stroke:null!=(eg=null!=(ey=null==k?void 0:null==(eb=k.gridStyles)?void 0:eb.stroke)?ey:null==k?void 0:null==(ex=k.htmlLabel)?void 0:ex.color)?eg:"#222"},r)))),K.map(function(e,t){var n=e.x,r=e.y,i=ES(e,Ej);return el.createElement(R,{key:t,className:"visx-tooltip-glyph",left:n,top:r,offsetLeft:0,offsetTop:0,detectBounds:!1,style:EC},el.createElement("svg",{overflow:"visible"},s(EO({x:0,y:0},i))))}),el.createElement(R,EO({left:V,top:B,style:EO({},mx,{background:null!=(ew=null==k?void 0:k.backgroundColor)?ew:"white",boxShadow:"0 1px 2px "+(null!=k&&null!=(e_=k.htmlLabel)&&e_.color?(null==k?void 0:null==(eE=k.htmlLabel)?void 0:eE.color)+"55":"#22222255")},null==k?void 0:k.htmlLabel)},w),F)))}function EN(e){var t=(0,el.useContext)(wz);return null!=t&&t.tooltipOpen?el.createElement(EP,e):null}function ER(e){var t=e.children,n=(0,el.useMemo)(function(){var e;return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r&&r.push(n)||e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map(function(e){e(n)}),(e.get("*")||[]).slice().map(function(e){e(t,n)})}}},[]);return el.createElement(wV.Provider,{value:n},t)}function ED(){return(ED=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(t,mm)),{tooltipOpen:!0})}:{tooltipOpen:!0,tooltipLeft:e.tooltipLeft,tooltipTop:e.tooltipTop,tooltipData:e.tooltipData})},[r]),o=(0,el.useCallback)(function(){return r({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0})},[r]),{tooltipOpen:n.tooltipOpen,tooltipLeft:n.tooltipLeft,tooltipTop:n.tooltipTop,tooltipData:n.tooltipData,updateTooltip:r,showTooltip:i,hideTooltip:o}),c=u.tooltipOpen,f=u.tooltipLeft,d=u.tooltipTop,h=u.tooltipData,p=u.updateTooltip,v=u.hideTooltip,m=(0,el.useRef)(null),g=(0,el.useRef)(function(e){var t=e.svgPoint,n=e.index,r=e.key,i=e.datum,o=e.distanceX,a=e.distanceY;m.current&&(m.current.cancel(),m.current=null);var s=Math.sqrt(Math.pow(wm(o)?o:1/0,2)+Math.pow(wm(a)?a:1/0,2));p(function(e){var o,a,l,u=e.tooltipData,c=null!=u&&u.nearestDatum&&wm(u.nearestDatum.distance)?u.nearestDatum.distance:1/0;return{tooltipOpen:!0,tooltipLeft:null==t?void 0:t.x,tooltipTop:null==t?void 0:t.y,tooltipData:{nearestDatum:(null!=(o=null==u?void 0:null==(a=u.nearestDatum)?void 0:a.key)?o:"")!==r&&c0&&i>0&&g({width:p,height:i,margin:s})},[g,p,i,s]);var x=wZ({source:wI});return(w0({dataKey:"nearest"===(void 0===d?"nearest":d)?wJ:wQ,onPointerMove:l,onPointerOut:u,onPointerUp:c,onPointerDown:f,allowedSources:EG}),g)?null==p||null==i?el.createElement(g$.Z,null,function(t){return el.createElement(EK,E$({},e,{width:null==e.width?t.width:e.width,height:null==e.height?t.height:e.height}))}):null==y?el.createElement(EL,null,el.createElement(EK,e)):null==b?el.createElement(ER,null,el.createElement(EK,e)):p>0&&i>0?el.createElement("svg",{width:p,height:i,"aria-label":void 0===t?"XYChart":t},r,(void 0===n||n)&&el.createElement("rect",E$({x:s.left,y:s.top,width:p-s.left-s.right,height:i-s.top-s.bottom,fill:"transparent"},x))):null:v&&m?el.createElement(Eq,{xScale:v,yScale:m,theme:h,initialDimensions:{width:p,height:i,margin:s},horizontal:o},el.createElement(EK,e)):(console.warn("[@visx/xychart] XYChart: When no DataProvider is available in context, you must pass xScale & yScale config to XYChart."),null)}function EX(e){return el.createElement(w9,e)}function EQ(e){return el.createElement(_w,e)}function EJ(){return(EJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function E5(e){var t=e.bars,n=(e.horizontal,e.xScale,e.yScale,e.radius),r=e.radiusAll,i=e.radiusTop,o=e.radiusRight,a=e.radiusBottom,s=e.radiusLeft,l=E3(e,E1),u=Boolean(l.onFocus||l.onBlur);return el.createElement(el.Fragment,null,t.map(function(e){var t=e.key,c=E3(e,E2);return null==n?el.createElement("rect",E4({key:t,className:"visx-bar",tabIndex:u?0:void 0},c,l)):el.createElement(_R.Z,E4({key:t,className:"visx-bar",tabIndex:u?0:void 0,radius:n,all:r,top:i,right:o,bottom:a,left:s},c,l))}))}function E6(){return(E6=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,E7);return el.createElement(_K,E9({},n,{colorAccessor:t,BarsComponent:E5}))};function kt(){return(kt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr(e),className:"flex flex-col gap-1",children:[(0,es.jsx)(hi,{value:"line",children:"Line"}),(0,es.jsx)(hi,{disabled:d||h,value:"areastack",children:"Area Stack"}),(0,es.jsx)(hi,{disabled:d||h,value:"barstack",children:"Bar Stack"}),(0,es.jsx)(hi,{disabled:d,value:"area",children:"Area"}),(0,es.jsx)(hi,{disabled:d,value:"bargroup",children:"Bar Group"})]})]}),(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,es.jsx)(nj,{weight:"semibold",children:"Stack series offset"}),(0,es.jsxs)(ho,{value:l,onValueChange:e=>u(e),className:"flex flex-col gap-1",children:[(0,es.jsxs)(hi,{disabled:!s,value:"none",children:["Auto",(0,es.jsx)(hz,{children:"zero-baseline"})]}),(0,es.jsxs)(hi,{disabled:!s,value:"expand",children:["Expand",(0,es.jsx)(hz,{children:"values sum to 1"})]}),(0,es.jsxs)(hi,{disabled:!s,value:"wiggle",children:["Wiggle",(0,es.jsx)(hz,{children:"stream graph"})]})]})]}),(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,es.jsx)(nj,{weight:"semibold",children:"Curve shape"}),(0,es.jsxs)(ho,{value:i,onValueChange:e=>o(e),className:"flex flex-col gap-1",children:[(0,es.jsx)(hi,{disabled:!a,value:"linear",children:"Linear"}),(0,es.jsx)(hi,{disabled:!a,value:"cardinal",children:"Cardinal"}),(0,es.jsx)(hi,{disabled:!a,value:"step",children:"Step"})]})]}),(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,es.jsx)(nj,{weight:"semibold",children:"Axes"}),(0,es.jsx)("div",{className:"flex flex-col gap-6",children:(0,es.jsxs)(ho,{value:c,onValueChange:e=>f(e),className:"flex flex-col gap-1",children:[(0,es.jsx)(hi,{value:"bottom",children:"Bottom"}),(0,es.jsx)(hi,{value:"top",children:"Top"})]})})]})]})})}function kd(e){let{className:t}=e;return(0,es.jsxs)("div",{className:(0,eY.cx)("flex gap-1",t),children:[(0,es.jsx)(kh,{}),(0,es.jsx)(kh,{}),(0,es.jsx)(kh,{})]})}function kh(){return(0,es.jsx)("div",{className:"w-1 h-1 bg-slate-400 dark:bg-slate-200 rounded-full animate-pulselight [&:nth-child(2)]:animation-delay-500 [&:nth-child(3)]:animation-delay-1000"})}function kp(e){let{id:t,height:n,data:r,config:i,actionsLeft:o,isLoading:a,actionsRight:s,chartType:l="areastack",curveType:u="linear",stackOffset:c="none",variant:f="panel",allowConfiguration:d=!0}=e,h=function(e,t,n,r,i,o){let a=(0,el.useMemo)(()=>{if(t.sort((e,t)=>e.timestamp>t.timestamp?1:-1),0===t.length)return[];let e=t[t.length-1];return[...t,{...e,timestamp:e.timestamp+kc(1)}]},[t]),s=(0,el.useMemo)(()=>{if(a.length<2)return 0;let e=[a[0].timestamp,a[a.length-1].timestamp],t=new Date().getTime();return t>e[0]&&t"dark"===c?yc:yu,[c]),[d,h]=(0,el.useState)("center"),[p,v]=(0,el.useState)([!1,!1]),[m,g]=p,[y,b]=(0,el.useState)("bottom"),[x,w]=(0,el.useState)("right"),[_,E]=(0,el.useState)(!0),[k,j]=(0,el.useState)(!0),[S,O]=(0,el.useState)(!1),[C,A]=(0,el.useState)(!0),[T,M]=(0,el.useState)(!0),[P,N]=(0,el.useState)(r),[R,D]=(0,el.useState)(i),[L,F]=(0,el.useState)(o),I=f.xyChartTheme.gridStyles.stroke,[z,V]=(0,el.useState)(!1),[B,Z]=(0,el.useState)("star"),U=(0,el.useCallback)(e=>{let{x:t,y:n,size:r,color:i,onPointerMove:o,onPointerOut:a,onPointerUp:s,isNearestDatum:l}=e,u={onPointerMove:o,onPointerOut:a,onPointerUp:s};return"star"===B?(0,es.jsx)(g2,{left:t,top:n,stroke:I,fill:i,size:10*r,...u}):"circle"===B?(0,es.jsx)(g5,{left:t,top:n,stroke:I,fill:i,r:r,...u}):"cross"===B?(0,es.jsx)(g9,{left:t,top:n,stroke:I,fill:i,size:10*r,...u}):(0,es.jsx)("text",{x:t,y:n,dx:"-0.75em",dy:"0.25em",fontSize:14,...u,children:l?"\uD83C\uDF4D":"\uD83C\uDF4C"})},[B,I]),H=(0,el.useMemo)(()=>Object.keys((0,m8.omit)(t[0],"timestamp")),[t]),W=(0,el.useMemo)(()=>n.enabledGraph||H,[H,n]),q=(0,el.useMemo)(()=>n.enabledTip||H,[H,n]),$=(0,el.useMemo)(()=>({x:H.reduce((e,t)=>({...e,[t]:e=>e.timestamp}),{}),y:H.reduce((e,t)=>({...e,[t]:e=>e[t]}),{}),date:e=>e.timestamp}),[H]),Y=["line","area","areastack"].includes(P),G=["barstack","areastack"].includes(P),K=(0,el.useMemo)(()=>({x:{type:"band",paddingInner:Y?1:.3},y:{type:"linear"}}),[Y]),X=(0,el.useMemo)(()=>"cardinal"===R&&ye.ZP||"step"===R&&m9.ZP||yt.Z,[R]),Q=(0,el.useMemo)(()=>({top:30,bottom:"top"===y?0:20,left:0,right:0}),[y]);return{id:e,accessors:$,animationTrajectory:d,config:n,scales:K,data:a,curve:X,chartData:t,numTicks:4,isLine:Y,isStack:G,todayOffset:s,initialChartType:r,chartType:P,curveType:R,keys:H,enabledGraph:W,enabledTip:q,renderBarGroup:"bargroup"===P,renderBarStack:"barstack"===P,enableTooltipGlyph:z,renderTooltipGlyph:U,renderAreaSeries:"area"===P,renderAreaStack:"areastack"===P,renderLineSeries:"line"===P,sharedTooltip:T,showGridColumns:g,showGridRows:m,showHorizontalCrosshair:S,showTooltip:_,showVerticalCrosshair:k,snapTooltipToDatum:!G&&C,stackOffset:L,theme:f,margin:Q,xAxisOrientation:y,yAxisOrientation:x,setUseAnimatedComponents:u,setAnimationTrajectory:h,setGridProps:v,setXAxisOrientation:b,setYAxisOrientation:w,setShowTooltip:E,setShowVerticalCrosshair:j,setShowHorizontalCrosshair:O,setSnapTooltipToDatum:A,setSharedTooltip:M,setChartType:N,setCurveType:D,setStackOffset:F,setEnableTooltipGlyph:V,setTooltipGlyphComponent:Z,...l?{Annotation:wj,AreaSeries:_t,AreaStack:_E,Axis:_A,BarGroup:_q,BarSeries:_J,BarStack:_3,GlyphSeries:_9,Grid:Es,LineSeries:Eh,Tooltip:EN,XYChart:EK}:{AreaSeries:EX,AreaStack:EQ,Axis:E0,BarGroup:E8,BarSeries:ke,BarStack:kn,Grid:ka,LineSeries:ks,Tooltip:EN,XYChart:EK}}}(t,r,i,l,u,c),p=(0,es.jsxs)(es.Fragment,{children:[(0,es.jsxs)("div",{className:"flex gap-2 absolute top-3 right-4",children:[s,"panel"===f&&d&&(0,es.jsx)(kf,{...h})]}),(0,es.jsx)("div",{className:"flex gap-2 absolute top-3 left-4",children:o}),(0,es.jsx)(g$.Z,{children:e=>{let{width:t,height:n}=e;return a?(0,es.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,es.jsx)(kd,{className:"scale-150"})}):(0,es.jsx)(gY,{...h,width:t,height:n})}})]});return"panel"===f?(0,es.jsx)(nC,{className:"relative p-px",style:{height:n},children:p}):(0,es.jsx)("div",{className:"relative p-px",style:{height:n},children:p})}var kv=["children"],km=el.forwardRef(function(e,t){var n=e.children,r=l9(e,kv);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),jp||(jp=el.createElement("path",{d:"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z"})),jv||(jv=el.createElement("path",{d:"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z"})),n)});/*! ***************************************************************************** +Defaulting to \`null\`.`) + } + }; let dF = (0, el.forwardRef)((e, t) => { var n; let { __scopeProgress: r, ...i } = e, o = dD("ProgressIndicator", r); return (0, el.createElement)(eg.WV.div, (0, ec.Z)({ "data-state": dz(o.value, o.max), "data-value": null !== (n = o.value) && void 0 !== n ? n : void 0, "data-max": o.max }, i, { ref: t })) }); function dI(e, t) { return `${Math.round(e / t * 100)}%` } function dz(e, t) { return null == e ? "indeterminate" : e === t ? "complete" : "loading" } function dV(e) { return "number" == typeof e } function dB(e) { return dV(e) && !isNaN(e) && e > 0 } function dZ(e, t) { return dV(e) && !isNaN(e) && e <= t && e >= 0 } let dU = (0, eY.j)(["relative h-1 w-full overflow-hidden rounded-lg"], { variants: { variant: { gray: "bg-gray-700 dark:bg-graydark-700", accent: "bg-green-600 dark:bg-green-500" } }, defaultVariants: { variant: "gray" } }), dH = el.forwardRef((e, t) => { let { label: n, variant: r, className: i, value: o, max: a = 100, ...s } = e, l = null != o ? Math.round(o / a * 100) : null; return (0, es.jsxs)("div", { className: "flex flex-col gap-1 w-full", children: [(0, es.jsx)(dL, { ...s, ref: t, value: o, max: a, className: dU({ variant: r, className: i }), children: (0, es.jsx)(dF, { className: "absolute top-0 right-0 left-0 bottom-0 w-full bg-gray-300 dark:bg-graydark-300 transition-transform", style: { transform: "translateX(".concat(l, "%)") } }) }), n && (0, es.jsx)(nj, { color: "subtle", size: "12", ellipsis: !0, children: n })] }) }); function dW(e) { let t = (0, el.useRef)({ value: e, previous: e }); return (0, el.useMemo)(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]) } let dq = "Radio", [d$, dY] = (0, ef.b)(dq), [dG, dK] = d$(dq), dX = (0, el.forwardRef)((e, t) => { let { __scopeRadio: n, "aria-labelledby": r, name: i, checked: o = !1, required: a, disabled: s, value: l = "on", onCheck: u, ...c } = e, [f, d] = (0, el.useState)(null), h = (0, ed.e)(t, e => d(e)), p = di(f), v = (0, el.useRef)(!1), m = !f || Boolean(f.closest("form")); return (0, el.createElement)(dG, { scope: n, checked: o, disabled: s }, (0, el.createElement)(eg.WV.button, (0, ec.Z)({ type: "button", role: "radio", "aria-checked": o, "aria-labelledby": r || p, "data-state": d0(o), "data-disabled": s ? "" : void 0, disabled: s, value: l }, c, { ref: h, onClick: (0, ev.M)(e.onClick, e => { o || null == u || u(), m && (v.current = e.isPropagationStopped(), v.current || e.stopPropagation()) }) })), m && (0, el.createElement)(dJ, { control: f, bubbles: !v.current, name: i, value: l, checked: o, required: a, disabled: s, style: { transform: "translateX(-100%)" } })) }), dQ = (0, el.forwardRef)((e, t) => { let { __scopeRadio: n, forceMount: r, ...i } = e, o = dK("RadioIndicator", n); return (0, el.createElement)(eb.z, { present: r || o.checked }, (0, el.createElement)(eg.WV.span, (0, ec.Z)({ "data-state": d0(o.checked), "data-disabled": o.disabled ? "" : void 0 }, i, { ref: t }))) }), dJ = e => { let { control: t, checked: n, bubbles: r = !0, ...i } = e, o = (0, el.useRef)(null), a = dW(n), s = tU(t); return (0, el.useEffect)(() => { let e = o.current, t = window.HTMLInputElement.prototype, i = Object.getOwnPropertyDescriptor(t, "checked"), s = i.set; if (a !== n && s) { let l = new Event("click", { bubbles: r }); s.call(e, n), e.dispatchEvent(l) } }, [a, n, r]), (0, el.createElement)("input", (0, ec.Z)({ type: "radio", "aria-hidden": !0, defaultChecked: n }, i, { tabIndex: -1, ref: o, style: { ...e.style, ...s, position: "absolute", pointerEvents: "none", opacity: 0, margin: 0 } })) }; function d0(e) { return e ? "checked" : "unchecked" } let d1 = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], d2 = "RadioGroup", [d4, d3] = (0, ef.b)(d2, [cV, dY]), d5 = cV(), d6 = dY(), [d8, d7] = d4(d2), d9 = (0, el.forwardRef)((e, t) => { let { __scopeRadioGroup: n, name: r, "aria-labelledby": i, defaultValue: o, value: a, required: s = !1, orientation: l, dir: u, loop: c = !0, onValueChange: f, ...d } = e, h = di(), p = d5(n), v = uQ(u), [m, g] = (0, em.T)({ prop: a, defaultProp: o, onChange: f }); return (0, el.createElement)(d8, { scope: n, name: r, required: s, value: m, onValueChange: g }, (0, el.createElement)(cU, (0, ec.Z)({ asChild: !0 }, p, { orientation: l, dir: v, loop: c }), (0, el.createElement)(eg.WV.div, (0, ec.Z)({ role: "radiogroup", "aria-required": s, "aria-orientation": l, "aria-labelledby": i || h, dir: v }, d, { ref: t })))) }), he = (0, el.forwardRef)((e, t) => { let { __scopeRadioGroup: n, disabled: r, ...i } = e, o = d7("RadioGroupItem", n), a = d5(n), s = d6(n), l = (0, el.useRef)(null), u = (0, ed.e)(t, l), c = o.value === i.value, f = (0, el.useRef)(!1); return (0, el.useEffect)(() => { let e = e => { d1.includes(e.key) && (f.current = !0) }, t = () => f.current = !1; return document.addEventListener("keydown", e), document.addEventListener("keyup", t), () => { document.removeEventListener("keydown", e), document.removeEventListener("keyup", t) } }, []), (0, el.createElement)(cW, (0, ec.Z)({ asChild: !0 }, a, { focusable: !r, active: c }), (0, el.createElement)(dX, (0, ec.Z)({ disabled: r, required: o.required, checked: c }, s, i, { name: o.name, ref: u, onCheck: () => o.onValueChange(i.value), onKeyDown: (0, ev.M)(e => { "Enter" === e.key && e.preventDefault() }), onFocus: (0, ev.M)(i.onFocus, () => { var e; f.current && (null === (e = l.current) || void 0 === e || e.click()) }) }))) }), ht = (0, el.forwardRef)((e, t) => { let { __scopeRadioGroup: n, ...r } = e, i = d6(n); return (0, el.createElement)(dQ, (0, ec.Z)({}, i, r, { ref: t })) }), hn = (0, eY.j)(["relative flex items-center h-full justify-center w-full", 'after:content-[""] after:block after:rounded-full after:bg-green-600 after:dark:bg-green-500'], { variants: { size: { small: "after:w-2 after:h-2 ", medium: "after:w-4 after:h-4" } }, defaultVariants: { size: "small" } }), hr = (0, eY.j)(["select-none", "inline-flex items-center justify-center", "m-0 p-0", "outline-none", "rounded-full", "overflow-hidden", "focus:ring ring-blue-500 dark:ring-blue-200", "bg-white dark:bg-graydark-200", "border border-gray-500 dark:border-graydark-400", "enabled:hover:border-gray-700 enabled:hover:dark:border-graydark-600", "text-gray-1100 dark:text-white", "disabled:text-gray-600 disabled:dark:text-graydark-400", "disabled:bg-gray-200 disabled:dark:bg-graydark-200"], { variants: { size: { small: "w-4 h-4", medium: "w-6 h-6" } }, defaultVariants: { size: "small" } }), hi = el.forwardRef((e, t) => { let { size: n, className: r, children: i, ...o } = e; return (0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(he, { ...o, className: hr({ size: n, className: r }), ref: t, children: (0, es.jsx)(ht, { className: hn({ size: n }) }) }), (0, es.jsx)(nj, { size: "14", className: "relative top-px flex items-center", color: o.disabled ? "verySubtle" : "subtle", children: i })] }) }), ho = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)(d9, { ...r, className: (0, eY.cx)("flex gap-2", n), ref: t }) }); (0, eY.j)(["relative appearance-none outline-none", "p-2 m-0 w-full", "min-h-[80px]", nk(), "tabular-nums", "resize-y", "rounded", "focus:ring ring-blue-500 dark:ring-blue-200", "text-gray-1100 dark:text-white", "placeholder:text-gray-600 placeholder:dark:text-graydark-500", "disabled:text-gray-400 disabled:dark:text-graydark-400"], { variants: { size: { small: "h-7 text-sm px-2", medium: "h-10 text-base px-3", large: "h-12 text-lg px-3" }, variant: { default: ["border", "bg-white dark:bg-graydark-50", "autofill:bg-blue-100 autofill:dark:bg-blue-800"], ghost: "bg-transparent" }, state: { default: ["border-gray-400 dark:border-graydark-400", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"], invalid: ["border-red-500 dark:border-red-400"], valid: ["border-green-500 dark:border-green-400"] }, cursor: { default: "", text: "cursor-text" } }, defaultVariants: { size: "small", variant: "default", cursor: "default", state: "default" } }); let ha = (0, eY.j)(["font-sans [type=number]:font-mono", "outline-none m-0 p-0 w-full", "disabled:pointer-events-none", "tabular-nums", "rounded", "text-gray-1100 dark:text-white", "autofill:text-fill-gray-1100 autofill:dark:text-fill-white", "autofill:placeholder:text-fill-gray-700 autofill:placeholder:dark:text-fill-graydark-700", "placeholder:text-gray-700 placeholder:dark:text-graydark-700", "disabled:text-gray-400 disabled:dark:text-graydark-400"], { variants: { size: { small: "h-7 text-sm px-2", medium: "h-10 text-base px-3", large: "h-12 text-lg px-3" }, variant: { default: ["border", "bg-white dark:bg-graydark-50", "autofill:bg-white autofill:dark:bg-graydark-50", "autofill:shadow-fill-white autofill:dark:shadow-fill-graydark-50"], ghost: "bg-transparent" }, state: { default: ["border-gray-400 dark:border-graydark-400", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"], invalid: ["border-red-500 dark:border-red-400"], valid: ["border-green-500 dark:border-green-400"] }, focus: { default: ["focus:ring ring-blue-500 dark:ring-blue-200", "focus:z-10"], none: "" }, cursor: { default: "", text: "cursor-text" }, noSpin: { true: "[&::-webkit-outer-spin-button, &::-webkit-inner-spin-button]:appearance-none" } }, defaultVariants: { size: "small", focus: "default", variant: "default", cursor: "default", state: "default" } }), hs = el.forwardRef((e, t) => { let { variant: n, size: r, state: i, noSpin: o, cursor: a, focus: s, className: l, ...u } = e; return (0, es.jsx)("input", { ref: t, className: ha({ variant: n, size: r, state: i, noSpin: o, cursor: a, focus: s, className: l }), ...u }) });/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -57,7 +64,22 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */function kg(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function ky(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||jM,jN=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,jR=/\/\*[^]*?\*\/|\s\s+|\n/g,jD=(e,t)=>{let n="",r="",i="";for(let o in e){let a=e[o];"@"==o[0]?"i"==o[1]?n=o+" "+a+";":r+="f"==o[1]?jD(a,o):o+"{"+jD(a,"k"==o[1]?"":t)+"}":"object"==typeof a?r+=jD(a,t?t.replace(/([^,])+/g,e=>o.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=a&&(o=o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=jD.p?jD.p(o,a):o+":"+a+";")}return n+(t&&i?t+"{"+i+"}":i)+r},jL={},jF=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+jF(e[n]);return t}return e},jI=(e,t,n,r,i)=>{var o,a;let s=jF(e),l=jL[s]||(jL[s]=(e=>{let t=0,n=11;for(;t>>0;return"go"+n})(s));if(!jL[l]){let u=s!==e?e:(e=>{let t,n=[{}];for(;t=jN.exec(e.replace(jR,""));)t[4]?n.shift():t[3]?n.unshift(n[0][t[3]]=n[0][t[3]]||{}):n[0][t[1]]=t[2];return n[0]})(e);jL[l]=jD(i?{["@keyframes "+l]:u}:u,n?"":"."+l)}return o=jL[l],-1==(a=t).data.indexOf(o)&&(a.data=r?o+a.data:a.data+o),l},jz=(e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let a=o(n),s=a&&a.props&&a.props.className||/^go/.test(a)&&a;o=s?"."+s:a&&"object"==typeof a?a.props?"":jD(a,""):!1===a?"":a}return e+r+(null==o?"":o)},"");function jV(e){let t=this||{},n=e.call?e(t.p):e;return jI(n.unshift?n.raw?jz(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,jP(t.target),t.g,t.o,t.k)}jV.bind({g:1});let jB,jZ,jU,jH=jV.bind({k:1});function jW(e,t){let n=this||{};return function(){let r=arguments;function i(o,a){let s=Object.assign({},o),l=s.className||i.className;n.p=Object.assign({theme:jZ&&jZ()},s),n.o=/ *go\d+/.test(l),s.className=jV.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);let u=e;return e[0]&&(u=s.as||e,delete s.as),jU&&u[0]&&jU(s),jB(u,s)}return t?t(i):i}}function jq(){return(jq=Object.assign||function(e){for(var t=1;t-1&&j1.splice(e,1)}},[n]);var i=n.toasts.map(function(t){var n,r,i;return jq({},e,e[t.type],t,{duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==(r=e)?void 0:r.duration)||j3[t.type],style:jq({},e.style,null==(i=e[t.type])?void 0:i.style,t.style)})});return jq({},n,{toasts:i})},j6=function(e){return function(t,n){var r,i=(void 0===(r=e)&&(r="blank"),jq({createdAt:Date.now(),visible:!0,type:r,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0},n,{id:(null==n?void 0:n.id)||jG()}));return j4({type:g.UPSERT_TOAST,toast:i}),i.id}},j8=function(e,t){return j6("blank")(e,t)};j8.error=j6("error"),j8.success=j6("success"),j8.loading=j6("loading"),j8.custom=j6("custom"),j8.dismiss=function(e){j4({type:g.DISMISS_TOAST,toastId:e})},j8.remove=function(e){return j4({type:g.REMOVE_TOAST,toastId:e})},j8.promise=function(e,t,n){var r=j8.loading(t.loading,jq({},n,null==n?void 0:n.loading));return e.then(function(e){return j8.success(jY(t.success,e),jq({id:r},n,null==n?void 0:n.success)),e}).catch(function(e){j8.error(jY(t.error,e),jq({id:r},n,null==n?void 0:n.error))}),e};var j7=function(e){var t=j5(e),n=t.toasts,r=t.pausedAt;(0,el.useEffect)(function(){if(!r){var e=Date.now(),t=n.map(function(t){if(t.duration!==1/0){var n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(n<0){t.visible&&j8.dismiss(t.id);return}return setTimeout(function(){return j8.dismiss(t.id)},n)}});return function(){t.forEach(function(e){return e&&clearTimeout(e)})}}},[n,r]);var i=(0,el.useMemo)(function(){return{startPause:function(){j4({type:g.START_PAUSE,time:Date.now()})},endPause:function(){r&&j4({type:g.END_PAUSE,time:Date.now()})},updateHeight:function(e,t){return j4({type:g.UPDATE_TOAST,toast:{id:e,height:t}})},calculateOffset:function(e,t){var r,i=t||{},o=i.reverseOrder,a=i.gutter,s=void 0===a?8:a,l=i.defaultPosition,u=n.filter(function(t){return(t.position||l)===(e.position||l)&&t.height}),c=u.findIndex(function(t){return t.id===e.id}),f=u.filter(function(e,t){return t * {\n pointer-events: auto;\n }\n"]);return SP=function(){return e},e}c=el.createElement,jD.p=void 0,jB=c,jZ=void 0,jU=void 0;var SN=function(e,t){var n=e.includes("top"),r=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return jq({left:0,right:0,display:"flex",position:"absolute",transition:jK()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:"translateY("+t*(n?1:-1)+"px)"},n?{top:0}:{bottom:0},r)},SR=jV(SP()),SD=function(e){var t=e.reverseOrder,n=e.position,r=void 0===n?"top-center":n,i=e.toastOptions,o=e.gutter,a=e.children,s=e.containerStyle,l=e.containerClassName,u=j7(i),c=u.toasts,f=u.handlers;return(0,el.createElement)("div",{style:jq({position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none"},s),className:l,onMouseEnter:f.startPause,onMouseLeave:f.endPause},c.map(function(e){var n,i=e.position||r,s=SN(i,f.calculateOffset(e,{reverseOrder:t,gutter:o,defaultPosition:r})),l=e.height?void 0:(n=function(t){f.updateHeight(e.id,t.height)},function(e){e&&setTimeout(function(){n(e.getBoundingClientRect())})});return(0,el.createElement)("div",{ref:l,className:e.visible?SR:"",key:e.id,style:s},"custom"===e.type?jY(e.message,e):a?a(e):(0,el.createElement)(SM,{toast:e,position:i}))}))};let SL=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j8((0,es.jsx)(nj,{wrapEllipsis:!0,children:"string"==typeof e&&e.length>200?"".concat(e.slice(0,200)):e}),Sz(t))},SF=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j8.success((0,es.jsx)(nj,{wrapEllipsis:!0,children:"string"==typeof e&&e.length>200?"".concat(e.slice(0,200),"..."):e}),Sz(t))},SI=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j8.error((0,es.jsx)(nj,{wrapEllipsis:!0,children:"string"==typeof e&&e.length>200?"".concat(e.slice(0,200),"..."):e}),Sz(t))};function Sz(){let{className:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{position:"top-center",duration:6e3,className:(0,eY.cx)(lB,nO(),"font-sans font-normal","text-gray-1100 dark:text-white","max-w-[800px] overflow-hidden text-ellipsis","[&>div]:overflow-hidden","[&>div]:flex-1",e),success:{icon:(0,es.jsx)("div",{className:"!flex-none w-5",children:(0,es.jsx)(u$,{className:"w-5 text-green-600"})})},error:{icon:(0,es.jsx)("div",{className:"!flex-none w-5",children:(0,es.jsx)(uK,{className:"w-5 text-red-600"})})},...t}}function SV(){return(0,es.jsx)(SD,{toastOptions:Sz()})}let SB=(e,t)=>{SL(t?"Copied ".concat(t," to clipboard"):"Copied to clipboard"),function(e){kg(this,void 0,void 0,function(){return ky(this,function(t){var n;if(j_)return kb("Using `navigator.clipboard.writeText()`."),[2,j_(e)];if(!function(e){return kg(this,void 0,void 0,function(){var t;return ky(this,function(n){var r,i,o,a,s,l,u,c;if(t="text/plain"in e,"undefined"==typeof ClipboardEvent&&void 0!==jk.clipboardData&&void 0!==jk.clipboardData.setData){if(!t)throw Error("No `text/plain` value was specified.");if(r=e["text/plain"],jk.clipboardData.setData("Text",r))return[2,!0];throw Error("Copying failed, possibly because the user rejected it.")}return jO(e)?(kb("regular execCopy worked"),[2,!0]):navigator.userAgent.indexOf("Edge")>-1?(kb('UA "Edge" => assuming success'),[2,!0]):jC(document.body,e)?(kb("copyUsingTempSelection worked"),[2,!0]):((i=document.createElement("div")).setAttribute("style","-webkit-user-select: text !important"),i.textContent="temporary element",document.body.appendChild(i),o=jC(i,e),document.body.removeChild(i),o)?(kb("copyUsingTempElem worked"),[2,!0]):(a=e["text/plain"],kb("copyTextUsingDOM"),(s=document.createElement("div")).setAttribute("style","-webkit-user-select: text !important"),l=s,s.attachShadow&&(kb("Using shadow DOM."),l=s.attachShadow({mode:"open"})),(u=document.createElement("span")).innerText=a,l.appendChild(u),document.body.appendChild(s),jA(u),c=document.execCommand("copy"),jT(),document.body.removeChild(s),c)?(kb("copyTextUsingDOM worked"),[2,!0]):[2,!1]})})}(((n={})["text/plain"]=e,n)))throw Error("writeText() failed");return[2]})})}(e)};function SZ(e,t){return e?t&&e.length>t?"".concat(e.slice(0,t),"..."):"".concat(e.slice(0,t)):""}function SU(e){return(e||"").replace(/^addr:/,"").replace(/^txid:/,"").replace(/^fcid:/,"").replace(/^h:/,"").replace(/^scoid:/,"").replace(/^key:/,"")}function SH(e,t,n){return t?"".concat(e," ").concat(SZ(t,n)):"".concat(e)}function SW(e,t){return"miner"===t?"minerPayout":"siafundClaim"===t?"siafundClaim":"contract"===t?"contractPayout":"foundation"===t?"foundationSubsidy":e.storageProofs&&e.storageProofs.length>0?"storageProof":e.fileContracts&&e.fileContracts.length>0&&e.fileContractRevisions&&e.fileContractRevisions.length>0?"contractRenewal":e.fileContractRevisions&&e.fileContractRevisions.length>0?"contractRevision":e.fileContracts&&e.fileContracts.length>0?"contractFormation":e.arbitraryData&&e.arbitraryData.length>0&&0===atob(e.arbitraryData[0]).indexOf("HostAnnouncement")?"hostAnnouncement":e.siafundOutputs&&e.siafundOutputs.length>0?"siafund":e.siacoinOutputs&&e.siacoinOutputs.length>0?"siacoin":void 0}let Sq={transaction:"transaction",block:"block",output:"output",address:"address",ip:"IP"},S$={siacoin:"siacoin transfer",siafund:"siafund transfer",contractFormation:"contract formation",contractRenewal:"contract renewal",contractRevision:"contract revision",contractPayout:"contract payout",storageProof:"storage proof",minerPayout:"miner payout",siafundClaim:"siafund claim",foundationSubsidy:"foundation subsidy",hostAnnouncement:"host announcement"},SY={block:"Bk",transaction:"Tx",output:"O",address:"A",ip:"I"};function SG(e){return e?Sq[e]:void 0}function SK(e){return e?S$[e]:void 0}function SX(e){return e?SY[e]:void 0}function SQ(e){let{value:t,displayValue:n,type:r,label:i,href:o,maxLength:a,size:s,scaleSize:l,color:u="contrast",className:c}=e,f=i||SG(r),d=a||("ip"===r?20:12),h=SU(t),p=n||h,v="".concat(null==p?void 0:p.slice(0,d)).concat(((null==p?void 0:p.length)||0)>d?"...":"");return(0,es.jsxs)("div",{className:(0,eY.cx)("flex items-center",c),children:[o?(0,es.jsx)(uc,{href:o,underline:"hover",size:s,scaleSize:l,color:u,ellipsis:!0,children:v}):(0,es.jsx)(nj,{size:s,scaleSize:l,color:u,ellipsis:!0,children:v}),(0,es.jsx)("div",{className:"ml-1 flex items-center",children:(0,es.jsx)(lW,{variant:"ghost",size:"none",onClick:e=>{e.stopPropagation(),SB(h,f)},children:(0,es.jsx)(nj,{color:u,children:(0,es.jsx)(km,{className:"10"===s?"scale-75":"scale-90"})})})})]})}function SJ(e){let{value:t,size:n,scaleSize:r,tooltip:i="",variant:o="change"}=e,a=(0,gB.yF)(String(t),{units:"SF"});return(0,es.jsx)(lU,{content:(i?"".concat(i," "):"")+a,children:(0,es.jsxs)(nj,{size:n,scaleSize:r,weight:"medium",font:"mono",color:"change"===o?t>0?"green":t<0?"red":"subtle":"contrast",children:["change"===o&&t>0?"+":"",a]})})}function S0(e){let{value:t,size:n,scaleSize:r,tooltip:i="",variant:o="change",fixed:a=3,dynamicUnits:s=!0,extendedSuffix:l,showTooltip:u=!0}=e,c=t.isGreaterThan(0)?"+":t.isLessThan(0)?"-":"",f="change"===o?t.isGreaterThan(0)?"green":t.isLessThan(0)?"red":"subtle":"contrast",d=(0,es.jsxs)(nj,{size:n,scaleSize:r,weight:"medium",font:"mono",ellipsis:!0,color:f,children:["change"===o?"".concat(c).concat((0,gB.Vz)(t.absoluteValue(),{fixed:a,dynamicUnits:s})):(0,gB.Vz)(t,{fixed:a,dynamicUnits:s}),(0,es.jsx)(nj,{size:"20",weight:"medium",font:"mono",ellipsis:!0,color:"subtle",children:l?"".concat(l):""})]});return u?(0,es.jsx)(lU,{content:(i?"".concat(i," "):"")+(0,gB.Vz)(t,{fixed:16,dynamicUnits:!1}),children:d}):d}function S1(e){let{value:t,size:n="14",weight:r="semibold",tooltip:i="",variant:o="change",color:a,format:s}=e,l=t.isGreaterThan(0)?"+":t.isLessThan(0)?"-":"",u="change"===o?t.isGreaterThan(0)?"green":t.isLessThan(0)?"red":"subtle":"contrast";return(0,es.jsx)(lU,{content:(i?"".concat(i," "):"")+s(t),children:(0,es.jsx)(nj,{size:n,weight:r,font:"mono",ellipsis:!0,color:a||u,children:"change"===o?"".concat(l).concat(s(t.absoluteValue())):s(t)})})}var S2=n(66700),S4=n(19785);function S3(e,t){(0,S4.Z)(2,arguments);var n=(0,S2.Z)(e),r=(0,S2.Z)(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var S5={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},S6={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function S8(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var S7={date:S8({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:S8({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:S8({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},S9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Oe(e){return function(t,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=i.width?String(i.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,l=i.width?String(i.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function Ot(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var s=a[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var n=0;n0?"in "+r:r+" ago":r},formatLong:S7,formatRelative:function(e,t,n,r){return S9[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Oe({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Oe({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Oe({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Oe({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Oe({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(f={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(f.matchPattern);if(!n)return null;var r=n[0],i=e.match(f.parsePattern);if(!i)return null;var o=f.valueCallback?f.valueCallback(i[0]):i[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(r.length)}}),era:Ot({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ot({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Ot({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Ot({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Ot({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Or(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Oi(e){let{type:t,label:n,initials:r,href:i,shape:o}=e,a=(0,es.jsx)(uC,{interactive:!!i,fallback:r||t&&SX(t),shape:o||(t&&"address"!==t&&"block"!==t?"circle":"square")}),s=i&&(0,es.jsx)(uc,{href:i,children:a}),l=s||a;return t?(0,es.jsx)(lU,{content:n||SG(t),children:(0,es.jsx)("div",{className:"",children:l})}):l}var Oo=["children"],Oa=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Oo);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),y||(y=el.createElement("circle",{cx:"16",cy:"16",r:"8"})),n)});function Os(e){let{title:t,actions:n,entities:r,emptyMessage:i}=e;return(0,es.jsx)(nC,{children:(0,es.jsxs)("div",{className:"flex flex-col rounded overflow-hidden",children:[(t||n)&&(0,es.jsxs)("div",{className:"flex items-center p-4 border-b border-gray-200 dark:border-graydark-300",children:[t&&(0,es.jsx)(us,{size:"20",font:"mono",ellipsis:!0,children:t}),(0,es.jsx)("div",{className:"flex-1"}),n]}),(0,es.jsxs)("div",{className:"flex flex-col rounded overflow-hidden",children:[(null==r?void 0:r.length)===0&&(0,es.jsx)("div",{className:(0,eY.cx)("flex items-center justify-center h-[100px]",Ou()),children:(0,es.jsx)(nj,{size:"18",color:"subtle",children:i||"No results"})}),(null==r?void 0:r.map((e,t)=>{let n=e.sc,r=e.sf,i=e.hash&&(0,es.jsx)(SQ,{value:e.hash,type:e.type,label:e.label,href:e.href,color:"subtle"}),o=e.label||"transaction"===e.type&&e.txType&&SK(e.txType)||SG(e.type),a=(0,m8.upperFirst)(o);return(0,es.jsxs)("div",{className:(0,eY.cx)("flex gap-4 p-4",Ou()),onClick:e.onClick,children:[(0,es.jsx)(Oi,{label:o,type:e.type,shape:e.avatarShape,initials:e.initials||SX(e.type),href:e.href}),(0,es.jsxs)("div",{className:"flex flex-col items-center gap-1 w-full",children:[(0,es.jsxs)("div",{className:"flex gap-2 items-center w-full",children:[(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[e.height&&e.blockHref&&(0,es.jsx)(nj,{color:"subtle",weight:"semibold",children:(0,es.jsx)(uc,{href:e.blockHref,underline:"none",children:(0,gB.yF)(e.height)})}),(0,es.jsx)(nj,{weight:"medium",children:a||i})]}),(0,es.jsx)("div",{className:"flex-1"}),!!n&&(0,es.jsx)(S0,{value:n}),!!r&&(0,es.jsx)(SJ,{value:r})]}),(0,es.jsxs)("div",{className:"flex justify-between w-full",children:[(0,es.jsx)("div",{className:"flex gap-1",children:!!a&&i}),(0,es.jsxs)("div",{className:"flex gap-1 items-center",children:[e.unconfirmed?(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(nj,{color:"verySubtle",children:"unconfirmed"}),e.timestamp?(0,es.jsx)(nj,{color:"verySubtle",children:(0,es.jsx)(Oa,{className:"scale-50"})}):null]}):null,e.timestamp&&(0,es.jsx)(nj,{color:"subtle",children:function(e,t){var n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,S4.Z)(2,arguments);var a=o.locale||On;if(!a.formatDistance)throw RangeError("locale must contain formatDistance property");var s=S3(e,t);if(isNaN(s))throw RangeError("Invalid time value");var l=function(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}({},o);l.addSuffix=Boolean(o.addSuffix),l.comparison=s,s>0?(n=(0,S2.Z)(t),r=(0,S2.Z)(e)):(n=(0,S2.Z)(e),r=(0,S2.Z)(t));var u=function(e,t,n){(0,S4.Z)(2,arguments);var r,i=function(e,t){return(0,S4.Z)(2,arguments),(0,S2.Z)(e).getTime()-(0,S2.Z)(t).getTime()}(e,t)/1e3;return((r=null==n?void 0:n.roundingMethod)?S5[r]:S5.trunc)(i)}(r,n),c=Math.round((u-(Or(r)-Or(n))/1e3)/60);if(c<2){if(o.includeSeconds){if(u<5)return a.formatDistance("lessThanXSeconds",5,l);if(u<10)return a.formatDistance("lessThanXSeconds",10,l);if(u<20)return a.formatDistance("lessThanXSeconds",20,l);if(u<40)return a.formatDistance("halfAMinute",null,l);else if(u<60)return a.formatDistance("lessThanXMinutes",1,l);else return a.formatDistance("xMinutes",1,l)}return 0===c?a.formatDistance("lessThanXMinutes",1,l):a.formatDistance("xMinutes",c,l)}if(c<45)return a.formatDistance("xMinutes",c,l);if(c<90)return a.formatDistance("aboutXHours",1,l);if(c<1440){var f=Math.round(c/60);return a.formatDistance("aboutXHours",f,l)}if(c<2520)return a.formatDistance("xDays",1,l);if(c<43200){var d=Math.round(c/1440);return a.formatDistance("xDays",d,l)}if(c<86400)return i=Math.round(c/43200),a.formatDistance("aboutXMonths",i,l);if((i=function(e,t){(0,S4.Z)(2,arguments);var n,r=(0,S2.Z)(e),i=(0,S2.Z)(t),o=S3(r,i),a=Math.abs(function(e,t){(0,S4.Z)(2,arguments);var n=(0,S2.Z)(e),r=(0,S2.Z)(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,i));if(a<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-o*a);var s=S3(r,i)===-o;(function(e){(0,S4.Z)(1,arguments);var t=(0,S2.Z)(e);return(function(e){(0,S4.Z)(1,arguments);var t=(0,S2.Z)(e);return t.setHours(23,59,59,999),t})(t).getTime()===(function(e){(0,S4.Z)(1,arguments);var t=(0,S2.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t})(t).getTime()})((0,S2.Z)(e))&&1===a&&1===S3(e,i)&&(s=!1),n=o*(a-Number(s))}return 0===n?0:n}(r,n))<12){var h=Math.round(c/43200);return a.formatDistance("xMonths",h,l)}var p=i%12,v=Math.floor(i/12);return p<3?a.formatDistance("aboutXYears",v,l):p<9?a.formatDistance("overXYears",v,l):a.formatDistance("almostXYears",v+1,l)}(new Date(e.timestamp),new Date,{addSuffix:!0})})]})]})]})]},e.hash||e.label||t)}))||(0,es.jsx)(Ol,{})]})]})})}function Ol(){return(0,es.jsx)(es.Fragment,{children:(0,m8.times)(10,e=>(0,es.jsxs)("div",{className:(0,eY.cx)("relative flex gap-4 p-3.5",Ou()),children:[(0,es.jsx)(h4,{className:"w-[60px] h-[50px]"}),(0,es.jsxs)("div",{className:"flex flex-col gap-2 w-full",children:[(0,es.jsx)(h4,{className:"w-[90%] h-[20px]"}),(0,es.jsx)(h4,{className:"w-[140px] h-[14px]"})]})]},e))})}function Ou(){return(0,eY.cx)("border-t border-gray-200 dark:border-graydark-300","first:border-none")}function Oc(e){let{label:t,entityType:n,entityValue:r,actions:i,href:o,value:a,extendedSuffix:s,hash:l,sc:u,sf:c,comment:f,commentTip:d,scaleSize:h="40",isLoading:p,onClick:v}=e,m=(0,es.jsx)(nj,{color:"subtle",size:"12",className:"h-6",children:f});return(0,es.jsx)(nC,{children:(0,es.jsx)("div",{className:(0,eY.cx)("flex items-center py-2 px-4 h-full min-w-[250px]",v?"cursor-pointer":""),onClick:v,children:(0,es.jsxs)("div",{className:"flex flex-col gap-4 flex-wrap items-start w-full",children:[(0,es.jsxs)("div",{className:"flex relative top-px flex-1 w-full gap-6 items-center justify-between",children:[(0,es.jsx)(nj,{color:"subtle",ellipsis:!0,scaleSize:"14",children:"string"==typeof t?(0,m8.upperFirst)(t):t}),i]}),(0,es.jsxs)("div",{className:"flex flex-col items-end md:items-start gap-2 md:flex-2",children:[p?(0,es.jsx)(h4,{className:"h-12 w-[150px]"}):(0,es.jsxs)(es.Fragment,{children:[void 0!==u&&(0,es.jsx)(S0,{extendedSuffix:s,scaleSize:h,variant:"value",value:u,fixed:0}),void 0!==c&&(0,es.jsx)(SJ,{scaleSize:h,variant:"value",value:c}),n&&(r?(0,es.jsx)(SQ,{scaleSize:h,label:SG(n),href:o,value:r,displayValue:"block"===n&&r?Number(r).toLocaleString():r,className:"relative top-0.5"}):(0,es.jsx)(nj,{font:"mono",weight:"medium",scaleSize:h,children:"-"})),l&&(0,es.jsx)(SQ,{scaleSize:h,label:"hash",value:l}),void 0!==a&&(0,es.jsx)(nj,{font:"mono",weight:"medium",scaleSize:h,ellipsis:!0,children:a})]}),m?(0,es.jsx)("div",{className:"mt-1",children:p?(0,es.jsx)("div",{className:"mt-1 h-6 justify-center",children:(0,es.jsx)(h4,{className:"h-4 w-[100px]"})}):d?(0,es.jsx)(lU,{content:d,children:m}):m}):null]})]})})})}function Of(e){let{title:t,actions:n,name:r}=e;return(0,es.jsxs)("div",{className:"flex gap-0.5 items-center",children:[t?(0,es.jsx)(da,{htmlFor:r,noWrap:!0,children:t}):null,n]})}function Od(e){var t;let{form:n,name:r}=e,i=n.formState.errors[r],o=null===(t=n.formState.errors[r])||void 0===t?void 0:t.message;return i?(0,es.jsx)(nj,{size:"14",color:"red",children:o}):null}function Oh(e){let{form:t,title:n,actions:r,name:i,className:o,wrap:a}=e,s=t.formState.errors[i];return n||s?(0,es.jsxs)("div",{className:(0,eY.cx)("flex justify-between items-center gap-x-4 overflow-hidden",a?"flex-wrap":"",o),children:[(0,es.jsx)(Of,{name:i,title:n,actions:r}),(0,es.jsx)(Od,{form:t,name:i})]}):null}function Op(e){let{children:t,...n}=e;return(0,es.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,es.jsx)(Oh,{...n}),t]})}function Ov(e){let{form:t,size:n="medium",variant:r="accent",children:i}=e;return(0,es.jsx)(es.Fragment,{children:(0,es.jsx)(lW,{size:n,variant:r,state:t.formState.isSubmitting?"waiting":void 0,type:"submit",children:t.formState.isSubmitting?(0,es.jsx)(kd,{}):i})})}function Om(e){let{formik:t,title:n,name:r,placeholder:i,disabled:o,readOnly:a,autoComplete:s="off",spellCheck:l=!1,tabIndex:u,allowDecimals:c=!1,decimalsLimitFiat:f=3,decimalsLimitSc:d=3,decimalsLimit:h=2,disableGroupSeparators:p=!1,showFiat:v=!0,units:m,type:g,variants:y}=e;return(0,es.jsx)(Ow,{formik:t,title:n,name:r,children:"number"===g?(0,es.jsx)(Oy,{formik:t,name:r,units:m,disabled:o,readOnly:a,tabIndex:u,decimalsLimit:h,allowDecimals:c,disableGroupSeparators:p,placeholder:i,variants:y}):"siacoin"===g?(0,es.jsx)(Ob,{formik:t,name:r,disabled:o,readOnly:a,placeholder:i,tabIndex:u,showFiat:v,decimalsLimitFiat:f,decimalsLimitSc:d,variants:y}):(0,es.jsx)(Og,{formik:t,name:r,autoComplete:s,disabled:o,readOnly:a,placeholder:i,tabIndex:u,spellCheck:l,type:g,variants:y})})}function Og(e){let{formik:t,name:n,placeholder:r,autoComplete:i="off",disabled:o,readOnly:a,tabIndex:s,spellCheck:l=!1,type:u,variants:c}=e;return(0,es.jsx)(hs,{id:n,name:n,autoComplete:i,disabled:o,spellCheck:l,placeholder:r,tabIndex:s,readOnly:a||t.isSubmitting,type:u,onBlur:t.handleBlur,onChange:t.handleChange,value:t.values[n]||"",...c})}function Oy(e){let{formik:t,name:n,units:r,disabled:i,readOnly:o,tabIndex:a,placeholder:s,decimalsLimit:l,allowDecimals:u=!1,disableGroupSeparators:c=!1,variants:f}=e;return(0,es.jsx)(hM,{id:n,units:r,name:n,placeholder:new(hA())(s),disabled:i,allowDecimals:u,decimalsLimit:l,disableGroupSeparators:c,readOnly:o||t.isSubmitting,tabIndex:a,onBlur:t.handleBlur,onChange:e=>t.setFieldValue(n,e),value:t.values[n],...f})}function Ob(e){let{formik:t,name:n,disabled:r,readOnly:i,tabIndex:o,placeholder:a,showFiat:s,decimalsLimitFiat:l=3,decimalsLimitSc:u=3,variants:c}=e;return(0,es.jsx)(hD,{id:n,name:n,disabled:r,showFiat:s,decimalsLimitFiat:l,decimalsLimitSc:u,readOnly:i||t.isSubmitting,tabIndex:o,onFocus:()=>t.setFieldTouched(n),sc:new(hA())(t.values[n]),placeholder:new(hA())(a),onChange:e=>t.setFieldValue(n,null==e?void 0:e.toString()),...c})}function Ox(e){var t,n;let{formik:r,title:i,name:o,withStatusError:a=!1,className:s}=e,l=r.errors[o]&&r.touched[o]||a&&(null===(t=r.status)||void 0===t?void 0:t.error),u=r.errors[o]||a&&(null===(n=r.status)||void 0===n?void 0:n.error);return(i||l)&&(0,es.jsxs)("div",{className:(0,eY.cx)("flex justify-between items-center gap-4",s),children:[i?(0,es.jsx)(da,{htmlFor:o,children:i}):(0,es.jsx)("div",{}),l&&(0,es.jsx)(nj,{size:"14",color:"red",children:u})]})}function Ow(e){let{children:t,...n}=e;return(0,es.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,es.jsx)(Ox,{...n}),t]})}function O_(e){var t;let{formik:n,size:r="medium",variant:i="accent",withStatusError:o=!0,children:a}=e;return(0,es.jsxs)(es.Fragment,{children:[o&&(null===(t=n.status)||void 0===t?void 0:t.error)&&(0,es.jsx)(nj,{color:"red",children:n.status.error}),(0,es.jsx)(lW,{size:r,variant:i,state:n.isSubmitting?"waiting":void 0,type:"submit",children:n.isSubmitting?(0,es.jsx)(kd,{}):a})]})}function OE(e){let{columns:t,data:n,context:r,sortField:i,sortDirection:o,sortableColumns:a,toggleSort:s,summary:l,rowSize:u="default",pageSize:c,isLoading:f,emptyState:d,focusId:h,focusColor:p="default"}=e,v="emptyState";!f||(null==n?void 0:n.length)||(v="skeleton"),(null==n?void 0:n.length)&&(v="currentData");let m=(0,el.useCallback)((e,n,r)=>(0,eY.cx)(0===e?"pl-6":"pl-4",e===t.length-1?"pr-6":"pr-4",r?[0===e?"rounded-tl-lg":"",e===t.length-1?"rounded-tr-lg":""]:"",n),[t]),g=(0,el.useCallback)((e,t)=>(0,eY.cx)("flex items-center",t),[]);return(0,es.jsxs)(nC,{children:[(0,es.jsxs)("table",{className:"relative z-10 table-auto border-collapse w-full",children:[(0,es.jsx)("thead",{className:(0,eY.cx)("sticky top-0 z-20 bg-white dark:bg-graydark-100","shadow-border-b shadow-gray-400 dark:shadow-graydark-300"),children:(0,es.jsx)("tr",{children:t.map((e,t)=>{let{id:n,icon:r,label:l,tip:u,cellClassName:c,contentClassName:f}=e,d=(null==a?void 0:a.includes(n))&&!!s,h=i===n;return(0,es.jsx)("th",{className:(0,eY.cx)(m(t,c,!1),"border-b border-gray-400 dark:border-graydark-400"),children:(0,es.jsx)("div",{className:(0,eY.cx)("overflow-hidden","py-3"),children:(0,es.jsxs)("div",{onClick:()=>{d&&s(n)},className:(0,eY.cx)(g(t,f),d?"cursor-pointer":""),children:[(0,es.jsx)(lU,{content:u,children:(0,es.jsxs)(nj,{color:"subtle",className:"relative flex gap-1",ellipsis:!0,children:[r?(0,es.jsx)("div",{children:r}):null,(0,es.jsx)(nj,{ellipsis:!0,size:"12",weight:"medium",children:l})]})}),h&&(0,es.jsx)(nj,{color:"contrast",children:"asc"===o?(0,es.jsx)(hQ,{className:"scale-75"}):(0,es.jsx)(hY,{className:"scale-75"})}),d&&!h&&(0,es.jsx)(nj,{color:"verySubtle",children:(0,es.jsx)(hQ,{className:"scale-75"})})]})})},n)})})}),(0,es.jsxs)("tbody",{className:"bg-gray-50 dark:bg-graydark-50",children:[l&&(0,es.jsx)("tr",{className:"bg-gray-50 dark:bg-graydark-50 border-l border-r border-b border-gray-200 dark:border-graydark-200",children:t.map((e,t)=>{let{id:n,summary:r,contentClassName:i,cellClassName:o}=e;return(0,es.jsx)("td",{className:m(t,o,!1),children:(0,es.jsx)("div",{className:g(t,i),children:r&&r()})},n)})}),"currentData"===v&&(null==n?void 0:n.map(e=>(0,es.jsx)("tr",{id:e.id,onClick:e.onClick,className:(0,eY.cx)("border-b border-gray-200/50 dark:border-graydark-100",e.onClick?"cursor-pointer":""),children:t.map((t,n)=>{let{id:i,render:o,contentClassName:a,cellClassName:s}=t;return(0,es.jsx)("td",{className:(0,eY.cx)(m(n,s,!1),h===e.id?["shadow-border-y","first:shadow-border-tlb","last:shadow-border-trb"]:"","default"===p?"!shadow-blue-900 dark:!shadow-blue-200":"","blue"===p?"!shadow-blue-500 dark:!shadow-blue-400":"","red"===p?"!shadow-red-500 dark:!shadow-red-400":"","amber"===p?"!shadow-amber-500 dark:!shadow-amber-500":"","green"===p?"!shadow-green-500 dark:!shadow-green-400":""),children:(0,es.jsx)("div",{className:(0,eY.cx)(g(n,a),"dense"===u?"h-[50px]":"h-[100px]"),children:(0,es.jsx)(o,{data:e,context:r})})},"".concat(i,"/").concat(e.id))})},e.id))),"skeleton"===v&&(0,m8.times)(c).map(e=>(0,es.jsx)("tr",{className:"border-b border-gray-200/50 dark:border-graydark-100",children:t.map((e,t)=>{let{id:n,contentClassName:r,cellClassName:i}=e;return(0,es.jsx)("td",{className:m(t,i,!1),children:(0,es.jsx)("div",{className:(0,eY.cx)(g(t,r),"dense"===u?"h-[50px]":"h-[100px]")})},"".concat(t,"/").concat(n))})},e))]})]}),"emptyState"===v&&d]})}var Ok=["children"],Oj=["children"],OS=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Ok);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),b||(b=el.createElement("path",{d:"M14 16L24 6 25.4 7.4 16.8 16 25.4 24.6 24 26zM8 4H10V28H8z"})),n)}),OO=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Oj);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),x||(x=el.createElement("path",{d:"M18 16L8 26 6.6 24.6 15.2 16 6.6 7.4 8 6zM22 4H24V28H22z"})),n)}),OC=n(5632);function OA(e){let{offset:t,limit:n,datasetTotal:r,isLoading:i}=e,o=(0,OC.useRouter)();return(0,es.jsxs)(uD,{children:[(0,es.jsx)(lW,{icon:"contrast",disabled:t<=0,size:"small",variant:"gray",className:"rounded-r-none",onClick:()=>o.push({query:{...o.query,offset:0}}),children:(0,es.jsx)("div",{className:"flex scale-[0.65]",children:(0,es.jsx)(OS,{})})}),(0,es.jsx)(lW,{icon:"contrast",disabled:t<=0,size:"small",variant:"gray",className:"rounded-none",onClick:()=>o.push({query:{...o.query,offset:Math.max(t-n,0)}}),children:(0,es.jsx)(hG,{})}),(0,es.jsx)(lW,{state:"waiting",className:"rounded-none px-3",children:r>0?"".concat(t+1," - ").concat(Math.min(t+n,r)," of ").concat(r?r.toLocaleString():""):i?(0,es.jsx)(kd,{className:"px-2"}):"No results"}),(0,es.jsx)(lW,{icon:"contrast",disabled:t+n>=r,size:"small",variant:"gray",className:"rounded-none",onClick:()=>o.push({query:{...o.query,offset:Math.min(t+n,r)}}),children:(0,es.jsx)(hK,{})}),(0,es.jsx)(lW,{icon:"contrast",disabled:t+n>=r,size:"small",variant:"gray",className:"rounded-l-none",onClick:()=>o.push({query:{...o.query,offset:Math.floor(r/n)*n}}),children:(0,es.jsx)("div",{className:"flex",style:{transform:"scale(0.65)"},children:(0,es.jsx)(OO,{})})})]})}function OT(e){let{title:t,nav:n,stats:r,actions:i}=e;return(0,es.jsxs)(es.Fragment,{children:[(0,es.jsxs)("div",{className:"flex items-center gap-2 px-6 h-14 z-10 bg-white dark:bg-graydark-50 border-b border-gray-500 dark:border-graydark-500",children:[t?"string"==typeof t?(0,es.jsx)(nj,{font:"mono",size:"18",weight:"bold",className:"hidden lg:block relative -top-px",children:t}):t:null,(0,es.jsxs)("div",{className:"flex-1 flex gap-4 items-center justify-between h-full px-1 -mx-1 overflow-x-hidden",children:[(0,es.jsx)("div",{className:"flex gap-2 items-center h-full flex-1 overflow-x-hidden",children:n}),(0,es.jsx)("div",{className:"flex gap-2 items-center h-full",children:i})]})]}),r&&(0,es.jsx)("div",{className:"flex items-center gap-2 px-6 py-3 z-10 bg-gray-50 dark:bg-graydark-50 border-b border-gray-300 dark:border-graydark-300",children:r})]})}let OM=("string"==typeof(d={src:"/_next/static/media/background-pattern.b997b25c.jpg",height:104,width:34,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAIAAMDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAZEAADAAMAAAAAAAAAAAAAAAAAAQISIpH/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8ArRbxWi6AAP/Z",blurWidth:3,blurHeight:8})?{src:d}:d).src;function OP(e){let{children:t}=e;return(0,es.jsxs)("div",{className:"relative -z-10 opacity-100 pointer-events-none",children:[(0,es.jsx)("div",{className:"fixed top-0 left-0 right-0 bottom-0 z-10 bg-white dark:bg-graydark-50"}),(0,es.jsx)("div",{className:"fixed top-0 left-0 right-0 w-[200vw] h-[200vh] opacity-30 z-30 translate-x[-50vw] translate-y[-100vh]",style:{backgroundImage:"url(".concat(OM,")"),backgroundPositionY:"bottom",backgroundSize:"auto"}}),(0,es.jsx)("div",{className:"fixed top-0 left-0 right-0 bottom-0 opacity-95 z-40 bg-white dark:bg-graydark-50"}),t]})}var ON=n(97729),OR=n.n(ON);function OD(e){let{appName:t,title:n,children:r}=e,i=n?"".concat(t," - ").concat(n):t;return(0,es.jsxs)(OR(),{children:[(0,es.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,es.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,es.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,es.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,es.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,es.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#1ed660"}),(0,es.jsx)("meta",{name:"msapplication-TileColor",content:"#2b5797"}),(0,es.jsx)("meta",{name:"theme-color",content:"#ffffff"}),r,(0,es.jsx)("title",{children:i})]})}function OL(e){let{appName:t,title:n,children:r}=e;return(0,es.jsxs)("div",{className:"h-screen",children:[(0,es.jsx)(OD,{appName:t,title:n}),r]})}function OF(e){let{appName:t,title:n,children:r,filters:i,actions:o}=e;return(0,es.jsxs)(OL,{appName:t,title:n,children:[(0,es.jsx)(OP,{}),(0,es.jsx)("div",{className:"flex h-full",children:(0,es.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,es.jsx)(OT,{nav:i,actions:o}),(0,es.jsx)("div",{className:"flex-1",children:(0,es.jsx)(lG,{className:"h-full",children:r})})]})})]})}function OI(e){let{size:t=24}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"currentColor",viewBox:"0 0 448 512",children:(0,es.jsx)("path",{d:"M80 192V144C80 64.47 144.5 0 224 0C303.5 0 368 64.47 368 144V192H384C419.3 192 448 220.7 448 256V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V256C0 220.7 28.65 192 64 192H80zM144 192H304V144C304 99.82 268.2 64 224 64C179.8 64 144 99.82 144 144V192z"})})}function Oz(e){let{size:t=24}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"currentColor",viewBox:"0 0 448 512",children:(0,es.jsx)("path",{d:"M7.994 153.5c1.326 0 2.687 .3508 3.975 1.119L208 271.5v223.8c0 9.741-7.656 16.71-16.01 16.71c-2.688 0-5.449-.7212-8.05-2.303l-152.2-92.47C12.13 405.3 0 383.3 0 359.5v-197.7C0 156.1 3.817 153.5 7.994 153.5zM426.2 117.2c0 2.825-1.352 5.647-4.051 7.248L224 242.6L25.88 124.4C23.19 122.8 21.85 119.1 21.85 117.2c0-2.8 1.32-5.603 3.965-7.221l165.1-100.9C201.7 3.023 212.9 0 224 0s22.27 3.023 32.22 9.07l165.1 100.9C424.8 111.6 426.2 114.4 426.2 117.2zM440 153.5C444.2 153.5 448 156.1 448 161.8v197.7c0 23.75-12.12 45.75-31.78 57.69l-152.2 92.5C261.5 511.3 258.7 512 256 512C247.7 512 240 505 240 495.3V271.5l196-116.9C437.3 153.8 438.7 153.5 440 153.5z"})})}function OV(e){let{size:t=24}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:t,height:t,fill:"currentColor",children:(0,es.jsx)("path",{d:"M495.9 166.6C499.2 175.2 496.4 184.9 489.6 191.2L446.3 230.6C447.4 238.9 448 247.4 448 256C448 264.6 447.4 273.1 446.3 281.4L489.6 320.8C496.4 327.1 499.2 336.8 495.9 345.4C491.5 357.3 486.2 368.8 480.2 379.7L475.5 387.8C468.9 398.8 461.5 409.2 453.4 419.1C447.4 426.2 437.7 428.7 428.9 425.9L373.2 408.1C359.8 418.4 344.1 427 329.2 433.6L316.7 490.7C314.7 499.7 307.7 506.1 298.5 508.5C284.7 510.8 270.5 512 255.1 512C241.5 512 227.3 510.8 213.5 508.5C204.3 506.1 197.3 499.7 195.3 490.7L182.8 433.6C167 427 152.2 418.4 138.8 408.1L83.14 425.9C74.3 428.7 64.55 426.2 58.63 419.1C50.52 409.2 43.12 398.8 36.52 387.8L31.84 379.7C25.77 368.8 20.49 357.3 16.06 345.4C12.82 336.8 15.55 327.1 22.41 320.8L65.67 281.4C64.57 273.1 64 264.6 64 256C64 247.4 64.57 238.9 65.67 230.6L22.41 191.2C15.55 184.9 12.82 175.3 16.06 166.6C20.49 154.7 25.78 143.2 31.84 132.3L36.51 124.2C43.12 113.2 50.52 102.8 58.63 92.95C64.55 85.8 74.3 83.32 83.14 86.14L138.8 103.9C152.2 93.56 167 84.96 182.8 78.43L195.3 21.33C197.3 12.25 204.3 5.04 213.5 3.51C227.3 1.201 241.5 0 256 0C270.5 0 284.7 1.201 298.5 3.51C307.7 5.04 314.7 12.25 316.7 21.33L329.2 78.43C344.1 84.96 359.8 93.56 373.2 103.9L428.9 86.14C437.7 83.32 447.4 85.8 453.4 92.95C461.5 102.8 468.9 113.2 475.5 124.2L480.2 132.3C486.2 143.2 491.5 154.7 495.9 166.6V166.6zM256 336C300.2 336 336 300.2 336 255.1C336 211.8 300.2 175.1 256 175.1C211.8 175.1 176 211.8 176 255.1C176 300.2 211.8 336 256 336z"})})}function OB(e){let{size:t=24,className:n}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,width:t,className:n,fill:"currentColor",viewBox:"0 0 512 512",children:(0,es.jsx)("path",{d:"M448 32C465.7 32 480 46.33 480 64C480 81.67 465.7 96 448 96H80C71.16 96 64 103.2 64 112C64 120.8 71.16 128 80 128H448C483.3 128 512 156.7 512 192V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H448zM416 336C433.7 336 448 321.7 448 304C448 286.3 433.7 272 416 272C398.3 272 384 286.3 384 304C384 321.7 398.3 336 416 336z"})})}function OZ(e){let{size:t="12",wallet:{sc:n,sf:r}}=e;return(0,es.jsx)(nj,{size:t,weight:"medium",children:"".concat((0,gB.Vz)(n,{fixed:0})," ").concat(r&&r>0?" | ".concat((0,gB.ES)(r)):"")})}function OU(e){let{title:t,children:n,route:r,onClick:i}=e,o=(0,OC.useRouter)(),a=r&&("/"===r?o.pathname===r:o.pathname.startsWith(r));return r?(0,es.jsx)(uc,{href:r,className:"no-underline",children:(0,es.jsx)(lU,{side:"right",align:"center",delayDuration:0,sideOffset:5,content:t,children:(0,es.jsx)(lW,{icon:"contrast",size:"none",variant:"state","data-state":a?"open":"closed",onClick:i,children:n})})}):(0,es.jsx)(lU,{side:"right",align:"center",delayDuration:0,sideOffset:5,content:t,children:(0,es.jsx)(lW,{icon:"contrast",size:"none",variant:"state","data-state":a?"open":"closed",onClick:i,children:n})})}function OH(e){let{walletBalance:t,isSynced:n,routes:r}=e;return(0,es.jsx)(OU,{title:"Wallet",route:r.wallet.view,children:(0,es.jsxs)("div",{className:"flex flex-col gap-3 items-center",children:[(0,es.jsx)(OB,{}),n&&t&&(0,es.jsx)(OZ,{wallet:{sc:t}})]})})}function OW(e){let{routes:t,profile:n,isSynced:r,showWallet:i=!0,walletBalance:o,lock:a,openSettings:s,children:l}=e;return(0,es.jsx)(nC,{className:"relative overflow-hidden z-10 h-full w-[75px] rounded-none border-y-0",children:(0,es.jsxs)("div",{className:"flex flex-col items-center h-full",children:[(0,es.jsx)("div",{className:"flex items-center justify-center",style:{height:"".concat(60,"px")},children:n||(0,es.jsx)(um,{size:30})}),(0,es.jsxs)("div",{className:"flex flex-col gap-6 items-center pt-4 pb-6 h-full",children:[(0,es.jsx)("div",{className:"flex flex-col gap-6 items-center",children:l}),(0,es.jsx)("div",{className:"flex-1"}),(0,es.jsx)(fK,{className:"w-full"}),i&&(0,es.jsx)(OH,{routes:t,isSynced:r,walletBalance:o}),(0,es.jsx)(OU,{title:"Blockchain node",route:t.node.index,children:(0,es.jsx)(Oz,{})}),(0,es.jsx)(OU,{title:"App preferences",onClick:()=>s(),children:(0,es.jsx)(OV,{})}),(0,es.jsx)(OU,{title:"Lock app",onClick:a,children:(0,es.jsx)(OI,{})})]})]})})}var Oq=Object.create,O$=Object.defineProperty,OY=Object.getOwnPropertyDescriptor,OG=Object.getOwnPropertyNames,OK=Object.getPrototypeOf,OX=Object.prototype.hasOwnProperty,OQ=(m=null!=(v=(h=(e,t)=>{var r,i;r=e,i=function(e){var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=2*536870912,i=new WeakMap,o=(t=function(e,t){return i.set(e,t),t},function(e){var o=i.get(e),a=void 0===o?e.size:on)throw Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;e.has(a);)a=Math.floor(Math.random()*n);return t(e,a)});e.addUniqueNumber=function(e){var t=o(e);return e.add(t),t},e.generateUniqueNumber=o},"object"==typeof e&&"u">typeof t?i(e):"function"==typeof define&&n.amdO?define(["exports"],i):i((r="u">typeof globalThis?globalThis:r||self).fastUniqueNumbers={})},()=>(p||h((p={exports:{}}).exports,p),p.exports))())?Oq(OK(v)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of OG(t))OX.call(e,i)||void 0===i||O$(e,i,{get:()=>t[i],enumerable:!(r=OY(t,i))||r.enumerable});return e})(v&&v.__esModule?m:O$(m,"default",{value:v,enumerable:!0}),v)),OJ=e=>void 0!==e.method&&"call"===e.method,O0=e=>null===e.error&&"number"==typeof e.id,O1=e=>{let t=new Map([[0,()=>{}]]),n=new Map([[0,()=>{}]]),r=new Map,i=new Worker(e);return i.addEventListener("message",({data:e})=>{if(OJ(e)){let{params:{timerId:i,timerType:o}}=e;if("interval"===o){let a=t.get(i);if("number"==typeof a){let s=r.get(a);if(void 0===s||s.timerId!==i||s.timerType!==o)throw Error("The timer is in an undefined state.")}else if("u">typeof a)a();else throw Error("The timer is in an undefined state.")}else if("timeout"===o){let l=n.get(i);if("number"==typeof l){let u=r.get(l);if(void 0===u||u.timerId!==i||u.timerType!==o)throw Error("The timer is in an undefined state.")}else if("u">typeof l)l(),n.delete(i);else throw Error("The timer is in an undefined state.")}}else if(O0(e)){let{id:c}=e,f=r.get(c);if(void 0===f)throw Error("The timer is in an undefined state.");let{timerId:d,timerType:h}=f;r.delete(c),"interval"===h?t.delete(d):n.delete(d)}else{let{error:{message:p}}=e;throw Error(p)}}),{clearInterval:e=>{let n=(0,OQ.generateUniqueNumber)(r);r.set(n,{timerId:e,timerType:"interval"}),t.set(e,n),i.postMessage({id:n,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:e=>{let t=(0,OQ.generateUniqueNumber)(r);r.set(t,{timerId:e,timerType:"timeout"}),n.set(e,t),i.postMessage({id:t,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:(e,n)=>{let r=(0,OQ.generateUniqueNumber)(t);return t.set(r,()=>{e(),"function"==typeof t.get(r)&&i.postMessage({id:null,method:"set",params:{delay:n,now:performance.now(),timerId:r,timerType:"interval"}})}),i.postMessage({id:null,method:"set",params:{delay:n,now:performance.now(),timerId:r,timerType:"interval"}}),r},setTimeout:(e,t)=>{let r=(0,OQ.generateUniqueNumber)(n);return n.set(r,e),i.postMessage({id:null,method:"set",params:{delay:t,now:performance.now(),timerId:r,timerType:"timeout"}}),r}}};a=null,()=>{if(null!==a)return a;let e=new Blob(['(()=>{"use strict";const e=new Map,t=new Map,r=(e,t)=>{let r,o;const i=performance.now();r=i,o=e-Math.max(0,i-t);return{expected:r+o,remainingDelay:o}},o=(e,t,r,i)=>{const s=performance.now();s>r?postMessage({id:null,method:"call",params:{timerId:t,timerType:i}}):e.set(t,setTimeout(o,r-s,e,t,r,i))};addEventListener("message",(i=>{let{data:s}=i;try{if("clear"===s.method){const{id:r,params:{timerId:o,timerType:i}}=s;if("interval"===i)(t=>{const r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)})(o),postMessage({error:null,id:r});else{if("timeout"!==i)throw new Error(\'The given type "\'.concat(i,\'" is not supported\'));(e=>{const r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)})(o),postMessage({error:null,id:r})}}else{if("set"!==s.method)throw new Error(\'The given method "\'.concat(s.method,\'" is not supported\'));{const{params:{delay:i,now:n,timerId:a,timerType:d}}=s;if("interval"===d)((t,i,s)=>{const{expected:n,remainingDelay:a}=r(t,s);e.set(i,setTimeout(o,a,e,i,n,"interval"))})(i,a,n);else{if("timeout"!==d)throw new Error(\'The given type "\'.concat(d,\'" is not supported\'));((e,i,s)=>{const{expected:n,remainingDelay:a}=r(e,s);t.set(i,setTimeout(o,a,t,i,n,"timeout"))})(i,a,n)}}}}catch(e){postMessage({error:{message:e.message},id:s.id,result:null})}}))})();'],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return a=O1(t),setTimeout(()=>URL.revokeObjectURL(t)),a};var O2=(typeof window>"u"?"undefined":typeof window)=="object",O4={setTimeout:O2?setTimeout.bind(window):setTimeout,clearTimeout:O2?clearTimeout.bind(window):clearTimeout,setInterval:O2?setInterval.bind(window):setInterval,clearInterval:O2?clearInterval.bind(window):clearInterval},O3={},O5=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,O3[e]=O3[e]||[],O3[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||null===e.newValue)return;let t=JSON.parse(e.newValue);this.mc.port2.postMessage(t)}postMessage(e){if(this.closed)throw Error("InvalidStateError");let t=JSON.stringify(e),n=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(n,t),O4.setTimeout(()=>{window.localStorage.removeItem(n)},500),O3[this.name].forEach(e=>{e!==this&&e.mc.port2.postMessage(JSON.parse(t))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=O3[this.name].indexOf(this);O3[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,t){return this.mc.port1.addEventListener(e,t)}removeEventListener(e,t){return this.mc.port1.removeEventListener(e,t)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},O6=typeof window>"u"?void 0:"function"==typeof window.BroadcastChannel?window.BroadcastChannel:O5;function O8(){return Math.random().toString(36).substring(2)}var O7=class{options;channel;token=O8();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,t){this.channel=e,this.options=t,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,t=t=>{let{token:n,action:r}=t.data;n!==this.token&&(0===r&&n>this.token&&(e=!0),1===r&&(e=!0))};this.channel.addEventListener("message",t);try{return this.sendAction(0),await function(e=0){return new Promise(t=>O4.setTimeout(t,e))}(this.options.responseTime),this.channel.removeEventListener("message",t),this.isApplying=!1,e?!!this.reApply&&this.apply():(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,t=null;return new Promise(n=>{let r=()=>{if(e)return;e=!0;try{O4.clearInterval(t)}catch{}let r=this.intervals.indexOf(t);r>=0&&this.intervals.splice(r,1),this.channel.removeEventListener("message",i),n()};t=O4.setInterval(()=>{this.apply().then(()=>{this.isLeader&&r()})},this.options.fallbackInterval),this.intervals.push(t);let i=e=>{let{action:t}=e.data;2===t&&this.apply().then(()=>{this.isLeader&&r()})};this.channel.addEventListener("message",i)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=e=>{let{action:t}=e.data;0===t&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred||(this.deferred=this.awaitLeadership()),this.deferred}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>O4.clearInterval(e))}catch{}}}},O9=class{channel;options;elector;token=O8();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:t}=e;this.options=e,this.channel=new O6(t),this.registry.set(this.token,1),e.leaderElection&&(this.elector=new O7(this.channel,{fallbackInterval:2e3,responseTime:100}),this.elector.waitForLeadership()),this.channel.addEventListener("message",e=>{let{action:t,token:n,data:r}=e.data;switch(t){case 3:this.registry.set(n,2);break;case 4:this.registry.delete(n);break;case 5:this.idle(n);break;case 6:this.active(n);break;case 7:this.prompt(n);break;case 8:this.start(n);break;case 9:this.reset(n);break;case 10:this.activate(n);break;case 11:this.pause(n);break;case 12:this.resume(n);break;case 13:this.options.onMessage(r)}}),this.send(3)}get isLeader(){if(!this.elector)throw Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let t=[...this.registry.values()].every(e=>0===e);e===this.token&&this.send(7),t&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let t=[...this.registry.values()].every(e=>2===e);e===this.token&&this.send(5),!this.allIdle&&t&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let t=[...this.registry.values()].some(e=>1===e);e===this.token&&this.send(6),t&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},Ce=O2?document:null,Ct=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function Cn(e,t){let n=0;return function(...r){let i=new Date().getTime();if(!(i-nDate.now();function Ci(e){let{route:t}=e,n=(0,hN.Nf)({route:t,config:{swr:{refreshInterval:3e4}}});return{isConnected:!n.error,isValidating:n.isValidating}}function Co(e){let{appName:t,title:n,navTitle:r,profile:i,size:o="4",banner:a,nav:s,actions:l,stats:u,children:c,sidenav:f,connectivityRoute:d,isSynced:h,showWallet:p,walletBalance:v,routes:m,scroll:g=!0,openSettings:y}=e,{lock:b,settings:x}=(0,hN.Hv)();return!function(e){let{lock:t,route:n,routes:r}=e,{isConnected:i,isValidating:o}=Ci({route:n}),{settings:a}=(0,hN.Hv)(),s=(0,OC.useRouter)();(0,el.useEffect)(()=>{if(o)return;let e=!s.asPath.startsWith(r.login),n=!a.password||!i;if(e&&n){t();return}},[s,a.password,i,o])}({lock:b,route:d,routes:m}),!function(e){let{enabled:t,lock:n,lockTimeout:r}=e,i=(0,el.useCallback)(()=>{n()},[n]);!function({timeout:e=12e5,promptTimeout:t=0,promptBeforeIdle:n=0,element:r=Ce,events:i=Ct,timers:o,immediateEvents:a=[],onPresenceChange:s=()=>{},onPrompt:l=()=>{},onIdle:u=()=>{},onActive:c=()=>{},onAction:f=()=>{},onMessage:d=()=>{},debounce:h=0,throttle:p=0,eventsThrottle:v=200,startOnMount:m=!0,startManually:g=!1,stopOnIdle:y=!1,crossTab:b=!1,name:x="idle-timer",syncTimers:w=0,leaderElection:_=!1,disabled:E=!1}={}){let k=(0,el.useRef)(Cr()),j=(0,el.useRef)(Cr()),S=(0,el.useRef)(null),O=(0,el.useRef)(null),C=(0,el.useRef)(0),A=(0,el.useRef)(0),T=(0,el.useRef)(0),M=(0,el.useRef)(0),P=(0,el.useRef)(!1),N=(0,el.useRef)(!1),R=(0,el.useRef)(!1),D=(0,el.useRef)(!0),L=(0,el.useRef)(!1),F=(0,el.useRef)(null),I=(0,el.useRef)(null),z=(0,el.useRef)(e),V=(0,el.useRef)(0);(0,el.useEffect)(()=>{if(t&&console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),n&&t)throw Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(e>=2147483647)throw Error(`\u274C The value for the timeout property must fit in a 32 bit signed integer, 2147483647.`);if(t>=2147483647)throw Error(`\u274C The value for the promptTimeout property must fit in a 32 bit signed integer, 2147483647.`);if(n>=2147483647)throw Error(`\u274C The value for the promptBeforeIdle property must fit in a 32 bit signed integer, 2147483647.`);if(n>=e)throw Error(`\u274C The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);if(n?(z.current=e-n,V.current=n):(z.current=e,V.current=t),!D.current){if(g||E)return;P.current&&(G.current(null,eM),I.current&&I.current.active()),ef()}},[e,t,n,g,E]);let B=(0,el.useRef)(y);(0,el.useEffect)(()=>{B.current=y},[y]);let Z=(0,el.useRef)(a),U=(0,el.useRef)(r),H=(0,el.useRef)([...new Set([...i,...a]).values()]),W=(0,el.useRef)(E);(0,el.useEffect)(()=>{W.current=E,!D.current&&(E?ep():g||ef())},[E]);let q=(0,el.useRef)(s);(0,el.useEffect)(()=>{q.current=s},[s]);let $=(0,el.useRef)(l);(0,el.useEffect)(()=>{$.current=l},[l]);let Y=(0,el.useRef)(u);(0,el.useEffect)(()=>{Y.current=u},[u]);let G=(0,el.useRef)(c);(0,el.useEffect)(()=>{G.current=c},[c]);let K=(0,el.useRef)(f);(0,el.useEffect)(()=>{K.current=f},[f]);let X=(0,el.useRef)(d);(0,el.useEffect)(()=>{X.current=d},[d]);let Q=(0,el.useMemo)(()=>{let e=(e,t)=>K.current(e,t);return h>0?function(e,t){let n;function r(...r){n&&clearTimeout(n),n=setTimeout(()=>{e(...r),n=null},t)}return r.cancel=function(){clearTimeout(n)},r}(e,h):p>0?Cn(e,p):e},[p,h]),J=(0,el.useRef)();(0,el.useEffect)(()=>{b&&w&&(J.current=Cn(()=>{I.current.active()},w))},[b,w]);let ee=()=>{null!==F.current&&(O4.clearTimeout(F.current),F.current=null)},et=(e,t=!0)=>{ee(),F.current=O4.setTimeout(eo,e||z.current),t&&(O.current=Cr())},en=e=>{N.current||P.current||($.current(e,eM),q.current({type:"active",prompted:!0},eM)),M.current=0,T.current=Cr(),N.current=!0,et(V.current,!1)},er=()=>{ee(),P.current||(Y.current(null,eM),q.current({type:"idle"},eM)),P.current=!0,S.current=Cr(),B.current?ec():N.current&&(T.current=0,N.current=!1)},ei=e=>{ee(),(P.current||N.current)&&(G.current(e,eM),q.current({type:"active",prompted:!1},eM)),N.current=!1,T.current=0,P.current=!1,C.current+=Cr()-S.current,A.current+=Cr()-S.current,eu(),et()},eo=e=>{if(!P.current){Q.cancel&&Q.cancel();let t=Cr()-O.current;if(!(z.current+V.current0&&!N.current){I.current?I.current.prompt():en(e);return}I.current?I.current.idle():er();return}I.current?I.current.active():ei(e)},ea=e=>{if(m||O.current||(O.current=Cr(),G.current(null,eM)),Q(e,eM),N.current)return;if(ee(),!P.current&&Z.current.includes(e.type)){eo(e);return}let t=Cr()-O.current;if(P.current&&!y||!P.current&&t>=z.current){eo(e);return}R.current=!1,M.current=0,T.current=0,et(),b&&w&&J.current()},es=(0,el.useRef)(ea);(0,el.useEffect)(()=>{let e=L.current;e&&ec(),v>0?es.current=Cn(ea,v):es.current=ea,e&&eu()},[v,p,h,K,b,w]);let eu=()=>{O2&&U.current&&(L.current||(H.current.forEach(e=>{U.current.addEventListener(e,es.current,{capture:!0,passive:!0})}),L.current=!0))},ec=(e=!1)=>{O2&&U.current&&(L.current||e)&&(H.current.forEach(e=>{U.current.removeEventListener(e,es.current,{capture:!0})}),L.current=!1)},ef=(0,el.useCallback)(e=>!W.current&&(ee(),eu(),P.current=!1,N.current=!1,R.current=!1,M.current=0,T.current=0,I.current&&!e&&I.current.start(),et(),!0),[F,P,W,z,I]),ed=(0,el.useCallback)(e=>!W.current&&(ee(),eu(),j.current=Cr(),C.current+=Cr()-S.current,A.current+=Cr()-S.current,C.current=0,P.current=!1,N.current=!1,R.current=!1,M.current=0,T.current=0,I.current&&!e&&I.current.reset(),g||et(),!0),[F,P,z,g,W,I]),eh=(0,el.useCallback)(e=>!W.current&&(ee(),eu(),(P.current||N.current)&&ei(),P.current=!1,N.current=!1,R.current=!1,M.current=0,T.current=0,j.current=Cr(),I.current&&!e&&I.current.activate(),et(),!0),[F,P,N,W,z,I]),ep=(0,el.useCallback)((e=!1)=>!W.current&&!R.current&&(M.current=e_(),R.current=!0,ec(),ee(),I.current&&!e&&I.current.pause(),!0),[F,W,I]),ev=(0,el.useCallback)((e=!1)=>!W.current&&!!R.current&&(R.current=!1,N.current||eu(),P.current||et(M.current),T.current&&(T.current=Cr()),I.current&&!e&&I.current.resume(),!0),[F,z,W,M,I]),em=(0,el.useCallback)((e,t)=>(I.current?(t&&X.current(e,eM),I.current.message(e)):t&&X.current(e,eM),!0),[d]),eg=(0,el.useCallback)(()=>P.current,[P]),ey=(0,el.useCallback)(()=>N.current,[N]),eb=(0,el.useCallback)(()=>I.current?I.current.isLeader:null,[I]),ex=(0,el.useCallback)(()=>I.current?I.current.isLastActive:null,[I]),ew=(0,el.useCallback)(()=>I.current?I.current.token:null,[I]),e_=(0,el.useCallback)(()=>{if(R.current)return M.current;let e=Math.floor((M.current?M.current:V.current+z.current)-(O.current?Cr()-O.current:0));return e<0?0:Math.abs(e)},[z,V,N,M,O]),eE=(0,el.useCallback)(()=>Math.round(Cr()-j.current),[j]),ek=(0,el.useCallback)(()=>Math.round(Cr()-k.current),[k]),ej=(0,el.useCallback)(()=>S.current?new Date(S.current):null,[S]),eS=(0,el.useCallback)(()=>O.current?new Date(O.current):null,[O]),eO=(0,el.useCallback)(()=>P.current?Math.round(Cr()-S.current+C.current):Math.round(C.current),[S,C]),eC=(0,el.useCallback)(()=>P.current?Math.round(Cr()-S.current+A.current):Math.round(A.current),[S,A]),eA=(0,el.useCallback)(()=>{let e=Math.round(eE()-eO());return e>=0?e:0},[S,C]),eT=(0,el.useCallback)(()=>{let e=Math.round(ek()-eC());return e>=0?e:0},[S,C]);(0,el.useEffect)(()=>{if(h>0&&p>0)throw Error("❌ onAction can either be throttled or debounced, not both.");o&&(O4.setTimeout=o.setTimeout,O4.clearTimeout=o.clearTimeout,O4.setInterval=o.setInterval,O4.clearInterval=o.clearInterval);let e=()=>{I.current&&I.current.close(),Q.cancel&&Q.cancel(),ee(),ec(!0)};return O2&&window.addEventListener("beforeunload",e),()=>{O2&&window.removeEventListener("beforeunload",e),I.current&&I.current.close(),Q.cancel&&Q.cancel(),ee(),ec(!0)}},[]),(0,el.useEffect)(()=>{I.current&&I.current.close(),b?I.current=new O9({channelName:x,leaderElection:_,onPrompt:()=>{en()},onIdle:()=>{er()},onActive:()=>{ei()},onMessage:e=>{X.current(e,eM)},start:ef,reset:ed,activate:eh,pause:ep,resume:ev}):I.current=null},[b,x,_,$,Y,G,X,ef,ed,ep,ev]),(0,el.useEffect)(()=>{D.current||(ee(),ec(!0)),g||E||(m?ef():eu())},[g,m,E,D]),(0,el.useEffect)(()=>{if(!D.current){let e=[...new Set([...i,...a]).values()];ec(),H.current=e,U.current=r,Z.current=a,g||E||(m?ef():eu())}},[r,JSON.stringify(i),JSON.stringify(a),D,E,g,m]),(0,el.useEffect)(()=>{D.current&&(D.current=!1)},[D]);let eM={message:em,start:ef,reset:ed,activate:eh,pause:ep,resume:ev,isIdle:eg,isPrompted:ey,isLeader:eb,isLastActiveTab:ex,getTabId:ew,getRemainingTime:e_,getElapsedTime:eE,getTotalElapsedTime:ek,getLastIdleTime:ej,getLastActiveTime:eS,getIdleTime:eO,getTotalIdleTime:eC,getActiveTime:eA,getTotalActiveTime:eT,setOnPresenceChange:e=>{s=e,q.current=e},setOnPrompt:e=>{l=e,$.current=e},setOnIdle:e=>{u=e,Y.current=e},setOnActive:e=>{c=e,G.current=e},setOnAction:e=>{f=e,K.current=e},setOnMessage:e=>{d=e,X.current=e}}}({disabled:!t,onIdle:i,timeout:r,throttle:5e3,eventsThrottle:5e3})}({enabled:!!x.autoLock,lockTimeout:x.autoLockTimeout,lock:b}),(0,es.jsxs)(OL,{appName:t,title:n,children:[(0,es.jsx)(OP,{}),(0,es.jsxs)("div",{className:"flex flex-col h-full w-full",children:[a,(0,es.jsxs)("div",{className:"flex flex-1 w-full overflow-hidden",children:[(0,es.jsx)(OW,{routes:m,profile:i,openSettings:y,lock:b,showWallet:p,walletBalance:v,isSynced:h,children:f}),(0,es.jsxs)("div",{className:"flex flex-col flex-1 overflow-hidden",children:[(0,es.jsx)(OT,{title:void 0===r?n:r,nav:s,actions:l,stats:u}),g?(0,es.jsx)(cw,{className:"z-0",children:(0,es.jsx)(lG,{size:o,pad:!1,children:(0,es.jsx)("div",{className:"flex flex-col gap-5",children:c})})}):(0,es.jsx)(lG,{size:o,pad:!1,className:"flex-1 flex flex-col gap-5 overflow-hidden",children:c})]})]})]})]})}(0,el.createContext)(null).Consumer;var Ca=n(89644),Cs=n.n(Ca),Cl=n(63955);function Cu(e){let{form:t,field:n,name:r}=e,i=t.watch(r),o=t.formState.touchedFields[r]&&!!t.formState.errors[r],{ref:a,onChange:s,onBlur:l}=t.register(r,n.validation),u=(0,el.useCallback)(e=>{var r;s(e),null===(r=n.trigger)||void 0===r||r.forEach(e=>t.trigger(e))},[s,t,n]),c=(0,el.useCallback)((e,i)=>{var o;t.setValue(r,e,"boolean"==typeof i?i?{shouldValidate:!0,shouldDirty:!0,shouldTouch:!0}:void 0:i),null===(o=n.trigger)||void 0===o||o.forEach(e=>t.trigger(e))},[r,t,n]);return{ref:a,name:r,value:i,error:o,onBlur:l,onChange:u,setValue:c}}function Cc(e){return(0,el.useCallback)(t=>{SI((0,m8.entries)(t).map(t=>{let[n,r]=t;return"".concat(e[n].title||n,": ").concat(null==r?void 0:r.message)}).join(", "))},[e])}function Cf(e){let{name:t,form:n,fields:r,size:i="small",autoComplete:o,group:a=!0}=e,s=r[t],{ref:l,onChange:u,onBlur:c,error:f}=Cu({name:t,form:n,field:s}),d=(0,es.jsx)(hs,{ref:l,name:t,placeholder:s.placeholder,size:i,autoComplete:o,type:s.type,readOnly:s.readOnly,onClick:s.onClick,state:f?"invalid":n.formState.dirtyFields[t]?"valid":"default",onChange:u,onBlur:c});return a?(0,es.jsx)(Op,{title:s.title,actions:s.actions,name:t,form:n,children:d}):d}var Cd=["children"],Ch=["children"],Cp=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Cd);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),w||(w=el.createElement("circle",{cx:"11",cy:"15.5",r:"1.5"})),_||(_=el.createElement("path",{d:"M12,12H10V8h2a2,2,0,0,0,0-4H10A2.0023,2.0023,0,0,0,8,6v.5H6V6a4.0045,4.0045,0,0,1,4-4h2a4,4,0,0,1,0,8Z"})),E||(E=el.createElement("path",{d:"M22.4479,21.0337A10.971,10.971,0,0,0,19.9211,4.7446l-.999,1.73A8.9967,8.9967,0,1,1,5,14H3a10.9916,10.9916,0,0,0,18.0338,8.4478L28.5859,30,30,28.5859Z"})),n)}),Cv=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Ch);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),k||(k=el.createElement("path",{d:"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z"})),j||(j=el.createElement("path",{d:"M16,2A13.94,13.94,0,0,0,6,6.23V2H4v8h8V8H7.08A12,12,0,1,1,4,16H2A14,14,0,1,0,16,2Z"})),n)});async function Cm(e){let{api:t,route:n,password:r}=e;try{return await Cs().get("".concat(t,"/api").concat(n),{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(":".concat(r))},timeout:1e4}),{}}catch(a){let i=a.code,o=a.response;if((null==o?void 0:o.status)===504)return{error:"Error, check that daemon is running"};if((null==o?void 0:o.status)===401)return{error:"Error, wrong password"};if("ECONNABORTED"===i)return{error:"Error, daemon did not respond"};return{error:"Error, something went wrong"}}}function Cg(e){let{appName:t,route:n,routes:r}=e,i=(0,OC.useRouter)(),{settings:o,setSettings:a}=(0,hN.Hv)(),{allowCustomApi:s}=o,l=(0,el.useMemo)(()=>{var e;return e=o.api,{api:e,password:""}},[o.api]),u=(0,Cl.cI)({mode:"onBlur",defaultValues:l});(0,el.useEffect)(()=>{u.clearErrors()},[s]);let c=(0,el.useCallback)(async e=>{let t="";if(s){let c=new URL(e.api);t="".concat(c.protocol,"//").concat(c.host)}let{error:f}=await Cm({api:t,route:n,password:e.password});f?u.setError("password",{message:f}):(a({api:t,password:e.password,recentApis:{...o.recentApis,[t]:{lastUsed:new Date().getTime()}}}),i.push(i.query.prev?decodeURIComponent(i.query.prev):r.home),u.reset(l))},[s,u,i,r,o,a,l,n]),f=function(e){let{allowCustomApi:t}=e;return{api:{type:"text",title:"API",placeholder:"http://127.0.0.1:9980",validation:{validate:{required:e=>!t||!!e||"API is required",url:e=>{try{let t=new URL(e);return!!t.protocol&&!!t.host||"invalid API URL"}catch(n){return"invalid API URL"}},https:e=>{let t="https:"===window.location.protocol;return!t||t&&e.startsWith("https")||"API must use HTTPS"}}}},password:{type:"password",title:"Password",placeholder:"Enter password",validation:{required:"password is required"}}}}({allowCustomApi:s}),d=Cc(f),h=u.formState.errors.api||u.formState.errors.password,p=(0,m8.sortBy)(Object.entries(o.recentApis),e=>{let[t,{lastUsed:n}]=e;return-n}).map(e=>{let[t]=e;return t});return(0,es.jsx)("div",{className:"flex flex-col items-center justify-center gap-6 h-full",children:(0,es.jsx)(nC,{className:"relative top-[-50px] w-[300px] p-2.5",children:(0,es.jsxs)("div",{className:"flex flex-col justify-between h-full",children:[(0,es.jsxs)("div",{className:"flex justify-between items-center",children:[(0,es.jsx)(nj,{font:"mono",weight:"bold",size:"20",children:t}),(0,es.jsx)(f8,{trigger:(0,es.jsx)(lW,{icon:"hover",variant:"ghost",children:(0,es.jsx)(vU,{})}),children:(0,es.jsx)(f7,{onSelect:()=>a({allowCustomApi:!s}),children:s?"Hide custom API":"Show custom API"})})]}),(0,es.jsx)(fK,{className:"w-full mt-2 mb-3"}),(0,es.jsx)("form",{onSubmit:u.handleSubmit(c,d),children:(0,es.jsxs)("div",{className:"flex flex-col gap-1.5",children:[s?(0,es.jsxs)(uD,{children:[(0,es.jsx)(Cf,{name:"api",form:u,fields:f,group:!1}),p.length>1&&(0,es.jsx)(f8,{trigger:(0,es.jsx)(lW,{type:"button",children:(0,es.jsx)(Cv,{})}),children:p.map(e=>(0,es.jsx)(f7,{onSelect:()=>u.setValue("api",e),children:e},e))})]}):null,(0,es.jsx)(Cf,{name:"password",form:u,fields:f,group:!1}),h&&(0,es.jsx)(nj,{size:"14",color:"red",children:h.message}),(0,es.jsx)(Ov,{size:"small",form:u,children:"Unlock"})]})})]})})})}var Cy=n(63397),Cb=n(24511);let Cx={address:"",siacoin:void 0,includeFee:!1},Cw=Cb.Ry().shape({address:Cb.Z_().required("Required"),siacoin:Cb.Z_().required("Required").test("greater than zero","Must be greater than zero",e=>!new(hA())(e||0).isZero())});function C_(e){let{address:t,siacoin:n,fee:r,transactionId:i}=e,o=n.plus(r);return(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,es.jsxs)("div",{className:"flex gap-6 justify-between items-center",children:[(0,es.jsx)(nj,{color:"verySubtle",noWrap:!0,children:"Address"}),(0,es.jsx)(SQ,{value:t,type:"address"})]}),(0,es.jsxs)("div",{className:"flex gap-2 justify-between items-center",children:[(0,es.jsx)(nj,{color:"verySubtle",noWrap:!0,children:"Amount"}),(0,es.jsx)("div",{className:"flex relative top-[-0.5px]",children:(0,es.jsx)(S0,{size:"14",value:n,variant:"value",dynamicUnits:!1})})]}),(0,es.jsxs)("div",{className:"flex gap-2 justify-between items-center",children:[(0,es.jsx)(nj,{color:"verySubtle",noWrap:!0,children:"Network fee"}),(0,es.jsx)("div",{className:"flex relative top-[-0.5px]",children:(0,es.jsx)(S0,{size:"14",value:r,variant:"value",dynamicUnits:!1})})]}),(0,es.jsxs)("div",{className:"flex items-center gap-2 justify-between",children:[(0,es.jsx)(nj,{color:"verySubtle",noWrap:!0,children:"Total"}),(0,es.jsx)("div",{className:"flex relative top-[-0.5px]",children:(0,es.jsx)(S0,{size:"14",value:o,variant:"value",dynamicUnits:!1})})]}),i&&(0,es.jsxs)("div",{className:"flex gap-6 items-center justify-between",children:[(0,es.jsx)(nj,{color:"verySubtle",noWrap:!0,children:"Transaction ID"}),(0,es.jsx)(SQ,{value:i,type:"transaction"})]})]})}function CE(e){let{activeStep:t,steps:n,onChange:r}=e,i=n.findIndex(e=>e.id===t),o=n.length-1;return(0,es.jsxs)("div",{className:"relative w-full mt-8 mb-3",children:[(0,es.jsx)("div",{className:"absolute w-full h-1 bg-gray-500 dark:bg-graydark-500 rounded-lg"}),(0,es.jsx)("div",{className:"absolute h-1 bg-accent-800 dark:bg-accentdark-800 rounded-lg",style:{width:"".concat(i/o*100,"%")}}),n.map((e,n)=>{let{id:a,label:s}=e,l=t===a,u=i>=n,c=n===o,f=0===n,d=u&&i!==o;return(0,es.jsxs)("div",{className:(0,eY.cx)("absolute h-2 w-2 -top-0.5",d?"cursor-pointer":"cursor-default"),style:{left:"calc(".concat(n/o*100,"% - ").concat(c?8:f?0:4,"px)")},onClick:()=>{d&&r(a)},children:[(0,es.jsx)(nj,{color:l?"contrast":"verySubtle",className:(0,eY.cx)("absolute top-[-30px]",f?"left-0":"",c?"right-0":"",f||c?"":"-translate-x-1/2"),noWrap:!0,children:s}),(0,es.jsx)("div",{className:(0,eY.cx)("absolute left-0 top-0 h-full w-full rounded-lg border",u?"bg-accent-800 dark-accentdark-800":"bg-gray-500 dark:bg-graydark-500",u?"border-accent-900 dark:border-accentdark-900":"border-gray-600 dark:border-graydark-600")}),l&&(0,es.jsx)("div",{className:"absolute left-0 top-0 h-full w-full rounded-lg bg-accent-800 dark:bg-accentdark-800 animate-pingslow"})]},a)})]})}function Ck(e){let{data:{address:t,siacoin:n},fee:r,transactionId:i}=e;return(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(C_,{address:t,siacoin:n,fee:r,transactionId:i}),(0,es.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2 my-4",children:[(0,es.jsx)(nj,{children:(0,es.jsx)(uW,{})}),(0,es.jsx)(nj,{children:"Transaction successfully broadcasted."})]})]})}let Cj=(0,gB.qN)(.00393),CS={address:"",siacoin:new(hA())(0),includeFee:!1};function CO(e){let{trigger:t,open:n,onOpenChange:r,balance:i,send:o}=e,[a,s]=(0,el.useState)("setup"),[l,u]=(0,el.useState)(),[c,f]=(0,el.useState)(CS),d=function(e){let{balance:t,fee:n,onComplete:r}=e,i=(0,Cy.TA)({initialValues:Cx,validationSchema:Cw,onSubmit:async e=>{if(!e.siacoin)return;let o=e.includeFee?(0,gB.qN)(e.siacoin).minus(n):(0,gB.qN)(e.siacoin);if(t){if(t.isLessThan((0,gB.qN)(e.siacoin).plus(n))){i.setStatus({error:"Not enough funds in wallet."});return}i.setStatus({}),r({includeFee:e.includeFee,address:e.address,siacoin:o})}}}),o=(0,gB.qN)(i.values.siacoin||0),a=(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(Om,{formik:i,variants:{size:"medium"},title:"Address",name:"address",placeholder:"e3b1050aef388438668b52983cf78f40925af8f0aa8b9de80c18eadcefce8388d168a313e3f2",autoComplete:"off",type:"text"}),(0,es.jsx)(Om,{formik:i,title:"Siacoin",name:"siacoin",placeholder:"100",type:"siacoin"}),(0,es.jsxs)("div",{className:"flex items-center",children:[(0,es.jsx)(ps,{name:"includeFee",onCheckedChange:e=>i.setFieldValue("includeFee",e),children:"Include fee"}),(0,es.jsx)(hz,{children:"Include or exclude the network fee from the above transaction value."}),(0,es.jsx)("div",{className:"flex flex-1"})]}),(0,es.jsxs)("div",{className:"flex flex-col gap-2 my-1",children:[(0,es.jsxs)("div",{className:"flex gap-2 justify-between items-center",children:[(0,es.jsx)(nj,{color:"verySubtle",children:"Network fee"}),(0,es.jsx)("div",{className:"flex relative top-[-0.5px]",children:(0,es.jsx)(S0,{size:"14",value:n,variant:"value",dynamicUnits:!1})})]}),(0,es.jsxs)("div",{className:"flex justify-between gap-2 items-center",children:[(0,es.jsx)(nj,{color:"verySubtle",children:"Total"}),(0,es.jsx)("div",{className:"flex relative top-[-0.5px]",children:(0,es.jsx)(S0,{size:"14",value:i.values.includeFee?o:o.plus(n),variant:"value",dynamicUnits:!1})})]})]})]});return{formik:i,form:a}}({balance:i,fee:Cj,onComplete:e=>{f(e),s("confirm")}}),h=function(e){let{send:t,formData:n,fee:r,onConfirm:i}=e,{address:o,siacoin:a}=n||{},s=(0,Cy.TA)({initialValues:{},onSubmit:async()=>{let{transactionId:e,error:n}=await t({address:o,sc:a});if(n){s.setStatus({error:n});return}i({transactionId:e})}}),l=(0,es.jsx)("div",{className:"flex flex-col gap-4",children:(0,es.jsx)(C_,{address:o,siacoin:a,fee:r})});return{form:l,formik:s}}({fee:Cj,formData:c,send:o,onConfirm:e=>{let{transactionId:t}=e;u(t),s("done")}}),p=(0,el.useMemo)(()=>"setup"===a?{submitLabel:"Generate transaction",formik:d.formik}:"confirm"===a?{submitLabel:"Broadcast transaction",formik:h.formik}:void 0,[a,d,h]);return(0,es.jsx)(ck,{trigger:t,open:n,onOpenChange:e=>{e||(d.formik.resetForm(),h.formik.resetForm(),s("setup")),r(e)},title:"Send siacoin",onSubmit:p?p.formik.handleSubmit:void 0,controls:p&&(0,es.jsx)("div",{className:"flex flex-col gap-1",children:(0,es.jsx)(O_,{formik:p.formik,children:p.submitLabel})}),contentVariants:{className:"w-[400px]"},children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(CE,{onChange:e=>s(e),activeStep:a,steps:[{id:"setup",label:"Setup"},{id:"confirm",label:"Confirm"},{id:"done",label:"Complete"}]}),(0,es.jsx)(fK,{className:"w-full mt-4"}),"setup"===a&&d.form,"confirm"===a&&h.form,"done"===a&&(0,es.jsx)(Ck,{data:c,fee:Cj,transactionId:l})]})})}let CC="[a-fA-F\\d:]",CA=e=>e&&e.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(CC,")|(?<=").concat(CC,")(?=\\s|$))"):"",CT="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",CM="[a-fA-F\\d]{1,4}",CP="\n(?:\n(?:".concat(CM,":){7}(?:").concat(CM,"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:").concat(CM,":){6}(?:").concat(CT,"|:").concat(CM,"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:").concat(CM,":){5}(?::").concat(CT,"|(?::").concat(CM,"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:").concat(CM,":){4}(?:(?::").concat(CM,"){0,1}:").concat(CT,"|(?::").concat(CM,"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:").concat(CM,":){3}(?:(?::").concat(CM,"){0,2}:").concat(CT,"|(?::").concat(CM,"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:").concat(CM,":){2}(?:(?::").concat(CM,"){0,3}:").concat(CT,"|(?::").concat(CM,"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:").concat(CM,":){1}(?:(?::").concat(CM,"){0,4}:").concat(CT,"|(?::").concat(CM,"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::").concat(CM,"){0,5}:").concat(CT,"|(?::").concat(CM,"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),CN=RegExp("(?:^".concat(CT,"$)|(?:^").concat(CP,"$)")),CR=RegExp("^".concat(CT,"$")),CD=RegExp("^".concat(CP,"$")),CL=e=>e&&e.exact?CN:RegExp("(?:".concat(CA(e)).concat(CT).concat(CA(e),")|(?:").concat(CA(e)).concat(CP).concat(CA(e),")"),"g");CL.v4=e=>e&&e.exact?CR:RegExp("".concat(CA(e)).concat(CT).concat(CA(e)),"g"),CL.v6=e=>e&&e.exact?CD:RegExp("".concat(CA(e)).concat(CP).concat(CA(e)),"g");let CF=()=>RegExp("^(((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|((([a-zA-Z]|[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]).)+([A-Za-z|[A-Za-z][A-Za-z0-9‌​-]*[A-Za-z0-9])))$","g"),CI={port:9981,ip:""},Cz=Cb.Ry().shape({port:Cb.Rx().required("Required").min(0,"Out of valid range").max(65535,"Out of valid range"),ip:Cb.Z_().required("Required").test("ip","Invalid hostname or IP address",e=>CF().test(e||""))});function CV(e){let{trigger:t,open:n,connect:r,onOpenChange:i}=e,o=(0,Cy.TA)({initialValues:CI,validationSchema:Cz,onSubmit:async(e,t)=>{let n="".concat(e.ip,":").concat(e.port),o=await r(n);if(o.error){let a=o.error.replace("invalid peer address: address ".concat(n,":"),"");t.setStatus({error:a})}else SL("Connected to peer"),t.resetForm(),i(!1)}});return(0,es.jsx)(ck,{trigger:t,title:"Connect peer",open:n,onOpenChange:e=>{e||o.resetForm(),i(e)},contentVariants:{className:"w-[400px]"},children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(nS,{size:"14",children:"Connect to a peer by IP address."}),(0,es.jsx)("form",{onSubmit:o.handleSubmit,children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(Om,{formik:o,title:"Address",name:"ip",placeholder:"host.acme.com or 127.0.0.1",autoComplete:"off",type:"text",variants:{size:"medium"}}),(0,es.jsx)(Om,{formik:o,title:"Port",name:"port",disableGroupSeparators:!0,placeholder:"9981",autoComplete:"off",type:"number",variants:{size:"medium"}}),(0,es.jsx)(O_,{formik:o,size:"medium",children:"Connect"})]})})]})})}function CB(e){var t;let{id:n,transaction:r,trigger:i,open:o,onOpenChange:a}=e;return(0,es.jsx)(ck,{title:SH((null==r?void 0:r.txType)?(0,m8.upperFirst)(SK(r.txType)):"Transaction",n,16),trigger:i,open:o,onOpenChange:a,contentVariants:{className:"w-[800px]"},children:r?(0,es.jsxs)("div",{className:"flex flex-col gap-4 pb-10 w-full overflow-hidden",children:[(0,es.jsxs)("div",{className:"flex flex-wrap gap-4",children:[(0,es.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,es.jsx)(nj,{children:"Inflow"}),(0,es.jsx)(S0,{value:new(hA())((null==r?void 0:r.inflow)||0)})]}),(0,es.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,es.jsx)(nj,{children:"Outflow"}),(0,es.jsx)(S0,{value:new(hA())((null==r?void 0:r.outflow)||0).negated()})]}),(0,es.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,es.jsx)(nj,{children:"Miner fee"}),(0,es.jsx)(S0,{value:new(hA())((null===(t=null==r?void 0:r.raw.minerFees)||void 0===t?void 0:t.reduce((e,t)=>e.plus(t),new(hA())(0)))||0)})]}),(0,es.jsx)("div",{className:"flex-1"}),(0,es.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,es.jsx)(nj,{children:"Timestamp"}),(0,es.jsx)(nj,{children:(0,gB.rN)((null==r?void 0:r.timestamp)||0,{timeStyle:"short"})})]})]}),(0,es.jsx)(uM,{children:JSON.stringify(null==r?void 0:r.raw,null,2)})]}):(0,es.jsx)(nj,{children:"Could not find transaction in wallet"})})}Cb.Ry().shape({address:Cb.Z_().required("Required"),description:Cb.Z_().required("Required"),index:Cb.Rx().integer().required("Required")});var CZ=n(38001);function CU(e){let{title:t,description:n,address:r}=e;return(0,es.jsxs)("div",{className:"flex flex-col gap-4 items-center justify-center",children:[t&&(0,es.jsx)(us,{size:"20",font:"mono",children:t}),n&&(0,es.jsx)(nj,{children:n}),(0,es.jsx)("div",{className:"relative p-[5px] bg-white h-[210px] w-[210px]",children:(0,es.jsx)("div",{className:"absolute",children:(0,es.jsx)(CZ.Z,{size:200,value:r})})}),(0,es.jsx)(SQ,{type:"address",value:r})]})}function CH(e){let{address:t,isValidating:n,trigger:r,open:i,onOpenChange:o}=e;return(0,es.jsx)(ck,{title:SH("Address",SU(t)||"",16),trigger:r,open:i,onOpenChange:o,contentVariants:{className:"w-[400px]"},children:(0,es.jsx)("div",{className:"flex flex-col gap-4",children:t||n?(0,es.jsx)(CU,{address:t||""}):(0,es.jsx)(nj,{children:"Could not retreive wallet address"})})})}var CW=["children"],Cq=["children"],C$=["children"],CY=el.forwardRef(function(e,t){var n=e.children,r=l9(e,CW);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),S||(S=el.createElement("path",{d:"M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3 c3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5 C13.4,10.5,10.6,12.5,8,12.5z"})),O||(O=el.createElement("path",{d:"M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z"})),n)}),CG=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Cq);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),C||(C=el.createElement("path",{d:"M2.6,11.3l0.7-0.7C2.6,9.8,1.9,9,1.5,8c1-2.5,3.8-4.5,6.5-4.5c0.7,0,1.4,0.1,2,0.4l0.8-0.8C9.9,2.7,9,2.5,8,2.5 C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3C1,9.3,1.7,10.4,2.6,11.3z"})),A||(A=el.createElement("path",{d:"M6 7.9c.1-1 .9-1.8 1.8-1.8l.9-.9C7.2 4.7 5.5 5.6 5.1 7.2 5 7.7 5 8.3 5.1 8.8L6 7.9zM15.5 7.8c-.6-1.5-1.6-2.8-2.9-3.7L15 1.7 14.3 1 1 14.3 1.7 15l2.6-2.6c1.1.7 2.4 1 3.7 1.1 3.3-.1 6.3-2.2 7.5-5.3C15.5 8.1 15.5 7.9 15.5 7.8zM10 8c0 1.1-.9 2-2 2-.3 0-.7-.1-1-.3L9.7 7C9.9 7.3 10 7.6 10 8zM8 12.5c-1 0-2.1-.3-3-.8l1.3-1.3c1.4.9 3.2.6 4.2-.8.7-1 .7-2.4 0-3.4l1.4-1.4c1.1.8 2 1.9 2.6 3.2C13.4 10.5 10.6 12.5 8 12.5z"})),n)}),CK=el.forwardRef(function(e,t){var n=e.children,r=l9(e,C$);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),T||(T=el.createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z"})),M||(M=el.createElement("path",{d:"M7.5 4H8.5V9H7.5zM8 10.2c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 10.2 8 10.2z"})),n)});function CX(e){let{isSynced:t,isWalletSynced:n,syncPercent:r,walletScanPercent:i}=e;return t?n?null:(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(nj,{color:"amber",children:(0,es.jsx)(CK,{})}),(0,es.jsxs)(nj,{size:"14",children:["Wallet is scanning (",i,"%), transaction data may be incomplete."]})]}):(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(nj,{color:"amber",children:(0,es.jsx)(CK,{})}),(0,es.jsxs)(nj,{size:"14",children:["Blockchain is syncing (",r,"%), transaction data may be incomplete."]})]})}var CQ=["children"],CJ=["children"],C0=["children"],C1=el.forwardRef(function(e,t){var n=e.children,r=l9(e,CQ);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),P||(P=el.createElement("path",{d:"M11.17,6l3.42,3.41.58.59H28V26H4V6h7.17m0-2H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2H16L12.59,4.59A2,2,0,0,0,11.17,4Z"})),n)}),C2=el.forwardRef(function(e,t){var n=e.children,r=l9(e,CJ);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),N||(N=el.createElement("path",{d:"M26 20L24 20 24 24 20 24 20 26 24 26 24 30 26 30 26 26 30 26 30 24 26 24z"})),R||(R=el.createElement("path",{d:"M28,8H16l-3.4-3.4C12.2,4.2,11.7,4,11.2,4H4C2.9,4,2,4.9,2,6v20c0,1.1,0.9,2,2,2h14v-2H4V6h7.2l3.4,3.4l0.6,0.6H28v8h2v-8 C30,8.9,29.1,8,28,8z"})),n)}),C4=el.forwardRef(function(e,t){var n=e.children,r=l9(e,C0);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),D||(D=el.createElement("path",{d:"M14,4a7,7,0,1,1-7,7,7,7,0,0,1,7-7m0-2a9,9,0,1,0,9,9A9,9,0,0,0,14,2Z"})),L||(L=el.createElement("path",{d:"M28,11a13.9563,13.9563,0,0,0-4.1051-9.8949L22.4813,2.5187A11.9944,11.9944,0,0,1,5.5568,19.5194l-.0381-.0381L4.1051,20.8949A13.9563,13.9563,0,0,0,14,25v3H10v2H20V28H16V24.84A14.0094,14.0094,0,0,0,28,11Z"})),n)}),C3=["children"],C5=["children"],C6=["children"],C8=el.forwardRef(function(e,t){var n=e.children,r=l9(e,C3);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),F||(F=el.createElement("path",{d:"M24,14H22V8A6,6,0,0,0,10,8v6H8a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V16A2,2,0,0,0,24,14ZM12,8a4,4,0,0,1,8,0v6H12ZM24,28H8V16H24Z"})),n)}),C7=el.forwardRef(function(e,t){var n=e.children,r=l9(e,C5);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),I||(I=el.createElement("path",{d:"M13.647,14.907a1.4482,1.4482,0,1,0,1.326,1.443A1.385,1.385,0,0,0,13.647,14.907Zm4.745,0a1.4482,1.4482,0,1,0,1.326,1.443A1.385,1.385,0,0,0,18.392,14.907Z"})),z||(z=el.createElement("path",{d:"M24.71,4H7.29A2.6714,2.6714,0,0,0,4.625,6.678V24.254A2.6714,2.6714,0,0,0,7.29,26.932H22.032l-.689-2.405,1.664,1.547L24.58,27.53,27.375,30V6.678A2.6714,2.6714,0,0,0,24.71,4ZM19.692,20.978s-.468-.559-.858-1.053a4.1021,4.1021,0,0,0,2.353-1.547,7.4391,7.4391,0,0,1-1.495.767,8.5564,8.5564,0,0,1-1.885.559,9.1068,9.1068,0,0,1-3.367-.013,10.9127,10.9127,0,0,1-1.911-.559,7.6184,7.6184,0,0,1-.949-.442c-.039-.026-.078-.039-.117-.065a.18.18,0,0,1-.052-.039c-.234-.13-.364-.221-.364-.221a4.0432,4.0432,0,0,0,2.275,1.534c-.39.494-.871,1.079-.871,1.079a4.7134,4.7134,0,0,1-3.965-1.976,17.409,17.409,0,0,1,1.872-7.579,6.4285,6.4285,0,0,1,3.653-1.365l.13.156a8.77,8.77,0,0,0-3.419,1.703s.286-.156.767-.377a9.7625,9.7625,0,0,1,2.951-.819,1.2808,1.2808,0,0,1,.221-.026,11,11,0,0,1,2.626-.026A10.5971,10.5971,0,0,1,21.2,11.917a8.6518,8.6518,0,0,0-3.237-1.651l.182-.208a6.4285,6.4285,0,0,1,3.653,1.365,17.409,17.409,0,0,1,1.872,7.579A4.752,4.752,0,0,1,19.692,20.978Z"})),n)}),C9=el.forwardRef(function(e,t){var n=e.children,r=l9(e,C6);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),V||(V=el.createElement("path",{fillRule:"evenodd",d:"M16,2a14,14,0,0,0-4.43,27.28c.7.13,1-.3,1-.67s0-1.21,0-2.38c-3.89.84-4.71-1.88-4.71-1.88A3.71,3.71,0,0,0,6.24,22.3c-1.27-.86.1-.85.1-.85A2.94,2.94,0,0,1,8.48,22.9a3,3,0,0,0,4.08,1.16,2.93,2.93,0,0,1,.88-1.87c-3.1-.36-6.37-1.56-6.37-6.92a5.4,5.4,0,0,1,1.44-3.76,5,5,0,0,1,.14-3.7s1.17-.38,3.85,1.43a13.3,13.3,0,0,1,7,0c2.67-1.81,3.84-1.43,3.84-1.43a5,5,0,0,1,.14,3.7,5.4,5.4,0,0,1,1.44,3.76c0,5.38-3.27,6.56-6.39,6.91a3.33,3.33,0,0,1,.95,2.59c0,1.87,0,3.38,0,3.84s.25.81,1,.67A14,14,0,0,0,16,2Z"})),n)});let Ae={blog:"https://blog.sia.tech",docs:{index:"https://docs.sia.tech",sia101:"https://docs.sia.tech/get-started-with-sia/sia101",renting:"https://docs.sia.tech/renting/about-renting",wallet:"https://docs.sia.tech/your-sia-wallet/wallet-overview",hosting:"https://docs.sia.tech/hosting/about-hosting-on-sia",mining:"https://docs.sia.tech/mining/about-mining-on-sia",embarcadero:"https://github.com/SiaFoundation/embarcadero",siad:"https://api.sia.tech",siaui:"https://docs.sia.tech/your-sia-wallet/sia-ui-faqs",brand:"https://docs.sia.tech/sia-integrations/sia-brand-guidelines"},website:"https://sia.tech",explore:{mainnet:"https://explore.sia.tech",testnet:"https://zen.sia.tech",testnetFaucet:"https://zen.sia.tech/faucet"},design:"https://design.sia.tech",apiDocs:{renterd:"https://api.sia.tech/renterd",hostd:"https://api.sia.tech/hostd",walletd:"https://api.sia.tech/walletd"},github:{index:"https://github.com/SiaFoundation",embarcadero:"https://github.com/SiaFoundation/embarcadero",siad:"https://github.com/SiaFoundation/siad",renterd:"https://github.com/SiaFoundation/renterd",walletd:"https://github.com/SiaFoundation/walletd",hostd:"https://github.com/SiaFoundation/hostd",siaui:"https://gitlab.com/NebulousLabs/Sia-UI"},discord:"https://sia.tech/discord",twitter:"https://twitter.com/sia__foundation",bluesky:"https://bsky.app/profile/sia.tech",twitterHandle:"@sia__foundation",reddit:"https://reddit.com/r/siacoin",forum:"https://forum.sia.tech/",forumGrants:"https://forum.sia.tech/c/grants/8",merch:"https://siagear.tech/",email:"hello@sia.tech",benchmarks:"https://benchmarks.sia.tech",storageStats:"https://hosts.siacentral.com/",hostTroubleshoot:"https://troubleshoot.siacentral.com/",coinmarketcap:"https://coinmarketcap.com/currencies/siacoin/",jobs:"https://siafoundation.homerun.co/"};function At(e){let{open:t,onOpenChange:n,securityEl:r}=e,{settings:i,setSettings:o,setCurrency:a,currencyOptions:s,gpu:l}=(0,hN.Hv)();return(0,es.jsx)(ck,{open:t,title:"App preferences",onOpenChange:n,contentVariants:{className:"w-[450px]"},children:(0,es.jsxs)("div",{className:"flex flex-col gap-6 mb-2",children:[(0,es.jsx)("div",{className:"flex flex-col gap-4",children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(nj,{size:"16",weight:"bold",children:"Display"}),(0,es.jsx)(nS,{size:"14",children:"Configure visual and locale display preferences."}),(0,es.jsx)(l$,{children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(nj,{children:(0,es.jsx)(hI,{})}),(0,es.jsx)(us,{size:"20",className:"flex-1",children:"Currency"}),(0,es.jsx)(h0,{disabled:!i.siaCentral,value:i.currency.id,onChange:e=>a(e.currentTarget.value),children:s.map(e=>{let{id:t,label:n}=e;return(0,es.jsx)(h1,{value:t,children:n},t)})})]}),(0,es.jsx)(nS,{size:"14",children:"Select a currency for price conversions from Siacoin. Requires Sia Central third-party data enabled under Privacy."})]})}),(0,es.jsx)(l$,{children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(nj,{children:(0,es.jsx)(hI,{})}),(0,es.jsx)(us,{size:"20",className:"flex-1",children:"Theme"}),(0,es.jsx)(v3,{})]}),(0,es.jsx)(nS,{size:"14",children:"Switch between a dark or light mode, or follow your system's settings."})]})}),(0,es.jsx)(l$,{children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(nj,{children:(0,es.jsx)(hI,{})}),(0,es.jsx)(us,{size:"20",className:"flex-1",children:"GPU"}),(0,es.jsx)(ps,{disabled:!l.canGpuRender,checked:l.canGpuRender&&l.isGpuEnabled,onCheckedChange:l.setIsGpuEnabled,size:"medium"})]}),(0,es.jsxs)(nS,{size:"14",children:["Enable features that require a GPU."," ",l.canGpuRender?"":"This device does not support GPU rendering."]})]})})]})}),(0,es.jsx)(fK,{className:"w-full"}),(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,es.jsx)(nj,{size:"16",weight:"bold",children:"Security"}),(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(nS,{size:"14",children:"Configure security preferences."}),(0,es.jsx)(l$,{children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(nj,{children:(0,es.jsx)(hI,{})}),(0,es.jsx)(us,{size:"20",className:"flex-1",children:"Lock app"}),(0,es.jsx)(ps,{size:"medium",checked:i.autoLock,onCheckedChange:e=>o({autoLock:e})}),(0,es.jsxs)(h0,{disabled:!i.autoLock,value:String(i.autoLockTimeout),onChange:e=>{o({autoLockTimeout:Number(e.currentTarget.value)})},children:[(0,es.jsx)(h1,{value:kl(5),children:"5 minutes"}),(0,es.jsx)(h1,{value:kl(10),children:"10 minutes"}),(0,es.jsx)(h1,{value:kl(20),children:"20 minutes"}),(0,es.jsx)(h1,{value:kl(30),children:"30 minutes"}),(0,es.jsx)(h1,{value:kl(60),children:"1 hour"})]})]}),(0,es.jsx)(nS,{size:"14",children:"Automatically lock the app after a certain period of inactivity."})]})}),r]})]}),(0,es.jsx)(fK,{className:"w-full"}),(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,es.jsx)(nj,{size:"16",weight:"bold",children:"Privacy"}),(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(nS,{size:"14",children:"Configure privacy preferences. The app uses the third-party APIs listed below to improve the user experience. All third-party APIs are optional and can be toggled on or off."}),(0,es.jsx)(l$,{children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,es.jsx)(nj,{children:(0,es.jsx)(hI,{})}),(0,es.jsx)(us,{size:"20",className:"flex-1",children:"Sia Central"}),(0,es.jsx)(ps,{size:"medium",checked:i.siaCentral,onCheckedChange:e=>o({siaCentral:e})})]}),(0,es.jsx)(nS,{size:"14",children:"The app fetches Siacoin exchange rates from the Sia Central API."})]})})]})]}),(0,es.jsx)(fK,{className:"w-full"}),(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,es.jsx)(nj,{size:"16",weight:"bold",children:"Help"}),(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,es.jsx)(nS,{size:"14",children:"Find information about the Sia software at our website, documentation site, and on Github. Join our active Discord community for discussion and help troubleshooting issues."}),(0,es.jsxs)("div",{className:"flex gap-4",children:[(0,es.jsxs)(uc,{href:Ae.website,target:"_blank",className:"flex items-center gap-1",children:[(0,es.jsx)(C4,{}),"Website"]}),(0,es.jsxs)(uc,{href:Ae.docs.index,target:"_blank",className:"flex items-center gap-1",children:[(0,es.jsx)(hI,{}),"Docs"]}),(0,es.jsxs)(uc,{href:Ae.github.index,target:"_blank",className:"flex items-center gap-1",children:[(0,es.jsx)(C9,{}),"About"]}),(0,es.jsxs)(uc,{href:Ae.discord,target:"_blank",className:"flex items-center gap-1",children:[(0,es.jsx)(C7,{}),"Discord"]})]})]})]})]})})}function An(e){let{sc:t,isSynced:n,syncingMessage:r}=e;return t?n?(0,es.jsx)(nC,{className:"hidden sm:flex h-7 px-3 items-center",children:(0,es.jsx)(nj,{size:"12",weight:"semibold",children:(0,gB.Vz)(t)})}):(0,es.jsx)(lU,{content:r||"Blockchain is syncing, balance may be incorrect.",children:(0,es.jsxs)(nC,{className:"hidden sm:flex h-7 pl-2 pr-3 gap-1.5 items-center",children:[(0,es.jsx)(nj,{color:"amber",children:(0,es.jsx)(CK,{className:""})}),(0,es.jsx)(nj,{size:"12",weight:"semibold",children:(0,gB.Vz)(t)})]})}):null}function Ar(e){let{isSynced:t,isWalletSynced:n,syncPercent:r,walletScanPercent:i,sc:o,sendSiacoin:a,receiveSiacoin:s}=e;return(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(An,{isSynced:t&&n,syncingMessage:t?"Wallet is scanning (".concat(i,"%), balance may be incorrect."):"Blockchain is syncing (".concat(r,"%), balance may be incorrect."),sc:o}),s&&(0,es.jsxs)(lW,{size:"small",onClick:s,children:[(0,es.jsx)(vX,{}),"Receive"]}),(0,es.jsxs)(lW,{size:"small",variant:"accent",onClick:a,children:[(0,es.jsx)(v0,{}),"Send"]})]})}function Ai(e,t){if(!e||!e.length)return[];let n=Object.keys((0,m8.omit)(e[0],"timestamp"));e.sort((e,t)=>e.timestamp>t.timestamp?1:-1);let r=[];return"delta"===t?e.forEach((t,i)=>{let o={...t};0!==i&&(n.forEach(n=>{let r=t[n],a=e[i-1][n];o[n]=r-a}),r.push(o))}):r=e.slice(1),r}function Ao(e,t){return"all"===e?{start:new Date(2022,1,1).getTime(),end:t}:{start:t-kc(Number(e)),end:t}}let Aa={"5m":e=>{let t=e+kl(5);return"5m interval from ".concat((0,gB.rN)(e,{timeStyle:"short",hour12:!1})," to ").concat((0,gB.rN)(t,{timeStyle:"short",hour12:!1}))},"15m":e=>{let t=e+kl(15);return"15m interval from ".concat((0,gB.rN)(e,{timeStyle:"short",hour12:!1})," to ").concat((0,gB.rN)(t,{timeStyle:"short",hour12:!1}))},hourly:e=>{let t=e+ku(1);return"Hour interval from ".concat((0,gB.rN)(e,{timeStyle:"short",hour12:!1})," to ").concat((0,gB.rN)(t,{timeStyle:"short",hour12:!1}))},daily:e=>{let t=e+ku(24);return"Day interval from ".concat((0,gB.rN)(e)," to ").concat((0,gB.rN)(t))},weekly:e=>{let t=e+kc(7);return"Week interval from ".concat((0,gB.rN)(e)," to ").concat((0,gB.rN)(t))},monthly:e=>{let t=e+kc(30);return"Month interval from ".concat((0,gB.rN)(e)," to ").concat((0,gB.rN)(t))},yearly:e=>{let t=e+kc(365);return"Year interval from ".concat((0,gB.rN)(e)," to ").concat((0,gB.rN)(t))},default:e=>"".concat((0,gB.rN)(e))};function As(e){return Aa[e]||Aa.default}function Al(e){if(!e||!e.length)return{};let t=Object.keys((0,m8.omit)(e[0],"timestamp"));e.sort((e,t)=>e.timestamp>t.timestamp?1:-1);let n=t.reduce((t,n)=>({...t,[n]:function(e,t){var n,r;let i=(null===(n=t[0])||void 0===n?void 0:n[e])||0,o=(null===(r=t[t.length-1])||void 0===r?void 0:r[e])||0,a=t.reduce((t,n)=>t+(n[e]||0),0);return Au({total:a,start:i,end:o,count:t.length})}(n,e)}),{});return{...n,total:function(e,t){let n=Ac(e,t[0]),r=Ac(e,t[t.length-1]),i=t.reduce((t,n)=>t+Ac(e,n),0);return Au({total:i,start:n,end:r,count:t.length})}(t,e)}}function Au(e){let{total:t,start:n,end:r,count:i}=e,o=r-n;return{total:t,diff:o,change:0===n?void 0:o/n*100,latest:r,average:t/i}}function Ac(e,t){return e.reduce((e,n)=>e+((null==t?void 0:t[n])||0),0)}function Af(e){let{balances:t,isLoading:n,chartType:r="area"}=e,{resolvedTheme:i}=(0,vI.F)(),o=(0,el.useMemo)(()=>"light"===i?{sc:{label:"siacoin",color:gV.colors.accent[800]}}:{sc:{label:"siacoin",color:gV.colors.accentdark[800]}},[i]),a=(0,el.useMemo)(()=>{let e=Ai(t,"none"),i=Al(t);return{data:e,stats:i,config:{enabledGraph:["sc"],enabledTip:["sc"],data:{sc:o.sc},format:e=>(0,gB.Vz)(e),formatTimestamp:As("default"),disableAnimations:!0},chartType:r,isLoading:n}},[t,n,o,r]);return(0,es.jsx)("div",{className:"relative",children:(0,es.jsx)(kp,{id:"balance",height:200,allowConfiguration:!1,data:a.data,config:a.config,chartType:a.chartType})})}function Ad(e){let{peers:t,connectPeer:n}=e;return(0,es.jsx)(Os,{title:"Peers",actions:(0,es.jsx)(lW,{onClick:n,children:"Connect"}),entities:(null==t?void 0:t.map(e=>({type:"ip",hash:e})))||[]})}function Ah(e){let{size:t,label:n,enabled:r=!0,onChange:i,color:o}=e;return(0,es.jsxs)("div",{className:(0,eY.cx)("flex gap-1.5 items-center",r?"opacity-100":"opacity-50",i?"cursor-pointer":"cursor-auto",i&&(r?"hover:opacity-90":"hover:opacity-60")),onClick:()=>i&&i(!r),children:[o&&(0,es.jsx)("div",{className:"relative top-px",children:(0,es.jsx)(h5,{style:{backgroundColor:o}})}),(0,es.jsx)(nj,{size:t,children:n})]})}var Ap=n(92762);let Av={total:"total",average:"average",latest:"latest"};function Am(e){let{category:t,label:n,color:r,sc:i,value:o,extendedSuffix:a,format:s=e=>e.toFixed(2),defaultMode:l,enabledModes:u=["total","average","latest"],isLoading:c,showChange:f=!0}=e,[d,h]=(0,Ap.Z)("v0/datum/".concat(t,"/").concat(n),{defaultValue:l});return(0,es.jsx)(Oc,{isLoading:c,label:(0,es.jsx)(Ah,{label:n,color:r}),actions:(0,es.jsx)(h0,{onChange:e=>h(e.currentTarget.value),defaultValue:d,children:u.map(e=>(0,es.jsx)(h1,{value:e,children:Av[e]},e))}),sc:(null==i?void 0:i[d])!==void 0?new(hA())(i[d]):void 0,extendedSuffix:a,value:(null==o?void 0:o[d])!==void 0&&s?s(o[d]):void 0,comment:i?(0,es.jsxs)("div",{className:"flex items-center gap-4",children:[(0,es.jsx)(S0,{tooltip:"Net change over time range:",value:new(hA())(i.diff)}),f&&void 0!==i.change&&(0,es.jsx)(lU,{content:"Percent change over time range",children:(0,es.jsxs)(nj,{size:"14",weight:"semibold",font:"mono",ellipsis:!0,color:"verySubtle",children:[i.change.toFixed(2),"%"]})})]}):o&&(0,es.jsxs)("div",{className:"flex items-center gap-4",children:[(0,es.jsx)(S1,{tooltip:"Net change over time range:",format:e=>s(e.toNumber()),value:new(hA())(o.diff)}),f&&void 0!==o.change&&(0,es.jsx)(lU,{content:"Percent change over time range",children:(0,es.jsxs)(nj,{size:"14",weight:"semibold",font:"mono",ellipsis:!0,color:"verySubtle",children:[o.change.toFixed(2),"%"]})})]})})}function Ag(e){let{children:t,bleed:n}=e;return(0,es.jsx)("div",{className:(0,eY.cx)(n?"-mx-5 overflow-hidden":""),children:(0,es.jsx)(cw,{children:(0,es.jsx)("div",{className:(0,eY.cx)("flex gap-4 py-4",n?"px-5 w-fit":""),children:t})})})}function Ay(e){return 4320*e}function Ab(e){return e/16666666666666669e-22}function Ax(e){return e/4320}function Aw(e,t){return new Date().getTime()+Ab(t-e)}function A_(e){let{children:t,variant:n,align:r}=e;return(0,es.jsx)("div",{className:"relative",style:{top:"primary"===n?"6px":void 0,left:"start"===r?"0px":void 0,right:"end"===r?"0px":void 0},children:(0,es.jsx)(nj,{size:"10",color:"primary"===n?"contrast":"verySubtle",dir:"start"===r?"rtl":"ltr",weight:"primary"===n?"semibold":"regular",ellipsis:!0,children:t})})}function AE(e){let{date:t,align:n,variant:r}=e;return t?(0,es.jsx)(A_,{variant:r,align:n,children:(0,gB.rN)(t)}):null}function Ak(e){let{blockHeight:t,align:n,variant:r}=e;return t?(0,es.jsx)(A_,{variant:r,align:n,children:t.toLocaleString()}):null}function Aj(e){let{label:t,currentHeight:n,range:r,startHeight:i,endHeight:o,color:a,align:s,rounded:l,className:u,showDates:c}=e;if(!i||!o)return null;let f=r.endHeight-r.startHeight,d=Ab(f),h=Aw(n,r.startHeight),p=Aw(n,i),v=Aw(n,o),m=(p-h)/d,g=(v-h)/d;return(0,es.jsxs)("div",{className:(0,eY.cx)("group flex items-center justify-center","absolute -top-[5px] h-4","cursor-pointer","transition-colors"),style:{left:AS(m),width:AS(g-m)},children:[(0,es.jsx)("div",{className:(0,eY.cx)("z-0 absolute w-full h-full","rounded-md","group-hover:bg-blue-500/10 dark:group-hover:bg-blue-200/10"),style:{width:"calc(100% + 8px)",left:"-4px"}}),(0,es.jsx)("div",{className:(0,eY.cx)("z-10 absolute w-full h-1.5",u,"start"===l?"rounded-l-lg":"end"===l?"rounded-r-lg":"rounded-lg","border-y","start"===l?"border-l":"end"===l?"border-r":"border","blue"===a?["bg-blue-300 dark:bg-blue-300","group-hover:bg-blue-400 dark:group-hover:bg-blue-400","border-blue-500/50 dark:border-blue-500/50"]:[],"green"===a?["bg-green-300 dark:bg-green-300","group-hover:bg-green-400 dark:group-hover:bg-green-400","border-green-500/50 dark:border-green-500/50"]:[],"amber"===a?["bg-amber-300 dark:bg-amber-300","group-hover:bg-amber-400 dark:group-hover:bg-amber-400","border-amber-500/50 dark:border-amber-500/50"]:[])}),(0,es.jsxs)("div",{className:"hidden group-hover:flex absolute justify-between gap-2 bottom-[100%]",style:"center"===s?{width:"100%"}:"end"===s?{right:AS(1-g)}:{left:AS(m)},children:[(0,es.jsx)(Ak,{blockHeight:i,align:"start",variant:"primary"}),(0,es.jsx)(A_,{variant:"primary",children:t}),(0,es.jsx)(Ak,{blockHeight:o,align:"end",variant:"primary"})]}),c&&(0,es.jsxs)("div",{className:"flex group-hover/segments:hidden absolute justify-between gap-2 top-[100%]",style:"center"===s?{width:"100%"}:"end"===s?{right:AS(1-g)}:{left:AS(m)},children:[(0,es.jsx)(AE,{date:p,align:"start",variant:"secondary"}),(0,es.jsx)(AE,{date:v,align:"start",variant:"secondary"})]}),(0,es.jsxs)("div",{className:"hidden group-hover:flex absolute justify-between gap-2 top-[100%]",style:"center"===s?{width:"100%"}:"end"===s?{right:AS(1-g)}:{left:AS(m)},children:[(0,es.jsx)(AE,{date:p,align:"start",variant:"secondary"}),(0,es.jsx)(AE,{date:v,align:"start",variant:"secondary"})]})]})}function AS(e){return"".concat(100*e,"%")}function AO(e){let{currentHeight:t,eventHeight:n,range:r,label:i,bottomLabel:o,color:a,className:s,unconfirmedPing:l=!0}=e,u=r.endHeight-r.startHeight,c=Ab(u),f=Aw(t,r.startHeight),d=n?Aw(t,n):0;return n?(0,es.jsx)("div",{className:(0,eY.cx)("group","absolute -top-[5px] w-4 h-4","flex items-center justify-center","rounded-full cursor-pointer","-translate-x-1/2",s),style:{left:"".concat(100*(d?(d-f)/c:0),"%")},children:(0,es.jsxs)("div",{className:(0,eY.cx)("relative w-full h-full","flex items-center justify-center","rounded-full cursor-pointer"),children:[l&&n&&!(n&&n>t)&&t-n<6&&(0,es.jsx)("div",{className:(0,eY.cx)("z-0 absolute w-1.5 h-1.5","rounded-full","bg-amber-500 dark:bg-amber-200","animate-pingslow")}),(0,es.jsx)("div",{className:(0,eY.cx)("z-0 absolute w-4 h-4","rounded-full","group-hover:bg-blue-500/10 dark:group-hover:bg-blue-200/10")}),(0,es.jsx)("div",{className:(0,eY.cx)("absolute w-1.5 h-1.5","rounded-full","border","green"===a?["bg-green-500 dark:bg-green-500","group-hover:bg-green-600 dark:group-hover:bg-green-600","border-white dark:border-white"]:[],"amber"===a?["bg-amber-500 dark:bg-amber-500","group-hover:bg-amber-600 dark:group-hover:bg-amber-600","border-white dark:border-white"]:[],"gray"===a?["bg-gray-700 dark:bg-graydark-900","group-hover:bg-gray-800 dark:group-hover:bg-graydark-800","border-white dark:border-white"]:[],"blue"===a?["bg-blue-300 dark:bg-blue-300","group-hover:bg-blue-400 dark:group-hover:bg-blue-400","border-white dark:border-white"]:[])}),(0,es.jsxs)("div",{className:"hidden group-hover:flex absolute justify-between gap-1 bottom-[100%] left-1.5",children:[(0,es.jsx)(Ak,{blockHeight:n,align:"start",variant:"primary"}),(0,es.jsx)(A_,{variant:"primary",children:i})]}),(0,es.jsxs)("div",{className:"hidden group-hover:flex absolute justify-between gap-1 top-[100%] left-1.5",children:[(0,es.jsx)(AE,{date:d,align:"start",variant:"secondary"}),o&&(0,es.jsx)(A_,{variant:"secondary",children:o})]})]})}):null}function AC(e){let{currentHeight:t,contractHeightStart:n,contractHeightEnd:r,proofWindowHeightStart:i,proofWindowHeightEnd:o,revisionHeight:a,proofHeight:s,range:l}=e,u=t-n<6;return(0,es.jsx)("div",{className:"group/main relative w-full",children:(0,es.jsx)("div",{className:"relative py-6",children:(0,es.jsxs)("div",{className:"relative z-10 h-1.5",children:[(0,es.jsx)("div",{className:"absolute h-full w-full bg-gray-300 dark:bg-graydark-400 rounded-lg"}),(0,es.jsxs)("div",{className:"group/segments",children:[(0,es.jsx)(Aj,{label:"contract duration",currentHeight:t,startHeight:n,endHeight:r,range:l,color:"blue",align:"center",rounded:"start",className:u?"border-dotted opacity-50":"",showDates:!0}),(0,es.jsx)(Aj,{label:"proof window",currentHeight:t,startHeight:i,endHeight:o,range:l,color:"green",align:"end",rounded:"end",className:u?"border-dotted opacity-50":""}),(0,es.jsx)(AO,{label:"contract formation",bottomLabel:u?"unconfirmed":"",currentHeight:t,eventHeight:n,range:l,color:u?"amber":"blue",className:"z-20"}),(0,es.jsx)(AO,{label:"last revision",currentHeight:t,eventHeight:a,range:l,color:"green",className:"z-20"}),(0,es.jsx)(AO,{label:"storage proof",currentHeight:t,eventHeight:s,range:l,color:"green",className:"z-20"}),(0,es.jsx)(AO,{label:"current block",currentHeight:t,eventHeight:t,range:l,color:"gray",className:"z-10",unconfirmedPing:!1})]})]})})})}function AA(e){let{label:t,columns:n,enabled:r,setColumnsVisible:i,setColumnsHidden:o}=e,a=0===(0,m8.difference)(n,r).length,s=(0,m8.difference)(n,r).length===n.length;return(0,es.jsxs)(f2,{children:[(0,es.jsx)(da,{children:t}),(0,es.jsxs)(f4,{children:[(0,es.jsx)(lW,{tip:"".concat(t,": show all"),icon:a?"contrast":"hover",variant:"ghost",onClick:e=>{e.stopPropagation(),i(n)},children:(0,es.jsx)(CY,{})}),(0,es.jsx)(lW,{icon:s?"contrast":"hover",tip:"".concat(t,": hide all"),variant:"ghost",onClick:e=>{e.stopPropagation(),o(n)},children:(0,es.jsx)(CG,{})})]})]})}function AT(e){let{title:t,children:n}=e;return(0,es.jsxs)("div",{className:"flex flex-col gap-6",children:[t&&(0,es.jsx)(us,{anchorLink:!0,size:"24",children:t}),(0,es.jsx)(nC,{className:"p-6",children:(0,es.jsx)("div",{className:"flex flex-col gap-6",children:n})})]})}function AM(e){let{title:t,description:n,control:r}=e;return(0,es.jsxs)("div",{className:"flex gap-10 justify-between",children:[(0,es.jsxs)("div",{className:"flex flex-col gap-2 max-w-[600px]",children:[(0,es.jsx)(us,{size:"20",children:t}),(0,es.jsx)(nS,{size:"14",children:n})]}),(0,es.jsx)("div",{className:"",children:r})]})}function AP(e){let{open:t,params:n,trigger:r,onOpenChange:i}=e,{body:o,title:a,variant:s,action:l,onConfirm:u}=n||{},c=(0,Cl.cI)(),f=(0,el.useCallback)(()=>{u&&u(),i(!1)},[u,i]);return(0,es.jsx)(ck,{title:a,trigger:r,open:t,onOpenChange:i,contentVariants:{className:"w-[400px]"},children:(0,es.jsx)("form",{onSubmit:c.handleSubmit(f),children:(0,es.jsxs)("div",{className:"flex flex-col gap-4",children:[o,(0,es.jsx)("div",{className:"flex gap-1 justify-end",children:(0,es.jsx)(Ov,{variant:s,form:c,size:"small",children:l})})]})})})}function AN(e){let{name:t,peerCount:n,isSynced:r,nodeBlockHeight:i,connectPeer:o}=e;return(0,es.jsxs)("div",{className:"flex justify-between items-center",children:[(0,es.jsx)(nj,{font:"mono",weight:"bold",size:"20",children:t}),(0,es.jsxs)("div",{className:"flex items-center",children:[n?(0,es.jsxs)(lW,{className:"relative left-2 only:left-0",variant:"ghost",onClick:o,tip:"".concat(n," connected peers"),children:[(0,es.jsx)(nj,{color:"subtle",children:n.toLocaleString()}),(0,es.jsx)(dl,{})]}):null,i&&r?(0,es.jsx)(lU,{content:"Blockchain is synced",children:(0,es.jsx)("div",{className:"relative left-2",children:(0,es.jsxs)(lW,{variant:"ghost",state:"waiting",children:[(0,es.jsx)(nj,{color:"subtle",children:i.toLocaleString()}),(0,es.jsx)(nj,{color:"green",children:(0,es.jsx)(uq,{})})]})})}):null]})]})}function AR(e){let{nodeBlockHeight:t,networkBlockHeight:n,moreThan100BlocksToSync:r,percent:i}=e;return(0,es.jsxs)("div",{className:"flex flex-col justify-between h-full mb-1",children:[(0,es.jsx)(dH,{variant:"accent",value:t&&n?t:0,max:n||1,className:""}),(0,es.jsxs)("div",{className:"flex justify-between mt-1.5",children:[(0,es.jsx)(nj,{color:"subtle",size:"10",children:"Syncing..."}),t&&n?r?(0,es.jsx)(nj,{color:"subtle",size:"10",children:"".concat(t.toLocaleString()," / ").concat(n.toLocaleString()," (").concat(i,"%)")}):(0,es.jsx)(nj,{color:"subtle",size:"10",children:"(".concat(i,"%)")}):null]})]})}function AD(e){let{name:t,peerCount:n,connectPeer:r,isSynced:i,syncPercent:o,nodeBlockHeight:a,estimatedBlockHeight:s,firstTimeSyncing:l,moreThan100BlocksToSync:u,children:c}=e;return(0,es.jsx)(p3,{rootProps:{openDelay:100},contentProps:{side:"right",align:"start",sideOffset:5,className:"!max-w-none"},trigger:(0,es.jsxs)("div",{className:"relative hover:scale-105 transition-transform",children:[i||100===o||0===o?null:(0,es.jsx)("div",{className:"absolute -bottom-2.5 w-full flex justify-center",children:(0,es.jsxs)(nj,{className:"bg-amber-500 py-px px-1 rounded-sm scale-75",size:"10",children:[o,"%"]})}),(0,es.jsx)(um,{size:30})]}),children:(0,es.jsxs)("div",{className:"flex flex-col gap-2 px-1 pt-1 pb-2 w-[300px]",children:[(0,es.jsx)(AN,{nodeBlockHeight:a,isSynced:i,name:t,peerCount:n,connectPeer:r}),i?(0,es.jsx)(fK,{className:"w-full mb-0.5"}):(0,es.jsx)(AR,{percent:o,nodeBlockHeight:a,networkBlockHeight:s,moreThan100BlocksToSync:u}),l&&(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(nj,{color:"contrast",size:"14",children:"Welcome to Sia! The blockchain is syncing to the current network height. Depending on your system this process may take a while."}),(0,es.jsx)(fK,{className:"w-full mb-1"})]}),c]})})}function AL(e){let{testnetName:t}=e;return(0,es.jsxs)("div",{className:"flex gap-2 items-center justify-center py-2 px-3 bg-amber-600 dark:bg-amber-500",children:[(0,es.jsx)(nj,{color:"lo",children:(0,es.jsx)(hI,{})}),(0,es.jsxs)(nj,{size:"14",color:"lo",children:["You are on the ",t,"."]})]})}function AF(e){let{type:t,label:n,link:r,tip:i,icon:o,value:a,onClick:s,decimalsLimit:l,units:u}=e;return(0,es.jsxs)("div",{className:"flex justify-between items-center",children:[(0,es.jsx)(lU,{align:"start",side:"bottom",content:i,children:(0,es.jsxs)("div",{className:"flex gap-1 items-center relative overflow-hidden",children:[(0,es.jsx)(nj,{className:"flex relative",children:o||(0,es.jsx)(hI,{})}),(0,es.jsx)(nj,{size:"12",ellipsis:!0,children:r?(0,es.jsx)(uc,{href:r,target:"_blank",children:n}):n})]})}),(0,es.jsx)("div",{className:(0,eY.cx)("flex items-center",s?"cursor-pointer":""),onClick:()=>{s&&s(a)},children:"siacoin"===t?(0,es.jsx)(S0,{value:a,variant:"value",size:"12",fixed:l,dynamicUnits:!1,showTooltip:!1}):(0,es.jsx)(S1,{value:a,variant:"value",size:"12",format:e=>"".concat(hT(e,l)," ").concat(u)})})]})}function AI(e){let{name:t,form:n,fields:r}=e,i=r[t],{average:o,suggestion:a,units:s,suggestionTip:l,averageTip:u,after:c,decimalsLimitSc:f=6,decimalsLimitFiat:d=6,tipsDecimalsLimitSc:h=0}=i,{setValue:p,value:v,error:m}=Cu({name:t,field:i,form:n});return(0,es.jsxs)("div",{className:"flex flex-col gap-3 items-end",children:[(0,es.jsxs)("div",{className:"flex flex-col gap-3 w-[220px]",children:[(0,es.jsx)(hD,{name:t,size:"small",sc:v,units:s,decimalsLimitSc:f,decimalsLimitFiat:d,error:m,changed:n.formState.dirtyFields[t],placeholder:a||o,onChange:e=>{p(e,!0)},onBlur:()=>{p(v,!0)}}),(0,es.jsx)(c||(()=>null),{name:t,form:n,fields:r}),o&&(0,es.jsx)(AF,{type:"siacoin",label:"Network average",tip:u||"Averages provided by Sia Central.",decimalsLimit:h,value:(0,gB.qN)(o),onClick:()=>{p(o,!0)}}),a&&l&&(0,es.jsx)(AF,{type:"siacoin",label:"Suggestion",tip:l,decimalsLimit:h,value:(0,gB.qN)(a),onClick:()=>{p(a,!0)}})]}),(0,es.jsx)("div",{className:"h-[20px]",children:(0,es.jsx)(Oh,{form:n,name:t})})]})}function Az(e){let{name:t,form:n,fields:r}=e,i=r[t],{average:o,averageTip:a,suggestion:s,suggestionTip:l,decimalsLimit:u=2,placeholder:c,units:f}=i,{setValue:d,value:h,error:p}=Cu({form:n,field:i,name:t});return(0,es.jsxs)("div",{className:"flex flex-col gap-3 items-end",children:[(0,es.jsxs)("div",{className:"flex flex-col gap-3 w-[220px]",children:[(0,es.jsx)(hM,{name:t,value:h,units:f,decimalsLimit:u,placeholder:c?new(hA())(c):void 0,state:p?"invalid":n.formState.dirtyFields[t]?"valid":"default",onChange:e=>{let t=void 0!==e?new(hA())(e):void 0;d(t,!0)},onBlur:()=>{d(h,!0)}}),(0,es.jsxs)("div",{className:"flex flex-col gap-2",children:[o&&(0,es.jsx)(AF,{type:"number",label:"Network average",tip:a||"Averages provided by Sia Central.",decimalsLimit:u,value:o,units:f,onClick:()=>{d(o,!0)}}),s&&l&&(0,es.jsx)(AF,{type:"number",label:"Suggestion",tip:l,decimalsLimit:u,value:s,units:f,onClick:()=>{d(s,!0)}})]})]}),(0,es.jsx)("div",{className:"h-[20px]",children:(0,es.jsx)(Oh,{form:n,name:t})})]})}function AV(e){let{label:t,link:n,tip:r,value:i,onClick:o}=e;return(0,es.jsxs)("div",{className:"flex justify-between items-center",children:[(0,es.jsx)(lU,{align:"start",side:"bottom",content:r,children:(0,es.jsxs)("div",{className:"flex gap-1 items-center relative overflow-hidden",children:[(0,es.jsx)(nj,{className:"flex relative",children:(0,es.jsx)(hI,{})}),(0,es.jsx)(nj,{size:"12",children:n?(0,es.jsx)(uc,{href:n,target:"_blank",children:t}):t})]})}),(0,es.jsx)("div",{className:"flex cursor-pointer items-center",onClick:o,children:(0,es.jsx)(nj,{size:"12",children:(0,es.jsx)(uN,{children:i})})})]})}function AB(e){let{name:t,form:n,fields:r,type:i}=e,o=r[t],{placeholder:a,suggestion:s,suggestionTip:l}=o,{ref:u,onChange:c,setValue:f,onBlur:d,error:h}=Cu({name:t,form:n,field:o});return(0,es.jsxs)("div",{className:"flex flex-col gap-3 items-end",children:[(0,es.jsxs)("div",{className:"flex flex-col gap-3 w-[220px]",children:[(0,es.jsx)(hs,{ref:u,name:t,placeholder:a,type:i,state:h?"invalid":n.formState.dirtyFields[t]?"valid":"default",onChange:c,onBlur:d}),(0,es.jsx)("div",{className:"flex flex-col gap-2",children:s&&l&&(0,es.jsx)(AV,{label:"Suggestion",tip:l,value:s,onClick:()=>{f(s,!0)}})})]}),(0,es.jsx)("div",{className:"h-[20px]",children:(0,es.jsx)(Oh,{form:n,name:t})})]})}function AZ(e){let{name:t,form:n,fields:r}=e,i=r[t],{suggestion:o,suggestionTip:a}=i,{setValue:s,value:l,error:u}=Cu({name:t,field:i,form:n});return(0,es.jsxs)("div",{className:"flex flex-col gap-3 items-end",children:[(0,es.jsxs)("div",{className:"flex flex-col gap-3 w-[220px]",children:[(0,es.jsx)("div",{className:"flex justify-end w-full",children:(0,es.jsx)(ps,{name:t,size:"medium",checked:l,state:u?"invalid":n.formState.dirtyFields[t]?"valid":"default",onCheckedChange:e=>{s(e,!0)},onBlur:()=>{s(l,!0)}})}),(0,es.jsx)("div",{className:"flex flex-col gap-2",children:void 0!==o&&a&&(0,es.jsx)(AV,{label:"Suggestion",tip:a,value:o?"on":"off",onClick:()=>{s(o,!0)}})})]}),(0,es.jsx)("div",{className:"h-[20px]",children:(0,es.jsx)(Oh,{form:n,name:t})})]})}function AU(e){let{name:t,form:n,fields:r}=e,i=r[t],{options:o,suggestion:a,suggestionTip:s}=i,{ref:l,onChange:u,setValue:c,onBlur:f,value:d,error:h}=Cu({name:t,form:n,field:i});return(0,es.jsxs)("div",{className:"flex flex-col gap-3 items-end",children:[(0,es.jsxs)("div",{className:"flex flex-col gap-3 w-[220px]",children:[(0,es.jsx)("div",{className:"flex justify-end w-full",children:(0,es.jsx)(h0,{ref:l,name:t,size:"small",value:d,state:h?"invalid":n.formState.dirtyFields[t]?"valid":"default",onChange:u,onBlur:f,children:null==o?void 0:o.map(e=>(0,es.jsx)(h1,{value:e.value,children:e.label},e.value))})}),(0,es.jsx)("div",{className:"flex flex-col gap-2",children:void 0!==a&&s&&(0,es.jsx)(AV,{label:"Suggestion",tip:s,value:a?"on":"off",onClick:()=>{c(a,!0)}})})]}),(0,es.jsx)("div",{className:"h-[20px]",children:(0,es.jsx)(Oh,{form:n,name:t})})]})}function AH(e){let{title:t,category:n,form:r,fields:i}=e,o=Object.entries(i).filter(e=>{let[t,i]=e;return i.category===n&&(!i.show||i.show(r.getValues()))});return(0,es.jsx)(AT,{title:t,children:o.map((e,t)=>{let[n,a]=e;return(0,es.jsxs)(el.Fragment,{children:[(0,es.jsx)(AM,{title:a.title,description:a.description,control:"number"===a.type?(0,es.jsx)(Az,{form:r,name:n,fields:i}):"siacoin"===a.type?(0,es.jsx)(AI,{form:r,name:n,fields:i}):"text"===a.type?(0,es.jsx)(AB,{form:r,name:n,fields:i}):"password"===a.type?(0,es.jsx)(AB,{form:r,type:"password",fields:i,name:n}):"boolean"===a.type?(0,es.jsx)(AZ,{form:r,name:n,fields:i}):"select"===a.type?(0,es.jsx)(AU,{form:r,name:n,fields:i}):null}),t{let t=void 0!==e?new(hA())(e):void 0;l(t,!0)},onBlur:()=>{l(c,!0)}})})}function Aq(e){let{name:t,form:n,fields:r,size:i="medium",group:o=!0,children:a}=e,s=r[t],{setValue:l,value:u,error:c}=Cu({name:t,field:s,form:n}),f=(0,es.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,es.jsx)(ps,{name:t,size:i,checked:u,state:c?"invalid":n.formState.dirtyFields[t]?"valid":"default",onCheckedChange:e=>{l(e,!0)},onBlur:()=>{l(u,!0)}}),a]});return o?(0,es.jsx)(Op,{title:s.title,name:t,form:n,children:f}):f}var A$=["children"],AY=el.forwardRef(function(e,t){var n=e.children,r=l9(e,A$);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),B||(B=el.createElement("path",{d:"M26.0022,4H5.998A1.998,1.998,0,0,0,4,5.998V26.002A1.998,1.998,0,0,0,5.998,28H26.0022A1.9979,1.9979,0,0,0,28,26.002V5.998A1.9979,1.9979,0,0,0,26.0022,4ZM14.8752,8h2.25V18h-2.25ZM16,24a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,24Z"})),Z||(Z=el.createElement("path",{fill:"none",d:"M14.8751,8h2.25V18h-2.25ZM16,24a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,24Z","data-icon-path":"inner-path"})),n)}),AG=["children"],AK=el.forwardRef(function(e,t){var n=e.children,r=l9(e,AG);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),U||(U=el.createElement("path",{d:"M23 27.18L20.41 24.59 19 26 23 30 30 23 28.59 21.59 23 27.18z"})),H||(H=el.createElement("circle",{cx:"11",cy:"8",r:"1"})),W||(W=el.createElement("circle",{cx:"11",cy:"16",r:"1"})),q||(q=el.createElement("circle",{cx:"11",cy:"24",r:"1"})),$||($=el.createElement("path",{d:"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2h8V27H8V21H26V5A2,2,0,0,0,24,3Zm0,16H8V13H24Zm0-8H8V5H24Z"})),n)}),AX=["children"],AQ=el.forwardRef(function(e,t){var n=e.children,r=l9(e,AX);return el.createElement(un,l7({width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),Y||(Y=el.createElement("path",{d:"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z"})),n)}),AJ=["children"],A0=["children"],A1=el.forwardRef(function(e,t){var n=e.children,r=l9(e,AJ);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),G||(G=el.createElement("path",{d:"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z"})),n)}),A2=el.forwardRef(function(e,t){var n=e.children,r=l9(e,A0);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),K||(K=el.createElement("path",{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"})),n)}),A4=["children"],A3=el.forwardRef(function(e,t){var n=e.children,r=l9(e,A4);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),X||(X=el.createElement("path",{d:"M12 12H14V24H12zM18 12H20V24H18z"})),Q||(Q=el.createElement("path",{d:"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z"})),n)}),A5=["children"],A6=["children"],A8=el.forwardRef(function(e,t){var n=e.children,r=l9(e,A5);return el.createElement(un,l7({width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),J||(J=el.createElement("path",{d:"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M16,28C9.4,28,4,22.6,4,16S9.4,4,16,4s12,5.4,12,12 S22.6,28,16,28z"})),ee||(ee=el.createElement("path",{d:"M21.4 23L16 17.6 10.6 23 9 21.4 14.4 16 9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4z"})),n)}),A7=el.forwardRef(function(e,t){var n=e.children,r=l9(e,A6);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),et||(et=el.createElement("path",{d:"M2 22H30V24H2zM2 26H30V28H2zM24 10a2 2 0 102 2 2 2 0 00-2-2zM16 16a4 4 0 114-4A4.0045 4.0045 0 0116 16zm0-6a2 2 0 102 2A2.002 2.002 0 0016 10zM8 10a2 2 0 102 2 2 2 0 00-2-2z"})),en||(en=el.createElement("path",{d:"M28,20H4a2.0051,2.0051,0,0,1-2-2V6A2.0051,2.0051,0,0,1,4,4H28a2.0051,2.0051,0,0,1,2,2V18A2.0027,2.0027,0,0,1,28,20ZM28,6H4V18H28Z"})),n)});function A9(e){let{children:t}=e,[n,r]=(0,el.useState)(!1);return(0,el.useEffect)(()=>{r(!0)},[]),(0,es.jsx)("div",{children:n?t:null})}function Te(e){let{passwordProtectRequestHooks:t,fallback:n,children:r,lockRoutes:i}=e;return(0,es.jsx)(A9,{children:(0,es.jsx)(hN.kl,{fallback:n,children:(0,es.jsx)(vI.f,{attribute:"class",children:(0,es.jsx)(ns,{children:(0,es.jsx)(hN.bW,{lockRoutes:i,passwordProtectRequestHooks:t,children:(0,es.jsxs)("div",{id:"root",className:lB,children:[(0,es.jsx)(SV,{}),r]})})})})})})}n(45847),n(331);var Tt=["children"],Tn=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Tt);return el.createElement(un,l7({width:20,height:20,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),er||(er=el.createElement("path",{d:"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"})),n)}),Tr=["children"],Ti=el.forwardRef(function(e,t){var n=e.children,r=l9(e,Tr);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),ei||(ei=el.createElement("path",{d:"M26,6V8.17L5.64,11.87a2,2,0,0,0-1.64,2v4.34a2,2,0,0,0,1.64,2L8,20.56V24a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V22.74l6,1.09V26h2V6ZM18,24H10V20.93l8,1.45ZM6,18.17V13.83L26,10.2V21.8Z"})),n)}),To=["children"],Ta=el.forwardRef(function(e,t){var n=e.children,r=l9(e,To);return el.createElement(un,l7({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),eo||(eo=el.createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z"})),ea||(ea=el.createElement("path",{fill:"none",d:"M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z","data-icon-path":"inner-path"})),n)});function Ts(e){let{size:t=24}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"currentColor",viewBox:"0 0 512 512",children:(0,es.jsx)("path",{d:"M464 64C490.5 64 512 85.49 512 112V176C512 202.5 490.5 224 464 224H48C21.49 224 0 202.5 0 176V112C0 85.49 21.49 64 48 64H464zM448 128H320V160H448V128zM464 288C490.5 288 512 309.5 512 336V400C512 426.5 490.5 448 464 448H48C21.49 448 0 426.5 0 400V336C0 309.5 21.49 288 48 288H464zM192 352V384H448V352H192z"})})}function Tl(e){let{size:t=24,className:n}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:n,fill:"currentColor",viewBox:"0 0 384 512",children:(0,es.jsx)("path",{d:"M256 0v128h128L256 0zM224 128L224 0H48C21.49 0 0 21.49 0 48v416C0 490.5 21.49 512 48 512h288c26.51 0 48-21.49 48-48V160h-127.1C238.3 160 224 145.7 224 128zM64 72C64 67.63 67.63 64 72 64h80C156.4 64 160 67.63 160 72v16C160 92.38 156.4 96 152 96h-80C67.63 96 64 92.38 64 88V72zM64 136C64 131.6 67.63 128 72 128h80C156.4 128 160 131.6 160 136v16C160 156.4 156.4 160 152 160h-80C67.63 160 64 156.4 64 152V136zM304 384c8.875 0 16 7.125 16 16S312.9 416 304 416h-47.25c-16.38 0-31.25-9.125-38.63-23.88c-2.875-5.875-8-6.5-10.12-6.5s-7.25 .625-10 6.125l-7.75 15.38C187.6 412.6 181.1 416 176 416H174.9c-6.5-.5-12-4.75-14-11L144 354.6L133.4 386.5C127.5 404.1 111 416 92.38 416H80C71.13 416 64 408.9 64 400S71.13 384 80 384h12.38c4.875 0 9.125-3.125 10.62-7.625l18.25-54.63C124.5 311.9 133.6 305.3 144 305.3s19.5 6.625 22.75 16.5l13.88 41.63c19.75-16.25 54.13-9.75 66 14.12c2 4 6 6.5 10.12 6.5H304z"})})}function Tu(e){let{size:t=24,className:n}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"currentColor",viewBox:"0 0 512 512",className:n,children:(0,es.jsx)("path",{d:"M464 288h-416C21.5 288 0 309.5 0 336v96C0 458.5 21.5 480 48 480h416c26.5 0 48-21.5 48-48v-96C512 309.5 490.5 288 464 288zM320 416c-17.62 0-32-14.38-32-32s14.38-32 32-32s32 14.38 32 32S337.6 416 320 416zM416 416c-17.62 0-32-14.38-32-32s14.38-32 32-32s32 14.38 32 32S433.6 416 416 416zM464 32h-416C21.5 32 0 53.5 0 80v192.4C13.41 262.3 29.92 256 48 256h416c18.08 0 34.59 6.254 48 16.41V80C512 53.5 490.5 32 464 32z"})})}function Tc(e){let{size:t=24}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"currentColor",viewBox:"0 0 576 512",children:(0,es.jsx)("path",{d:"M575.8 255.5C575.8 273.5 560.8 287.6 543.8 287.6H511.8L512.5 447.7C512.5 450.5 512.3 453.1 512 455.8V472C512 494.1 494.1 512 472 512H456C454.9 512 453.8 511.1 452.7 511.9C451.3 511.1 449.9 512 448.5 512H392C369.9 512 352 494.1 352 472V384C352 366.3 337.7 352 320 352H256C238.3 352 224 366.3 224 384V472C224 494.1 206.1 512 184 512H128.1C126.6 512 125.1 511.9 123.6 511.8C122.4 511.9 121.2 512 120 512H104C81.91 512 64 494.1 64 472V360C64 359.1 64.03 358.1 64.09 357.2V287.6H32.05C14.02 287.6 0 273.5 0 255.5C0 246.5 3.004 238.5 10.01 231.5L266.4 8.016C273.4 1.002 281.4 0 288.4 0C295.4 0 303.4 2.004 309.5 7.014L564.8 231.5C572.8 238.5 576.9 246.5 575.8 255.5L575.8 255.5z"})})}function Tf(e){let{size:t=24}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:t,width:t,fill:"currentColor",children:(0,es.jsx)("path",{d:"M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"})})}function Td(e){let{size:t=24}=e;return(0,es.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,width:t,fill:"currentColor",viewBox:"0 0 448 512",children:(0,es.jsx)("path",{d:"M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"})})}let Th=[];function Tp(e,t){let{columns:n,columnsDefaultVisible:r,defaultSortField:i,sortOptions:o,disabledCategories:a}={disabledCategories:Th,...t},[s,l]=(0,Ap.Z)("".concat(e,"/enabledColumns"),{defaultValue:r}),[u,c]=(0,Ap.Z)("".concat(e,"/sortField"),{defaultValue:i}),[f,d]=(0,Ap.Z)("".concat(e,"/sortDirection"),{defaultValue:"desc"}),h=(0,el.useCallback)(e=>{l(t=>t.includes(e)?t.filter(t=>t!==e):t.concat(e))},[l]),p=(0,el.useCallback)(e=>{l(t=>(0,m8.uniq)([...t,...e]))},[l]),v=(0,el.useCallback)(e=>{l(t=>(0,m8.difference)(t,e))},[l]),m=(0,el.useCallback)(()=>{l(r)},[l,r]),g=(0,el.useCallback)(e=>{if(u!==e){c(e),d("asc");return}d(e=>"desc"===e?"asc":"desc")},[u,c,d]),y=(0,el.useMemo)(()=>n.filter(e=>{let t=null==a?void 0:a.includes(e.category||"");return!e.fixed&&!t}),[n,a]),b=(0,el.useMemo)(()=>n.filter(e=>{let t=e.fixed||s.includes(e.id),n=null==a?void 0:a.includes(e.category||"");return t&&!n}).map(e=>e.id),[n,s,a]),x=(0,el.useMemo)(()=>{if(!o)return[];let e=o.map(e=>e.id);return(0,m8.intersection)(e,b)},[o,b]);return{configurableColumns:y,enabledColumns:b,toggleColumnVisibility:h,toggleSort:g,setSortDirection:d,setSortField:c,sortableColumns:x,sortField:u,setColumnsVisible:p,setColumnsHidden:v,sortDirection:f,resetDefaultColumnVisibility:m}}function Tv(){let e=(0,OC.useRouter)(),[t,n]=(0,el.useState)([]),r=(0,el.useCallback)(t=>{n(e=>{let n=e.filter(e=>e.id!==t.id);return n.concat(t)}),e.replace({query:{}})},[e,n]),i=(0,el.useCallback)(()=>{n([]),e.replace({query:{}})},[e,n]),o=(0,el.useCallback)(t=>{n(e=>e.filter(e=>e.id!==t)),e.replace({query:{}})},[e,n]),a=(0,el.useCallback)(()=>{t.length&&(n(e=>e.slice(0,-1)),e.replace({query:{}}))},[e,n,t]);return{filters:t,setFilter:r,removeFilter:o,removeLastFilter:a,resetFilters:i}}function Tm(e,t,n,r){let[i,o]=(0,el.useState)();return(0,el.useEffect)(()=>{!t&&e&&o(e.length)},[t,e,o]),(0,el.useMemo)(()=>n?"error":void 0===i||i>0&&!e?"loading":0===i?0===r.length?"noneYet":"noneMatchingFilters":void 0,[e,i,n,r])}function Tg(e){return new(hA())(e).times(1024).times(1024)}function Ty(e){return new(hA())(e).times(1e3).times(1e3).times(1e3).times(1e3)}function Tb(e){return new(hA())(e).div(1e3).div(1e3).div(1e3)}function Tx(e){return new(hA())(e).times(1e3).times(1e3).times(1e3)}function Tw(e){return new(hA())(e).div(1e3).div(1e3)}function T_(e){return new(hA())(e).times(1e3).times(1e3)}function TE(e){return Tg(e).times(4)}function Tk(e){return Tb(TE(e))}function Tj(e){var t;return(t=Tx(e),new(hA())(t).div(1024).div(1024)).div(4).integerValue()}function TS(e,t){let n=t.reduce((e,t)=>{let n=e.startHeight,r=e.endHeight;return t.contractHeightStartr&&(r=t.contractHeightEnd),{startHeight:n,endHeight:r}},{startHeight:e,endHeight:0});n.endHeight=Math.max(n.endHeight,e)+720,n.startHeight=n.startHeight-720;let r=[],i=n.startHeight;for(;i<=n.endHeight;)r.push(i),i+=kc(1);let o=r.reduce((e,t)=>({...e,[t]:{total:null,timestamp:t}}),{});return{allDatesMap:o,range:n}}new(hA())(0)},41755:function(e,t,n){"use strict";n.d(t,{bW:function(){return F},kl:function(){return Y},gw:function(){return o},Tc:function(){return q},du:function(){return $},Hv:function(){return L},iv:function(){return H},Nf:function(){return U},E:function(){return Z},mw:function(){return z},q0:function(){return I},Tb:function(){return A},V1:function(){return B},I7:function(){return V},DG:function(){return W}});var r=n(79381);function i(e,t){return!e||t?null:e}function o(e){return new Promise(t=>setTimeout(t,e))}var a=n(89644),s=n.n(a),l=n(2784);function u(e){return{...e,config:{...null==e?void 0:e.config}}}function c(e){return{...e,config:{...null==e?void 0:e.config}}}function f(e){return{...e,config:{...null==e?void 0:e.config}}}function d(e,t,n){return(null==n?void 0:n.api)||(null==t?void 0:t.api)||e.api}function h(e,t,n){var r,i;let o=function(e,t,n){var r,i,o,a;let s={"Content-Type":"application/json",...null===(r=t.config)||void 0===r?void 0:null===(i=r.axios)||void 0===i?void 0:i.headers,...null==n?void 0:null===(o=n.config)||void 0===o?void 0:null===(a=o.axios)||void 0===a?void 0:a.headers},l=d(e,t,n);return e.api===l&&e.password&&(s.Authorization="Basic "+btoa(":".concat(e.password))),s}(e,t,n);return{responseType:"json",...null===(r=t.config)||void 0===r?void 0:r.axios,...null==n?void 0:null===(i=n.config)||void 0===i?void 0:i.axios,headers:o}}function p(e,t,n,r){if(!t)return null;let i=(null==n?void 0:n.params)||{};if(r&&r.params&&(i={...i,...r.params}),!(t=function(e,t){if(e&&t){let n=Object.keys(t);for(let r of n){let i=String(t[r]);e.includes(":".concat(r))?e=e.replace(":".concat(r),i):e.includes("?")?e+="&".concat(r,"=").concat(encodeURIComponent(i)):e+="?".concat(r,"=").concat(encodeURIComponent(i))}}return e}(t,i)))return null;let o=d(e,n,r);return o===e.api?"".concat(o,"/api").concat(t):"".concat(o).concat(t)}function v(e,t,n,r){let i=d(e,n,r);return i===e.api?t.replace("".concat(i,"/api"),""):t.replace(i,"")}var m=n(52322),g=n(5632),y=n(92762);function b(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}let x=["geforce 320m","geforce 8600","geforce 8600m gt","geforce 8800 gs","geforce 8800 gt","geforce 9400","geforce 9400m g","geforce 9400m","geforce 9600m gt","geforce 9600m","geforce fx go5200","geforce gt 120","geforce gt 130","geforce gt 330m","geforce gtx 285","google swiftshader","intel g41","intel g45","intel gma 4500mhd","intel gma x3100","intel hd 3000","intel q45","legacy","mali-2","mali-3","mali-4","quadro fx 1500","quadro fx 4","quadro fx 5","radeon hd 2400","radeon hd 2600","radeon hd 4670","radeon hd 4850","radeon hd 4870","radeon hd 5670","radeon hd 5750","radeon hd 6290","radeon hd 6300","radeon hd 6310","radeon hd 6320","radeon hd 6490m","radeon hd 6630m","radeon hd 6750m","radeon hd 6770m","radeon hd 6970m","sgx 543","sgx543"];function w(e){return e=e.toLowerCase().replace(/.*angle ?\((.+)\)(?: on vulkan [0-9.]+)?$/i,"$1").replace(/\s(\d{1,2}gb|direct3d.+$)|\(r\)| \([^)]+\)$/g,"").replace(/(?:vulkan|opengl) \d+\.\d+(?:\.\d+)?(?: \((.*)\))?/,"$1")}let _="undefined"==typeof window,E=(()=>{if(_)return;let{userAgent:e,platform:t,maxTouchPoints:n}=window.navigator,r=/(iphone|ipod|ipad)/i.test(e),i="iPad"===t||"MacIntel"===t&&n>0&&!window.MSStream;return{isIpad:i,isMobile:/android/i.test(e)||r||i,isSafari12:/Version\/12.+Safari/.test(e)}})();class k extends Error{constructor(e){super(e),Object.setPrototypeOf(this,new.target.prototype)}}let j=[],S=[];function O(e){return null!=e}let C=({mobileTiers:e=[0,15,30,60],desktopTiers:t=[0,15,30,60],override:n={},glContext:r,failIfMajorPerformanceCaveat:i=!1,benchmarksURL:o="https://unpkg.com/detect-gpu@5.0.34/dist/benchmarks"}={})=>b(void 0,void 0,void 0,function*(){let a={};if(_)return{tier:0,type:"SSR"};let{isIpad:s=!!(null==E?void 0:E.isIpad),isMobile:l=!!(null==E?void 0:E.isMobile),screenSize:u=window.screen,loadBenchmarks:c=e=>b(void 0,void 0,void 0,function*(){let t=yield fetch(`${o}/${e}`).then(e=>e.json());if(4>parseInt(t.shift().split(".")[0],10))throw new k("Detect GPU benchmark data is out of date. Please update to version 4x");return t})}=n,{renderer:f}=n,d=(e,t,n,r,i)=>({device:i,fps:r,gpu:n,isMobile:l,tier:e,type:t}),h,p="";if(f)h=[f=w(f)];else{var v;let m=r||function(e,t=!1){let n={alpha:!1,antialias:!1,depth:!1,failIfMajorPerformanceCaveat:t,powerPreference:"high-performance",stencil:!1};e&&delete n.powerPreference;let r=window.document.createElement("canvas"),i=r.getContext("webgl",n)||r.getContext("experimental-webgl",n);return null!=i?i:void 0}(null==E?void 0:E.isSafari12,i);if(!m)return d(0,"WEBGL_UNSUPPORTED");let g=m.getExtension("WEBGL_debug_renderer_info");if(g&&(f=m.getParameter(g.UNMASKED_RENDERER_WEBGL)),!f)return d(1,"FALLBACK");p=f,h="apple gpu"===(v=f=w(f))?function(e,t,n){let r;if(!n)return[t];let i=function(e){let t=e.createShader(35633),n=e.createShader(35632),r=e.createProgram();if(!(n&&t&&r))return;e.shaderSource(t,"\n precision highp float;\n attribute vec3 aPosition;\n varying float vvv;\n void main() {\n vvv = 0.31622776601683794;\n gl_Position = vec4(aPosition, 1.0);\n }\n "),e.shaderSource(n,"\n precision highp float;\n varying float vvv;\n void main() {\n vec4 enc = vec4(1.0, 255.0, 65025.0, 16581375.0) * vvv;\n enc = fract(enc);\n enc -= enc.yzww * vec4(1.0 / 255.0, 1.0 / 255.0, 1.0 / 255.0, 0.0);\n gl_FragColor = enc;\n }\n "),e.compileShader(t),e.compileShader(n),e.attachShader(r,t),e.attachShader(r,n),e.linkProgram(r),e.detachShader(r,t),e.detachShader(r,n),e.deleteShader(t),e.deleteShader(n),e.useProgram(r);let i=e.createBuffer();e.bindBuffer(34962,i),e.bufferData(34962,new Float32Array([-1,-1,0,3,-1,0,-1,3,0]),35044);let o=e.getAttribLocation(r,"aPosition");e.vertexAttribPointer(o,3,5126,!1,0,0),e.enableVertexAttribArray(o),e.clearColor(1,1,1,1),e.clear(16384),e.viewport(0,0,1,1),e.drawArrays(4,0,3);let a=new Uint8Array(4);return e.readPixels(0,0,1,1,6408,5121,a),e.deleteProgram(r),e.deleteBuffer(i),a.join("")}(e),o="801621810",a="8016218135",s="80162181161",l=(null==E?void 0:E.isIpad)?[["a7",s,12],["a8",a,15],["a8x",a,15],["a9",a,15],["a9x",a,15],["a10",a,15],["a10x",a,15],["a12",o,15],["a12x",o,15],["a12z",o,15],["a14",o,15],["m1",o,15]]:[["a7",s,12],["a8",a,12],["a9",a,15],["a10",a,15],["a11",o,15],["a12",o,15],["a13",o,15],["a14",o,15]];return"80162181255"===i?r=l.filter(([,,e])=>e>=14):(r=l.filter(([,e])=>e===i)).length||(r=l),r.map(([e])=>`apple ${e} gpu`)}(m,v,l):[v]}let y=(yield Promise.all(h.map(function(e){var t;return b(this,void 0,void 0,function*(){let n;let r=(e=>{for(let t of l?["adreno","apple","mali-t","mali","nvidia","powervr","samsung"]:["intel","apple","amd","radeon","nvidia","geforce"])if(e.includes(t))return t})(e);if(!r)return;let i=`${l?"m":"d"}-${r}${s?"-ipad":""}.json`,o=a[i]=null!==(t=a[i])&&void 0!==t?t:c(i);try{n=yield o}catch(f){if(f instanceof k)throw f;return}let d=function(e){var t;let n=(e=e.replace(/\([^)]+\)/,"")).match(/\d+/)||e.match(/(\W|^)([A-Za-z]{1,3})(\W|$)/g);return null!==(t=null==n?void 0:n.join("").replace(/\W|amd/g,""))&&void 0!==t?t:""}(e),h=n.filter(([,e])=>e===d);h.length||(h=n.filter(([t])=>t.includes(e)));let p=h.length;if(0===p)return;let v=e.split(/[.,()\[\]/\s]/g).sort().filter((e,t,n)=>0===t||e!==n[t-1]).join(" "),m,[g,,,,y]=p>1?h.map(e=>[e,function(e,t){if(e===t)return 0;let n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o,a=0;for(;au?l>u?u+1:l:l>s?s+1:l;return u}(v,e[2])]).sort(([,e],[,t])=>e-t)[0][0]:h[0],b=Number.MAX_VALUE,{devicePixelRatio:x}=window,w=u.width*x*u.height*x;for(let _ of y){let[E,O]=_,C=E*O,A=Math.abs(w-C);Ae===n?t-r:e-n);if(!y.length){let C=x.find(e=>f.includes(e));return C?d(0,"BLOCKLISTED",C):d(1,"FALLBACK",`${f} (${p})`)}let[,A,T,M]=y[0];if(-1===A)return d(0,"BLOCKLISTED",T,A,M);let P=l?e:t,N=0;for(let R=0;R=P[R]&&(N=R);return d(N,"BENCHMARK",T,A,M)});function A(){var e;let t=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");return!t||!!t.matches}let T=(0,l.createContext)({}),M=()=>(0,l.useContext)(T);function P(e){let{children:t}=e,n=function(){let[e,t]=(0,l.useState)({}),n=(0,l.useCallback)((e,n)=>{t(t=>({...t,[e]:{key:e,...n}}))},[t]),r=(0,l.useCallback)(e=>{t(t=>(delete t[e],{...t}))},[t]),i=(0,l.useCallback)(()=>{t({})},[t]),o=(0,l.useMemo)(()=>Object.entries(e).map(e=>e[1]),[e]);return{setWorkflow:n,removeWorkflow:r,resetWorkflows:i,workflows:o}}();return(0,m.jsx)(T.Provider,{value:n,children:t})}let N=[{id:"usd",label:"USD",prefix:"$",fixed:2},{id:"cad",label:"CAD",prefix:"$",fixed:2},{id:"eur",label:"EUR",prefix:"€",fixed:2},{id:"gbp",label:"GBP",prefix:"\xa3",fixed:2},{id:"jpy",label:"JPY",prefix:"\xa5",fixed:2},{id:"aud",label:"AUD",prefix:"$",fixed:2},{id:"rub",label:"RUB",prefix:"₽",fixed:2},{id:"cny",label:"CNY",prefix:"\xa5",fixed:2},{id:"btc",label:"BTC",prefix:"₿",fixed:6},{id:"eth",label:"ETH",prefix:"Ξ",fixed:6}],R={api:"",allowCustomApi:!1,siaCentral:!0,password:void 0,currency:N[0],recentApis:{},autoLock:!1,autoLockTimeout:6e5},D=(0,l.createContext)({}),L=()=>(0,l.useContext)(D);function F(e){let{children:t,...n}=e,i=function(e){let{passwordProtectRequestHooks:t,lockRoutes:n,defaultSettings:i}=e,o=(0,l.useMemo)(()=>({...R,...i}),[i]),[a,s]=(0,y.Z)("v0/settings",{defaultValue:o});(0,l.useEffect)(()=>{s(e=>({...o,...e}))},[]);let u=(0,l.useMemo)(()=>({...o,...a}),[a,o]),{resetWorkflows:c}=M(),f=(0,l.useCallback)(e=>{s(t=>({...t,...e}))},[s]),d=(0,l.useCallback)(e=>{let t=N.find(t=>t.id===e);t&&f({currency:t})},[f]),h=(0,g.useRouter)(),[p,v]=(0,l.useState)({}),m=(0,l.useCallback)((e,t)=>{v(n=>({...n,[e]:t}))},[v]),b=(0,l.useCallback)(()=>{for(let[e,t]of(n&&h.push({pathname:n.login,query:{prev:[n.login].includes(h.asPath)?n.home:h.asPath}}),f({password:""}),c(),(0,r.JG)(()=>!0,void 0,{revalidate:!1}),Object.entries(p)))t&&t()},[h,n,f,c,p]),x=(0,l.useMemo)(()=>!!u.password,[u]),w=function(){let e=A(),[t,n]=(0,l.useState)(!1),[r,i]=(0,l.useState)(!1),[{isGpuEnabled:o,hasUserSet:a},s]=(0,y.Z)("v1/gpuFeatures",{defaultValue:{isGpuEnabled:!e,hasUserSet:!1}}),u=(0,l.useCallback)(function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];s(n=>({...n,isGpuEnabled:e,hasUserSet:t}))},[s]),c=(0,l.useCallback)(async()=>{let e=!1;{let t=await C();console.log("GPU",t),e=t.tier>0,!a&&t.tier<2&&u(!1,!1)}i(e),n(!0)},[i,u,a]);return(0,l.useEffect)(()=>{c()},[]),{hasCheckedGpu:t,canGpuRender:r,isGpuEnabled:o,shouldRender:r&&o,setCanGpuRender:i,setIsGpuEnabled:u}}();return{settings:u,setSettings:f,setCurrency:d,currencyOptions:N,gpu:w,lock:b,isUnlocked:x,passwordProtectRequestHooks:t,setOnLockCallback:m}}(n);return(0,m.jsx)(D.Provider,{value:i,children:t})}function I(e){var t;let n=(0,l.useMemo)(()=>c(e),[e]),{settings:o,passwordProtectRequestHooks:a}=L(),u=p(o,n.route,n,void 0),f=(0,l.useMemo)(()=>i(u?"".concat(u).concat(JSON.stringify(void 0!==e.payload?e.payload:"")):null,n.disabled||a&&!o.password),[u,e,n,a,o]);return(0,r.ZP)(f,async()=>{if(!n.route)throw Error("No route");let t=h(o,n,void 0);if(!u)throw Error("No route");try{let r=await s().post(u,e.payload,t);return r.data}catch(a){let i=Error(a.response.data);throw i.status=a.response.status||500,i}},null===(t=n.config)||void 0===t?void 0:t.swr)}function z(e,t){let{setWorkflow:n,removeWorkflow:i}=M(),{mutate:o}=(0,r.kY)(),{settings:a}=L(),l=u(e);return{post:async e=>{let r=f(e);try{let u;let c=h(a,l,r),d=p(a,l.route,l,r);if(!d)throw Error("No route");"payload"in r&&(u=r.payload);let m="".concat(d).concat(JSON.stringify(void 0!==e.payload?e.payload:"")),g=v(a,d,e,r);n(m,{path:g,payload:u});let y=await s().post(d,u,c);return t&&await t(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,i=arguments.length>2?arguments[2]:void 0;return o(n=>{if("string"!=typeof n)return!1;let i=v(a,n,e,r);return t(i)},n,i)},r,y),i(m),{status:y.status,data:y.data}}catch(w){var b,x;return{status:null===(b=w.response)||void 0===b?void 0:b.status,error:(null===(x=w.response)||void 0===x?void 0:x.data)||w.message}}}}}function V(e){var t;let n=(0,l.useMemo)(()=>c(e),[e]),{settings:o,passwordProtectRequestHooks:a}=L(),u=p(o,n.route,n,void 0),f=(0,l.useMemo)(()=>i(u?"".concat(u).concat(JSON.stringify(void 0!==e.payload?e.payload:"")):null,n.disabled||a&&!o.password),[u,e,n,a,o]);return(0,r.ZP)(f,async()=>{if(!n.route)throw Error("No route");let t=h(o,n,void 0);if(!u)throw Error("No route");try{let r=await s().put(u,e.payload,t);return r.data}catch(a){let i=Error(a.response.data);throw i.status=a.response.status||500,i}},null===(t=n.config)||void 0===t?void 0:t.swr)}function B(e,t){let{mutate:n}=(0,r.kY)(),{settings:i}=L(),{setWorkflow:o,removeWorkflow:a}=M(),l=u(e);return{put:async e=>{let r=f(e);try{let u;let c=h(i,l,r),d=p(i,l.route,l,r);if(!d)throw Error("No route");"payload"in r&&(u=r.payload);let m="".concat(d).concat(JSON.stringify(void 0!==e.payload?e.payload:"")),g=v(i,d,e,r);o(m,{path:g,payload:u});let y=await s().put(d,u,c);return t&&await t(function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,a=arguments.length>2?arguments[2]:void 0;return n(n=>{if("string"!=typeof n)return!1;let o=v(i,n,e,r);return t(o)},o,a)},r,y),a(m),{status:y.status,data:y.data}}catch(w){var b,x;return{status:null===(b=w.response)||void 0===b?void 0:b.status,error:(null===(x=w.response)||void 0===x?void 0:x.data)||w.message}}}}}function Z(e,t){let{mutate:n}=(0,r.kY)(),{settings:i}=L(),{setWorkflow:o,removeWorkflow:a}=M(),l=u(e);return{patch:async e=>{let r=f(e);try{let u;let c=h(i,l,r),d=p(i,l.route,l,r);if(!d)throw Error("No route");"payload"in r&&(u=r.payload);let m="".concat(d).concat(JSON.stringify(void 0!==e.payload?e.payload:"")),g=v(i,d,e,r);o(m,{path:g,payload:u});let y=await s().patch(d,u,c);return t&&await t(function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,a=arguments.length>2?arguments[2]:void 0;return n(n=>{if("string"!=typeof n)return!1;let o=v(i,n,e,r);return t(o)},o,a)},r,y),a(m),{status:y.status,data:y.data}}catch(w){var b,x;return{status:null===(b=w.response)||void 0===b?void 0:b.status,error:(null===(x=w.response)||void 0===x?void 0:x.data)||w.message}}}}}function U(e){var t;let n=(0,l.useMemo)(()=>c(e),[e]),{settings:o,passwordProtectRequestHooks:a}=L(),u=p(o,n.route,n,void 0);return(0,r.ZP)(i(u,n.disabled||a&&!o.password),async()=>{if(!n.route)throw Error("No route");let e=h(o,n,void 0);if(!u)throw Error("No route");try{let t=await s().get(u,e);return t.data}catch(i){let r=Error(i.response.data);throw r.status=i.response.status||500,r}},null===(t=n.config)||void 0===t?void 0:t.swr)}function H(e,t){let{mutate:n}=(0,r.kY)(),{settings:i}=L(),{setWorkflow:o,removeWorkflow:a}=M(),l=u(e);return{delete:async e=>{let r=f(e);try{let u=h(i,l,r),c=p(i,l.route,l,r);if(!c)throw Error("No route");let d=v(i,c,e,r);o(c,{path:d});let m=await s().delete(c,u);return t&&await t(function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,a=arguments.length>2?arguments[2]:void 0;return n(n=>{if("string"!=typeof n)return!1;let o=v(i,n,e,r);return t(o)},o,a)},r,m),a(c),{status:m.status,data:m.data}}catch(b){var g,y;return{status:null===(g=b.response)||void 0===g?void 0:g.status,error:(null===(y=b.response)||void 0===y?void 0:y.data)||b.message}}}}}function W(e){let{settings:t}=L();return U({api:"https://api.siacentral.com/v2",...e,route:"/market/exchange-rate?currencies=sc",disabled:(null==e?void 0:e.disabled)||!t.siaCentral})}function q(){return Math.round((new Date().getTime()-14336e8)/6e5)}function $(){return Math.round((new Date().getTime()-16736e8)/6e5)}function Y(e){let{fallback:t,cacheProvider:n,children:i}=e;return(0,m.jsx)(P,{children:(0,m.jsx)(r.J$,{value:{fallback:t||{},provider:n},children:i})})}},13369:function(e,t,n){"use strict";n.d(t,{dk:function(){return o},Z7:function(){return L},Uy:function(){return F},GP:function(){return y},kr:function(){return b},nH:function(){return l},KU:function(){return x},rV:function(){return _},Az:function(){return k},uo:function(){return j},Te:function(){return E},d$:function(){return s},On:function(){return a},Wl:function(){return f},cQ:function(){return c},cM:function(){return N},Kw:function(){return R},hV:function(){return g},ST:function(){return O},HU:function(){return A},uq:function(){return M},G:function(){return P},Rz:function(){return T},Fn:function(){return S},Os:function(){return d},a0:function(){return v},cj:function(){return m},Qq:function(){return h}});var r=n(41755),i=n(79381);let o="/state/host";function a(e){return(0,r.Nf)({...e,route:o})}function s(e){return(0,r.Nf)({...e,route:"/state/consensus"})}function l(){let e=a({config:{swr:{revalidateOnFocus:!1}}}),t=(0,i.ZP)(e,()=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.network)==="Zen Testnet"?(0,r.du)():(0,r.Tc)()},{refreshInterval:6e4,keepPreviousData:!0});return t.data||0}let u="/syncer/peers";function c(e){return(0,r.Nf)({...e,route:u})}function f(e){return(0,r.V1)({...e,route:"/syncer/peers"},async e=>{e(e=>e===u)})}function d(e){return(0,r.Nf)({...e,route:"/wallet"})}function h(e){return(0,r.Nf)({...e,route:"/wallet/transactions"})}let p="/wallet/pending";function v(e){return(0,r.Nf)({...e,route:p})}function m(e){return(0,r.mw)({...e,route:"/wallet/send"},async e=>{await (0,r.gw)(2e3),e(e=>e.startsWith(p))})}function g(e){return(0,r.Nf)({...e,route:"/tpool/fee"})}function y(e){return(0,r.q0)({...e,route:"/contracts"})}function b(e){return(0,r.V1)({...e,route:"/contracts/:id/integrity"})}function x(e){return(0,r.Nf)({...e,route:"/metrics/:interval"})}let w="/settings";function _(e){return(0,r.Nf)({...e,route:w})}function E(e){return(0,r.E)({...e,route:"/settings"},async e=>{await e(e=>e.startsWith(w))})}function k(e){return(0,r.mw)({...e,route:"/settings/announce"})}function j(e){return(0,r.I7)({...e,payload:{},route:"/settings/ddns/update"})}function S(e){return(0,r.Nf)({...e,route:"/volumes"})}function O(e){return(0,r.Nf)({...e,route:"/volumes/:id"})}let C="/volumes";function A(e){return(0,r.mw)({...e,route:C},async e=>{e(e=>e.startsWith(C))})}function T(e){return(0,r.V1)({...e,route:"/volumes/:id"},async e=>{e(e=>e.startsWith(C))})}function M(e){return(0,r.iv)({...e,route:"/volumes/:id"},async e=>{e(e=>e.startsWith(C))})}function P(e){return(0,r.V1)({...e,route:"/volumes/:id/resize"},async e=>{await (0,r.gw)(1e4),e(e=>e.startsWith(C))})}function N(e){return(0,r.Nf)({...e,route:"/system/dir"})}function R(e){return(0,r.V1)({...e,route:"/system/dir"})}let D="/alerts";function L(e){return(0,r.Nf)({...e,route:D})}function F(e){return(0,r.mw)({...e,route:"/alerts/dismiss"},async e=>{e(e=>e.startsWith(D))})}},2288:function(e,t,n){"use strict";n.d(t,{vW:function(){return o},rN:function(){return l},yF:function(){return s},Vz:function(){return h},ES:function(){return p},bc:function(){return a},qN:function(){return f},ll:function(){return c}}),n(81395),n(76635);var r=n(6391),i=n.n(r);function o(e,t){let n="number"==typeof e?e:e instanceof i()?e.toNumber():Number(e),{fixed:r=2}=t||{};if(!n)return"0 B";if(n<1e3)return"".concat(n," B");let o=Math.floor(Math.log10(n)/Math.log10(1e3)),a=n/Math.pow(1e3,o);return a.toFixed(r)+" "+["B","KB","MB","GB","TB","PB","EB"][o]}function a(e){return 0===e?"0ms":(e/=1e6)<1e3?" ".concat(Math.floor(100*e)/100,"ms"):(e/=1e3)<60?"".concat(Math.floor(100*e)/100,"s"):"".concat(Math.floor(e/60*100)/100,"m")}function s(e,t){let{fixed:n=0,units:r="",abbreviated:o=!1}=t||{},a=new(i())(e||0);if(o){let s=a.toNumber();if(s<1e3)return a.toString();let l=["","K","M","B","t","q","Q","s","S","o","n","d","U","D"],u=Math.floor(Math.log10(s)/Math.log10(1e3)),c=s/Math.pow(1e3,u);return"".concat(c.toFixed(n)).concat(l[u]?" ".concat(l[u]):"").concat(r?" ".concat(r):"")}return"".concat(a.toFormat(n)).concat(r?" ".concat(r):"")}function l(e,t){let n;return n=navigator.language,new Intl.DateTimeFormat(n,{dateStyle:"short",...t}).format(new Date(e))}r.BigNumber.config({EXPONENTIAL_AT:1e9}),r.BigNumber.config({DECIMAL_PLACES:30});let u=new r.BigNumber("10").exponentiatedBy(24);function c(e,t){return void 0!==t?new r.BigNumber(new r.BigNumber(e).dividedBy(u).toFixed(t)):new r.BigNumber(e).dividedBy(u)}function f(e){return new r.BigNumber(new r.BigNumber(e).times(u).toFixed(0))}let d={fixed:3,dynamicUnits:!0,hastingUnits:!1};function h(e,t){let{fixed:n,dynamicUnits:i,hastingUnits:o}={...d,...t},a=new r.BigNumber(1e12),s=new r.BigNumber(1e3),l=new r.BigNumber(e),u=new r.BigNumber(e).abs(),f=l.isNegative()?"-":"";if(!i)return"".concat(f).concat(c(u).toFormat(n)," SC");if(u.dividedBy(a).isLessThan(1))return o?"".concat(f).concat(u," H"):"".concat(f,"0 SC");let h=["pS","nS","uS","mS","SC","KS","MS","GS","TS"];for(let p=0;pe.multipliedBy(s),new r.BigNumber(1)),m=u.dividedBy(a.multipliedBy(v));if(m.isLessThan(s)||p===h.length-1)return"".concat(f).concat(m.toFormat(n)," ").concat(h[p])}return""}function p(e){return e.toLocaleString()+" SF"}},35195:function(){},91050:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Mono_5c2ce5', '__IBM_Plex_Mono_Fallback_5c2ce5'"},className:"__className_5c2ce5",variable:"__variable_5c2ce5"}},1626:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Sans_f3b0db', '__IBM_Plex_Sans_Fallback_f3b0db'"},className:"__className_f3b0db",variable:"__variable_f3b0db"}},15153:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--)a>=0?r=arguments[a]:(void 0===e&&(e=""),r=e),t(r),0!==r.length&&(i=r+"/"+i,o=47===r.charCodeAt(0));return(i=n(i,!o),o)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(s+f))return n.slice(s+f+1);if(0===f)return n.slice(s+f)}else a>u&&(47===e.charCodeAt(i+f)?c=f:0===f&&(c=0));break}var d=e.charCodeAt(i+f);if(d!==n.charCodeAt(s+f))break;47===d&&(c=f)}var h="";for(f=i+c+1;f<=o;++f)(f===o||47===e.charCodeAt(f))&&(0===h.length?h+="..":h+="/..");return h.length>0?h+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!a){i=r+1;break}}else -1===l&&(a=!1,l=r+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else -1===o&&(a=!1,o=r+1);return -1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!o){r=s+1;break}continue}-1===i&&(o=!1,i=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return -1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n,r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i=e.charCodeAt(0),o=47===i;o?(r.root="/",n=1):n=0;for(var a=-1,s=0,l=-1,u=!0,c=e.length-1,f=0;c>=n;--c){if(47===(i=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===i?-1===a?a=c:1!==f&&(f=1):-1!==a&&(f=-1)}return -1===a||-1===l||0===f||1===f&&a===l-1&&a===s+1?-1!==l&&(0===s&&o?r.base=r.name=e.slice(1,l):r.base=r.name=e.slice(s,l)):(0===s&&o?(r.name=e.slice(1,a),r.base=e.slice(1,l)):(r.name=e.slice(s,a),r.base=e.slice(s,l)),r.ext=e.slice(a,l)),s>0?r.dir=e.slice(0,s-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(114);e.exports=i}()},42351:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(r){n=a}}();var l=[],u=!1,c=-1;function f(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=s(f);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n{let n=e;return"string"==typeof t?n=e.toLocaleString(t):!0===t&&(n=e.toLocaleString()),n}},95383:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageFiles=function(e,t){let n=r.denormalizePagePath(i.normalizePagePath(t));return e.pages[n]||(console.warn(`Could not find files for ${n} in .next/build-manifest.json`),[])};var r=n(2666),i=n(61530)},82809:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEscapeJsonString=function(e){return e.replace(r,e=>n[e])},t.ESCAPE_REGEX=void 0;let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},r=/[&><\u2028\u2029]/g;t.ESCAPE_REGEX=r},79505:function(e,t,n){"use strict";t.Su=function(e){return e.match(/\?amp=(y|yes|true|1)/)&&(e=e.replace(/\?amp=(y|yes|true|1)&?/,"?")),e.match(/&=(y|yes|true|1)/)&&(e=e.replace(/&=(y|yes|true|1)/,"")),e=e.replace(/\?$/,"")},n(63461)},331:function(e,t,n){n(49013)},97729:function(e,t,n){e.exports=n(67016)},96577:function(e,t,n){e.exports=n(76239)},39097:function(e,t,n){e.exports=n(81088)},5632:function(e,t,n){e.exports=n(92203)},45847:function(e,t,n){n(14271)},24470:function(e){var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},68262:function(e,t,n){"use strict";var r=n(23586);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},13980:function(e,t,n){e.exports=n(68262)()},23586:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},17296:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),!(e in this._values)&&this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),u=new t(512);function c(e){return s.get(e)||s.set(e,f(e).map(function(e){return e.replace(a,"$2")}))}function f(e){return e.match(n)||[""]}function d(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}e.exports={Cache:t,split:f,normalizePath:c,setter:function(e){var t=c(e);return l.get(e)||l.set(e,function(e,n){for(var r=0,i=t.length,o=e;r>>7-e%8&1)==1},put:function(e,t){for(var n=0;n>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},81432:function(e){e.exports={L:1,M:0,Q:3,H:2}},84695:function(e,t,n){var r=n(35856);function i(e,t){if(void 0==e.length)throw Error(e.length+"/"+t);for(var n=0;n=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},u.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1)&&!(this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4?this.modules[e+n][t+r]=!0:this.modules[e+n][t+r]=!1)},u.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},u.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i>n&1)==1;this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(var n=0;n<18;n++){var r=!e&&(t>>n&1)==1;this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},u.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),i=0;i<15;i++){var o=!e&&(r>>i&1)==1;i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(var i=0;i<15;i++){var o=!e&&(r>>i&1)==1;i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},u.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var u=!1;o>>i&1)==1),a.getMask(t,r,s-l)&&(u=!u),this.modules[r][s-l]=u,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,n){for(var r=i.getRSBlocks(e,t),s=new o,u=0;u8*f)throw Error("code length overflow. ("+s.getLengthInBits()+">"+8*f+")");for(s.getLengthInBits()+4<=8*f&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*f)&&(s.put(l.PAD0,8),!(s.getLengthInBits()>=8*f));)s.put(l.PAD1,8);return l.createBytes(s,r)},l.createBytes=function(e,t){for(var n=0,r=0,i=0,o=Array(t.length),l=Array(t.length),u=0;u=0?p.get(v):0}}for(var m=0,d=0;d=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<=0;)t^=s.G15<=0;)t^=s.G18<>>=1;return t},getPatternPosition:function(e){return s.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case a.PATTERN000:return(t+n)%2==0;case a.PATTERN001:return t%2==0;case a.PATTERN010:return n%3==0;case a.PATTERN011:return(t+n)%3==0;case a.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case a.PATTERN101:return t*n%2+t*n%3==0;case a.PATTERN110:return(t*n%2+t*n%3)%2==0;case a.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new i([1],0),n=0;n5&&(n+=3+o-5)}for(var r=0;r=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","size","title","xmlns"]);return o.default.createElement("svg",r({},s,{height:n,width:n,xmlns:a}),i?o.default.createElement("title",null,i):null,t)};l.propTypes=s,l.defaultProps={title:void 0,xmlns:"http://www.w3.org/2000/svg"},t.default=l},38001:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["bgColor","fgColor","level","size","value"]),h=new i.default(-1,o.default[a]);h.addData(f),h.make();var p=h.modules,v=s/p.length;return l.default.createElement(c.default,r({},d,{size:s}),p.map(function(e,r){return e.map(function(e,i){var o=Math.round(i*v),a=Math.round(r*v),s=Math.round((i+1)*v)-o,c=Math.round((r+1)*v)-a;return l.default.createElement(u.default,{key:"rectangle-"+r+"-"+i,d:"M 0 0 L "+s+" 0 L "+s+" "+c+" L 0 "+c+" Z",fill:e?n:t,transformX:o,transformY:a})})}))};h.propTypes=d,h.defaultProps={bgColor:"#FFFFFF",fgColor:"#000000",level:"L",size:256},t.Z=(0,s.memo)(h)},70506:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r,i,o,a,s,l,u=n(5163),c=n(2784),f="right-scroll-bar-position",d="width-before-scroll-bar",h=(void 0===r&&(r={}),(void 0===i&&(i=function(e){return e}),o=[],a=!1,s={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=i(e,a);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){a=!0;var t=[];if(o.length){var n=o;o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=(0,u.pi)({async:!0,ssr:!1},r),s),p=function(){},v=c.forwardRef(function(e,t){var n,r,i,o=c.useRef(null),a=c.useState({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:p}),s=a[0],l=a[1],f=e.forwardProps,d=e.children,v=e.className,m=e.removeScrollBar,g=e.enabled,y=e.shards,b=e.sideCar,x=e.noIsolation,w=e.inert,_=e.allowPinchZoom,E=e.as,k=(0,u._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),j=(n=[o,t],r=function(e){return n.forEach(function(t){var n;return"function"==typeof(n=t)?n(e):n&&(n.current=e),n})},(i=(0,c.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,i.facade),S=(0,u.pi)((0,u.pi)({},k),s);return c.createElement(c.Fragment,null,g&&c.createElement(b,{sideCar:h,removeScrollBar:m,shards:y,noIsolation:x,inert:w,setCallbacks:l,allowPinchZoom:!!_,lockRef:o}),f?c.cloneElement(c.Children.only(d),(0,u.pi)((0,u.pi)({},S),{ref:j})):c.createElement(void 0===E?"div":E,(0,u.pi)({},S,{className:v,ref:j}),d))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:d,zeroRight:f};var m=function(e){var t=e.sideCar,n=(0,u._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return c.createElement(r,(0,u.pi)({},n))};m.isSideCarExport=!0;var g=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=l||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y=function(){var e=g();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=y();return function(t){return e(t.styles,t.dynamic),null}},x={left:0,top:0,right:0,gap:0},w=function(e){return parseInt(e||"",10)||0},_=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[w(n),w(r),w(i)]},E=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return x;var t=_(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},k=b(),j=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(f," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},S=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r,o=c.useMemo(function(){return E(i)},[i]);return c.createElement(k,{styles:j(o,!t,i,n?"":"!important")})},O=!1;if("undefined"!=typeof window)try{var C=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",C,C),window.removeEventListener("test",C,C)}catch(A){O=!1}var T=!!O&&{passive:!1},M=function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)},P=function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)},N=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),R(e,n)){var r=D(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},R=function(e,t){return"v"===e?M(t):P(t)},D=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},L=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,l=n.target,u=t.contains(l),c=!1,f=s>0,d=0,h=0;do{var p=D(e,l),v=p[0],m=p[1]-p[2]-a*v;(v||m)&&R(e,l)&&(d+=m,h+=v),l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return f&&(i&&0===d||!i&&s>d)?c=!0:!f&&(i&&0===h||!i&&-s>h)&&(c=!0),c},F=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},I=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},V=0,B=[],Z=(h.useMedium(function(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),i=c.useState(V++)[0],o=c.useState(function(){return b()})[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,u.ev)([e.lockRef.current],(e.shards||[]).map(z),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var i,o=F(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,f=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=N(f,c);if(!d)return!0;if(d?i=f:(i="v"===f?"h":"v",d=N(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var h=r.current||i;return L(h,t,e,"h"===h?l:u,!0)},[]),l=c.useCallback(function(e){if(B.length&&B[B.length-1]===o){var n="deltaY"in e?I(e):F(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map(z).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.preventDefault()}}},[]),f=c.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=c.useCallback(function(e){n.current=F(e),r.current=void 0},[]),h=c.useCallback(function(t){f(t.type,I(t),t.target,s(t,e.lockRef.current))},[]),p=c.useCallback(function(t){f(t.type,F(t),t.target,s(t,e.lockRef.current))},[]);c.useEffect(function(){return B.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",l,T),document.addEventListener("touchmove",l,T),document.addEventListener("touchstart",d,T),function(){B=B.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,T),document.removeEventListener("touchmove",l,T),document.removeEventListener("touchstart",d,T)}},[]);var v=e.removeScrollBar,m=e.inert;return c.createElement(c.Fragment,null,m?c.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,v?c.createElement(S,{gapMode:"margin"}):null)}),m),U=c.forwardRef(function(e,t){return c.createElement(v,(0,u.pi)({},e,{ref:t,sideCar:Z}))});U.classNames=v.classNames;var H=U},32718:function(e,t,n){var r,i=n(58085),o=n(41964),a=n(53207),s=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){return r=0,t=Math.pow(10,void 0===t?5:t),o(e=e.replace(/\n+/g," "),/((?:\-[a-z]+\-)?calc)\(/,function e(n,o,l){if(r++>100)throw r=0,Error("Call stack overflow for "+l);if(""===n)throw Error(o+"(): '"+l+"' must contain a non-whitespace string");var u,c=function(e){for(var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,i=r.exec(e);i;)i&&i[1]&&(-1===n.indexOf(i[1].toLowerCase())&&(t.push(i[1]),n.push(i[1].toLowerCase())),i=r.exec(e));return t}(n=function(t,n){t=t.replace(/((?:\-[a-z]+\-)?calc)/g,"");for(var r,o="",a=t;r=s.exec(a);){r[0].index>0&&(o+=a.substring(0,r[0].index));var l=i("(",")",a.substring([0].index));if(""===l.body)throw Error("'"+t+"' must contain a non-whitespace string");var u=e(l.body,"",n);o+=l.pre+u,a=l.post}return o+a}(n,l));if(c.length>1||n.indexOf("var(")>-1)return o+"("+n+")";var f=c[0]||"";"%"===f&&(n=n.replace(/\b[0-9\.]+%/g,function(e){return .01*parseFloat(e.slice(0,-1))}));var d=n.replace(RegExp(f,"gi"),"");try{u=a.eval(d)}catch(h){return o+"("+n+")"}return"%"===f&&(u*=100),(o.length||"%"===f)&&(u=Math.round(u*t)/t),u+=f})}},58085:function(e){function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var o=r(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,o,a,s,l=n.indexOf(e),u=n.indexOf(t,l+1),c=l;if(l>=0&&u>0){for(r=[],o=n.length;c>=0&&!s;)c==l?(r.push(c),l=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),u]:((i=r.pop())=0?l:u;r.length&&(s=[o,a])}return s}e.exports=t,t.range=r},41964:function(e,t,n){var r=n(82294);e.exports=function e(t,n,i){return(function(e,t){var n=[],i="string"==typeof t?RegExp("\\b("+t+")\\("):t;do{var o=i.exec(e);if(!o)break;if(void 0===o[1])throw Error("Missing the first couple of parenthesis to get the function identifier in "+t);var a=o[1],s=o.index,l=r("(",")",e.substring(s));if(!l||l.start!==o[0].length-1)throw SyntaxError(a+"(): missing closing ')' in the value '"+e+"'");n.push({matches:l,functionIdentifier:a}),e=l.post}while(i.test(e));return n})(t,n).reduce(function(r,o){var a,s;return r.replace(o.functionIdentifier+"("+o.matches.body+")",(a=o.matches.body,s=o.functionIdentifier,i(e(a,n,i),s,t)))},t)}},6692:function(e,t,n){let r=n(83128);e.exports=(r.__esModule?r:{default:r}).default},83128:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:()=>a});let i=(r=n(37540))&&r.__esModule?r:{default:r};function o({version:e,from:t,to:n}){i.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}let a={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}},37540:function(e,t,n){"use strict";var r,i=n(93542);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{dim:()=>l,default:()=>u});let o=(r=n(24470))&&r.__esModule?r:{default:r},a=new Set;function s(e,t,n){(void 0===i||!i.env.JEST_WORKER_ID)&&(n&&a.has(n)||(n&&a.add(n),console.warn(""),t.forEach(t=>console.warn(e,"-",t))))}function l(e){return o.default.dim(e)}let u={info(e,t){s(o.default.bold(o.default.cyan("info")),...Array.isArray(e)?[e]:[t,e])},warn(e,t){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(e)?[e]:[t,e])},risk(e,t){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(e)?[e]:[t,e])}}},95159:function(e){function t(e,t){var n=e.length,r=Array(n),i={},o=n,a=function(e){for(var t=new Map,n=0,r=e.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function o(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i{},{isPersistent:!0,removeItem:()=>{}}];let u=null==t?void 0:t.serializer;return function(e,t,n=!0,u=s,c=JSON.stringify){i.has(e)||void 0===t||null!==l(()=>localStorage.getItem(e))||l(()=>localStorage.setItem(e,c(t)));let f=(0,r.useRef)({item:null,parsed:t}),d=(0,r.useSyncExternalStore)((0,r.useCallback)(t=>{let n=n=>{e===n&&t()};return o.add(n),()=>{o.delete(n)}},[e]),()=>{var n;let r=null!==(n=l(()=>localStorage.getItem(e)))&&void 0!==n?n:null;if(i.has(e))f.current={item:r,parsed:i.get(e)};else if(r!==f.current.item){let o;try{o=null===r?t:u(r)}catch(a){o=t}f.current={item:r,parsed:o}}return f.current.parsed},()=>t),h=(0,r.useCallback)(t=>{let n=t instanceof Function?t(f.current.parsed):t;try{localStorage.setItem(e,c(n)),i.delete(e)}catch(r){i.set(e,n)}a(e)},[e,c]);return(0,r.useEffect)(()=>{if(!n)return;let t=t=>{t.storageArea===l(()=>localStorage)&&t.key===e&&a(e)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)},[e,n]),(0,r.useMemo)(()=>[d,h,{isPersistent:d===t||!i.has(e),removeItem(){l(()=>localStorage.removeItem(e)),i.delete(e),a(e)}}],[e,h,d,t])}(e,n,null==t?void 0:t.storageSync,null==u?void 0:u.parse,null==u?void 0:u.stringify)}},20452:function(e,t,n){"use strict";/** +***************************************************************************** */var hl = function() { return (hl = Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++)for (var i in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); return e }).apply(this, arguments) }; function hu(e, t, n) { if (n || 2 == arguments.length) for (var r, i = 0, o = t.length; i < o; i++)!r && i in t || (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]); return e.concat(r || t) } var hc = function(e) { return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&") }, hf = { k: 1e3, m: 1e6, b: 1e9 }, hd = function(e, t) { void 0 === t && (t = "."); var n = RegExp("(\\d+(" + hc(t) + "\\d*)?)([kmb])$", "i"), r = e.match(n); if (r) { var i = r[1], o = hf[r[3].toLowerCase()]; return Number(i.replace(t, ".")) * o } }, hh = function(e, t) { void 0 === t && (t = ","); var n = RegExp(hc(t), "g"); return e.replace(n, "") }, hp = function(e, t) { var n = RegExp("[^\\d" + hc(t.join("")) + "]", "gi"); return e.replace(n, "") }, hv = function(e) { var t = e.value, n = e.groupSeparator, r = void 0 === n ? "," : n, i = e.decimalSeparator, o = void 0 === i ? "." : i, a = e.allowDecimals, s = e.decimalsLimit, l = void 0 === s ? 2 : s, u = e.allowNegativeValue, c = e.disableAbbreviations, f = void 0 !== c && c, d = e.prefix, h = void 0 === d ? "" : d, p = e.transformRawValue, v = (void 0 === p ? function(e) { return e } : p)(t); if ("-" === v) return v; var m = f ? [] : ["k", "m", "b"], g = RegExp("((^|\\D)-\\d)|(-" + hc(h) + ")").test(v), y = RegExp("(\\d+)-?" + hc(h)).exec(t) || [], b = y[0], x = y[1], w = hp(hh(h ? b ? v.replace(b, "").concat(x) : v.replace(h, "") : v, r), hu([r, o], m)), _ = w; if (!f) { if (m.some(function(e) { return e === w.toLowerCase() })) return ""; var E = hd(w, o); E && (_ = String(E)) } var k = g && (void 0 === u || u) ? "-" : ""; if (o && _.includes(o)) { var j = w.split(o), S = j[0], O = j[1], C = l && O ? O.slice(0, l) : O; return "" + k + S + (void 0 === a || a ? "" + o + C : "") } return "" + k + _ }, hm = function(e, t, n) { if (n && e.length > 1) { if (e.includes(t)) { var r = e.split(t), i = r[0], o = r[1]; if (o.length > n) return "" + i + t + o.slice(0, n) } var a = e.length > n ? RegExp("(\\d+)(\\d{" + n + "})") : RegExp("(\\d)(\\d+)"), s = e.match(a); if (s) { var i = s[1], o = s[2]; return "" + i + t + o } } return e }, hg = function(e, t) { var n = t.groupSeparator, r = t.decimalSeparator, i = RegExp("\\d([^" + hc(void 0 === n ? "," : n) + hc(void 0 === r ? "." : r) + "0-9]+)"), o = e.match(i); return o ? o[1] : void 0 }, hy = function(e) { var t = e.value, n = e.decimalSeparator, r = e.intlConfig, i = e.decimalScale, o = e.prefix, a = void 0 === o ? "" : o, s = e.suffix, l = void 0 === s ? "" : s; if ("" === t || void 0 === t) return ""; if ("-" === t) return "-"; var u = RegExp("^\\d?-" + (a ? hc(a) + "?" : "") + "\\d").test(t), c = "." !== n ? hb(t, n, u) : t, f = hx((r ? new Intl.NumberFormat(r.locale, r.currency ? { style: "currency", currency: r.currency, minimumFractionDigits: i || 0, maximumFractionDigits: 20 } : void 0) : new Intl.NumberFormat(void 0, { minimumFractionDigits: i || 0, maximumFractionDigits: 20 })).formatToParts(Number(c)), e), d = hg(f, hl({}, e)), h = t.slice(-1) === n ? n : "", p = (c.match(RegExp("\\d+\\.(\\d+)")) || [])[1]; return (void 0 === i && p && n && (f = f.includes(n) ? f.replace(RegExp("(\\d+)(" + hc(n) + ")(\\d+)", "g"), "$1$2" + p) : d && !l ? f.replace(d, "" + n + p + d) : "" + f + n + p), l && h) ? "" + f + h + l : d && h ? f.replace(d, "" + h + d) : d && l ? f.replace(d, "" + h + l) : [f, h, l].join("") }, hb = function(e, t, n) { var r = e; return t && "." !== t && (r = r.replace(RegExp(hc(t), "g"), "."), n && "-" === t && (r = "-" + r.slice(1))), r }, hx = function(e, t) { var n = t.prefix, r = t.groupSeparator, i = t.decimalSeparator, o = t.decimalScale, a = t.disableGroupSeparators, s = void 0 !== a && a; return e.reduce(function(e, t, a) { var l = t.type, u = t.value; return 0 === a && n ? "minusSign" === l ? [u, n] : "currency" === l ? hu(hu([], e), [n]) : [n, u] : "currency" === l ? n ? e : hu(hu([], e), [u]) : "group" === l ? s ? e : hu(hu([], e), [void 0 !== r ? r : u]) : "decimal" === l ? void 0 !== o && 0 === o ? e : hu(hu([], e), [void 0 !== i ? i : u]) : "fraction" === l ? hu(hu([], e), [void 0 !== o ? u.slice(0, o) : u]) : hu(hu([], e), [u]) }, [""]).join("") }, hw = { currencySymbol: "", groupSeparator: "", decimalSeparator: "", prefix: "", suffix: "" }, h_ = function(e) { var t = e || {}, n = t.locale, r = t.currency; return (n ? new Intl.NumberFormat(n, r ? { currency: r, style: "currency" } : void 0) : new Intl.NumberFormat).formatToParts(1000.1).reduce(function(e, t, n) { return "currency" === t.type ? 0 === n ? hl(hl({}, e), { currencySymbol: t.value, prefix: t.value }) : hl(hl({}, e), { currencySymbol: t.value, suffix: t.value }) : "group" === t.type ? hl(hl({}, e), { groupSeparator: t.value }) : "decimal" === t.type ? hl(hl({}, e), { decimalSeparator: t.value }) : e }, hw) }, hE = function(e) { return RegExp(/\d/, "gi").test(e) }, hk = function(e, t, n) { if (void 0 === t && (t = "."), void 0 === n || "" === e || void 0 === e) return e; if (!e.match(/\d/g)) return ""; var r = e.split(t), i = r[0], o = r[1]; if (0 === n) return i; var a = o || ""; if (a.length < n) for (; a.length < n;)a += "0"; else a = a.slice(0, n); return "" + i + t + a }, hj = function(e) { var t = e.selectionStart, n = e.value, r = e.lastKeyStroke, i = e.stateValue, o = e.groupSeparator, a = t, s = n; if (i && a) { var l = n.split(""); return "Backspace" === r && i[a] === o && (l.splice(a - 1, 1), a -= 1), "Delete" === r && i[a] === o && (l.splice(a, 1), a += 1), { modifiedValue: s = l.join(""), cursorPosition: a } } return { modifiedValue: s, cursorPosition: t } }, hS = (0, el.forwardRef)(function(e, t) { var n = e.allowDecimals, r = e.allowNegativeValue, i = e.id, o = e.name, a = e.className, s = e.customInput, l = e.decimalsLimit, u = e.defaultValue, c = e.disabled, f = e.maxLength, d = e.value, h = e.onValueChange, p = e.fixedDecimalLength, v = e.placeholder, m = e.decimalScale, g = e.prefix, y = e.suffix, b = e.intlConfig, x = e.step, w = e.min, _ = e.max, E = e.disableGroupSeparators, k = void 0 !== E && E, j = e.disableAbbreviations, S = e.decimalSeparator, O = e.groupSeparator, C = e.onChange, A = e.onFocus, T = e.onBlur, M = e.onKeyDown, P = e.onKeyUp, N = e.transformRawValue, R = function(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && 0 > t.indexOf(r) && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)0 > t.indexOf(r[i]) && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]); return n }(e, ["allowDecimals", "allowNegativeValue", "id", "name", "className", "customInput", "decimalsLimit", "defaultValue", "disabled", "maxLength", "value", "onValueChange", "fixedDecimalLength", "placeholder", "decimalScale", "prefix", "suffix", "intlConfig", "step", "min", "max", "disableGroupSeparators", "disableAbbreviations", "decimalSeparator", "groupSeparator", "onChange", "onFocus", "onBlur", "onKeyDown", "onKeyUp", "transformRawValue"]); if (S && hE(S)) throw Error("decimalSeparator cannot be a number"); if (O && hE(O)) throw Error("groupSeparator cannot be a number"); var D = (0, el.useMemo)(function() { return h_(b) }, [b]), L = S || D.decimalSeparator || "", F = O || D.groupSeparator || ""; if (L && F && L === F && !1 === k) throw Error("decimalSeparator cannot be the same as groupSeparator"); var I = { decimalSeparator: L, groupSeparator: F, disableGroupSeparators: k, intlConfig: b, prefix: g || D.prefix, suffix: y }, z = { decimalSeparator: L, groupSeparator: F, allowDecimals: void 0 === n || n, decimalsLimit: l || p || 2, allowNegativeValue: void 0 === r || r, disableAbbreviations: void 0 !== j && j, prefix: g || D.prefix, transformRawValue: N }, V = null != u ? hy(hl(hl({}, I), { decimalScale: m, value: String(u) })) : null != d ? hy(hl(hl({}, I), { decimalScale: m, value: String(d) })) : "", B = (0, el.useState)(V), Z = B[0], U = B[1], H = (0, el.useState)(!1), W = H[0], q = H[1], $ = (0, el.useState)(0), Y = $[0], G = $[1], K = (0, el.useState)(0), X = K[0], Q = K[1], J = (0, el.useState)(null), ee = J[0], et = J[1], en = t || (0, el.useRef)(null), er = function(e, t) { q(!0); var n = hj({ selectionStart: t, value: e, lastKeyStroke: ee, stateValue: Z, groupSeparator: F }), r = n.modifiedValue, i = n.cursorPosition, a = hv(hl({ value: r }, z)); if (!f || !(a.replace(/-/g, "").length > f)) { if ("" === a || "-" === a || a === L) { h && h(void 0, o, { float: null, formatted: "", value: "" }), U(a); return } var s = parseFloat(a.replace(L, ".")), l = hy(hl({ value: a }, I)); if (null != i) { var u = i + (l.length - e.length); G(u = u <= 0 ? g ? g.length : 0 : u), Q(X + 1) } U(l), h && h(a, o, { float: s, formatted: l, value: a }) } }; (0, el.useEffect)(function() { W && "-" !== Z && en && "object" == typeof en && en.current && en.current.setSelectionRange(Y, Y) }, [Z, Y, en, W, X]); var ei = hl({ type: "text", inputMode: "decimal", id: i, name: o, className: a, onChange: function(e) { var t = e.target; er(t.value, t.selectionStart), C && C(e) }, onBlur: function(e) { var t = hv(hl({ value: e.target.value }, z)); if ("-" === t || !t) { U(""), T && T(e); return } var n = hk(hm(t, L, p), L, void 0 !== m ? m : p), r = parseFloat(n.replace(L, ".")), i = hy(hl(hl({}, I), { value: n })); h && h(n, o, { float: r, formatted: i, value: n }), U(i), T && T(e) }, onFocus: function(e) { return A && A(e), Z ? Z.length : 0 }, onKeyDown: function(e) { var t = e.key; if (et(t), x && ("ArrowUp" === t || "ArrowDown" === t)) { e.preventDefault(), G(Z.length); var n = parseFloat(null != d ? String(d).replace(L, ".") : hv(hl({ value: Z }, z))) || 0, r = "ArrowUp" === t ? n + x : n - x; if (void 0 !== w && r < w || void 0 !== _ && r > _) return; var i = String(x).includes(".") ? Number(String(x).split(".")[1].length) : void 0; er(String(i ? r.toFixed(i) : r).replace(".", L)) } M && M(e) }, onKeyUp: function(e) { var t = e.key, n = e.currentTarget.selectionStart; if ("ArrowUp" !== t && "ArrowDown" !== t && "-" !== Z) { var r = hg(Z, { groupSeparator: F, decimalSeparator: L }); if (r && n && n > Z.length - r.length && en && "object" == typeof en && en.current) { var i = Z.length - r.length; en.current.setSelectionRange(i, i) } } P && P(e) }, placeholder: v, disabled: void 0 !== c && c, value: null == d || "-" === Z || L && Z === L ? Z : hy(hl(hl({}, I), { decimalScale: W ? void 0 : m, value: String(d) })), ref: en }, R); return s ? el.createElement(s, hl({}, ei)) : el.createElement("input", hl({}, ei)) }); function hO(e) { let { units: t, variant: n, size: r = "small", state: i, noSpin: o, focus: a, cursor: s, className: l, decimalsLimit: u, onValueChange: c, ...f } = e, [d, h] = (0, el.useState)(); return (0, el.useEffect)(() => { h(navigator.language) }, []), (0, es.jsxs)("div", { className: "relative", children: [(0, es.jsx)(hS, { ...f, decimalsLimit: u, intlConfig: d ? { locale: d } : void 0, allowDecimals: !!u, autoComplete: "off", spellCheck: !1, onValueChange: c, className: (0, eY.cx)(ha({ variant: n, size: r, state: i, focus: a, noSpin: o, cursor: s, className: l }), t ? "pr-9" : "") }), t && (0, es.jsx)("div", { className: (0, eY.cx)("flex items-center absolute top-0 h-full", "small" === r ? "right-2" : "", "medium" === r ? "right-3" : "", "large" === r ? "right-3" : ""), children: (0, es.jsx)(nj, { size: "12", weight: "medium", color: "subtle", children: t }) })] }) } hS.displayName = "CurrencyInput"; var hC = n(6391), hA = n.n(hC); function hT(e, t) { return e.decimalPlaces() > t ? e.toFixed(t) : e.toString() } let hM = (0, el.forwardRef)(function(e, t) { let { value: n, placeholder: r = new (hA())(100), decimalsLimit: i = 6, onChange: o, size: a = "small", units: s, error: l, changed: u, onBlur: c, onFocus: f, ...d } = e, h = (0, el.useMemo)(() => new (hA())(n), [n]), [p, v] = (0, el.useState)(""), m = (0, el.useMemo)(() => hP(p), [p]), g = (0, el.useCallback)(e => { o && o((e = hP(e)) && !isNaN(Number(e)) ? new (hA())(e) : void 0) }, [o]), y = (0, el.useCallback)(e => { v(e), g(e) }, [v, g]); return (0, el.useEffect)(() => { if (!h.isEqualTo(m)) { let e = hT(h, i); v(e) } }, [h]), (0, es.jsx)(hO, { ref: t, ...d, "data-testid": "numberfield", size: a, placeholder: r.isNaN() ? "" : r.toFixed(i), units: s, value: "NaN" !== p ? p : "", decimalsLimit: i, onBlur: e => { c && c(e) }, onFocus: e => { f && f(e) }, onValueChange: e => y(e || "") }) }); function hP(e) { return (null == e ? void 0 : e.replace(/,/g, ".")) || "" } var hN = n(41755); let hR = new (hA())(0), hD = (0, el.forwardRef)(function(e, t) { let { sc: n, placeholder: r = new (hA())(100), decimalsLimitFiat: i = 6, decimalsLimitSc: o = 6, onChange: a, size: s = "medium", units: l = "SC", showFiat: u = !0, error: c, changed: f, prefix: d, onBlur: h, onFocus: p, ...v } = e, m = (0, el.useMemo)(() => new (hA())(void 0 === n ? NaN : n), [n]), { settings: g } = (0, hN.Hv)(), y = (0, hN.DG)({ config: { swr: { revalidateOnFocus: !1 } } }), b = (0, el.useMemo)(() => { var e; return g.siaCentral && y.data ? new (hA())((null === (e = y.data) || void 0 === e ? void 0 : e.rates.sc[g.currency.id]) || hR) : hR }, [y.data, g]), [x, w] = (0, el.useState)(), [_, E] = (0, el.useState)(""), [k, j] = (0, el.useState)(""), S = (0, el.useMemo)(() => hL(_), [_]), O = (0, el.useMemo)(() => hL(k), [k]), C = (0, el.useCallback)(e => { a && a((e = hL(e)) && !isNaN(Number(e)) ? new (hA())(e) : void 0) }, [a]), A = (0, el.useCallback)(e => { let t = hT(e, i); j(t) }, [j, i]), T = (0, el.useCallback)(e => { let t = hT(e, o); return E(t), C(t), t }, [E, o, C]), M = (0, el.useCallback)(e => { E(e), C(e) }, [E, C]), P = (0, el.useCallback)(e => { let t = new (hA())(e).times(b); A(t) }, [A, b]), N = (0, el.useCallback)(e => { let t = new (hA())(e).dividedBy(b); T(t) }, [T, b]); return (0, el.useEffect)(() => { if (!m.isEqualTo(S)) { let e = hT(m, o); E(e), "fiat" !== x && P(e) } }, [m]), (0, el.useEffect)(() => { P(S) }, [b]), (0, el.useEffect)(() => { "sc" === x && P(S) }, [S]), (0, el.useEffect)(() => { "fiat" === x && N(O) }, [O]), (0, es.jsxs)("div", { ref: t, className: (0, eY.cx)("flex flex-col bg-white dark:bg-graydark-50", "focus-within:ring ring-blue-500 dark:ring-blue-200", "border", c ? "border-red-500 dark:border-red-400" : f ? "border-green-500 dark:border-green-400" : "border-gray-200 dark:border-graydark-200", "rounded"), children: [(0, es.jsx)(hO, { ...v, "data-testid": "scInput", size: s, variant: "ghost", focus: "none", placeholder: r.toFixed(o), units: l, value: "NaN" !== _ ? _ : "", decimalsLimit: o, allowNegativeValue: !1, onBlur: e => { w(void 0), h && h(e) }, onFocus: e => { w("sc"), p && p(e) }, onValueChange: e => { M(e || "") } }), u && g.siaCentral && (0, es.jsx)(hO, { ...v, "data-testid": "fiatInput", size: s, variant: "ghost", focus: "none", value: "NaN" !== k ? k : "", units: g.currency.label, decimalsLimit: i, allowNegativeValue: !1, placeholder: "".concat(g.currency.prefix).concat(b ? b.times(r).toFixed(i) : "0.42"), prefix: d || g.currency.prefix, onFocus: e => { w("fiat"), p && p(e) }, onBlur: e => { w(void 0), h && h(e) }, onValueChange: e => { j(e || "") } })] }) }); function hL(e) { return (null == e ? void 0 : e.replace(/,/g, ".")) || "" } var hF = ["children"], hI = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, hF); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kq || (kq = el.createElement("path", { d: "M8.5 11L8.5 6.5 6.5 6.5 6.5 7.5 7.5 7.5 7.5 11 6 11 6 12 10 12 10 11zM8 3.5c-.4 0-.8.3-.8.8S7.6 5 8 5c.4 0 .8-.3.8-.8S8.4 3.5 8 3.5z" })), k$ || (k$ = el.createElement("path", { d: "M8,15c-3.9,0-7-3.1-7-7s3.1-7,7-7s7,3.1,7,7S11.9,15,8,15z M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z" })), n) }); function hz(e) { let { children: t } = e; return (0, es.jsx)(lU, { content: t, children: (0, es.jsx)("div", { className: "relative flex items-center inline mx-1", children: (0, es.jsx)(nj, { color: "subtle", children: (0, es.jsx)(hI, { className: "scale-75" }) }) }) }) } function hV(e) { let { values: t, options: n, onChange: r } = e; return (0, es.jsx)("div", { className: "flex flex-wrap gap-1", children: n.map(e => (0, es.jsx)(lW, { variant: t.includes(e.value) ? "active" : "inactive", onClick: () => { r(e.value) }, children: e.label }, e.value)) }) } var hB = ["children"], hZ = ["children"], hU = ["children"], hH = ["children"], hW = ["children"], hq = ["children"], h$ = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, hB); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kY || (kY = el.createElement("path", { d: "M26,4H22V2H20V4H12V2H10V4H6A2.0025,2.0025,0,0,0,4,6V26a2.0025,2.0025,0,0,0,2,2H26a2.0025,2.0025,0,0,0,2-2V6A2.0025,2.0025,0,0,0,26,4ZM6,6h4V8h2V6h8V8h2V6h4l0,4H6Zm0,6h5v6H6ZM19,26H13V20h6Zm0-8H13V12h6Zm2,8V20h5l.0012,6Z" })), n) }), hY = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, hZ); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kG || (kG = el.createElement("path", { d: "M24 12L16 22 8 12z" })), n) }), hG = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, hU); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kK || (kK = el.createElement("path", { d: "M20 24L10 16 20 8z" })), n) }), hK = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, hH); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kX || (kX = el.createElement("path", { d: "M12 8L22 16 12 24z" })), n) }), hX = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, hW); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kQ || (kQ = el.createElement("path", { d: "M24 24L16 32 8 24zM8 8L16 0 24 8z" })), n) }), hQ = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, hq); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), kJ || (kJ = el.createElement("path", { d: "M8 20L16 10 24 20z" })), n) }); let hJ = (0, eY.j)(["font-sans", "font-normal", "tabular-nums", "flex-shrink-0", "rounded", "flex items-center", "bg-white dark:bg-graydark-200", "hover:bg-gray-50 dark:hover:bg-graydark-300", "disabled:bg-gray-200 disabled:dark:bg-graydark-200", "autofill:bg-blue-100 autofill:dark:bg-blue-800", "border", "focus-within:z-10", "focus-within:ring ring-blue-500 dark:ring-blue-200", "text-gray-1100 dark:text-white", "[&>select:disabled]:text-gray-600 [&>select:disabled]:dark:text-graydark-700"], { variants: { size: { small: "h-7 text-sm px-1", medium: "h-10 text-base px-3", large: "h-12 text-lg px-3" }, state: { default: ["border-gray-400 dark:border-graydark-400", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"], invalid: ["border-red-500 dark:border-red-400"], valid: ["border-green-500 dark:border-green-400"] } }, defaultVariants: { state: "default", size: "small" } }), h0 = el.forwardRef((e, t) => { let { size: n, state: r, icon: i, className: o, ...a } = e; return (0, es.jsxs)("div", { className: hJ({ size: n, state: r, className: o }), children: [i, (0, es.jsx)("select", { ref: t, ...a, className: "appearance-none flex-1 bg-transparent outline-none w-full h-full pl-1 pr-1" }), (0, es.jsx)(hX, { className: "pointer-events-none scale-75" })] }) }), h1 = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)("option", { ref: t, ...r, className: (0, eY.cx)("bg-white dark:bg-graydark-200", "text-gray-1100 dark:text-white", n) }) }), h2 = (0, eY.j)(["bg-gray-300 dark:bg-graydark-300", "relative", "overflow-hidden", "animate-pulse", "rounded"]); function h4(e) { let { className: t } = e; return (0, es.jsx)("div", { className: h2({ className: t }) }) } let h3 = (0, eY.j)(["rounded-full flex-shrink-0"], { variants: { size: { default: "w-2 h-2" } }, defaultVariants: { size: "default" } }), h5 = el.forwardRef((e, t) => { let { size: n, className: r, ...i } = e; return (0, es.jsx)("div", { ref: t, className: h3({ size: n, className: r }), ...i }) }), h6 = "Switch", [h8, h7] = (0, ef.b)(h6), [h9, pe] = h8(h6), pt = (0, el.forwardRef)((e, t) => { let { __scopeSwitch: n, "aria-labelledby": r, name: i, checked: o, defaultChecked: a, required: s, disabled: l, value: u = "on", onCheckedChange: c, ...f } = e, [d, h] = (0, el.useState)(null), p = (0, ed.e)(t, e => h(e)), v = di(d), m = (0, el.useRef)(!1), g = !d || Boolean(d.closest("form")), [y = !1, b] = (0, em.T)({ prop: o, defaultProp: a, onChange: c }); return (0, el.createElement)(h9, { scope: n, checked: y, disabled: l }, (0, el.createElement)(eg.WV.button, (0, ec.Z)({ type: "button", role: "switch", "aria-checked": y, "aria-labelledby": r || v, "aria-required": s, "data-state": pi(y), "data-disabled": l ? "" : void 0, disabled: l, value: u }, f, { ref: p, onClick: (0, ev.M)(e.onClick, e => { b(e => !e), g && (m.current = e.isPropagationStopped(), m.current || e.stopPropagation()) }) })), g && (0, el.createElement)(pr, { control: d, bubbles: !m.current, name: i, value: u, checked: y, required: s, disabled: l, style: { transform: "translateX(-100%)" } })) }), pn = (0, el.forwardRef)((e, t) => { let { __scopeSwitch: n, ...r } = e, i = pe("SwitchThumb", n); return (0, el.createElement)(eg.WV.span, (0, ec.Z)({ "data-state": pi(i.checked), "data-disabled": i.disabled ? "" : void 0 }, r, { ref: t })) }), pr = e => { let { control: t, checked: n, bubbles: r = !0, ...i } = e, o = (0, el.useRef)(null), a = dW(n), s = tU(t); return (0, el.useEffect)(() => { let e = o.current, t = window.HTMLInputElement.prototype, i = Object.getOwnPropertyDescriptor(t, "checked"), s = i.set; if (a !== n && s) { let l = new Event("click", { bubbles: r }); s.call(e, n), e.dispatchEvent(l) } }, [a, n, r]), (0, el.createElement)("input", (0, ec.Z)({ type: "checkbox", "aria-hidden": !0, defaultChecked: n }, i, { tabIndex: -1, ref: o, style: { ...e.style, ...s, position: "absolute", pointerEvents: "none", opacity: 0, margin: 0 } })) }; function pi(e) { return e ? "checked" : "unchecked" } let po = (0, eY.j)(["absolute left-0 rounded-full", "transition-transform", "bg-white dark:bg-graydark-500"], { variants: { size: { small: ["w-3 h-3", "translate-x-px", "data-[state=checked]:translate-x-[9px]"], medium: ["w-5 h-5", "translate-x-0.5", "data-[state=checked]:translate-x-[20px]"] } }, defaultVariants: { size: "small" } }), pa = (0, eY.j)(["select-none outline-none", "relative inline-flex items-center justify-center", "m-0 rounded-full", "focus:ring ring-blue-500 dark:ring-blue-200", "border", "bg-gray-300 dark:bg-graydark-50", "autofill:bg-blue-100 autofill:dark:bg-blue-800", "border-gray-400 dark:border-graydark-400", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500", "disabled:cursor-default", "enabled:data-[state=checked]:bg-green-600 dark:enabled:data-[state=checked]:bg-green-500", "disabled:data-[state=checked]:bg-green-600/50 dark:disabled:data-[state=checked]:bg-green-500/50"], { variants: { size: { small: "w-6 h-4", medium: "w-11 h-6" }, state: { default: ["border-gray-400 dark:border-graydark-400", "enabled:hover:border-gray-500 enabled:hover:dark:border-graydark-500"], invalid: ["border-red-500 dark:border-red-400"], valid: ["border-green-500 dark:border-green-400"] } }, defaultVariants: { size: "small", state: "default" } }), ps = (0, el.forwardRef)((e, t) => { let { size: n, state: r, className: i, children: o, ...a } = e; return (0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(pt, { className: pa({ size: n, state: r, className: i }), ...a, ref: t, children: (0, es.jsx)(pn, { className: po({ size: n }) }) }), o && (0, es.jsx)(nj, { color: a.disabled ? "subtle" : "contrast", children: o })] }) }), pl = (0, el.forwardRef)((e, t) => { let { children: n, ...r } = e, i = el.Children.toArray(n), o = i.find(pf); if (o) { let a = o.props.children, s = i.map(e => e !== o ? e : el.Children.count(a) > 1 ? el.Children.only(null) : (0, el.isValidElement)(a) ? a.props.children : null); return (0, el.createElement)(pu, (0, ec.Z)({}, r, { ref: t }), (0, el.isValidElement)(a) ? (0, el.cloneElement)(a, void 0, s) : null) } return (0, el.createElement)(pu, (0, ec.Z)({}, r, { ref: t }), n) }); pl.displayName = "Slot"; let pu = (0, el.forwardRef)((e, t) => { let { children: n, ...r } = e; return (0, el.isValidElement)(n) ? (0, el.cloneElement)(n, { ...function(e, t) { let n = { ...t }; for (let r in t) { let i = e[r], o = t[r], a = /^on[A-Z]/.test(r); a ? i && o ? n[r] = (...e) => { o(...e), i(...e) } : i && (n[r] = i) : "style" === r ? n[r] = { ...i, ...o } : "className" === r && (n[r] = [i, o].filter(Boolean).join(" ")) } return { ...e, ...n } }(r, n.props), ref: (0, ed.F)(t, n.ref) }) : el.Children.count(n) > 1 ? el.Children.only(null) : null }); pu.displayName = "SlotClone"; let pc = ({ children: e }) => (0, el.createElement)(el.Fragment, null, e); function pf(e) { return (0, el.isValidElement)(e) && e.type === pc } let pd = ["a", "button", "div", "h2", "h3", "img", "label", "li", "nav", "ol", "p", "span", "svg", "ul"].reduce((e, t) => { let n = (0, el.forwardRef)((e, n) => { let { asChild: r, ...i } = e, o = r ? pl : t; return (0, el.useEffect)(() => { window[Symbol.for("radix-ui")] = !0 }, []), (0, el.createElement)(o, (0, ec.Z)({}, i, { ref: n })) }); return n.displayName = `Primitive.${t}`, { ...e, [t]: n } }, {}), ph = (0, el.forwardRef)((e, t) => { let { children: n, width: r = 10, height: i = 5, ...o } = e; return (0, el.createElement)(pd.svg, (0, ec.Z)({}, o, { ref: t, width: r, height: i, viewBox: "0 0 30 10", preserveAspectRatio: "none" }), e.asChild ? n : (0, el.createElement)("polygon", { points: "0,0 30,0 15,10" })) }), pp = "Popper", [pv, pm] = (0, ef.b)(pp), [pg, py] = pv(pp), pb = e => { let { __scopePopper: t, children: n } = e, [r, i] = (0, el.useState)(null); return (0, el.createElement)(pg, { scope: t, anchor: r, onAnchorChange: i }, n) }, px = (0, el.forwardRef)((e, t) => { let { __scopePopper: n, virtualRef: r, ...i } = e, o = py("PopperAnchor", n), a = (0, el.useRef)(null), s = (0, ed.e)(t, a); return (0, el.useEffect)(() => { o.onAnchorChange((null == r ? void 0 : r.current) || a.current) }), r ? null : (0, el.createElement)(pd.div, (0, ec.Z)({}, i, { ref: s })) }), pw = "PopperContent", [p_, pE] = pv(pw), [pk, pj] = pv(pw, { hasParent: !1, positionUpdateFns: new Set }), pS = (0, el.forwardRef)((e, t) => { var n, r, i, o, a, s, l, u, c; let { __scopePopper: f, side: d = "bottom", sideOffset: h = 0, align: p = "center", alignOffset: v = 0, arrowPadding: m = 0, collisionBoundary: g = [], collisionPadding: y = 0, sticky: b = "partial", hideWhenDetached: x = !1, avoidCollisions: w = !0, onPlaced: _, ...E } = e, k = py(pw, f), [j, S] = (0, el.useState)(null), O = (0, ed.e)(t, e => S(e)), [C, A] = (0, el.useState)(null), T = tU(C), M = null !== (n = null == T ? void 0 : T.width) && void 0 !== n ? n : 0, P = null !== (r = null == T ? void 0 : T.height) && void 0 !== r ? r : 0, N = "number" == typeof y ? y : { top: 0, right: 0, bottom: 0, left: 0, ...y }, R = Array.isArray(g) ? g : [g], D = R.length > 0, L = { padding: N, boundary: R.filter(pA), altBoundary: D }, { reference: F, floating: I, strategy: z, x: V, y: B, placement: Z, middlewareData: U, update: H } = tV({ strategy: "fixed", placement: d + ("center" !== p ? "-" + p : ""), whileElementsMounted: tL, middleware: [pT(), ts({ mainAxis: h + P, alignmentAxis: v }), w ? tu({ mainAxis: !0, crossAxis: !1, limiter: "partial" === b ? tc() : void 0, ...L }) : void 0, C ? tB({ element: C, padding: m }) : void 0, w ? tr({ ...L }) : void 0, { name: "size", options: c = { ...L, apply: ({ elements: e, availableWidth: t, availableHeight: n }) => { e.floating.style.setProperty("--radix-popper-available-width", `${t}px`), e.floating.style.setProperty("--radix-popper-available-height", `${n}px`) } }, async fn(e) { let t, n; let { placement: r, rects: i, platform: o, elements: a } = e, { apply: s, ...l } = c, u = await e3(e, l), f = eK(r), d = eX(r); "top" === f || "bottom" === f ? (t = f, n = d === (await (null == o.isRTL ? void 0 : o.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (n = f, t = "end" === d ? "top" : "bottom"); let h = e6(u.left, 0), p = e6(u.right, 0), v = e6(u.top, 0), m = e6(u.bottom, 0), g = { availableHeight: i.floating.height - (["left", "right"].includes(r) ? 2 * (0 !== v || 0 !== m ? v + m : e6(u.top, u.bottom)) : u[t]), availableWidth: i.floating.width - (["top", "bottom"].includes(r) ? 2 * (0 !== h || 0 !== p ? h + p : e6(u.left, u.right)) : u[n]) }, y = await o.getDimensions(a.floating); null == s || s({ ...e, ...g }); let b = await o.getDimensions(a.floating); return y.width !== b.width || y.height !== b.height ? { reset: { rects: !0 } } : {} } }, pM({ arrowWidth: M, arrowHeight: P }), x ? ta({ strategy: "referenceHidden" }) : void 0].filter(pC) }); (0, ey.b)(() => { F(k.anchor) }, [F, k.anchor]); let W = null !== V && null !== B, [q, $] = pP(Z), Y = (0, ug.W)(_); (0, ey.b)(() => { W && (null == Y || Y()) }, [W, Y]); let G = null === (i = U.arrow) || void 0 === i ? void 0 : i.x, K = null === (o = U.arrow) || void 0 === o ? void 0 : o.y, X = (null === (a = U.arrow) || void 0 === a ? void 0 : a.centerOffset) !== 0, [Q, J] = (0, el.useState)(); (0, ey.b)(() => { j && J(window.getComputedStyle(j).zIndex) }, [j]); let { hasParent: ee, positionUpdateFns: et } = pj(pw, f), en = !ee; (0, el.useLayoutEffect)(() => { if (!en) return et.add(H), () => { et.delete(H) } }, [en, et, H]), (0, ey.b)(() => { en && W && Array.from(et).reverse().forEach(e => requestAnimationFrame(e)) }, [en, W, et]); let er = { "data-side": q, "data-align": $, ...E, ref: O, style: { ...E.style, animation: W ? void 0 : "none", opacity: null !== (s = U.hide) && void 0 !== s && s.referenceHidden ? 0 : void 0 } }; return (0, el.createElement)("div", { ref: I, "data-radix-popper-content-wrapper": "", style: { position: z, left: 0, top: 0, transform: W ? `translate3d(${Math.round(V)}px, ${Math.round(B)}px, 0)` : "translate3d(0, -200%, 0)", minWidth: "max-content", zIndex: Q, "--radix-popper-transform-origin": [null === (l = U.transformOrigin) || void 0 === l ? void 0 : l.x, null === (u = U.transformOrigin) || void 0 === u ? void 0 : u.y].join(" ") }, dir: e.dir }, (0, el.createElement)(p_, { scope: f, placedSide: q, onArrowChange: A, arrowX: G, arrowY: K, shouldHideArrow: X }, en ? (0, el.createElement)(pk, { scope: f, hasParent: !0, positionUpdateFns: et }, (0, el.createElement)(pd.div, er)) : (0, el.createElement)(pd.div, er))) }), pO = { top: "bottom", right: "left", bottom: "top", left: "right" }; function pC(e) { return void 0 !== e } function pA(e) { return null !== e } let pT = () => ({ name: "anchorCssProperties", fn(e) { let { rects: t, elements: n } = e, { width: r, height: i } = t.reference; return n.floating.style.setProperty("--radix-popper-anchor-width", `${r}px`), n.floating.style.setProperty("--radix-popper-anchor-height", `${i}px`), {} } }), pM = e => ({ name: "transformOrigin", options: e, fn(t) { var n, r, i, o, a; let { placement: s, rects: l, middlewareData: u } = t, c = (null === (n = u.arrow) || void 0 === n ? void 0 : n.centerOffset) !== 0, f = c ? 0 : e.arrowWidth, d = c ? 0 : e.arrowHeight, [h, p] = pP(s), v = { start: "0%", center: "50%", end: "100%" }[p], m = (null !== (r = null === (i = u.arrow) || void 0 === i ? void 0 : i.x) && void 0 !== r ? r : 0) + f / 2, g = (null !== (o = null === (a = u.arrow) || void 0 === a ? void 0 : a.y) && void 0 !== o ? o : 0) + d / 2, y = "", b = ""; return "bottom" === h ? (y = c ? v : `${m}px`, b = `${-d}px`) : "top" === h ? (y = c ? v : `${m}px`, b = `${l.floating.height + d}px`) : "right" === h ? (y = `${-d}px`, b = c ? v : `${g}px`) : "left" === h && (y = `${l.floating.width + d}px`, b = c ? v : `${g}px`), { data: { x: y, y: b } } } }); function pP(e) { let [t, n = "center"] = e.split("-"); return [t, n] } let pN = (0, el.forwardRef)((e, t) => { var n; let { container: r = null == globalThis ? void 0 : null === (n = globalThis.document) || void 0 === n ? void 0 : n.body, ...i } = e; return r ? tI.createPortal((0, el.createElement)(pd.div, (0, ec.Z)({}, i, { ref: t })), r) : null }), pR = "dismissableLayer.update", pD = (0, el.createContext)({ layers: new Set, layersWithOutsidePointerEventsDisabled: new Set, branches: new Set }), pL = (0, el.forwardRef)((e, t) => { var n; let { disableOutsidePointerEvents: i = !1, onEscapeKeyDown: o, onPointerDownOutside: a, onFocusOutside: s, onInteractOutside: l, onDismiss: u, ...c } = e, f = (0, el.useContext)(pD), [d, h] = (0, el.useState)(null), p = null !== (n = null == d ? void 0 : d.ownerDocument) && void 0 !== n ? n : null == globalThis ? void 0 : globalThis.document, [, v] = (0, el.useState)({}), m = (0, ed.e)(t, e => h(e)), g = Array.from(f.layers), [y] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), b = g.indexOf(y), x = d ? g.indexOf(d) : -1, w = f.layersWithOutsidePointerEventsDisabled.size > 0, _ = x >= b, E = function(e, t = null == globalThis ? void 0 : globalThis.document) { let n = (0, ug.W)(e), r = (0, el.useRef)(!1), i = (0, el.useRef)(() => { }); return (0, el.useEffect)(() => { let e = e => { if (e.target && !r.current) { let o = { originalEvent: e }; function a() { pI("dismissableLayer.pointerDownOutside", n, o, { discrete: !0 }) } "touch" === e.pointerType ? (t.removeEventListener("click", i.current), i.current = a, t.addEventListener("click", i.current, { once: !0 })) : a() } r.current = !1 }, o = window.setTimeout(() => { t.addEventListener("pointerdown", e) }, 0); return () => { window.clearTimeout(o), t.removeEventListener("pointerdown", e), t.removeEventListener("click", i.current) } }, [t, n]), { onPointerDownCapture: () => r.current = !0 } }(e => { let t = e.target, n = [...f.branches].some(e => e.contains(t)); !_ || n || (null == a || a(e), null == l || l(e), e.defaultPrevented || null == u || u()) }, p), k = function(e, t = null == globalThis ? void 0 : globalThis.document) { let n = (0, ug.W)(e), r = (0, el.useRef)(!1); return (0, el.useEffect)(() => { let e = e => { e.target && !r.current && pI("dismissableLayer.focusOutside", n, { originalEvent: e }, { discrete: !1 }) }; return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e) }, [t, n]), { onFocusCapture: () => r.current = !0, onBlurCapture: () => r.current = !1 } }(e => { let t = e.target, n = [...f.branches].some(e => e.contains(t)); n || (null == s || s(e), null == l || l(e), e.defaultPrevented || null == u || u()) }, p); return !function(e, t = null == globalThis ? void 0 : globalThis.document) { let n = (0, ug.W)(e); (0, el.useEffect)(() => { let e = e => { "Escape" === e.key && n(e) }; return t.addEventListener("keydown", e), () => t.removeEventListener("keydown", e) }, [n, t]) }(e => { let t = x === f.layers.size - 1; t && (null == o || o(e), !e.defaultPrevented && u && (e.preventDefault(), u())) }, p), (0, el.useEffect)(() => { if (d) return i && (0 === f.layersWithOutsidePointerEventsDisabled.size && (r = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), f.layersWithOutsidePointerEventsDisabled.add(d)), f.layers.add(d), pF(), () => { i && 1 === f.layersWithOutsidePointerEventsDisabled.size && (p.body.style.pointerEvents = r) } }, [d, p, i, f]), (0, el.useEffect)(() => () => { d && (f.layers.delete(d), f.layersWithOutsidePointerEventsDisabled.delete(d), pF()) }, [d, f]), (0, el.useEffect)(() => { let e = () => v({}); return document.addEventListener(pR, e), () => document.removeEventListener(pR, e) }, []), (0, el.createElement)(pd.div, (0, ec.Z)({}, c, { ref: m, style: { pointerEvents: w ? _ ? "auto" : "none" : void 0, ...e.style }, onFocusCapture: (0, ev.M)(e.onFocusCapture, k.onFocusCapture), onBlurCapture: (0, ev.M)(e.onBlurCapture, k.onBlurCapture), onPointerDownCapture: (0, ev.M)(e.onPointerDownCapture, E.onPointerDownCapture) })) }); function pF() { let e = new CustomEvent(pR); document.dispatchEvent(e) } function pI(e, t, n, { discrete: r }) { let i = n.originalEvent.target, o = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n }); (t && i.addEventListener(e, t, { once: !0 }), r) ? i && (0, tI.flushSync)(() => i.dispatchEvent(o)) : i.dispatchEvent(o) } let pz = "HoverCard", [pV, pB] = (0, ef.b)(pz, [pm]), pZ = pm(), [pU, pH] = pV(pz), pW = e => { let { __scopeHoverCard: t, children: n, open: r, defaultOpen: i, onOpenChange: o, openDelay: a = 700, closeDelay: s = 300 } = e, l = pZ(t), u = (0, el.useRef)(0), c = (0, el.useRef)(0), f = (0, el.useRef)(!1), d = (0, el.useRef)(!1), [h = !1, p] = (0, em.T)({ prop: r, defaultProp: i, onChange: o }), v = (0, el.useCallback)(() => { clearTimeout(c.current), u.current = window.setTimeout(() => p(!0), a) }, [a, p]), m = (0, el.useCallback)(() => { clearTimeout(u.current), f.current || d.current || (c.current = window.setTimeout(() => p(!1), s)) }, [s, p]), g = (0, el.useCallback)(() => p(!1), [p]); return (0, el.useEffect)(() => () => { clearTimeout(u.current), clearTimeout(c.current) }, []), (0, el.createElement)(pU, { scope: t, open: h, onOpenChange: p, onOpen: v, onClose: m, onDismiss: g, hasSelectionRef: f, isPointerDownOnContentRef: d }, (0, el.createElement)(pb, l, n)) }, pq = (0, el.forwardRef)((e, t) => { let { __scopeHoverCard: n, ...r } = e, i = pH("HoverCardTrigger", n), o = pZ(n); return (0, el.createElement)(px, (0, ec.Z)({ asChild: !0 }, o), (0, el.createElement)(pd.a, (0, ec.Z)({ "data-state": i.open ? "open" : "closed" }, r, { ref: t, onPointerEnter: (0, ev.M)(e.onPointerEnter, p0(i.onOpen)), onPointerLeave: (0, ev.M)(e.onPointerLeave, p0(i.onClose)), onFocus: (0, ev.M)(e.onFocus, i.onOpen), onBlur: (0, ev.M)(e.onBlur, i.onClose), onTouchStart: (0, ev.M)(e.onTouchStart, e => e.preventDefault()) }))) }), p$ = "HoverCardPortal", [pY, pG] = pV(p$, { forceMount: void 0 }), pK = e => { let { __scopeHoverCard: t, forceMount: n, children: r, container: i } = e, o = pH(p$, t); return (0, el.createElement)(pY, { scope: t, forceMount: n }, (0, el.createElement)(eb.z, { present: n || o.open }, (0, el.createElement)(pN, { asChild: !0, container: i }, r))) }, pX = "HoverCardContent", pQ = (0, el.forwardRef)((e, t) => { let n = pG(pX, e.__scopeHoverCard), { forceMount: r = n.forceMount, ...i } = e, o = pH(pX, e.__scopeHoverCard); return (0, el.createElement)(eb.z, { present: r || o.open }, (0, el.createElement)(pJ, (0, ec.Z)({ "data-state": o.open ? "open" : "closed" }, i, { onPointerEnter: (0, ev.M)(e.onPointerEnter, p0(o.onOpen)), onPointerLeave: (0, ev.M)(e.onPointerLeave, p0(o.onClose)), ref: t }))) }), pJ = (0, el.forwardRef)((e, t) => { let { __scopeHoverCard: n, onEscapeKeyDown: r, onPointerDownOutside: o, onFocusOutside: a, onInteractOutside: s, ...l } = e, u = pH(pX, n), c = pZ(n), f = (0, el.useRef)(null), d = (0, ed.e)(t, f), [h, p] = (0, el.useState)(!1); return (0, el.useEffect)(() => { if (h) { let e = document.body; return i = e.style.userSelect || e.style.webkitUserSelect, e.style.userSelect = "none", e.style.webkitUserSelect = "none", () => { e.style.userSelect = i, e.style.webkitUserSelect = i } } }, [h]), (0, el.useEffect)(() => { if (f.current) { let e = () => { p(!1), u.isPointerDownOnContentRef.current = !1, setTimeout(() => { var e; let t = (null === (e = document.getSelection()) || void 0 === e ? void 0 : e.toString()) !== ""; t && (u.hasSelectionRef.current = !0) }) }; return document.addEventListener("pointerup", e), () => { document.removeEventListener("pointerup", e), u.hasSelectionRef.current = !1, u.isPointerDownOnContentRef.current = !1 } } }, [u.isPointerDownOnContentRef, u.hasSelectionRef]), (0, el.useEffect)(() => { if (f.current) { let e = function(e) { let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: e => e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP }); for (; n.nextNode();)t.push(n.currentNode); return t }(f.current); e.forEach(e => e.setAttribute("tabindex", "-1")) } }), (0, el.createElement)(pL, { asChild: !0, disableOutsidePointerEvents: !1, onInteractOutside: s, onEscapeKeyDown: r, onPointerDownOutside: o, onFocusOutside: (0, ev.M)(a, e => { e.preventDefault() }), onDismiss: u.onDismiss }, (0, el.createElement)(pS, (0, ec.Z)({}, c, l, { onPointerDown: (0, ev.M)(l.onPointerDown, e => { e.currentTarget.contains(e.target) && p(!0), u.hasSelectionRef.current = !1, u.isPointerDownOnContentRef.current = !0 }), ref: d, style: { ...l.style, "--radix-hover-card-content-transform-origin": "var(--radix-popper-transform-origin)", userSelect: h ? "text" : void 0, WebkitUserSelect: h ? "text" : void 0 } }))) }); function p0(e) { return t => "touch" === t.pointerType ? void 0 : e() } let p1 = (0, eY.j)([lB, "relative", "z-10", "data-[side=top]:bottom-1", "data-[side=top]:origin-bottom", "data-[side=bottom]:top-1", "data-[side=bottom]:origin-top", "data-[side=left]:right-1", "data-[side=left]:origin-right", "data-[side=right]:left-1", "data-[side=right]:origin-left"]), p2 = (0, eY.cx)(nO(), "max-w-sm", "py-0.5", "px-1"), p4 = { show: { opacity: [0, 1], scale: [.95, 1], transition: { duration: .1, ease: "easeOut" } }, exit: { opacity: [1, 0], scale: [1, .95], transition: { duration: .1, ease: "easeIn" } } }, p3 = el.forwardRef((e, t) => { let { trigger: n, children: r, rootProps: i, contentProps: o } = e, { className: a, ...s } = o || {}, { open: l, onOpenChange: u } = lL({ open: null == i ? void 0 : i.open, onOpenChange: null == i ? void 0 : i.onOpenChange }); return (0, es.jsxs)(pW, { open: l, onOpenChange: u, ...i, children: [n && (0, es.jsx)(pq, { asChild: !0, children: n }), (0, es.jsx)(n8, { children: l ? (0, es.jsx)(pK, { forceMount: !0, children: (0, es.jsx)(pQ, { asChild: !0, forceMount: !0, ref: t, ...s, children: (0, es.jsx)(lD.div, { variants: p4, initial: "init", animate: "show", exit: "exit", className: p1(), children: (0, es.jsx)("div", { className: (0, eY.cx)(p2, a), children: r }) }) }) }) : null })] }) }); function p5(e, t = []) { let n = [], r = () => { let t = n.map(e => (0, el.createContext)(e)); return function(n) { let r = (null == n ? void 0 : n[e]) || t; return (0, el.useMemo)(() => ({ [`__scope${e}`]: { ...n, [e]: r } }), [n, r]) } }; return r.scopeName = e, [function(t, r) { let i = (0, el.createContext)(r), o = n.length; function a(t) { let { scope: n, children: r, ...a } = t, s = (null == n ? void 0 : n[e][o]) || i, l = (0, el.useMemo)(() => a, Object.values(a)); return (0, el.createElement)(s.Provider, { value: l }, r) } return n = [...n, r], a.displayName = t + "Provider", [a, function(n, a) { let s = (null == a ? void 0 : a[e][o]) || i, l = (0, el.useContext)(s); if (l) return l; if (void 0 !== r) return r; throw Error(`\`${n}\` must be used within \`${t}\``) }] }, function(...e) { let t = e[0]; if (1 === e.length) return t; let n = () => { let n = e.map(e => ({ useScope: e(), scopeName: e.scopeName })); return function(e) { let r = n.reduce((t, { useScope: n, scopeName: r }) => { let i = n(e), o = i[`__scope${r}`]; return { ...t, ...o } }, {}); return (0, el.useMemo)(() => ({ [`__scope${t.scopeName}`]: r }), [r]) } }; return n.scopeName = t.scopeName, n }(r, ...t)] } function p6(e, t, { checkForDefaultPrevented: n = !0 } = {}) { return function(r) { if (null == e || e(r), !1 === n || !r.defaultPrevented) return null == t ? void 0 : t(r) } } function p8(...e) { return t => e.forEach(e => { var n; "function" == typeof (n = e) ? n(t) : null != n && (n.current = t) }) } function p7(...e) { return (0, el.useCallback)(p8(...e), e) } let p9 = (0, el.forwardRef)((e, t) => { let { children: n, ...r } = e, i = el.Children.toArray(n), o = i.find(vn); if (o) { let a = o.props.children, s = i.map(e => e !== o ? e : el.Children.count(a) > 1 ? el.Children.only(null) : (0, el.isValidElement)(a) ? a.props.children : null); return (0, el.createElement)(ve, (0, ec.Z)({}, r, { ref: t }), (0, el.isValidElement)(a) ? (0, el.cloneElement)(a, void 0, s) : null) } return (0, el.createElement)(ve, (0, ec.Z)({}, r, { ref: t }), n) }); p9.displayName = "Slot"; let ve = (0, el.forwardRef)((e, t) => { let { children: n, ...r } = e; return (0, el.isValidElement)(n) ? (0, el.cloneElement)(n, { ...function(e, t) { let n = { ...t }; for (let r in t) { let i = e[r], o = t[r], a = /^on[A-Z]/.test(r); a ? i && o ? n[r] = (...e) => { o(...e), i(...e) } : i && (n[r] = i) : "style" === r ? n[r] = { ...i, ...o } : "className" === r && (n[r] = [i, o].filter(Boolean).join(" ")) } return { ...e, ...n } }(r, n.props), ref: t ? p8(t, n.ref) : n.ref }) : el.Children.count(n) > 1 ? el.Children.only(null) : null }); ve.displayName = "SlotClone"; let vt = ({ children: e }) => (0, el.createElement)(el.Fragment, null, e); function vn(e) { return (0, el.isValidElement)(e) && e.type === vt } let vr = ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"].reduce((e, t) => { let n = (0, el.forwardRef)((e, n) => { let { asChild: r, ...i } = e, o = r ? p9 : t; return (0, el.useEffect)(() => { window[Symbol.for("radix-ui")] = !0 }, []), (0, el.createElement)(o, (0, ec.Z)({}, i, { ref: n })) }); return n.displayName = `Primitive.${t}`, { ...e, [t]: n } }, {}); function vi(e) { let t = (0, el.useRef)(e); return (0, el.useEffect)(() => { t.current = e }), (0, el.useMemo)(() => (...e) => { var n; return null === (n = t.current) || void 0 === n ? void 0 : n.call(t, ...e) }, []) } let vo = Boolean(null == globalThis ? void 0 : globalThis.document) ? el.useLayoutEffect : () => { }, va = e => { let { present: t, children: n } = e, r = function(e) { var t; let [n, r] = (0, el.useState)(), i = (0, el.useRef)({}), o = (0, el.useRef)(e), a = (0, el.useRef)("none"), [s, l] = (t = { mounted: { UNMOUNT: "unmounted", ANIMATION_OUT: "unmountSuspended" }, unmountSuspended: { MOUNT: "mounted", ANIMATION_END: "unmounted" }, unmounted: { MOUNT: "mounted" } }, (0, el.useReducer)((e, n) => { let r = t[e][n]; return null != r ? r : e }, e ? "mounted" : "unmounted")); return (0, el.useEffect)(() => { let e = vs(i.current); a.current = "mounted" === s ? e : "none" }, [s]), vo(() => { let t = i.current, n = o.current; if (n !== e) { let r = a.current, s = vs(t); e ? l("MOUNT") : "none" === s || (null == t ? void 0 : t.display) === "none" ? l("UNMOUNT") : n && r !== s ? l("ANIMATION_OUT") : l("UNMOUNT"), o.current = e } }, [e, l]), vo(() => { if (n) { let e = e => { let t = vs(i.current), r = t.includes(e.animationName); e.target === n && r && (0, tI.flushSync)(() => l("ANIMATION_END")) }, t = e => { e.target === n && (a.current = vs(i.current)) }; return n.addEventListener("animationstart", t), n.addEventListener("animationcancel", e), n.addEventListener("animationend", e), () => { n.removeEventListener("animationstart", t), n.removeEventListener("animationcancel", e), n.removeEventListener("animationend", e) } } l("ANIMATION_END") }, [n, l]), { isPresent: ["mounted", "unmountSuspended"].includes(s), ref: (0, el.useCallback)(e => { e && (i.current = getComputedStyle(e)), r(e) }, []) } }(t), i = "function" == typeof n ? n({ present: r.isPresent }) : el.Children.only(n), o = p7(r.ref, i.ref); return "function" == typeof n || r.isPresent ? (0, el.cloneElement)(i, { ref: o }) : null }; function vs(e) { return (null == e ? void 0 : e.animationName) || "none" } va.displayName = "Presence"; let vl = eu["useId".toString()] || (() => void 0), vu = 0; function vc(e) { let t = e + "CollectionProvider", [n, r] = p5(t), [i, o] = n(t, { collectionRef: { current: null }, itemMap: new Map }), a = e => { let { scope: t, children: n } = e, r = el.useRef(null), o = el.useRef(new Map).current; return el.createElement(i, { scope: t, itemMap: o, collectionRef: r }, n) }, s = e + "CollectionSlot", l = el.forwardRef((e, t) => { let { scope: n, children: r } = e, i = o(s, n), a = p7(t, i.collectionRef); return el.createElement(p9, { ref: a }, r) }), u = e + "CollectionItemSlot", c = "data-radix-collection-item", f = el.forwardRef((e, t) => { let { scope: n, children: r, ...i } = e, a = el.useRef(null), s = p7(t, a), l = o(u, n); return el.useEffect(() => (l.itemMap.set(a, { ref: a, ...i }), () => void l.itemMap.delete(a))), el.createElement(p9, { [c]: "", ref: s }, r) }); return [{ Provider: a, Slot: l, ItemSlot: f }, function(t) { let n = o(e + "CollectionConsumer", t), r = el.useCallback(() => { let e = n.collectionRef.current; if (!e) return []; let t = Array.from(e.querySelectorAll(`[${c}]`)), r = Array.from(n.itemMap.values()), i = r.sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current)); return i }, [n.collectionRef, n.itemMap]); return r }, r] } let vf = "dismissableLayer.update", vd = (0, el.createContext)({ layers: new Set, layersWithOutsidePointerEventsDisabled: new Set, branches: new Set }), vh = (0, el.forwardRef)((e, t) => { var n; let { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: s, onInteractOutside: l, onDismiss: u, ...c } = e, f = (0, el.useContext)(vd), [d, h] = (0, el.useState)(null), p = null !== (n = null == d ? void 0 : d.ownerDocument) && void 0 !== n ? n : null == globalThis ? void 0 : globalThis.document, [, v] = (0, el.useState)({}), m = p7(t, e => h(e)), g = Array.from(f.layers), [y] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), b = g.indexOf(y), x = d ? g.indexOf(d) : -1, w = f.layersWithOutsidePointerEventsDisabled.size > 0, _ = x >= b, E = function(e, t = null == globalThis ? void 0 : globalThis.document) { let n = vi(e), r = (0, el.useRef)(!1), i = (0, el.useRef)(() => { }); return (0, el.useEffect)(() => { let e = e => { if (e.target && !r.current) { let o = { originalEvent: e }; function a() { vv("dismissableLayer.pointerDownOutside", n, o, { discrete: !0 }) } "touch" === e.pointerType ? (t.removeEventListener("click", i.current), i.current = a, t.addEventListener("click", i.current, { once: !0 })) : a() } r.current = !1 }, o = window.setTimeout(() => { t.addEventListener("pointerdown", e) }, 0); return () => { window.clearTimeout(o), t.removeEventListener("pointerdown", e), t.removeEventListener("click", i.current) } }, [t, n]), { onPointerDownCapture: () => r.current = !0 } }(e => { let t = e.target, n = [...f.branches].some(e => e.contains(t)); !_ || n || (null == a || a(e), null == l || l(e), e.defaultPrevented || null == u || u()) }, p), k = function(e, t = null == globalThis ? void 0 : globalThis.document) { let n = vi(e), r = (0, el.useRef)(!1); return (0, el.useEffect)(() => { let e = e => { e.target && !r.current && vv("dismissableLayer.focusOutside", n, { originalEvent: e }, { discrete: !1 }) }; return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e) }, [t, n]), { onFocusCapture: () => r.current = !0, onBlurCapture: () => r.current = !1 } }(e => { let t = e.target, n = [...f.branches].some(e => e.contains(t)); n || (null == s || s(e), null == l || l(e), e.defaultPrevented || null == u || u()) }, p); return !function(e, t = null == globalThis ? void 0 : globalThis.document) { let n = vi(e); (0, el.useEffect)(() => { let e = e => { "Escape" === e.key && n(e) }; return t.addEventListener("keydown", e), () => t.removeEventListener("keydown", e) }, [n, t]) }(e => { let t = x === f.layers.size - 1; t && (null == i || i(e), !e.defaultPrevented && u && (e.preventDefault(), u())) }, p), (0, el.useEffect)(() => { if (d) return r && (0 === f.layersWithOutsidePointerEventsDisabled.size && (o = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), f.layersWithOutsidePointerEventsDisabled.add(d)), f.layers.add(d), vp(), () => { r && 1 === f.layersWithOutsidePointerEventsDisabled.size && (p.body.style.pointerEvents = o) } }, [d, p, r, f]), (0, el.useEffect)(() => () => { d && (f.layers.delete(d), f.layersWithOutsidePointerEventsDisabled.delete(d), vp()) }, [d, f]), (0, el.useEffect)(() => { let e = () => v({}); return document.addEventListener(vf, e), () => document.removeEventListener(vf, e) }, []), (0, el.createElement)(vr.div, (0, ec.Z)({}, c, { ref: m, style: { pointerEvents: w ? _ ? "auto" : "none" : void 0, ...e.style }, onFocusCapture: p6(e.onFocusCapture, k.onFocusCapture), onBlurCapture: p6(e.onBlurCapture, k.onBlurCapture), onPointerDownCapture: p6(e.onPointerDownCapture, E.onPointerDownCapture) })) }); function vp() { let e = new CustomEvent(vf); document.dispatchEvent(e) } function vv(e, t, n, { discrete: r }) { var i, o; let a = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n }); t && a.addEventListener(e, t, { once: !0 }), r ? (i = a, o = s, i && (0, tI.flushSync)(() => i.dispatchEvent(o))) : a.dispatchEvent(s) } (e, t) => (0, el.createElement)(vr.span, (0, ec.Z)({}, e, { ref: t, style: { position: "absolute", border: 0, width: 1, height: 1, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", wordWrap: "normal", ...e.style } })); let vm = "NavigationMenu", [vg, vy, vb] = vc(vm), [vx, vw, v_] = vc(vm), [vE, vk] = p5(vm, [vb, v_]), [vj, vS] = vE(vm), [vO, vC] = vE(vm), [vA, vT] = vE("NavigationMenuItem"), vM = ((e, t) => { let { __scopeNavigationMenu: n, ...r } = e, i = vS("NavigationMenuIndicator", n), o = vy(n), [a, s] = (0, el.useState)(null), [l, u] = (0, el.useState)(null), c = "horizontal" === i.orientation, f = Boolean(i.value); (0, el.useEffect)(() => { var e; let t = o(), n = null === (e = t.find(e => e.value === i.value)) || void 0 === e ? void 0 : e.ref.current; n && s(n) }, [o, i.value]); let d = () => { a && u({ size: c ? a.offsetWidth : a.offsetHeight, offset: c ? a.offsetLeft : a.offsetTop }) }; return vF(a, d), vF(i.indicatorTrack, d), l ? (0, el.createElement)(vr.div, (0, ec.Z)({ "aria-hidden": !0, "data-state": f ? "visible" : "hidden", "data-orientation": i.orientation }, r, { ref: t, style: { position: "absolute", ...c ? { left: 0, width: l.size + "px", transform: `translateX(${l.offset}px)` } : { top: 0, height: l.size + "px", transform: `translateY(${l.offset}px)` }, ...r.style } })) : null }, "NavigationMenuContent"), vP = ((e, t) => { let n = vS(vM, e.__scopeNavigationMenu), { onViewportContentChange: r, onViewportContentRemove: i } = n; return vo(() => { r(e.value, { ref: t, ...e }) }, [e, t, r]), vo(() => () => i(e.value), [e.value, i]), null }, "navigationMenu.rootContentDismiss"), vN = (0, el.forwardRef)((e, t) => { let { __scopeNavigationMenu: n, value: r, triggerRef: i, focusProxyRef: o, wasEscapeCloseRef: a, onRootContentClose: s, onContentFocusOutside: l, ...u } = e, c = vS(vM, n), f = (0, el.useRef)(null), d = p7(f, t), h = function(e, t) { return `${e}-trigger-${t}` }(c.baseId, r), p = function(e, t) { return `${e}-content-${t}` }(c.baseId, r), v = vy(n), m = (0, el.useRef)(null), { onItemDismiss: g } = c; (0, el.useEffect)(() => { let e = f.current; if (c.isRootMenu && e) { let t = () => { var t; g(), s(), e.contains(document.activeElement) && (null === (t = i.current) || void 0 === t || t.focus()) }; return e.addEventListener(vP, t), () => e.removeEventListener(vP, t) } }, [c.isRootMenu, e.value, i, g, s]); let y = (0, el.useMemo)(() => { let e = v(), t = e.map(e => e.value); "rtl" === c.dir && t.reverse(); let n = t.indexOf(c.value), i = t.indexOf(c.previousValue), o = r === c.value, a = i === t.indexOf(r); if (!o && !a) return m.current; let s = (() => { if (n !== i) { if (o && -1 !== i) return n > i ? "from-end" : "from-start"; if (a && -1 !== n) return n > i ? "to-start" : "to-end" } return null })(); return m.current = s, s }, [c.previousValue, c.value, c.dir, v, r]); return (0, el.createElement)(vR, { asChild: !0 }, (0, el.createElement)(vh, (0, ec.Z)({ id: p, "aria-labelledby": h, "data-motion": y, "data-orientation": c.orientation }, u, { ref: d, onDismiss: () => { var e; let t = new Event(vP, { bubbles: !0, cancelable: !0 }); null === (e = f.current) || void 0 === e || e.dispatchEvent(t) }, onFocusOutside: p6(e.onFocusOutside, e => { var t; l(); let n = e.target; null !== (t = c.rootNavigationMenu) && void 0 !== t && t.contains(n) && e.preventDefault() }), onPointerDownOutside: p6(e.onPointerDownOutside, e => { var t; let n = e.target, r = v().some(e => { var t; return null === (t = e.ref.current) || void 0 === t ? void 0 : t.contains(n) }), i = c.isRootMenu && (null === (t = c.viewport) || void 0 === t ? void 0 : t.contains(n)); (r || i || !c.isRootMenu) && e.preventDefault() }), onKeyDown: p6(e.onKeyDown, e => { let t = e.altKey || e.ctrlKey || e.metaKey, n = "Tab" === e.key && !t; if (n) { let r = function(e) { let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: e => { let t = "INPUT" === e.tagName && "hidden" === e.type; return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP } }); for (; n.nextNode();)t.push(n.currentNode); return t }(e.currentTarget), i = document.activeElement, a = r.findIndex(e => e === i), s = e.shiftKey, l = s ? r.slice(0, a).reverse() : r.slice(a + 1, r.length); if (vL(l)) e.preventDefault(); else { var u; null === (u = o.current) || void 0 === u || u.focus() } } }), onEscapeKeyDown: p6(e.onEscapeKeyDown, e => { a.current = !0 }) }))) }), vR = ((e, t) => { let { __scopeNavigationMenu: n, children: r, ...i } = e, o = vS("NavigationMenuViewport", n), a = p7(t, o.onViewportChange), s = vC(vM, e.__scopeNavigationMenu), [l, u] = (0, el.useState)(null), [c, f] = (0, el.useState)(null), d = l ? (null == l ? void 0 : l.width) + "px" : void 0, h = l ? (null == l ? void 0 : l.height) + "px" : void 0, p = Boolean(o.value), v = p ? o.value : o.previousValue, m = () => { c && u({ width: c.offsetWidth, height: c.offsetHeight }) }; return vF(c, m), (0, el.createElement)(vr.div, (0, ec.Z)({ "data-state": function(e) { return e ? "open" : "closed" }(p), "data-orientation": o.orientation }, i, { ref: a, style: { pointerEvents: !p && o.isRootMenu ? "none" : void 0, "--radix-navigation-menu-viewport-width": d, "--radix-navigation-menu-viewport-height": h, ...i.style }, onPointerEnter: p6(e.onPointerEnter, o.onContentEnter), onPointerLeave: p6(e.onPointerLeave, function(e) { return t => "mouse" === t.pointerType ? e(t) : void 0 }(o.onContentLeave)) }), Array.from(s.items).map(([e, { ref: t, forceMount: n, ...r }]) => { let i = v === e; return (0, el.createElement)(va, { key: e, present: n || i }, (0, el.createElement)(vN, (0, ec.Z)({}, r, { ref: p8(t, e => { i && e && f(e) }) }))) })) }, (0, el.forwardRef)((e, t) => { let { __scopeNavigationMenu: n, ...r } = e, i = vS("FocusGroup", n); return (0, el.createElement)(vx.Provider, { scope: n }, (0, el.createElement)(vx.Slot, { scope: n }, (0, el.createElement)(vr.div, (0, ec.Z)({ dir: i.dir }, r, { ref: t })))) })), vD = ["ArrowRight", "ArrowLeft", "ArrowUp", "ArrowDown"]; (e, t) => { let { __scopeNavigationMenu: n, ...r } = e, i = vw(n), o = vS("FocusGroupItem", n); return (0, el.createElement)(vx.ItemSlot, { scope: n }, (0, el.createElement)(vr.button, (0, ec.Z)({}, r, { ref: t, onKeyDown: p6(e.onKeyDown, e => { let t = ["Home", "End", ...vD].includes(e.key); if (t) { let n = i().map(e => e.ref.current), r = "rtl" === o.dir ? "ArrowRight" : "ArrowLeft"; if ([r, "ArrowUp", "End"].includes(e.key) && n.reverse(), vD.includes(e.key)) { let a = n.indexOf(e.currentTarget); n = n.slice(a + 1) } setTimeout(() => vL(n)), e.preventDefault() } }) }))) }; function vL(e) { let t = document.activeElement; return e.some(e => e === t || (e.focus(), document.activeElement !== t)) } function vF(e, t) { let n = vi(t); vo(() => { let t = 0; if (e) { let r = new ResizeObserver(() => { cancelAnimationFrame(t), t = window.requestAnimationFrame(n) }); return r.observe(e), () => { window.cancelAnimationFrame(t), r.unobserve(e) } } }, [e, n]) } var vI = n(38617), vz = ["children"], vV = ["children"], vB = ["children"], vZ = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vz); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k0 || (k0 = el.createElement("path", { d: "M28,4H4A2,2,0,0,0,2,6V22a2,2,0,0,0,2,2h8v4H8v2H24V28H20V24h8a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM18,28H14V24h4Zm10-6H4V6H28Z" })), n) }), vU = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vV); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k1 || (k1 = el.createElement("path", { d: "M13.5,8.4c0-0.1,0-0.3,0-0.4c0-0.1,0-0.3,0-0.4l1-0.8c0.4-0.3,0.4-0.9,0.2-1.3l-1.2-2C13.3,3.2,13,3,12.6,3 c-0.1,0-0.2,0-0.3,0.1l-1.2,0.4c-0.2-0.1-0.4-0.3-0.7-0.4l-0.3-1.3C10.1,1.3,9.7,1,9.2,1H6.8c-0.5,0-0.9,0.3-1,0.8L5.6,3.1 C5.3,3.2,5.1,3.3,4.9,3.4L3.7,3C3.6,3,3.5,3,3.4,3C3,3,2.7,3.2,2.5,3.5l-1.2,2C1.1,5.9,1.2,6.4,1.6,6.8l0.9,0.9c0,0.1,0,0.3,0,0.4 c0,0.1,0,0.3,0,0.4L1.6,9.2c-0.4,0.3-0.5,0.9-0.2,1.3l1.2,2C2.7,12.8,3,13,3.4,13c0.1,0,0.2,0,0.3-0.1l1.2-0.4 c0.2,0.1,0.4,0.3,0.7,0.4l0.3,1.3c0.1,0.5,0.5,0.8,1,0.8h2.4c0.5,0,0.9-0.3,1-0.8l0.3-1.3c0.2-0.1,0.4-0.2,0.7-0.4l1.2,0.4 c0.1,0,0.2,0.1,0.3,0.1c0.4,0,0.7-0.2,0.9-0.5l1.1-2c0.2-0.4,0.2-0.9-0.2-1.3L13.5,8.4z M12.6,12l-1.7-0.6c-0.4,0.3-0.9,0.6-1.4,0.8 L9.2,14H6.8l-0.4-1.8c-0.5-0.2-0.9-0.5-1.4-0.8L3.4,12l-1.2-2l1.4-1.2c-0.1-0.5-0.1-1.1,0-1.6L2.2,6l1.2-2l1.7,0.6 C5.5,4.2,6,4,6.5,3.8L6.8,2h2.4l0.4,1.8c0.5,0.2,0.9,0.5,1.4,0.8L12.6,4l1.2,2l-1.4,1.2c0.1,0.5,0.1,1.1,0,1.6l1.4,1.2L12.6,12z" })), k2 || (k2 = el.createElement("path", { d: "M8,11c-1.7,0-3-1.3-3-3s1.3-3,3-3s3,1.3,3,3C11,9.6,9.7,11,8,11C8,11,8,11,8,11z M8,6C6.9,6,6,6.8,6,7.9C6,7.9,6,8,6,8 c0,1.1,0.8,2,1.9,2c0,0,0.1,0,0.1,0c1.1,0,2-0.8,2-1.9c0,0,0-0.1,0-0.1C10,6.9,9.2,6,8,6C8.1,6,8,6,8,6z" })), n) }), vH = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vB); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k4 || (k4 = el.createElement("path", { d: "M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30V8zM21 12c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3S22.7 12 21 12zM2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2V24zM11 20c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3S9.3 20 11 20z" })), n) }), vW = ["children"], vq = ["children"], v$ = ["children"], vY = ["children"], vG = ["children"], vK = ["children"], vX = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vW); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k3 || (k3 = el.createElement("path", { d: "M22 26L22 24 9.41 24 26 7.41 24.59 6 8 22.59 8 10 6 10 6 26 22 26z" })), n) }), vQ = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vq); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k5 || (k5 = el.createElement("path", { d: "M10 26L10 24 22.59 24 6 7.41 7.41 6 24 22.59 24 10 26 10 26 26 10 26z" })), n) }), vJ = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, v$); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k6 || (k6 = el.createElement("path", { d: "M22 6L22 8 9.41 8 26 24.59 24.59 26 8 9.41 8 22 6 22 6 6 22 6z" })), n) }), v0 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vY); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k8 || (k8 = el.createElement("path", { d: "M10 6L10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6z" })), n) }), v1 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vG); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k7 || (k7 = el.createElement("path", { d: "M7.2,2.3c-1,4.4,1.7,8.7,6.1,9.8c0.1,0,0.1,0,0.2,0c-1.1,1.2-2.7,1.8-4.3,1.8c-0.1,0-0.2,0-0.2,0C5.6,13.8,3,11,3.2,7.7 C3.2,5.3,4.8,3.1,7.2,2.3 M8,1L8,1C4.1,1.6,1.5,5.3,2.1,9.1c0.6,3.3,3.4,5.8,6.8,5.9c0.1,0,0.2,0,0.3,0c2.3,0,4.4-1.1,5.8-3 c0.2-0.2,0.1-0.6-0.1-0.7c-0.1-0.1-0.2-0.1-0.3-0.1c-3.9-0.3-6.7-3.8-6.4-7.6C8.3,3,8.4,2.4,8.6,1.8c0.1-0.3,0-0.6-0.3-0.7 C8.1,1,8.1,1,8,1z" })), n) }), v2 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, vK); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k9 || (k9 = el.createElement("path", { d: "M7.5 1H8.5V3.5H7.5z" })), je || (je = el.createElement("path", { d: "M10.8 3.4H13.3V4.4H10.8z", transform: "rotate(-45.001 12.074 3.922)" })), jt || (jt = el.createElement("path", { d: "M12.5 7.5H15V8.5H12.5z" })), jn || (jn = el.createElement("path", { d: "M11.6 10.8H12.6V13.3H11.6z", transform: "rotate(-45.001 12.077 12.075)" })), jr || (jr = el.createElement("path", { d: "M7.5 12.5H8.5V15H7.5z" })), ji || (ji = el.createElement("path", { d: "M2.7 11.6H5.2V12.6H2.7z", transform: "rotate(-45.001 3.929 12.078)" })), jo || (jo = el.createElement("path", { d: "M1 7.5H3.5V8.5H1z" })), ja || (ja = el.createElement("path", { d: "M3.4 2.7H4.4V5.2H3.4z", transform: "rotate(-45.001 3.926 3.925)" })), js || (js = el.createElement("path", { d: "M8,6c1.1,0,2,0.9,2,2s-0.9,2-2,2S6,9.1,6,8S6.9,6,8,6 M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z" })), n) }); let v4 = el.forwardRef((e, t) => { let { className: n, ...r } = e; return (0, es.jsx)(he, { ...r, ref: t, className: (0, eY.cx)("select-none flex items-center rounded cursor-pointer", "focus:ring ring-blue-500 dark:ring-blue-200", "text-gray-700 dark:text-graydark-700", "data-[state=checked]:text-gray-1100 data-[state=checked]:dark:text-white", n) }) }); function v3(e) { let { className: t, tooltipClassName: n, tabIndex: r } = e, { theme: i, setTheme: o } = (0, vI.F)(); return (0, es.jsxs)(d9, { value: i, tabIndex: r, className: (0, eY.cx)("flex gap-4", t), onValueChange: e => o(e), children: [(0, es.jsx)(v4, { value: "system", children: (0, es.jsx)(lU, { className: n, sideOffset: 16, content: "System", children: (0, es.jsx)(vZ, {}) }) }), (0, es.jsx)(v4, { value: "light", children: (0, es.jsx)(lU, { className: n, sideOffset: 16, content: "Light", children: (0, es.jsx)(v2, {}) }) }), (0, es.jsx)(v4, { value: "dark", children: (0, es.jsx)(lU, { className: n, sideOffset: 16, content: "Dark", children: (0, es.jsx)(v1, {}) }) })] }) } var v5 = n(14582), v6 = n(63739), v8 = n(72779), v7 = n.n(v8), v9 = n(47440), me = n(59309), mt = n(19067), mn = n(71220), mr = n(28142); function mi(e) { return "bandwidth" in e ? e.bandwidth() : 0 } var mo = ["top", "left", "scale", "width", "stroke", "strokeWidth", "strokeDasharray", "className", "children", "numTicks", "lineStyle", "offset", "tickValues"]; function ma() { return (ma = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function ms(e) { var t = e.top, n = e.left, r = e.scale, i = e.width, o = e.stroke, a = void 0 === o ? "#eaf0f6" : o, s = e.strokeWidth, l = void 0 === s ? 1 : s, u = e.strokeDasharray, c = e.className, f = e.children, d = e.numTicks, h = e.lineStyle, p = e.offset, v = e.tickValues, m = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, mo), g = null != v ? v : (0, mn.Z)(r, void 0 === d ? 10 : d), y = (null != p ? p : 0) + mi(r) / 2, b = g.map(function(e, t) { var n, o = (null != (n = (0, mr.Z)(r(e))) ? n : 0) + y; return { index: t, from: new mt.Z({ x: 0, y: o }), to: new mt.Z({ x: i, y: o }) } }); return el.createElement(me.Z, { className: v7()("visx-rows", c), top: void 0 === t ? 0 : t, left: void 0 === n ? 0 : n }, f ? f({ lines: b }) : b.map(function(e) { var t = e.from, n = e.to, r = e.index; return el.createElement(v9.default, ma({ key: "row-line-" + r, from: t, to: n, stroke: a, strokeWidth: l, strokeDasharray: u, style: h }, m)) })) } ms.propTypes = { tickValues: l5().array, width: l5().number.isRequired }; var ml = ["top", "left", "scale", "height", "stroke", "strokeWidth", "strokeDasharray", "className", "numTicks", "lineStyle", "offset", "tickValues", "children"]; function mu() { return (mu = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function mc(e) { var t = e.top, n = e.left, r = e.scale, i = e.height, o = e.stroke, a = void 0 === o ? "#eaf0f6" : o, s = e.strokeWidth, l = void 0 === s ? 1 : s, u = e.strokeDasharray, c = e.className, f = e.numTicks, d = e.lineStyle, h = e.offset, p = e.tickValues, v = e.children, m = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, ml), g = null != p ? p : (0, mn.Z)(r, void 0 === f ? 10 : f), y = (null != h ? h : 0) + mi(r) / 2, b = g.map(function(e, t) { var n, o = (null != (n = (0, mr.Z)(r(e))) ? n : 0) + y; return { index: t, from: new mt.Z({ x: o, y: 0 }), to: new mt.Z({ x: o, y: i }) } }); return el.createElement(me.Z, { className: v7()("visx-columns", c), top: void 0 === t ? 0 : t, left: void 0 === n ? 0 : n }, v ? v({ lines: b }) : b.map(function(e) { var t = e.from, n = e.to, r = e.index; return el.createElement(v9.default, mu({ key: "column-line-" + r, from: t, to: n, stroke: a, strokeWidth: l, strokeDasharray: u, style: d }, m)) })) } mc.propTypes = { tickValues: l5().array, height: l5().number.isRequired }; var mf = n(64183), md = n(8597); function mh(e) { var t = e.id, n = e.width, r = e.height, i = e.children; return el.createElement("defs", null, el.createElement("pattern", { id: t, width: n, height: r, patternUnits: "userSpaceOnUse" }, i)) } mh.propTypes = { id: l5().string.isRequired, width: l5().number.isRequired, height: l5().number.isRequired, children: l5().node.isRequired }; var mp = { horizontal: "horizontal", vertical: "vertical", diagonal: "diagonal", diagonalRightToLeft: "diagonalRightToLeft" }; function mv(e) { var t = e.id, n = e.width, r = e.height, i = e.stroke, o = e.strokeWidth, a = e.strokeDasharray, s = e.strokeLinecap, l = void 0 === s ? "square" : s, u = e.shapeRendering, c = void 0 === u ? "auto" : u, f = e.orientation, d = void 0 === f ? ["vertical"] : f, h = e.background, p = e.className, v = Array.isArray(d) ? d : [d]; return el.createElement(mh, { id: t, width: n, height: r }, !!h && el.createElement("rect", { className: v7()("visx-pattern-line-background"), width: n, height: r, fill: h }), v.map(function(e, n) { return el.createElement("path", { key: "visx-" + t + "-line-" + e + "-" + n, className: v7()("visx-pattern-line", p), d: function(e) { var t = e.height; switch (e.orientation) { case mp.horizontal: return "M 0," + t / 2 + " l " + t + ",0"; case mp.diagonal: return "M 0," + t + " l " + t + "," + -t + " M " + -t / 4 + "," + t / 4 + " l " + t / 2 + "," + -t / 2 + "\n M " + 3 / 4 * t + "," + 5 / 4 * t + " l " + t / 2 + "," + -t / 2; case mp.diagonalRightToLeft: return "M 0,0 l " + t + "," + t + "\n M " + -t / 4 + "," + 3 / 4 * t + " l " + t / 2 + "," + t / 2 + "\n M " + 3 / 4 * t + "," + -t / 4 + " l " + t / 2 + "," + t / 2; case mp.vertical: default: return "M " + t / 2 + ", 0 l 0, " + t } }({ orientation: e, height: r }), stroke: i, strokeWidth: o, strokeDasharray: a, strokeLinecap: l, shapeRendering: c }) })) } mv.propTypes = { id: l5().string.isRequired, width: l5().number.isRequired, height: l5().number.isRequired, className: l5().string, background: l5().string, stroke: l5().string, strokeWidth: l5().oneOfType([l5().number, l5().string]), strokeDasharray: l5().oneOfType([l5().string, l5().number]), strokeLinecap: l5().oneOf(["square", "butt", "round", "inherit"]), shapeRendering: l5().oneOfType([l5().string, l5().number]), orientation: l5().array }; var mm = ["tooltipOpen"]; function mg() { return (mg = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var my = ["className", "top", "left", "offsetLeft", "offsetTop", "style", "children", "unstyled", "applyPositionStyle"]; function mb() { return (mb = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var mx = { position: "absolute", backgroundColor: "white", color: "#666666", padding: ".3rem .5rem", borderRadius: "3px", fontSize: "14px", boxShadow: "0 1px 2px rgba(33,33,33,0.2)", lineHeight: "1em", pointerEvents: "none" }, mw = el.forwardRef(function(e, t) { var n = e.className, r = e.top, i = e.left, o = e.offsetLeft, a = void 0 === o ? 10 : o, s = e.offsetTop, l = void 0 === s ? 10 : s, u = e.style, c = e.children, f = e.unstyled, d = e.applyPositionStyle, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, my); return el.createElement("div", mb({ ref: t, className: v7()("visx-tooltip", n), style: mb({ top: null == r || null == l ? r : r + l, left: null == i || null == a ? i : i + a }, void 0 !== d && d && { position: "absolute" }, !(void 0 !== f && f) && (void 0 === u ? mx : u)) }, h), c) }); function m_() { return (m_ = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function mE(e, t) { return (mE = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) { return e.__proto__ = t, e })(e, t) } mw.propTypes = { children: l5().node, className: l5().string, left: l5().number, offsetLeft: l5().number, offsetTop: l5().number, top: l5().number, applyPositionStyle: l5().bool, unstyled: l5().bool }, mw.displayName = "Tooltip"; var mk = { top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }, mj = (0, el.createContext)({ isFlippedVertically: !1, isFlippedHorizontally: !1 }), mS = mj.Provider; mj.Consumer; var mO = ["children", "getRects", "left", "offsetLeft", "offsetTop", "parentRect", "rect", "style", "top", "unstyled", "nodeRef"]; function mC() { return (mC = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function mA(e) { var t, n = e.children, r = (e.getRects, e.left), i = e.offsetLeft, o = void 0 === i ? 10 : i, a = e.offsetTop, s = void 0 === a ? 10 : a, l = e.parentRect, u = e.rect, c = e.style, f = e.top, d = e.unstyled, h = e.nodeRef, p = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, mO), v = !1, m = !1; if (u && l) { var g = void 0 === r ? 0 : r, y = void 0 === f ? 0 : f; if (l.width) { var b = g + o + u.width - l.width, x = u.width - g - o; v = b > 0 && b > x } else { var w = g + o + u.width - window.innerWidth, _ = u.width - g - o; v = w > 0 && w > _ } if (l.height) { var E = y + s + u.height - l.height, k = u.height - y - s; m = E > 0 && E > k } else m = y + s + u.height > window.innerHeight; g = v ? g - u.width - o : g + o, y = m ? y - u.height - s : y + s, t = "translate(" + (g = Math.round(g)) + "px, " + (y = Math.round(y)) + "px)" } return el.createElement(mw, mC({ ref: h, style: mC({ left: 0, top: 0, transform: t }, !(void 0 !== d && d) && (void 0 === c ? mx : c)) }, p), el.createElement(mS, { value: { isFlippedVertically: !m, isFlippedHorizontally: !v } }, n)) } mA.propTypes = { nodeRef: l5().oneOfType([l5().string, l5().func, l5().object]) }; var mT = ((kk = function(e) { function t(t) { var n; return (n = e.call(this, t) || this).state = { rect: void 0, parentRect: void 0 }, n.nodeRef = el.createRef(), n.getRects = n.getRects.bind(function(e) { if (void 0 === e) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(n)), n } (n = t).prototype = Object.create(e.prototype), n.prototype.constructor = n, mE(n, e); var n, r = t.prototype; return r.componentDidMount = function() { var e, t = this; this.node = null != (e = this.nodeRef) && e.current ? this.nodeRef.current : tI.findDOMNode(this), this.setState(function() { return t.getRects() }) }, r.getRects = function() { if (!this.node) return this.state; var e = this.node, t = e.parentNode; return { rect: e.getBoundingClientRect ? e.getBoundingClientRect() : mk, parentRect: null != t && t.getBoundingClientRect ? t.getBoundingClientRect() : mk } }, r.render = function() { return el.createElement(mA, m_({ nodeRef: this.nodeRef, getRects: this.getRects }, this.state, this.props)) }, t }(el.PureComponent)).displayName = "withBoundingRects(" + (mA.displayName || "") + ")", kk), mM = n(99985); function mP(e, t) { if ("invert" in e && void 0 !== e.invert) return e.invert(t).valueOf(); var n = e.range(), r = n[0], i = n[1], o = 0, a = ("step" in e && void 0 !== e.step ? e.step() : 1) * (i - r) / Math.abs(i - r); if (a > 0) for (; t > r + a * (o + 1);)o += 1; else for (; t < r + a * (o + 1);)o += 1; return o } function mN(e, t, n, r) { var i, o = mP(e, t + (t < n ? -r : r)), a = mP(e, n + (n < t ? -r : r)), s = Math.min(o, a), l = Math.max(o, a); if ("invert" in e && void 0 !== e.invert) i = { start: s, end: l }; else { for (var u = [], c = e.domain(), f = s; f <= l; f += 1)u.push(c[f]); i = { values: u } } return i } function mR(e) { return "undefined" != typeof window && window.TouchEvent && e instanceof TouchEvent ? { pageX: e.touches[0].pageX, pageY: e.touches[0].pageY } : { pageX: e.pageX, pageY: e.pageY } } function mD() { return (mD = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function mL(e, t) { return (mL = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) { return e.__proto__ = t, e })(e, t) } var mF = function(e) { var t; function n() { for (var t, n = arguments.length, r = Array(n), i = 0; i < n; i++)r[i] = arguments[i]; return (t = e.call.apply(e, [this].concat(r)) || this).handleDragStart = function(e) { var n = t.props, r = n.onBrushHandleChange, i = n.type, o = n.onBrushStart; r && r(i, mR(e.event)), o && o(e) }, t.handleDragMove = function(e) { var n = t.props, r = n.updateBrush, i = n.type, o = n.isControlled; e.isDragging && !o && r(function(t) { var n = t.start, r = t.end, o = 0, a = Math.max(n.x, r.x), s = Math.min(n.x, r.x), l = Math.max(n.y, r.y), u = Math.min(n.y, r.y); switch (i) { case "right": return o = a + e.dx, mD({}, t, { activeHandle: i, extent: mD({}, t.extent, { x0: Math.max(Math.min(o, n.x), t.bounds.x0), x1: Math.min(Math.max(o, n.x), t.bounds.x1) }) }); case "left": return o = s + e.dx, mD({}, t, { activeHandle: i, extent: mD({}, t.extent, { x0: Math.min(o, r.x), x1: Math.max(o, r.x) }) }); case "bottom": return o = l + e.dy, mD({}, t, { activeHandle: i, extent: mD({}, t.extent, { y0: Math.min(o, n.y), y1: Math.max(o, n.y) }) }); case "top": return o = u + e.dy, mD({}, t, { activeHandle: i, extent: mD({}, t.extent, { y0: Math.min(o, r.y), y1: Math.max(o, r.y) }) }); default: return t } }) }, t.handleDragEnd = function() { var e = t.props, n = e.updateBrush, r = e.onBrushEnd, i = e.onBrushHandleChange; e.isControlled || n(function(e) { var t = e.start, n = e.end, i = e.extent; t.x = Math.min(i.x0, i.x1), t.y = Math.min(i.y0, i.y0), n.x = Math.max(i.x0, i.x1), n.y = Math.max(i.y0, i.y1); var o = mD({}, e, { start: t, end: n, activeHandle: null, isBrushing: !1, extent: { x0: Math.min(t.x, n.x), x1: Math.max(t.x, n.x), y0: Math.min(t.y, n.y), y1: Math.max(t.y, n.y) } }); return r && r(o), o }), i && i() }, t } return (t = n).prototype = Object.create(e.prototype), t.prototype.constructor = t, mL(t, e), n.prototype.render = function() { var e = this, t = this.props, n = t.stageWidth, r = t.stageHeight, i = t.brush, o = t.type, a = t.handle, s = t.isControlled, l = t.isDragInProgress, u = t.renderBrushHandle, c = a.x, f = a.y, d = a.width, h = a.height, p = "right" === o || "left" === o ? "ew-resize" : "ns-resize"; return el.createElement(mM.Z, { width: n, height: r, onDragStart: this.handleDragStart, onDragMove: this.handleDragMove, onDragEnd: this.handleDragEnd, resetOnStart: !0, isDragging: s ? l : void 0 }, function(t) { var a = t.dragStart, l = t.dragEnd, v = t.dragMove, m = t.isDragging; return el.createElement("g", null, m && el.createElement("rect", { fill: "transparent", width: n, height: r, style: { cursor: p }, onPointerMove: v, onPointerUp: s ? void 0 : l, onPointerLeave: s ? void 0 : l }), !u && el.createElement("rect", { x: c, y: f, width: d, height: h, fill: "transparent", className: "visx-brush-handle-" + o, onPointerDown: a, onPointerMove: v, onPointerUp: s ? void 0 : l, style: { cursor: p, pointerEvents: i.activeHandle || i.isBrushing ? "none" : "all" } }), u && el.createElement("g", { onPointerDown: a, onPointerMove: v, onPointerUp: s ? void 0 : l }, u(mD({}, e.props.handle, { height: r, className: "visx-brush-handle-" + o, isBrushActive: -1 !== i.extent.x0 && -1 !== i.extent.x1 })))) }) }, n }(el.Component); function mI() { return (mI = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function mz(e, t) { return (mz = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) { return e.__proto__ = t, e })(e, t) } mF.propTypes = { stageWidth: l5().number.isRequired, stageHeight: l5().number.isRequired, updateBrush: l5().func.isRequired, onBrushStart: l5().func, onBrushEnd: l5().func, handle: l5().shape({ x: l5().number.isRequired, y: l5().number.isRequired, width: l5().number.isRequired, height: l5().number.isRequired }).isRequired, isControlled: l5().bool, isDragInProgress: l5().bool, onBrushHandleChange: l5().func, renderBrushHandle: l5().func }; var mV = function(e) { var t; function n() { for (var t, n = arguments.length, r = Array(n), i = 0; i < n; i++)r[i] = arguments[i]; return (t = e.call.apply(e, [this].concat(r)) || this).cornerDragMove = function(e) { var n = t.props, r = n.updateBrush, i = n.type; e.isDragging && r(function(t) { var n = t.start, r = t.end, o = Math.max(n.x, r.x), a = Math.min(n.x, r.x), s = Math.max(n.y, r.y), l = Math.min(n.y, r.y), u = 0, c = 0; switch (i) { case "topRight": return u = o + e.dx, c = l + e.dy, mI({}, t, { activeHandle: i, extent: mI({}, t.extent, { x0: Math.max(Math.min(u, n.x), t.bounds.x0), x1: Math.min(Math.max(u, n.x), t.bounds.x1), y0: Math.max(Math.min(c, r.y), t.bounds.y0), y1: Math.min(Math.max(c, r.y), t.bounds.y1) }) }); case "topLeft": return u = a + e.dx, c = l + e.dy, mI({}, t, { activeHandle: i, extent: mI({}, t.extent, { x0: Math.max(Math.min(u, r.x), t.bounds.x0), x1: Math.min(Math.max(u, r.x), t.bounds.x1), y0: Math.max(Math.min(c, r.y), t.bounds.y0), y1: Math.min(Math.max(c, r.y), t.bounds.y1) }) }); case "bottomLeft": return u = a + e.dx, c = s + e.dy, mI({}, t, { activeHandle: i, extent: mI({}, t.extent, { x0: Math.max(Math.min(u, r.x), t.bounds.x0), x1: Math.min(Math.max(u, r.x), t.bounds.x1), y0: Math.max(Math.min(c, n.y), t.bounds.y0), y1: Math.min(Math.max(c, n.y), t.bounds.y1) }) }); case "bottomRight": return u = o + e.dx, c = s + e.dy, mI({}, t, { activeHandle: i, extent: mI({}, t.extent, { x0: Math.max(Math.min(u, n.x), t.bounds.x0), x1: Math.min(Math.max(u, n.x), t.bounds.x1), y0: Math.max(Math.min(c, n.y), t.bounds.y0), y1: Math.min(Math.max(c, n.y), t.bounds.y1) }) }); default: return t } }) }, t.cornerDragEnd = function() { var e = t.props, n = e.updateBrush, r = e.onBrushEnd; n(function(e) { var t = e.start, n = e.end, i = e.extent; t.x = Math.min(i.x0, i.x1), t.y = Math.min(i.y0, i.y0), n.x = Math.max(i.x0, i.x1), n.y = Math.max(i.y0, i.y1); var o = mI({}, e, { start: t, end: n, activeHandle: null, domain: { x0: Math.min(t.x, n.x), x1: Math.max(t.x, n.x), y0: Math.min(t.y, n.y), y1: Math.max(t.y, n.y) } }); return r && r(o), o }) }, t } return (t = n).prototype = Object.create(e.prototype), t.prototype.constructor = t, mz(t, e), n.prototype.render = function() { var e = this.props, t = e.type, n = e.brush, r = e.stageWidth, i = e.stageHeight, o = e.style, a = e.corner, s = (null == o ? void 0 : o.cursor) || ("topLeft" === t || "bottomRight" === t ? "nwse-resize" : "nesw-resize"), l = n.activeHandle || n.isBrushing ? "none" : "all"; return el.createElement(mM.Z, { width: r, height: i, onDragMove: this.cornerDragMove, onDragEnd: this.cornerDragEnd, resetOnStart: !0 }, function(e) { var n = e.dragMove, u = e.dragEnd, c = e.dragStart, f = e.isDragging; return el.createElement("g", null, f && el.createElement("rect", { fill: "transparent", width: r, height: i, style: { cursor: s }, onPointerMove: n, onPointerUp: u }), el.createElement("rect", mI({ fill: "transparent", onPointerDown: c, onPointerMove: n, onPointerUp: u, className: "visx-brush-corner-" + t, style: mI({ cursor: s, pointerEvents: l }, o) }, a))) }) }, n }(el.Component); function mB() { return (mB = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function mZ(e, t) { return (mZ = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) { return e.__proto__ = t, e })(e, t) } mV.propTypes = { stageWidth: l5().number.isRequired, stageHeight: l5().number.isRequired, updateBrush: l5().func.isRequired, onBrushEnd: l5().func, corner: l5().shape({ x: l5().number.isRequired, y: l5().number.isRequired, width: l5().number.isRequired, height: l5().number.isRequired }).isRequired }, mV.defaultProps = { style: {} }; var mU = { cursor: "move" }, mH = function(e) { var t; function n() { for (var t, n = arguments.length, r = Array(n), i = 0; i < n; i++)r[i] = arguments[i]; return (t = e.call.apply(e, [this].concat(r)) || this).selectionDragStart = function(e) { var n = t.props, r = n.onMoveSelectionChange, i = n.onBrushStart; r && r("move", mR(e.event)), i && i(e) }, t.selectionDragMove = function(e) { var n = t.props, r = n.updateBrush; n.isControlled || r(function(t) { var n = t.start, r = n.x, i = n.y, o = t.end, a = o.x, s = o.y, l = e.dx > 0 ? Math.min(e.dx, t.bounds.x1 - a) : Math.max(e.dx, t.bounds.x0 - r), u = e.dy > 0 ? Math.min(e.dy, t.bounds.y1 - s) : Math.max(e.dy, t.bounds.y0 - i); return mB({}, t, { isBrushing: !0, extent: mB({}, t.extent, { x0: r + l, x1: a + l, y0: i + u, y1: s + u }) }) }) }, t.selectionDragEnd = function() { var e = t.props, n = e.updateBrush, r = e.onBrushEnd, i = e.onMoveSelectionChange; e.isControlled || n(function(e) { var t = mB({}, e, { isBrushing: !1, start: mB({}, e.start, { x: Math.min(e.extent.x0, e.extent.x1), y: Math.min(e.extent.y0, e.extent.y1) }), end: mB({}, e.end, { x: Math.max(e.extent.x0, e.extent.x1), y: Math.max(e.extent.y0, e.extent.y1) }) }); return r && r(t), t }), i && i() }, t } return (t = n).prototype = Object.create(e.prototype), t.prototype.constructor = t, mZ(t, e), n.prototype.render = function() { var e = this.props, t = e.width, n = e.height, r = e.stageWidth, i = e.stageHeight, o = e.brush, a = e.disableDraggingSelection, s = e.onMouseLeave, l = e.onMouseMove, u = e.onMouseUp, c = e.onClick, f = e.selectedBoxStyle, d = e.isControlled, h = e.isDragInProgress; return el.createElement(mM.Z, { width: t, height: n, resetOnStart: !0, onDragStart: this.selectionDragStart, onDragMove: this.selectionDragMove, onDragEnd: this.selectionDragEnd, isDragging: d ? h : void 0 }, function(e) { var h = e.isDragging, p = e.dragStart, v = e.dragEnd, m = e.dragMove; return el.createElement("g", null, h && el.createElement("rect", { width: r, height: i, fill: "transparent", onPointerUp: d ? void 0 : v, onPointerMove: m, onPointerLeave: d ? void 0 : v, style: mU }), el.createElement("rect", mB({ x: Math.min(o.extent.x0, o.extent.x1), y: Math.min(o.extent.y0, o.extent.y1), width: t, height: n, className: "visx-brush-selection", onPointerDown: a ? void 0 : p, onPointerLeave: function(e) { s && s(e) }, onPointerMove: function(e) { m(e), l && l(e) }, onPointerUp: function(e) { d || v(e), u && u(e) }, onClick: function(e) { c && c(e) }, style: { pointerEvents: o.isBrushing || o.activeHandle ? "none" : "all", cursor: a ? void 0 : "move" } }, f))) }) }, n }(el.Component); function mW() { return (mW = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function mq(e, t) { return (mq = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) { return e.__proto__ = t, e })(e, t) } mH.propTypes = { width: l5().number.isRequired, height: l5().number.isRequired, stageWidth: l5().number.isRequired, stageHeight: l5().number.isRequired, updateBrush: l5().func.isRequired, onMoveSelectionChange: l5().func, onBrushStart: l5().func, onBrushEnd: l5().func, disableDraggingSelection: l5().bool.isRequired, onMouseLeave: l5().func, onMouseMove: l5().func, onMouseUp: l5().func, onClick: l5().func, isControlled: l5().bool, isDragInProgress: l5().bool }, mH.defaultProps = { onMouseLeave: null, onMouseUp: null, onMouseMove: null, onClick: null }; var m$ = { cursor: "crosshair" }, mY = function(e) { function t(t) { (n = e.call(this, t) || this).mouseUpTime = 0, n.mouseDownTime = 0, n.handleWindowPointerUp = function() { var e = n.props, t = e.useWindowMoveEvents, r = e.onBrushEnd, i = e.resetOnEnd, o = n.state.brushingType; t && o && n.updateBrush(function(e) { var t = e.start, o = e.end, a = e.extent; t.x = Math.min(a.x0, a.x1), t.y = Math.min(a.y0, a.y0), o.x = Math.max(a.x0, a.x1), o.y = Math.max(a.y0, a.y1); var s = mW({}, e, { activeHandle: null, isBrushing: !1, brushingType: void 0 }); return r && r(s), i && n.reset(), s }) }, n.handleWindowPointerMove = function(e) { var t = n.props.useWindowMoveEvents, r = n.state, i = r.brushingType, o = r.isBrushing, a = r.brushPageOffset, s = r.start; if (t && o) { var l = e.pageX - ((null == a ? void 0 : a.pageX) || 0), u = e.pageY - ((null == a ? void 0 : a.pageY) || 0);["left", "right", "top", "bottom"].includes(null != i ? i : "") && n.updateBrush(function(e) { var t = e.start, r = t.x, o = t.y, a = e.end, s = a.x, c = a.y; return mW({}, e, { isBrushing: !0, extent: mW({}, e.extent, n.getExtent({ x: "left" === i ? Math.min(Math.max(r + l, e.bounds.x0), e.bounds.x1) : r, y: "top" === i ? Math.min(Math.max(o + u, e.bounds.y0), e.bounds.y1) : o }, { x: "right" === i ? Math.min(Math.max(s + l, e.bounds.x0), e.bounds.x1) : s, y: "bottom" === i ? Math.min(Math.max(c + u, e.bounds.y0), e.bounds.y1) : c })) }) }), "move" === i && n.updateBrush(function(e) { var t = e.start, n = t.x, r = t.y, i = e.end, o = i.x, a = i.y, s = l > 0 ? Math.min(l, e.bounds.x1 - o) : Math.max(l, e.bounds.x0 - n), c = u > 0 ? Math.min(u, e.bounds.y1 - a) : Math.max(u, e.bounds.y0 - r); return mW({}, e, { isBrushing: !0, extent: mW({}, e.extent, { x0: n + s, y0: r + c, x1: o + s, y1: a + c }) }) }), "select" === i && n.updateBrush(function(e) { var t = e.start, r = t.x, i = t.y, o = { x: Math.min(Math.max(r + l, e.bounds.x0), e.bounds.x1), y: Math.min(Math.max(i + u, e.bounds.y0), e.bounds.y1) }, a = n.getExtent(s, o); return mW({}, e, { end: o, extent: a }) }) } }, n.getExtent = function(e, t) { var r = n.props, i = r.brushDirection, o = r.width, a = r.height; return { x0: "vertical" === i ? 0 : Math.min(e.x || 0, t.x || 0), x1: "vertical" === i ? o : Math.max(e.x || 0, t.x || 0), y0: "horizontal" === i ? 0 : Math.min(e.y || 0, t.y || 0), y1: "horizontal" === i ? a : Math.max(e.y || 0, t.y || 0) } }, n.handleDragStart = function(e) { var t = n.props, r = t.onBrushStart, i = t.left, o = t.top, a = t.inheritedMargin, s = t.useWindowMoveEvents, l = null != a && a.left ? a.left : 0, u = null != a && a.top ? a.top : 0, c = { x: (e.x || 0) + e.dx - i - l, y: (e.y || 0) + e.dy - o - u }, f = mW({}, c); r && r(c), n.updateBrush(function(t) { return mW({}, t, { start: c, end: f, extent: { x0: -1, x1: -1, y0: -1, y1: -1 }, isBrushing: !0, brushingType: "select", brushPageOffset: s ? mR(e.event) : void 0 }) }) }, n.handleBrushStart = function(e) { var t = n.props, r = t.onBrushStart, i = t.left, o = t.top, a = t.inheritedMargin; if (r) { var s = null != a && a.left ? a.left : 0, l = null != a && a.top ? a.top : 0; r({ x: (e.x || 0) + e.dx - i - s, y: (e.y || 0) + e.dy - o - l }) } }, n.handleDragMove = function(e) { var t = n.props, r = t.left, i = t.top, o = t.inheritedMargin, a = t.useWindowMoveEvents; if (e.isDragging && !a) { var s = (null == o ? void 0 : o.left) || 0, l = (null == o ? void 0 : o.top) || 0, u = { x: (e.x || 0) + e.dx - r - s, y: (e.y || 0) + e.dy - i - l }; n.updateBrush(function(e) { var t = e.start, r = n.getExtent(t, u); return mW({}, e, { end: u, extent: r }) }) } }, n.handleDragEnd = function() { var e = n.props, t = e.onBrushEnd, r = e.resetOnEnd; e.useWindowMoveEvents || n.updateBrush(function(e) { var i = e.extent, o = mW({}, e, { start: { x: i.x0, y: i.y0 }, end: { x: i.x1, y: i.y1 }, isBrushing: !1, brushingType: void 0, activeHandle: null }); return t && t(o), r && n.reset(), o }) }, n.getBrushWidth = function() { var e = n.state.extent, t = e.x0, r = e.x1; return Math.max(Math.max(t, r) - Math.min(t, r), 0) }, n.getBrushHeight = function() { var e = n.state.extent, t = e.y1, r = e.y0; return Math.max(Math.max(r, t) - Math.min(r, t), 0) }, n.handles = function() { var e = n.props.handleSize, t = n.state.extent, r = t.x0, i = t.x1, o = t.y0, a = t.y1, s = e / 2, l = n.getBrushWidth(), u = n.getBrushHeight(); return { top: { x: r - s, y: o - s, height: e, width: l + e }, bottom: { x: r - s, y: a - s, height: e, width: l + e }, right: { x: i - s, y: o - s, height: u + e, width: e }, left: { x: r - s, y: o - s, height: u + e, width: e } } }, n.corners = function() { var e = n.props.handleSize, t = n.state.extent, r = t.x0, i = t.x1, o = t.y0, a = t.y1, s = e / 2; return { topLeft: { x: Math.min(r, i) - s, y: Math.min(o, a) - s, width: e, height: e }, topRight: { x: Math.max(r, i) - s, y: Math.min(o, a) - s, width: e, height: e }, bottomLeft: { x: Math.min(r, i) - s, y: Math.max(o, a) - s, width: e, height: e }, bottomRight: { x: Math.max(r, i) - s, y: Math.max(o, a) - s, width: e, height: e } } }, n.updateBrush = function(e) { var t = n.props.onChange; n.setState(e, function() { t && t(n.state) }) }, n.reset = function() { var e = n.props, t = e.width, r = e.height; n.updateBrush(function() { return { start: { x: 0, y: 0 }, end: { x: 0, y: 0 }, extent: { x0: -1, x1: -1, y0: -1, y1: -1 }, bounds: { x0: 0, x1: t, y0: 0, y1: r }, isBrushing: !1, brushPageOffset: void 0, activeHandle: null, brushingType: void 0 } }) }, n.handleBrushingTypeChange = function(e, t) { n.updateBrush(function(n) { var r = mW({}, n, { brushingType: e, isBrushing: void 0 !== e }); return (t || void 0 === e) && (r.brushPageOffset = t), r }) }; var n, r = t.initialBrushPosition, i = r ? n.getExtent(r.start, r.end) : { x0: -1, x1: -1, y0: -1, y1: -1 }; return n.state = { start: { x: Math.max(0, i.x0), y: Math.max(0, i.y0) }, end: { x: Math.max(0, i.x1), y: Math.max(0, i.y1) }, extent: i, bounds: { x0: 0, x1: n.props.width, y0: 0, y1: n.props.height }, isBrushing: !1, brushingType: void 0, activeHandle: null }, n } (n = t).prototype = Object.create(e.prototype), n.prototype.constructor = n, mq(n, e); var n, r = t.prototype; return r.componentDidUpdate = function(e) { var t = this; (this.props.width !== e.width || this.props.height !== e.height) && this.setState(function(n) { var r = n.start, i = n.end, o = n.extent; if (!(-1 === o.x0 && -1 === o.x1 && -1 === o.y0 && -1 === o.y1)) { var a = t.props.width / e.width, s = t.props.height / e.height; r = { x: a * o.x0, y: s * o.y0 }, i = { x: a * o.x1, y: s * o.y1 }, o = t.getExtent(r, i) } return { start: r, end: i, extent: o, bounds: { x0: 0, x1: t.props.width, y0: 0, y1: t.props.height } } }) }, r.componentDidMount = function() { this.props.useWindowMoveEvents && (window.addEventListener("mouseup", this.handleWindowPointerUp), window.addEventListener("mousemove", this.handleWindowPointerMove)) }, r.componentWillUnmount = function() { this.props.useWindowMoveEvents && (window.removeEventListener("mouseup", this.handleWindowPointerUp), window.removeEventListener("mousemove", this.handleWindowPointerMove)) }, r.render = function() { var e = this, t = this.state, n = t.start, r = t.end, i = this.props, o = i.top, a = i.left, s = i.width, l = i.height, u = i.onMouseLeave, c = i.onMouseUp, f = i.onMouseMove, d = i.onBrushEnd, h = i.onClick, p = i.resizeTriggerAreas, v = i.selectedBoxStyle, m = i.disableDraggingSelection, g = i.clickSensitivity, y = i.useWindowMoveEvents, b = i.renderBrushHandle, x = this.state.brushingType, w = this.handles(), _ = this.corners(), E = this.getBrushWidth(), k = this.getBrushHeight(), j = new Set(p); return el.createElement(me.Z, { className: "visx-brush", top: o, left: a }, el.createElement(mM.Z, { width: s, height: l, resetOnStart: !0, onDragStart: this.handleDragStart, onDragMove: this.handleDragMove, onDragEnd: this.handleDragEnd, isDragging: y ? "select" === x : void 0 }, function(t) { var n = t.dragStart, r = t.isDragging, i = t.dragMove, o = t.dragEnd; return el.createElement(v5.Z, { className: "visx-brush-overlay", fill: "transparent", x: 0, y: 0, width: s, height: l, onDoubleClick: function() { return e.reset() }, onClick: function(t) { var n = e.mouseUpTime - e.mouseDownTime; h && n < g && h(t) }, onPointerDown: function(t) { e.mouseDownTime = Date.now(), n(t) }, onPointerLeave: function(e) { u && u(e) }, onPointerMove: function(e) { !r && f && f(e), r && i(e) }, onPointerUp: function(t) { e.mouseUpTime = Date.now(), c && c(t), o(t) }, style: m$ }) }), n && r && el.createElement(mH, { updateBrush: this.updateBrush, width: E, height: k, stageWidth: s, stageHeight: l, brush: this.state, disableDraggingSelection: m, onBrushEnd: d, onBrushStart: this.handleBrushStart, onMouseLeave: u, onMouseMove: f, onMouseUp: c, onMoveSelectionChange: this.handleBrushingTypeChange, onClick: h, selectedBoxStyle: v, isControlled: y, isDragInProgress: y ? "move" === x : void 0 }), n && r && Object.keys(w).filter(function(e) { return j.has(e) }).map(function(t) { var n = w[t]; return n && el.createElement(mF, { key: "handle-" + t, type: t, handle: n, stageWidth: s, stageHeight: l, updateBrush: e.updateBrush, brush: e.state, onBrushStart: e.handleBrushStart, onBrushEnd: d, isControlled: y, isDragInProgress: y ? x === t : void 0, onBrushHandleChange: e.handleBrushingTypeChange, renderBrushHandle: b }) }), n && r && Object.keys(_).filter(function(e) { return j.has(e) }).map(function(t) { var n = _[t]; return n && el.createElement(mV, { key: "corner-" + t, type: t, brush: e.state, updateBrush: e.updateBrush, stageWidth: s, stageHeight: l, corner: n, onBrushEnd: d }) })) }, t }(el.Component); function mG(e, t) { return (mG = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) { return e.__proto__ = t, e })(e, t) } mY.propTypes = { brushDirection: l5().oneOf(["horizontal", "vertical", "both"]), width: l5().number.isRequired, height: l5().number.isRequired, left: l5().number.isRequired, top: l5().number.isRequired, onChange: l5().func, handleSize: l5().number, resizeTriggerAreas: l5().array, onBrushStart: l5().func, onBrushEnd: l5().func, onMouseLeave: l5().func, onMouseUp: l5().func, onMouseMove: l5().func, onClick: l5().func, clickSensitivity: l5().number, disableDraggingSelection: l5().bool, resetOnEnd: l5().bool, useWindowMoveEvents: l5().bool, renderBrushHandle: l5().func }, mY.defaultProps = { brushDirection: "both", inheritedMargin: { left: 0, top: 0, right: 0, bottom: 0 }, onChange: null, handleSize: 4, resizeTriggerAreas: ["left", "right"], onBrushStart: null, onBrushEnd: null, onMouseLeave: null, onMouseUp: null, onMouseMove: null, onClick: null, disableDraggingSelection: !1, clickSensitivity: 200, resetOnEnd: !1, initialBrushPosition: null, useWindowMoveEvents: !1, renderBrushHandles: null }; var mK = "steelblue", mX = function(e) { function t() { for (var t, n = arguments.length, r = Array(n), i = 0; i < n; i++)r[i] = arguments[i]; return (t = e.call.apply(e, [this].concat(r)) || this).handleChange = function(e) { var n = t.props.onChange; if (n) { var r = e.extent.x0; if (void 0 === r || r < 0) { n(null); return } n(t.convertRangeToDomain(e)) } }, t.handleBrushStart = function(e) { var n = t.props.onBrushStart; if (n) { var r = e.x, i = e.y, o = t.props, a = o.xScale, s = o.yScale, l = mP(a, r), u = mP(s, i); n({ x: "invert" in a && void 0 !== a.invert ? l : a.domain()[l], y: "invert" in s && void 0 !== s.invert ? u : s.domain()[u] }) } }, t.handleBrushEnd = function(e) { var n = t.props.onBrushEnd; if (n) { var r = e.extent.x0; if (void 0 === r || r < 0) { n(null); return } n(t.convertRangeToDomain(e)) } }, t } (n = t).prototype = Object.create(e.prototype), n.prototype.constructor = n, mG(n, e); var n, r = t.prototype; return r.convertRangeToDomain = function(e) { var t = this.props, n = t.xScale, r = t.yScale, i = e.extent, o = i.x0, a = i.x1, s = i.y0, l = i.y1, u = mN(n, o || 0, a || 0, 2), c = mN(r, s || 0, l || 0, 2); return { x0: u.start || 0, x1: u.end || 0, xValues: u.values, y0: c.start || 0, y1: c.end || 0, yValues: c.values } }, r.render = function() { var e, t, n, r, i = this.props, o = i.xScale, a = i.yScale, s = i.height, l = i.width, u = i.margin, c = i.brushDirection, f = i.initialBrushPosition, d = i.innerRef, h = i.resizeTriggerAreas, p = i.brushRegion, v = i.yAxisOrientation, m = i.xAxisOrientation, g = i.selectedBoxStyle, y = i.disableDraggingSelection, b = i.resetOnEnd, x = i.onMouseLeave, w = i.onMouseMove, _ = i.onClick, E = i.handleSize, k = i.useWindowMoveEvents, j = i.renderBrushHandle; if (!o || !a) return null; var S = null != u && u.left ? u.left : 0, O = null != u && u.top ? u.top : 0, C = null != u && u.right ? u.right : 0, A = null != u && u.bottom ? u.bottom : 0; return "chart" === p ? (n = 0, r = 0, e = l, t = s) : "yAxis" === p ? (r = 0, t = s, "right" === v ? (n = l, e = C) : (n = -S, e = S)) : (n = 0, e = l, "bottom" === m ? (r = s, t = A) : (r = -O, t = O)), el.createElement(mY, { width: e, height: t, left: n, top: r, brushDirection: c, disableDraggingSelection: y, handleSize: E, inheritedMargin: u, initialBrushPosition: f, ref: d, resetOnEnd: b, resizeTriggerAreas: h, selectedBoxStyle: g, onBrushEnd: this.handleBrushEnd, onBrushStart: this.handleBrushStart, onChange: this.handleChange, onClick: _, onMouseLeave: x, onMouseMove: w, useWindowMoveEvents: k, renderBrushHandle: j }) }, t }(el.Component); mX.propTypes = { height: l5().number, width: l5().number, onChange: l5().func, onBrushEnd: l5().func, brushDirection: l5().oneOf(["vertical", "horizontal", "both"]), resizeTriggerAreas: l5().array, brushRegion: l5().oneOf(["xAxis", "yAxis", "chart"]), yAxisOrientation: l5().oneOf(["left", "right"]), xAxisOrientation: l5().oneOf(["top", "bottom"]), disableDraggingSelection: l5().bool, resetOnEnd: l5().bool, handleSize: l5().number, useWindowMoveEvents: l5().bool, renderBrushHandle: l5().func }, mX.defaultProps = { xScale: null, yScale: null, onChange: null, height: 0, width: 0, selectedBoxStyle: { fill: mK, fillOpacity: .2, stroke: mK, strokeWidth: 1, strokeOpacity: .8 }, margin: { top: 0, left: 0, right: 0, bottom: 0 }, handleSize: 4, brushDirection: "horizontal", initialBrushPosition: null, resizeTriggerAreas: ["left", "right"], brushRegion: "chart", yAxisOrientation: "right", xAxisOrientation: "bottom", onBrushStart: null, onBrushEnd: null, disableDraggingSelection: !1, resetOnEnd: !1, onMouseMove: null, onMouseLeave: null, onClick: null, useWindowMoveEvents: !1, renderBrushHandles: null }; var mQ = n(91032), mJ = ["children", "id", "from", "to", "x1", "y1", "x2", "y2", "fromOffset", "fromOpacity", "toOffset", "toOpacity", "rotate", "transform", "vertical"]; function m0() { return (m0 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function m1(e) { var t = e.children, n = e.id, r = e.from, i = e.to, o = e.x1, a = e.y1, s = e.x2, l = e.y2, u = e.fromOffset, c = e.fromOpacity, f = e.toOffset, d = e.toOpacity, h = e.rotate, p = e.transform, v = e.vertical, m = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, mJ), g = o, y = s, b = a, x = l; return void 0 !== v && !v || g || y || b || x || (g = "0", y = "0", b = "0", x = "1"), el.createElement("defs", null, el.createElement("linearGradient", m0({ id: n, x1: g, y1: b, x2: y, y2: x, gradientTransform: h ? "rotate(" + h + ")" : p }, m), !!t && t, !t && el.createElement("stop", { offset: void 0 === u ? "0%" : u, stopColor: r, stopOpacity: void 0 === c ? 1 : c }), !t && el.createElement("stop", { offset: void 0 === f ? "100%" : f, stopColor: i, stopOpacity: void 0 === d ? 1 : d }))) } function m2(e, t) { return null == e || null == t ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN } function m4(e, t) { return null == e || null == t ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN } function m3() { return 0 } function m5(e, t) { let n, r; if (void 0 === t) for (let i of e) null != i && (void 0 === n ? i >= i && (n = r = i) : (n > i && (n = i), r < i && (r = i))); else { let o = -1; for (let a of e) null != (a = t(a, ++o, e)) && (void 0 === n ? a >= a && (n = r = a) : (n > a && (n = a), r < a && (r = a))) } return [n, r] } function m6(e, t) { let n; if (void 0 === t) for (let r of e) null != r && (n < r || void 0 === n && r >= r) && (n = r); else { let i = -1; for (let o of e) null != (o = t(o, ++i, e)) && (n < o || void 0 === n && o >= o) && (n = o) } return n } m1.propTypes = { id: l5().string.isRequired, from: l5().string, to: l5().string, x1: l5().oneOfType([l5().string, l5().number]), x2: l5().oneOfType([l5().string, l5().number]), y1: l5().oneOfType([l5().string, l5().number]), y2: l5().oneOfType([l5().string, l5().number]), fromOffset: l5().oneOfType([l5().string, l5().number]), fromOpacity: l5().oneOfType([l5().string, l5().number]), toOffset: l5().oneOfType([l5().string, l5().number]), toOpacity: l5().oneOfType([l5().string, l5().number]), rotate: l5().oneOfType([l5().string, l5().number]), transform: l5().string, children: l5().node, vertical: l5().bool }; var m8 = n(76635), m7 = n(55746), m9 = n(45742), ge = n(27266), gt = ["id", "markerWidth", "markerHeight", "markerUnits", "children"]; function gn() { return (gn = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function gr(e) { var t = e.id, n = e.markerWidth, r = e.markerHeight, i = e.markerUnits, o = e.children, a = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, gt); return el.createElement("defs", null, el.createElement("marker", gn({ id: t, markerWidth: void 0 === n ? 3 : n, markerHeight: void 0 === r ? 3 : r, markerUnits: void 0 === i ? "userSpaceOnUse" : i }, a), o)) } gr.propTypes = { id: l5().string.isRequired, size: l5().number, markerWidth: l5().oneOfType([l5().string, l5().number]), markerHeight: l5().oneOfType([l5().string, l5().number]), markerUnits: l5().string, refX: l5().oneOfType([l5().string, l5().number]), refY: l5().oneOfType([l5().string, l5().number]), strokeWidth: l5().number, children: l5().node.isRequired }; var gi = ["id", "size", "strokeWidth"]; function go() { return (go = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function ga(e) { var t = e.id, n = e.size, r = void 0 === n ? 9 : n, i = e.strokeWidth, o = void 0 === i ? 1 : i, a = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, gi), s = 2 * r + o, l = s / 2; return el.createElement(gr, go({ id: t, markerWidth: s, markerHeight: s, refX: 0, refY: l, orient: "auto-start-reverse", markerUnits: "strokeWidth", strokeWidth: o }, a), el.createElement("circle", { r: r, cx: l, cy: l })) } var gs = n(64170), gl = { top: "top", left: "left", right: "right", bottom: "bottom" }; function gu() { return (gu = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function gc(e) { var t = e.hideTicks, n = e.horizontal, r = e.orientation, i = e.tickClassName, o = e.tickComponent, a = e.tickLabelProps, s = e.tickStroke, l = void 0 === s ? "#222" : s, u = e.tickTransform, c = e.ticks, f = e.strokeWidth, d = e.tickLineProps; return c.map(function(e) { var s, c = e.value, h = e.index, p = e.from, v = e.to, m = e.formattedValue, g = null != (s = a[h]) ? s : {}, y = Math.max(10, "number" == typeof g.fontSize && g.fontSize || 0), b = v.y + (n && r !== gl.top ? y : 0); return el.createElement(me.Z, { key: "visx-tick-" + c + "-" + h, className: v7()("visx-axis-tick", i), transform: u }, !t && el.createElement(v6.Z, gu({ from: p, to: v, stroke: l, strokeWidth: f, strokeLinecap: "square" }, d)), o ? o(gu({}, g, { x: v.x, y: b, formattedValue: m })) : el.createElement(gs.Z, gu({ x: v.x, y: b }, g), m)) }) } function gf() { return (gf = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var gd = { textAnchor: "middle", fontFamily: "Arial", fontSize: 10, fill: "#222" }; function gh(e) { var t = e.axisFromPoint, n = e.axisLineClassName, r = e.axisToPoint, i = e.hideAxisLine, o = e.hideTicks, a = e.horizontal, s = e.label, l = void 0 === s ? "" : s, u = e.labelClassName, c = e.labelOffset, f = e.labelProps, d = void 0 === f ? gd : f, h = e.orientation, p = void 0 === h ? gl.bottom : h, v = e.scale, m = e.stroke, g = e.strokeDasharray, y = e.strokeWidth, b = void 0 === y ? 1 : y, x = e.tickClassName, w = e.tickComponent, _ = e.tickLineProps, E = e.tickLabelProps, k = void 0 === E ? function() { return gd } : E, j = e.tickLength, S = e.tickStroke, O = e.tickTransform, C = e.ticks, A = e.ticksComponent, T = C.map(function(e) { return k(e.value, e.index, C) }), M = Math.max.apply(Math, [10].concat(T.map(function(e) { return "number" == typeof e.fontSize ? e.fontSize : 0 }))); return el.createElement(el.Fragment, null, (void 0 === A ? gc : A)({ hideTicks: o, horizontal: a, orientation: p, scale: v, tickClassName: x, tickComponent: w, tickLabelProps: T, tickStroke: void 0 === S ? "#222" : S, tickTransform: O, ticks: C, strokeWidth: b, tickLineProps: _ }), !i && el.createElement(v6.Z, { className: v7()("visx-axis-line", n), from: t, to: r, stroke: void 0 === m ? "#222" : m, strokeWidth: b, strokeDasharray: g }), l && el.createElement(gs.Z, gf({ className: v7()("visx-axis-label", u) }, function(e) { var t, n, r, i = e.labelOffset, o = e.labelProps, a = e.orientation, s = e.range, l = e.tickLabelFontSize, u = e.tickLength, c = a === gl.left || a === gl.top ? -1 : 1; if (a === gl.top || a === gl.bottom) { var f = a === gl.bottom && "number" == typeof o.fontSize ? o.fontSize : 0; t = (Number(s[0]) + Number(s[s.length - 1])) / 2, n = c * (u + i + l + f) } else t = c * ((Number(s[0]) + Number(s[s.length - 1])) / 2), n = -(u + i), r = "rotate(" + 90 * c + ")"; return { x: t, y: n, transform: r } }({ labelOffset: void 0 === c ? 14 : c, labelProps: d, orientation: p, range: v.range(), tickLabelFontSize: M, tickLength: void 0 === j ? 8 : j }), d), l)) } var gp = n(51519); function gv(e, t) { var n = e.x, r = e.y; return new mt.Z(t ? { x: n, y: r } : { x: r, y: n }) } function gm() { return (gm = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var gg = ["children", "axisClassName", "hideAxisLine", "hideTicks", "hideZero", "left", "numTicks", "orientation", "rangePadding", "scale", "tickFormat", "tickLength", "tickValues", "top"]; function gy() { return (gy = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function gb(e) { var t, n = e.children, r = e.axisClassName, i = e.hideAxisLine, o = e.hideTicks, a = e.hideZero, s = void 0 !== a && a, l = e.left, u = e.numTicks, c = void 0 === u ? 10 : u, f = e.orientation, d = void 0 === f ? gl.bottom : f, h = e.rangePadding, p = void 0 === h ? 0 : h, v = e.scale, m = e.tickFormat, g = e.tickLength, y = void 0 === g ? 8 : g, b = e.tickValues, x = e.top, w = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, gg), _ = null != m ? m : "tickFormat" in v ? v.tickFormat() : gp.Z, E = d === gl.left, k = d === gl.top, j = k || d === gl.bottom, S = function(e, t) { if (void 0 === t && (t = "center"), "start" !== t && "bandwidth" in e) { var n = e.bandwidth(); return "center" === t && (n /= 2), e.round() && (n = Math.round(n)), function(t) { var r = e(t); return "number" == typeof r ? r + n : r } } return e }(v), O = E || k ? -1 : 1, C = v.range(), A = (void 0 === (t = p) && (t = 0), "number" == typeof t ? { start: t, end: t } : gm({ start: 0, end: 0 }, t)), T = gv({ x: Number(C[0]) + .5 - A.start, y: 0 }, j), M = gv({ x: Number(C[C.length - 1]) + .5 + A.end, y: 0 }, j), P = (null != b ? b : (0, mn.Z)(v, c)).filter(function(e) { return !s || 0 !== e && "0" !== e }).map(function(e, t) { return { value: e, index: t } }), N = P.map(function(e) { var t = e.value, n = e.index, r = (0, mr.Z)(S(t)); return { value: t, index: n, from: gv({ x: r, y: 0 }, j), to: gv({ x: r, y: y * O }, j), formattedValue: _(t, n, P) } }); return el.createElement(me.Z, { className: v7()("visx-axis", r), top: void 0 === x ? 0 : x, left: void 0 === l ? 0 : l }, (void 0 === n ? gh : n)(gy({}, w, { axisFromPoint: T, axisToPoint: M, hideAxisLine: void 0 !== i && i, hideTicks: void 0 !== o && o, hideZero: s, horizontal: j, numTicks: c, orientation: d, rangePadding: p, scale: v, tickFormat: _, tickLength: y, tickPosition: S, tickSign: O, ticks: N }))) } var gx = ["axisClassName", "labelOffset", "tickLabelProps", "tickLength"]; function gw() { return (gw = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var g_ = function() { return { dy: "0.25em", fill: "#222", fontFamily: "Arial", fontSize: 10, textAnchor: "middle" } }; function gE(e) { var t = e.axisClassName, n = e.labelOffset, r = e.tickLabelProps, i = e.tickLength, o = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, gx); return el.createElement(gb, gw({ axisClassName: v7()("visx-axis-bottom", t), labelOffset: void 0 === n ? 8 : n, orientation: gl.bottom, tickLabelProps: void 0 === r ? g_ : r, tickLength: void 0 === i ? 8 : i }, o)) } var gk = ["axisClassName", "labelOffset", "tickLabelProps", "tickLength"]; function gj() { return (gj = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var gS = function() { return { dx: "-0.25em", dy: "0.25em", fill: "#222", fontFamily: "Arial", fontSize: 10, textAnchor: "end" } }; function gO(e) { var t = e.axisClassName, n = e.labelOffset, r = e.tickLabelProps, i = e.tickLength, o = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, gk); return el.createElement(gb, gj({ axisClassName: v7()("visx-axis-left", t), labelOffset: void 0 === n ? 36 : n, orientation: gl.left, tickLabelProps: void 0 === r ? gS : r, tickLength: void 0 === i ? 8 : i }, o)) } let gC = e => new Date((null == e ? void 0 : e.timestamp) || 0), gA = e => (null == e ? void 0 : e.value) || 0, gT = "var(--colors-hiContrast)", gM = { textAnchor: "middle", fontFamily: "var(--fonts-sans)", fontSize: 10, fill: gT }, gP = { dx: "-0.25em", dy: "0.25em", fontFamily: "var(--fonts-sans)", fontSize: 10, textAnchor: "end", fill: gT }; function gN(e) { let { data: t, gradientColor: n, width: r, yMax: i, margin: o, xScale: a, yScale: s, hideBottomAxis: l = !1, hideLeftAxis: u = !1, top: c, left: f, curve: d = "step", children: h } = e; return r < 10 ? null : (0, es.jsxs)(me.Z, { left: f || o.left, top: c || o.top, children: [(0, es.jsx)(ga, { id: "marker-circle", fill: "var(--colors-accent11)", size: 1.5, refX: 1.5 }), (0, es.jsx)(m1, { id: "gradient", from: n, fromOpacity: 1, to: n, toOpacity: .2 }), (0, es.jsx)(m7.Z, { data: t, x: e => a(gC(e)) || 0, y: e => s(gA(e)) || 0, yScale: s, strokeWidth: 1, stroke: "url(#gradient)", fill: "url(#gradient)", markerMid: "url(#marker-circle)", curve: "step" === d ? m9.ZP : ge.Z }), !l && (0, es.jsx)(gE, { top: i, scale: a, numTicks: r > 520 ? 10 : 5, stroke: gT, tickStroke: gT, tickLabelProps: () => gM }), !u && (0, es.jsx)(gO, { scale: s, numTicks: 5, stroke: gT, tickStroke: gT, tickLabelProps: () => gP }), h] }) } var gR = ["children"], gD = ["children"], gL = ["children"], gF = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, gR); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), jl || (jl = el.createElement("path", { d: "M18,28A12,12,0,1,0,6,16v6.2L2.4,18.6,1,20l6,6,6-6-1.4-1.4L8,22.2V16H8A10,10,0,1,1,18,26Z" })), n) }), gI = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, gD); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), ju || (ju = el.createElement("path", { d: "M29,10H3a1,1,0,0,0-1,1V21a1,1,0,0,0,1,1H29a1,1,0,0,0,1-1V11A1,1,0,0,0,29,10ZM28,20H4V12H8v4h2V12h5v4h2V12h5v4h2V12h4Z" })), n) }), gz = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, gL); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), jc || (jc = el.createElement("path", { d: "M13.9,4.6l-2.5-2.5C11.3,2.1,11.1,2,11,2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V5 C14,4.9,13.9,4.7,13.9,4.6z M6,3h4v2H6V3z M10,13H6V9h4V13z M11,13V9c0-0.6-0.4-1-1-1H6C5.4,8,5,8.4,5,9v4H3V3h2v2c0,0.6,0.4,1,1,1 h4c0.6,0,1-0.4,1-1V3.2l2,2V13H11z" })), n) }), gV = n(88015), gB = n(2288); let gZ = { top: 10, bottom: 15, left: 10, right: 10 }, gU = "brush_pattern", gH = "brush_gradient", gW = (0, m8.throttle)(e => e(), 15), gq = function(e) { let t, n, r; function i(e, r, i = 0, o = e.length) { if (i < o) { if (0 !== t(r, r)) return o; do { let a = i + o >>> 1; 0 > n(e[a], r) ? i = a + 1 : o = a } while (i < o) } return i } return 2 !== e.length ? (t = m2, n = (t, n) => m2(e(t), n), r = (t, n) => e(t) - n) : (t = e === m2 || e === m4 ? e : m3, n = e, r = e), { left: i, center: function(e, t, n = 0, o = e.length) { let a = i(e, t, n, o - 1); return a > n && r(e[a - 1], t) > -r(e[a], t) ? a - 1 : a }, right: function(e, r, i = 0, o = e.length) { if (i < o) { if (0 !== t(r, r)) return o; do { let a = i + o >>> 1; 0 >= n(e[a], r) ? i = a + 1 : o = a } while (i < o) } return i } } }(e => new Date((null == e ? void 0 : e.timestamp) || 0)).left; void 0 === kj && (kj = { style: { position: "relative", width: "inherit", height: "inherit" } }), void 0 === kS && (kS = function(e, t) { return el.createElement("div", t, e) }); var g$ = n(70390); function gY(e) { let { id: t, width: n, height: r, accessors: i, animationTrajectory: o, curve: a, data: s, config: l, scales: u, enabledGraph: c, enabledTip: f, isStack: d, todayOffset: h, numTicks: p, renderAreaSeries: v, renderAreaStack: m, renderBarGroup: g, renderBarStack: y, enableTooltipGlyph: b, renderTooltipGlyph: x, renderLineSeries: w, sharedTooltip: _, showHorizontalCrosshair: E, showTooltip: k, showVerticalCrosshair: j, snapTooltipToDatum: S, stackOffset: O, margin: C, theme: A, xAxisOrientation: T, yAxisOrientation: M, AreaSeries: P, AreaStack: N, Axis: R, BarGroup: D, BarSeries: L, BarStack: F, Grid: I, LineSeries: z, Tooltip: V, XYChart: B } = e; return (0, es.jsxs)(B, { theme: A.xyChartTheme, xScale: u.x, yScale: u.y, height: Math.min(400, r), margin: C, captureEvents: !0, children: [(0, es.jsx)("g", { children: (0, es.jsx)("rect", { className: "fill-gray-600 dark:fill-graydark-600 h-full w-px y-0", style: { left: "".concat(100 * h, "%") } }) }, "today-line-".concat(n, "-").concat(r)), (0, es.jsx)(m1, { id: "gradient-default", from: "gray", fromOpacity: 1, to: "gray", toOpacity: .4 }), Object.entries(l.data).map(e => { let [n, r] = e, i = r.color; return (0, es.jsxs)(el.Fragment, { children: [(0, es.jsx)(mv, { id: "pattern-".concat(gG(t, n)), height: 6, width: 6, stroke: i, strokeWidth: .5, orientation: ["diagonal"] }), (0, es.jsx)(m1, { id: "gradient-".concat(gG(t, n)), from: i, fromOpacity: 1, to: i, toOpacity: d ? .4 : 1 })] }, n) }), (0, es.jsx)(I, { rows: !1, columns: !0, strokeDasharray: "1,3", animationTrajectory: o, numTicks: p }, "grid-".concat(o)), y && (0, es.jsx)(F, { offset: O, children: c.map(e => (0, es.jsx)(L, { dataKey: e, data: s, xAccessor: i.x[e], yAccessor: i.y[e], colorAccessor: () => gK(t, e, l) }, e)) }), g && (0, es.jsx)(D, { children: c.map(e => (0, es.jsx)(L, { dataKey: e, data: s, xAccessor: i.x[e], yAccessor: i.y[e], colorAccessor: () => gK(t, e, l) }, e)) }), v && (0, es.jsx)(es.Fragment, { children: c.map(e => (0, es.jsx)(P, { dataKey: e, data: s, xAccessor: i.x[e], yAccessor: i.y[e], stroke: gK(t, e, l), fill: gK(t, e, l), curve: a }, e)) }), m && (0, es.jsx)(N, { curve: a, offset: O, renderLine: "wiggle" !== O, children: c.map(e => (0, es.jsx)(P, { dataKey: e, data: s, xAccessor: i.x[e], yAccessor: i.y[e], stroke: gK(t, e, l), fill: gK(t, e, l) }, e)) }), w && (0, es.jsx)(es.Fragment, { children: c.map(e => { var t, n; return (0, es.jsx)(z, { dataKey: e, data: s, xAccessor: i.x[e], yAccessor: i.y[e], stroke: (null === (t = l.data) || void 0 === t ? void 0 : null === (n = t[e]) || void 0 === n ? void 0 : n.color) || "gray", curve: a }, e) }) }), (0, es.jsx)(R, { orientation: T, numTicks: p, animationTrajectory: o, tickFormat: e => (0, gB.rN)(e), tickLength: 12, tickLabelProps: e => ({ ...e, fill: A.labels.color, fontFamily: A.labels.fontFamily, y: "14px", fontWeight: "500", fontSize: "8" }) }, "time-axis-".concat(o)), (0, es.jsx)(R, { label: null == O ? "SC" : "expand" === O ? "Fraction of total" : "", orientation: M, numTicks: p, tickLength: 0, rangePadding: 0, animationTrajectory: o, tickFormat: () => "" }, "temp-axis-".concat(o)), k && (0, es.jsx)(V, { showHorizontalCrosshair: E, showVerticalCrosshair: j, snapTooltipToDatumX: S, snapTooltipToDatumY: S, showDatumGlyph: S && !g, showSeriesGlyphs: _ && !g, renderGlyph: b ? x : void 0, renderTooltip: e => { var t, n; let { tooltipData: r } = e, o = null == r ? void 0 : null === (t = r.nearestDatum) || void 0 === t ? void 0 : t.datum, a = null == r ? void 0 : null === (n = r.nearestDatum) || void 0 === n ? void 0 : n.key, s = l.formatTimestamp || (e => (0, gB.rN)(e, { timeStyle: "short", hour12: !1 })), u = (_ ? f : a ? [a] : []).map(e => { var t, n; return { key: e, category: (null === (t = l.data) || void 0 === t ? void 0 : null === (n = t[e]) || void 0 === n ? void 0 : n.category) || "" } }), c = (0, m8.groupBy)(u, "category"), h = l.categories ? l.categories.map(e => [e, c[e]]) : Object.entries(c); return (0, es.jsxs)("div", { className: (0, eY.cx)(lB, "flex flex-col gap-2 py-1"), children: [(0, es.jsx)(nj, { font: "mono", size: "12", color: "contrast", className: "text-end", children: o ? s(i.date(o)) : "No date" }), (0, es.jsx)(fK, { color: "panel", className: "w-full" }), (0, es.jsx)("div", { className: (0, eY.cx)("grid gap-x-6 gap-y-4", h.length > 1 ? "grid-cols-2" : "grid-cols-1"), children: h.map(e => { let [t, n] = e, r = o ? n.reduce((e, t) => { let { key: n } = t, r = i.y[n](o); return null == r || Number.isNaN(r) ? e : e + r }, 0) : 0; return (0, es.jsxs)("div", { className: "flex flex-col gap-2 w-[250px]", children: [t && (0, es.jsx)(nj, { weight: "semibold", children: t }), (0, es.jsxs)("div", { className: "grid grid-cols-2 gap-x-2 gap-y-1 items-center", children: [n.map(e => { var t, n, r, s; let { key: u } = e, c = o && i.y[u](o); return (0, es.jsxs)(el.Fragment, { children: [(0, es.jsx)(nj, { color: "accent", style: { color: null === (t = l.data) || void 0 === t ? void 0 : null === (n = t[u]) || void 0 === n ? void 0 : n.color }, className: (0, eY.cx)(a === u ? "underline" : ""), children: (null === (r = l.data) || void 0 === r ? void 0 : null === (s = r[u]) || void 0 === s ? void 0 : s.label) || u }), (0, es.jsx)(nj, { size: "12", style: { textAlign: "end" }, className: (0, eY.cx)(a === u ? "underline" : ""), children: null == c || Number.isNaN(c) ? "–" : l.format(c) })] }, u) }), n.length > 1 && d && (0, es.jsxs)(es.Fragment, { children: [(0, es.jsx)(nj, { className: "pt-2", children: "total" }), (0, es.jsx)(nj, { size: "12", weight: "bold", className: "pt-2 text-end", children: l.format(r) })] })] })] }, t) }) })] }) } })] }) } function gG(e, t) { return "".concat(e, "-").concat(t) } function gK(e, t, n) { var r; let i = gG(e, t); return (null === (r = n.data) || void 0 === r ? void 0 : r[t]) ? n.data[t].pattern ? "url(#pattern-".concat(i, ")") : "url(#gradient-".concat(i, ")") : "url(#gradient-default)" } var gX = n(24037), gQ = n(86707); function gJ(e) { var t = e.top, n = e.left, r = e.className, i = e.children; return el.createElement(me.Z, { className: v7()("visx-glyph", r), top: void 0 === t ? 0 : t, left: void 0 === n ? 0 : n }, i) } gJ.propTypes = { top: l5().number, left: l5().number, className: l5().string, children: l5().node }; var g0 = ["children", "className", "top", "left", "size"]; function g1() { return (g1 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function g2(e) { var t = e.children, n = e.className, r = e.top, i = e.left, o = e.size, a = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, g0), s = (0, gX.Z)(); return (s.type(gQ.Z), "number" == typeof o ? s.size(o) : o && s.size(o), t) ? el.createElement(el.Fragment, null, t({ path: s })) : el.createElement(gJ, { top: r, left: i }, el.createElement("path", g1({ className: v7()("visx-glyph-star", n), d: s() || "" }, a))) } g2.propTypes = { children: l5().func, className: l5().string, top: l5().number, left: l5().number, size: l5().oneOfType([l5().number, l5().func]) }; var g4 = ["top", "left", "className"]; function g3() { return (g3 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function g5(e) { var t = e.top, n = e.left, r = e.className, i = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, g4); return el.createElement(gJ, { top: void 0 === t ? 0 : t, left: void 0 === n ? 0 : n }, el.createElement("circle", g3({ className: v7()("visx-glyph-dot", r) }, i))) } g5.propTypes = { className: l5().string, top: l5().number, left: l5().number, r: l5().number, cx: l5().number, cy: l5().number }; var g6 = n(9135), g8 = ["children", "className", "top", "left", "size"]; function g7() { return (g7 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function g9(e) { var t = e.children, n = e.className, r = e.top, i = e.left, o = e.size, a = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, g8), s = (0, gX.Z)(); return (s.type(g6.Z), "number" == typeof o ? s.size(o) : o && s.size(o), t) ? el.createElement(el.Fragment, null, t({ path: s })) : el.createElement(gJ, { top: r, left: i }, el.createElement("path", g7({ className: v7()("visx-glyph-cross", n), d: s() || "" }, a))) } g9.propTypes = { children: l5().func, className: l5().string, top: l5().number, left: l5().number, size: l5().oneOfType([l5().number, l5().func]) }; var ye = n(46385), yt = n(20651), yn = { red: ["#fff5f5", "#ffe3e3", "#ffc9c9", "#ffa8a8", "#ff8787", "#ff6b6b", "#fa5252", "#f03e3e", "#e03131", "#c92a2a"], pink: ["#fff0f6", "#ffdeeb", "#fcc2d7", "#faa2c1", "#f783ac", "#f06595", "#e64980", "#d6336c", "#c2255c", "#a61e4d"], grape: ["#f8f0fc", "#f3d9fa", "#eebefa", "#e599f7", "#da77f2", "#cc5de8", "#be4bdb", "#ae3ec9", "#9c36b5", "#862e9c"], violet: ["#f3f0ff", "#e5dbff", "#d0bfff", "#b197fc", "#9775fa", "#845ef7", "#7950f2", "#7048e8", "#6741d9", "#5f3dc4"], indigo: ["#edf2ff", "#dbe4ff", "#bac8ff", "#91a7ff", "#748ffc", "#5c7cfa", "#4c6ef5", "#4263eb", "#3b5bdb", "#364fc7"], blue: ["#e8f7ff", "#ccedff", "#a3daff", "#72c3fc", "#4dadf7", "#329af0", "#228ae6", "#1c7cd6", "#1b6ec2", "#1862ab"], cyan: ["#e3fafc", "#c5f6fa", "#99e9f2", "#66d9e8", "#3bc9db", "#22b8cf", "#15aabf", "#1098ad", "#0c8599", "#0b7285"], teal: ["#e6fcf5", "#c3fae8", "#96f2d7", "#63e6be", "#38d9a9", "#20c997", "#12b886", "#0ca678", "#099268", "#087f5b"], green: ["#ebfbee", "#d3f9d8", "#b2f2bb", "#8ce99a", "#69db7c", "#51cf66", "#40c057", "#37b24d", "#2f9e44", "#2b8a3e"], lime: ["#f4fce3", "#e9fac8", "#d8f5a2", "#c0eb75", "#a9e34b", "#94d82d", "#82c91e", "#74b816", "#66a80f", "#5c940d"], yellow: ["#fff9db", "#fff3bf", "#ffec99", "#ffe066", "#ffd43b", "#fcc419", "#fab005", "#f59f00", "#f08c00", "#e67700"], orange: ["#fff4e6", "#ffe8cc", "#ffd8a8", "#ffc078", "#ffa94d", "#ff922b", "#fd7e14", "#f76707", "#e8590c", "#d9480f"], gray: ["#f8f9fa", "#f1f3f5", "#e9ecef", "#dee2e6", "#ced4da", "#adb5bd", "#868e96", "#495057", "#343a40", "#212529"] }, yr = yn.gray, yi = yr[7], yo = [yn.cyan[9], yn.cyan[3], yn.yellow[5], yn.red[4], yn.grape[8], yn.grape[5], yn.pink[9]]; function ya() { return (ya = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var ys = { fontFamily: "-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif", fontWeight: 700, fontSize: 12, textAnchor: "middle", pointerEvents: "none", letterSpacing: .4 }; function yl(e) { var t, n, r, i, o, a, s = ya({}, ys, { fill: yi, stroke: "none" }, e.svgLabelBig), l = ya({}, ys, { fontWeight: 200, fontSize: 11, fill: yi, stroke: "none" }, e.svgLabelSmall), u = ya({ color: null != (t = null != (n = null != (r = null == (i = e.htmlLabel) ? void 0 : i.color) ? r : null == (o = e.svgLabelBig) ? void 0 : o.fill) ? n : null == (a = e.svgLabelSmall) ? void 0 : a.fill) ? t : yi }, ys, e.htmlLabel); return { backgroundColor: e.backgroundColor, colors: [].concat(e.colors), htmlLabel: ya({}, u), svgLabelSmall: ya({}, l), svgLabelBig: ya({}, s), gridStyles: ya({ stroke: e.gridColor, strokeWidth: 1 }, e.gridStyles), axisStyles: { x: { top: { axisLabel: ya({}, s, { dy: "-0.25em" }), axisLine: ya({ stroke: e.gridColorDark, strokeWidth: 2 }, e.xAxisLineStyles), tickLabel: ya({}, l, { dy: "-0.25em" }), tickLength: e.tickLength, tickLine: ya({ strokeWidth: 1, stroke: e.gridColor }, e.xTickLineStyles) }, bottom: { axisLabel: ya({}, s, { dy: "-0.25em" }), axisLine: ya({ stroke: e.gridColorDark, strokeWidth: 2 }, e.xAxisLineStyles), tickLabel: ya({}, l, { dy: "0.125em" }), tickLength: e.tickLength, tickLine: ya({ strokeWidth: 1, stroke: e.gridColor }, e.xTickLineStyles) } }, y: { left: { axisLabel: ya({}, s, { dx: "-1.25em" }), axisLine: ya({ stroke: e.gridColor, strokeWidth: 1 }, e.yAxisLineStyles), tickLabel: ya({}, l, { textAnchor: "end", dx: "-0.25em", dy: "0.25em" }), tickLength: e.tickLength, tickLine: ya({ strokeWidth: 1, stroke: e.gridColor }, e.yTickLineStyles) }, right: { axisLabel: ya({}, s, { dx: "1.25em" }), axisLine: ya({ stroke: e.gridColor, strokeWidth: 1 }, e.yAxisLineStyles), tickLabel: ya({}, l, { textAnchor: "start", dx: "0.25em", dy: "0.25em" }), tickLength: e.tickLength, tickLine: ya({ strokeWidth: 1, stroke: e.gridColor }, e.yTickLineStyles) } } } } } let yu = { labels: { color: gV.colors.gray[900], fontFamily: "var(--font-mono)" }, xyChartTheme: yl({ backgroundColor: gV.colors.white, colors: [], gridColor: gV.colors.gray[700], gridColorDark: "transparent", svgLabelBig: { fill: "#1d1b38" }, tickLength: 12, xTickLineStyles: { fill: "transparent", stroke: "transparent" } }) }, yc = { labels: { color: gV.colors.gray[700], fontFamily: "var(--font-mono)" }, xyChartTheme: yl({ backgroundColor: gV.colors.graydark[300], colors: [], gridColor: gV.colors.graydark[700], gridColorDark: "transparent", svgLabelBig: { fill: "#1d1b38" }, tickLength: 12, xTickLineStyles: { fill: "transparent", stroke: "transparent" } }) }; var yf = Object.defineProperty, yd = {}; ((e, t) => { for (var n in t) yf(e, n, { get: t[n], enumerable: !0 }) })(yd, { assign: () => yH, colors: () => yB, createStringInterpolator: () => jf, skipAnimation: () => yZ, to: () => jd, willAdvance: () => yU }); var yh = yA(), yp = e => yj(e, yh), yv = yA(); yp.write = e => yj(e, yv); var ym = yA(); yp.onStart = e => yj(e, ym); var yg = yA(); yp.onFrame = e => yj(e, yg); var yy = yA(); yp.onFinish = e => yj(e, yy); var yb = []; yp.setTimeout = (e, t) => { let n = yp.now() + t, r = () => { let e = yb.findIndex(e => e.cancel == r); ~e && yb.splice(e, 1), yE -= ~e ? 1 : 0 }, i = { time: n, handler: e, cancel: r }; return yb.splice(yx(n), 0, i), yE += 1, yS(), i }; var yx = e => ~(~yb.findIndex(t => t.time > e) || ~yb.length); yp.cancel = e => { ym.delete(e), yg.delete(e), yy.delete(e), yh.delete(e), yv.delete(e) }, yp.sync = e => { yk = !0, yp.batchedUpdates(e), yk = !1 }, yp.throttle = e => { let t; function n() { try { e(...t) } finally { t = null } } function r(...e) { t = e, yp.onStart(n) } return r.handler = e, r.cancel = () => { ym.delete(n), t = null }, r }; var yw = "undefined" != typeof window ? window.requestAnimationFrame : () => { }; yp.use = e => yw = e, yp.now = "undefined" != typeof performance ? () => performance.now() : Date.now, yp.batchedUpdates = e => e(), yp.catch = console.error, yp.frameLoop = "always", yp.advance = () => { "demand" !== yp.frameLoop ? console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand") : yC() }; var y_ = -1, yE = 0, yk = !1; function yj(e, t) { yk ? (t.delete(e), e(0)) : (t.add(e), yS()) } function yS() { y_ < 0 && (y_ = 0, "demand" !== yp.frameLoop && yw(yO)) } function yO() { ~y_ && (yw(yO), yp.batchedUpdates(yC)) } function yC() { let e = y_; y_ = yp.now(); let t = yx(y_); if (t && (yT(yb.splice(0, t), e => e.handler()), yE -= t), !yE) { y_ = -1; return } ym.flush(), yh.flush(e ? Math.min(64, y_ - e) : 16.667), yg.flush(), yv.flush(), yy.flush() } function yA() { let e = new Set, t = e; return { add(n) { yE += t != e || e.has(n) ? 0 : 1, e.add(n) }, delete: n => (yE -= t == e && e.has(n) ? 1 : 0, e.delete(n)), flush(n) { t.size && (e = new Set, yE -= t.size, yT(t, t => t(n) && e.add(t)), yE += e.size, t = e) } } } function yT(e, t) { e.forEach(e => { try { t(e) } catch (n) { yp.catch(n) } }) } function yM() { } var yP = (e, t, n) => Object.defineProperty(e, t, { value: n, writable: !0, configurable: !0 }), yN = { arr: Array.isArray, obj: e => !!e && "Object" === e.constructor.name, fun: e => "function" == typeof e, str: e => "string" == typeof e, num: e => "number" == typeof e, und: e => void 0 === e }; function yR(e, t) { if (yN.arr(e)) { if (!yN.arr(t) || e.length !== t.length) return !1; for (let n = 0; n < e.length; n++)if (e[n] !== t[n]) return !1; return !0 } return e === t } var yD = (e, t) => e.forEach(t); function yL(e, t, n) { if (yN.arr(e)) { for (let r = 0; r < e.length; r++)t.call(n, e[r], `${r}`); return } for (let i in e) e.hasOwnProperty(i) && t.call(n, e[i], i) } var yF = e => yN.und(e) ? [] : yN.arr(e) ? e : [e]; function yI(e, t) { if (e.size) { let n = Array.from(e); e.clear(), yD(n, t) } } var yz = (e, ...t) => yI(e, e => e(...t)), yV = () => "undefined" == typeof window || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), yB = null, yZ = !1, yU = yM, yH = e => { e.to && (jd = e.to), e.now && (yp.now = e.now), void 0 !== e.colors && (yB = e.colors), null != e.skipAnimation && (yZ = e.skipAnimation), e.createStringInterpolator && (jf = e.createStringInterpolator), e.requestAnimationFrame && yp.use(e.requestAnimationFrame), e.batchedUpdates && (yp.batchedUpdates = e.batchedUpdates), e.willAdvance && (yU = e.willAdvance), e.frameLoop && (yp.frameLoop = e.frameLoop) }, yW = new Set, yq = [], y$ = [], yY = 0, yG = { get idle() { return !yW.size && !yq.length }, start(e) { yY > e.priority ? (yW.add(e), yp.onStart(yK)) : (yX(e), yp(yJ)) }, advance: yJ, sort(e) { if (yY) yp.onFrame(() => yG.sort(e)); else { let t = yq.indexOf(e); ~t && (yq.splice(t, 1), yQ(e)) } }, clear() { yq = [], yW.clear() } }; function yK() { yW.forEach(yX), yW.clear(), yp(yJ) } function yX(e) { yq.includes(e) || yQ(e) } function yQ(e) { yq.splice(function(e, t) { let n = e.findIndex(t); return n < 0 ? e.length : n }(yq, t => t.priority > e.priority), 0, e) } function yJ(e) { let t = y$; for (let n = 0; n < yq.length; n++) { let r = yq[n]; yY = r.priority, r.idle || (yU(r), r.advance(e), r.idle || t.push(r)) } return yY = 0, (y$ = yq).length = 0, (yq = t).length > 0 } var y0 = "[-+]?\\d*\\.?\\d+", y1 = y0 + "%"; function y2(...e) { return "\\(\\s*(" + e.join(")\\s*,\\s*(") + ")\\s*\\)" } var y4 = RegExp("rgb" + y2(y0, y0, y0)), y3 = RegExp("rgba" + y2(y0, y0, y0, y0)), y5 = RegExp("hsl" + y2(y0, y1, y1)), y6 = RegExp("hsla" + y2(y0, y1, y1, y0)), y8 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, y7 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, y9 = /^#([0-9a-fA-F]{6})$/, be = /^#([0-9a-fA-F]{8})$/; function bt(e, t, n) { return (n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6) ? e + (t - e) * 6 * n : n < .5 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e } function bn(e, t, n) { let r = n < .5 ? n * (1 + t) : n + t - n * t, i = 2 * n - r, o = bt(i, r, e + 1 / 3), a = bt(i, r, e), s = bt(i, r, e - 1 / 3); return Math.round(255 * o) << 24 | Math.round(255 * a) << 16 | Math.round(255 * s) << 8 } function br(e) { let t = parseInt(e, 10); return t < 0 ? 0 : t > 255 ? 255 : t } function bi(e) { let t = parseFloat(e); return (t % 360 + 360) % 360 / 360 } function bo(e) { let t = parseFloat(e); return t < 0 ? 0 : t > 1 ? 255 : Math.round(255 * t) } function ba(e) { let t = parseFloat(e); return t < 0 ? 0 : t > 100 ? 1 : t / 100 } function bs(e) { let t; let n = "number" == typeof e ? e >>> 0 === e && e >= 0 && e <= 4294967295 ? e : null : (t = y9.exec(e)) ? parseInt(t[1] + "ff", 16) >>> 0 : yB && void 0 !== yB[e] ? yB[e] : (t = y4.exec(e)) ? (br(t[1]) << 24 | br(t[2]) << 16 | br(t[3]) << 8 | 255) >>> 0 : (t = y3.exec(e)) ? (br(t[1]) << 24 | br(t[2]) << 16 | br(t[3]) << 8 | bo(t[4])) >>> 0 : (t = y8.exec(e)) ? parseInt(t[1] + t[1] + t[2] + t[2] + t[3] + t[3] + "ff", 16) >>> 0 : (t = be.exec(e)) ? parseInt(t[1], 16) >>> 0 : (t = y7.exec(e)) ? parseInt(t[1] + t[1] + t[2] + t[2] + t[3] + t[3] + t[4] + t[4], 16) >>> 0 : (t = y5.exec(e)) ? (255 | bn(bi(t[1]), ba(t[2]), ba(t[3]))) >>> 0 : (t = y6.exec(e)) ? (bn(bi(t[1]), ba(t[2]), ba(t[3])) | bo(t[4])) >>> 0 : null; if (null === n) return e; n = n || 0; let r = (4278190080 & n) >>> 24, i = (16711680 & n) >>> 16, o = (65280 & n) >>> 8, a = (255 & n) / 255; return `rgba(${r}, ${i}, ${o}, ${a})` } var bl = (e, t, n) => { if (yN.fun(e)) return e; if (yN.arr(e)) return bl({ range: e, output: t, extrapolate: n }); if (yN.str(e.output[0])) return jf(e); let r = e.output, i = e.range || [0, 1], o = e.extrapolateLeft || e.extrapolate || "extend", a = e.extrapolateRight || e.extrapolate || "extend", s = e.easing || (e => e); return t => { let n = function(e, t) { for (var n = 1; n < t.length - 1 && !(t[n] >= e); ++n); return n - 1 }(t, i); return function(e, t, n, r, i, o, a, s, l) { let u = l ? l(e) : e; if (u < t) { if ("identity" === a) return u; "clamp" === a && (u = t) } if (u > n) { if ("identity" === s) return u; "clamp" === s && (u = n) } return r === i ? r : t === n ? e <= t ? r : i : (t === -1 / 0 ? u = -u : n === 1 / 0 ? u -= t : u = (u - t) / (n - t), u = o(u), r === -1 / 0 ? u = -u : i === 1 / 0 ? u += r : u = u * (i - r) + r, u) }(t, i[n], i[n + 1], r[n], r[n + 1], s, o, a, e.map) } }, bu = Symbol.for("FluidValue.get"), bc = Symbol.for("FluidValue.observers"), bf = e => Boolean(e && e[bu]), bd = e => e && e[bu] ? e[bu]() : e, bh = e => e[bc] || null; function bp(e, t) { let n = e[bc]; n && n.forEach(e => { e.eventObserved ? e.eventObserved(t) : e(t) }) } var bv = class { constructor(e) { if (!e && !(e = this.get)) throw Error("Unknown getter"); bm(this, e) } }, bm = (e, t) => bb(e, bu, t); function bg(e, t) { if (e[bu]) { let n = e[bc]; n || bb(e, bc, n = new Set), !n.has(t) && (n.add(t), e.observerAdded && e.observerAdded(n.size, t)) } return t } function by(e, t) { let n = e[bc]; if (n && n.has(t)) { let r = n.size - 1; r ? n.delete(t) : e[bc] = null, e.observerRemoved && e.observerRemoved(r, t) } } var bb = (e, t, n) => Object.defineProperty(e, t, { value: n, writable: !0, configurable: !0 }), bx = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, bw = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, b_ = RegExp(`(${bx.source})(%|[a-z]+)`, "i"), bE = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, bk = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, bj = e => { let [t, n] = bS(e); if (!t || yV()) return e; let r = window.getComputedStyle(document.documentElement).getPropertyValue(t); if (r) return r.trim(); if (n && n.startsWith("--")) { let i = window.getComputedStyle(document.documentElement).getPropertyValue(n); if (i) return i } else if (n && bk.test(n)) return bj(n); else if (n) return n; return e }, bS = e => { let t = bk.exec(e); if (!t) return [,]; let [, n, r] = t; return [n, r] }, bO = (e, t, n, r, i) => `rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`, bC = e => { jh || (jh = yB ? RegExp(`(${Object.keys(yB).join("|")})(?!\\w)`, "g") : /^\b$/); let t = e.output.map(e => bd(e).replace(bk, bj).replace(bw, bs).replace(jh, bs)), n = t.map(e => e.match(bx).map(Number)), r = n[0].map((e, t) => n.map(e => { if (!(t in e)) throw Error('The arity of each "output" value must be equal'); return e[t] })), i = r.map(t => bl({ ...e, output: t })); return e => { let n = !b_.test(t[0]) && t.find(e => b_.test(e))?.replace(bx, ""), r = 0; return t[0].replace(bx, () => `${i[r++](e)}${n || ""}`).replace(bE, bO) } }, bA = "react-spring: ", bT = e => { let t = !1; if ("function" != typeof e) throw TypeError(`${bA}once requires a function parameter`); return (...n) => { t || (e(...n), t = !0) } }, bM = bT(console.warn), bP = bT(console.warn); function bN(e) { return yN.str(e) && ("#" == e[0] || /\d/.test(e) || !yV() && bk.test(e) || e in (yB || {})) } new WeakMap, new WeakMap, new WeakMap, new WeakMap; var bR = yV() ? el.useEffect : el.useLayoutEffect, bD = () => { let e = (0, el.useRef)(!1); return bR(() => (e.current = !0, () => { e.current = !1 }), []), e }; function bL() { let e = (0, el.useState)()[1], t = bD(); return () => { t.current && e(Math.random()) } } var bF = e => (0, el.useEffect)(e, bI), bI = []; function bz(e) { let t = (0, el.useRef)(); return (0, el.useEffect)(() => { t.current = e }), t.current } var bV = Symbol.for("Animated:node"), bB = e => !!e && e[bV] === e, bZ = e => e && e[bV], bU = (e, t) => yP(e, bV, t), bH = e => e && e[bV] && e[bV].getPayload(), bW = class { constructor() { bU(this, this) } getPayload() { return this.payload || [] } }, bq = class extends bW { constructor(e) { super(), this._value = e, this.done = !0, this.durationProgress = 0, yN.num(this._value) && (this.lastPosition = this._value) } static create(e) { return new bq(e) } getPayload() { return [this] } getValue() { return this._value } setValue(e, t) { return yN.num(e) && (this.lastPosition = e, t && (e = Math.round(e / t) * t, this.done && (this.lastPosition = e))), this._value !== e && (this._value = e, !0) } reset() { let { done: e } = this; this.done = !1, yN.num(this._value) && (this.elapsedTime = 0, this.durationProgress = 0, this.lastPosition = this._value, e && (this.lastVelocity = null), this.v0 = null) } }, b$ = class extends bq { constructor(e) { super(0), this._string = null, this._toString = bl({ output: [e, e] }) } static create(e) { return new b$(e) } getValue() { let e = this._string; return null == e ? this._string = this._toString(this._value) : e } setValue(e) { if (yN.str(e)) { if (e == this._string) return !1; this._string = e, this._value = 1 } else { if (!super.setValue(e)) return !1; this._string = null } return !0 } reset(e) { e && (this._toString = bl({ output: [this.getValue(), e] })), this._value = 0, super.reset() } }, bY = { dependencies: null }, bG = class extends bW { constructor(e) { super(), this.source = e, this.setValue(e) } getValue(e) { let t = {}; return yL(this.source, (n, r) => { bB(n) ? t[r] = n.getValue(e) : bf(n) ? t[r] = bd(n) : e || (t[r] = n) }), t } setValue(e) { this.source = e, this.payload = this._makePayload(e) } reset() { this.payload && yD(this.payload, e => e.reset()) } _makePayload(e) { if (e) { let t = new Set; return yL(e, this._addToPayload, t), Array.from(t) } } _addToPayload(e) { bY.dependencies && bf(e) && bY.dependencies.add(e); let t = bH(e); t && yD(t, e => this.add(e)) } }, bK = class extends bG { constructor(e) { super(e) } static create(e) { return new bK(e) } getValue() { return this.source.map(e => e.getValue()) } setValue(e) { let t = this.getPayload(); return e.length == t.length ? t.map((t, n) => t.setValue(e[n])).some(Boolean) : (super.setValue(e.map(bX)), !0) } }; function bX(e) { let t = bN(e) ? b$ : bq; return t.create(e) } function bQ(e) { let t = bZ(e); return t ? t.constructor : yN.arr(e) ? bK : bN(e) ? b$ : bq } var bJ = (e, t) => { let n = !yN.fun(e) || e.prototype && e.prototype.isReactComponent; return (0, el.forwardRef)((r, i) => { let o = (0, el.useRef)(null), a = n && (0, el.useCallback)(e => { var t; o.current = ((t = i) && (yN.fun(t) ? t(e) : t.current = e), e) }, [i]), [s, l] = function(e, t) { let n = new Set; return bY.dependencies = n, e.style && (e = { ...e, style: t.createAnimatedStyle(e.style) }), e = new bG(e), bY.dependencies = null, [e, n] }(r, t), u = bL(), c = () => { let e = o.current; if (n && !e) return; let r = !!e && t.applyAnimatedValues(e, s.getValue(!0)); !1 === r && u() }, f = new b0(c, l), d = (0, el.useRef)(); bR(() => (d.current = f, yD(l, e => bg(e, f)), () => { d.current && (yD(d.current.deps, e => by(e, d.current)), yp.cancel(d.current.update)) })), (0, el.useEffect)(c, []), bF(() => () => { let e = d.current; yD(e.deps, t => by(t, e)) }); let h = t.getComponentProps(s.getValue()); return el.createElement(e, { ...h, ref: a }) }) }, b0 = class { constructor(e, t) { this.update = e, this.deps = t } eventObserved(e) { "change" == e.type && yp.write(this.update) } }, b1 = Symbol.for("AnimatedComponent"), b2 = e => yN.str(e) ? e : e && yN.str(e.displayName) ? e.displayName : yN.fun(e) && e.name || null; function b4(e, ...t) { return yN.fun(e) ? e(...t) : e } var b3 = (e, t) => !0 === e || !!(t && e && (yN.fun(e) ? e(t) : yF(e).includes(t))), b5 = (e, t) => yN.obj(e) ? t && e[t] : e, b6 = (e, t) => !0 === e.default ? e[t] : e.default ? e.default[t] : void 0, b8 = e => e, b7 = (e, t = b8) => { let n = b9; e.default && !0 !== e.default && (n = Object.keys(e = e.default)); let r = {}; for (let i of n) { let o = t(e[i], i); yN.und(o) || (r[i] = o) } return r }, b9 = ["config", "onProps", "onStart", "onChange", "onPause", "onResume", "onRest"], xe = { config: 1, from: 1, to: 1, ref: 1, loop: 1, reset: 1, pause: 1, cancel: 1, reverse: 1, immediate: 1, default: 1, delay: 1, onProps: 1, onStart: 1, onChange: 1, onPause: 1, onResume: 1, onRest: 1, onResolve: 1, items: 1, trail: 1, sort: 1, expires: 1, initial: 1, enter: 1, update: 1, leave: 1, children: 1, onDestroyed: 1, keys: 1, callId: 1, parentId: 1 }; function xt(e) { let t = function(e) { let t = {}, n = 0; if (yL(e, (e, r) => { !xe[r] && (t[r] = e, n++) }), n) return t }(e); if (t) { let n = { to: t }; return yL(e, (e, r) => r in t || (n[r] = e)), n } return { ...e } } function xn(e) { return e = bd(e), yN.arr(e) ? e.map(xn) : bN(e) ? yd.createStringInterpolator({ range: [0, 1], output: [e, e] })(1) : e } function xr(e) { for (let t in e) return !0; return !1 } function xi(e) { return yN.fun(e) || yN.arr(e) && yN.obj(e[0]) } function xo(e, t) { e.ref?.delete(e), t?.delete(e) } function xa(e, t) { t && e.ref !== t && (e.ref?.delete(e), t.add(e), e.ref = t) } var xs = { tension: 170, friction: 26, mass: 1, damping: 1, easing: e => e, clamp: !1 }, xl = class { constructor() { this.velocity = 0, Object.assign(this, xs) } }; function xu(e, t) { if (yN.und(t.decay)) { let n = !yN.und(t.tension) || !yN.und(t.friction); !n && yN.und(t.frequency) && yN.und(t.damping) && yN.und(t.mass) || (e.duration = void 0, e.decay = void 0), n && (e.frequency = void 0) } else e.duration = void 0 } var xc = [], xf = class { constructor() { this.changed = !1, this.values = xc, this.toValues = null, this.fromValues = xc, this.config = new xl, this.immediate = !1 } }; function xd(e, { key: t, props: n, defaultProps: r, state: i, actions: o }) { return new Promise((a, s) => { let l, u; let c = b3(n.cancel ?? r?.cancel, t); if (c) p(); else { yN.und(n.pause) || (i.paused = b3(n.pause, t)); let f = r?.pause; !0 !== f && (f = i.paused || b3(f, t)), l = b4(n.delay || 0, t), f ? (i.resumeQueue.add(h), o.pause()) : (o.resume(), h()) } function d() { i.resumeQueue.add(h), i.timeouts.delete(u), u.cancel(), l = u.time - yp.now() } function h() { l > 0 && !yd.skipAnimation ? (i.delayed = !0, u = yp.setTimeout(p, l), i.pauseQueue.add(d), i.timeouts.add(u)) : p() } function p() { i.delayed && (i.delayed = !1), i.pauseQueue.delete(d), i.timeouts.delete(u), e <= (i.cancelId || 0) && (c = !0); try { o.start({ ...n, callId: e, cancel: c }, a) } catch (t) { s(t) } } }) } var xh = (e, t) => 1 == t.length ? t[0] : t.some(e => e.cancelled) ? xm(e.get()) : t.every(e => e.noop) ? xp(e.get()) : xv(e.get(), t.every(e => e.finished)), xp = e => ({ value: e, noop: !0, finished: !0, cancelled: !1 }), xv = (e, t, n = !1) => ({ value: e, finished: t, cancelled: n }), xm = e => ({ value: e, cancelled: !0, finished: !1 }); function xg(e, t, n, r) { let { callId: i, parentId: o, onRest: a } = t, { asyncTo: s, promise: l } = n; return o || e !== s || t.reset ? n.promise = (async () => { let u, c, f; n.asyncId = i, n.asyncTo = e; let d = b7(t, (e, t) => "onRest" === t ? void 0 : e), h = new Promise((e, t) => (u = e, c = t)), p = e => { let t = i <= (n.cancelId || 0) && xm(r) || i !== n.asyncId && xv(r, !1); if (t) throw e.result = t, c(e), e }, v = (e, t) => { let o = new xb, a = new xx; return (async () => { if (yd.skipAnimation) throw xy(n), a.result = xv(r, !1), c(a), a; p(o); let s = yN.obj(e) ? { ...e } : { ...t, to: e }; s.parentId = i, yL(d, (e, t) => { yN.und(s[t]) && (s[t] = e) }); let l = await r.start(s); return p(o), n.paused && await new Promise(e => { n.resumeQueue.add(e) }), l })() }; if (yd.skipAnimation) return xy(n), xv(r, !1); try { await Promise.all([(yN.arr(e) ? (async e => { for (let t of e) await v(t) })(e) : Promise.resolve(e(v, r.stop.bind(r)))).then(u), h]), f = xv(r.get(), !0, !1) } catch (m) { if (m instanceof xb) f = m.result; else if (m instanceof xx) f = m.result; else throw m } finally { i == n.asyncId && (n.asyncId = o, n.asyncTo = o ? s : void 0, n.promise = o ? l : void 0) } return yN.fun(a) && yp.batchedUpdates(() => { a(f, r, r.item) }), f })() : l } function xy(e, t) { yI(e.timeouts, e => e.cancel()), e.pauseQueue.clear(), e.resumeQueue.clear(), e.asyncId = e.asyncTo = e.promise = void 0, t && (e.cancelId = t) } var xb = class extends Error { constructor() { super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.") } }, xx = class extends Error { constructor() { super("SkipAnimationSignal") } }, xw = e => e instanceof xE, x_ = 1, xE = class extends bv { constructor() { super(...arguments), this.id = x_++, this._priority = 0 } get priority() { return this._priority } set priority(e) { this._priority != e && (this._priority = e, this._onPriorityChange(e)) } get() { let e = bZ(this); return e && e.getValue() } to(...e) { return yd.to(this, e) } interpolate(...e) { return bM(`${bA}The "interpolate" function is deprecated in v9 (use "to" instead)`), yd.to(this, e) } toJSON() { return this.get() } observerAdded(e) { 1 == e && this._attach() } observerRemoved(e) { 0 == e && this._detach() } _attach() { } _detach() { } _onChange(e, t = !1) { bp(this, { type: "change", parent: this, value: e, idle: t }) } _onPriorityChange(e) { this.idle || yG.sort(this), bp(this, { type: "priority", parent: this, priority: e }) } }, xk = Symbol.for("SpringPhase"), xj = e => (1 & e[xk]) > 0, xS = e => (2 & e[xk]) > 0, xO = e => (4 & e[xk]) > 0, xC = (e, t) => t ? e[xk] |= 3 : e[xk] &= -3, xA = (e, t) => t ? e[xk] |= 4 : e[xk] &= -5, xT = class extends xE { constructor(e, t) { if (super(), this.animation = new xf, this.defaultProps = {}, this._state = { paused: !1, delayed: !1, pauseQueue: new Set, resumeQueue: new Set, timeouts: new Set }, this._pendingCalls = new Set, this._lastCallId = 0, this._lastToId = 0, this._memoizedDuration = 0, !yN.und(e) || !yN.und(t)) { let n = yN.obj(e) ? { ...e } : { ...t, from: e }; yN.und(n.default) && (n.default = !0), this.start(n) } } get idle() { return !(xS(this) || this._state.asyncTo) || xO(this) } get goal() { return bd(this.animation.to) } get velocity() { let e = bZ(this); return e instanceof bq ? e.lastVelocity || 0 : e.getPayload().map(e => e.lastVelocity || 0) } get hasAnimated() { return xj(this) } get isAnimating() { return xS(this) } get isPaused() { return xO(this) } get isDelayed() { return this._state.delayed } advance(e) { let t = !0, n = !1, r = this.animation, { toValues: i } = r, { config: o } = r, a = bH(r.to); !a && bf(r.to) && (i = yF(bd(r.to))), r.values.forEach((s, l) => { if (s.done) return; let u = s.constructor == b$ ? 1 : a ? a[l].lastPosition : i[l], c = r.immediate, f = u; if (!c) { let d; if (f = s.lastPosition, o.tension <= 0) { s.done = !0; return } let h = s.elapsedTime += e, p = r.fromValues[l], v = null != s.v0 ? s.v0 : s.v0 = yN.arr(o.velocity) ? o.velocity[l] : o.velocity, m = o.precision || (p == u ? .005 : Math.min(1, .001 * Math.abs(u - p))); if (yN.und(o.duration)) { if (o.decay) { let g = !0 === o.decay ? .998 : o.decay, y = Math.exp(-(1 - g) * h); f = p + v / (1 - g) * (1 - y), c = Math.abs(s.lastPosition - f) <= m, d = v * y } else { d = null == s.lastVelocity ? v : s.lastVelocity; let b = o.restVelocity || m / 10, x = o.clamp ? 0 : o.bounce, w = !yN.und(x), _ = p == u ? s.v0 > 0 : p < u, E = Math.ceil(e / 1); for (let k = 0; k < E && !(!(Math.abs(d) > b) && (c = Math.abs(u - f) <= m)); ++k) { w && (f == u || f > u == _) && (d = -d * x, f = u); let j = -(1e-6 * o.tension) * (f - u), S = -(.001 * o.friction) * d, O = (j + S) / o.mass; d += 1 * O, f += 1 * d } } } else { let C = 1; o.duration > 0 && (this._memoizedDuration !== o.duration && (this._memoizedDuration = o.duration, s.durationProgress > 0 && (s.elapsedTime = o.duration * s.durationProgress, h = s.elapsedTime += e)), C = (C = (o.progress || 0) + h / this._memoizedDuration) > 1 ? 1 : C < 0 ? 0 : C, s.durationProgress = C), d = ((f = p + o.easing(C) * (u - p)) - s.lastPosition) / e, c = 1 == C } s.lastVelocity = d, Number.isNaN(f) && (console.warn("Got NaN while animating:", this), c = !0) } a && !a[l].done && (c = !1), c ? s.done = !0 : t = !1, s.setValue(f, o.round) && (n = !0) }); let s = bZ(this), l = s.getValue(); if (t) { let u = bd(r.to); (l !== u || n) && !o.decay ? (s.setValue(u), this._onChange(u)) : n && o.decay && this._onChange(l), this._stop() } else n && this._onChange(l) } set(e) { return yp.batchedUpdates(() => { this._stop(), this._focus(e), this._set(e) }), this } pause() { this._update({ pause: !0 }) } resume() { this._update({ pause: !1 }) } finish() { if (xS(this)) { let { to: e, config: t } = this.animation; yp.batchedUpdates(() => { this._onStart(), t.decay || this._set(e, !1), this._stop() }) } return this } update(e) { let t = this.queue || (this.queue = []); return t.push(e), this } start(e, t) { let n; return yN.und(e) ? (n = this.queue || [], this.queue = []) : n = [yN.obj(e) ? e : { ...t, to: e }], Promise.all(n.map(e => { let t = this._update(e); return t })).then(e => xh(this, e)) } stop(e) { let { to: t } = this.animation; return this._focus(this.get()), xy(this._state, e && this._lastCallId), yp.batchedUpdates(() => this._stop(t, e)), this } reset() { this._update({ reset: !0 }) } eventObserved(e) { "change" == e.type ? this._start() : "priority" == e.type && (this.priority = e.priority + 1) } _prepareNode(e) { let t = this.key || "", { to: n, from: r } = e; (null == (n = yN.obj(n) ? n[t] : n) || xi(n)) && (n = void 0), null == (r = yN.obj(r) ? r[t] : r) && (r = void 0); let i = { to: n, from: r }; return xj(this) || (e.reverse && ([n, r] = [r, n]), r = bd(r), yN.und(r) ? bZ(this) || this._set(n) : this._set(r)), i } _update({ ...e }, t) { let { key: n, defaultProps: r } = this; e.default && Object.assign(r, b7(e, (e, t) => /^on/.test(t) ? b5(e, n) : e)), xL(this, e, "onProps"), xF(this, "onProps", e, this); let i = this._prepareNode(e); if (Object.isFrozen(this)) throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"); let o = this._state; return xd(++this._lastCallId, { key: n, props: e, defaultProps: r, state: o, actions: { pause: () => { xO(this) || (xA(this, !0), yz(o.pauseQueue), xF(this, "onPause", xv(this, xM(this, this.animation.to)), this)) }, resume: () => { xO(this) && (xA(this, !1), xS(this) && this._resume(), yz(o.resumeQueue), xF(this, "onResume", xv(this, xM(this, this.animation.to)), this)) }, start: this._merge.bind(this, i) } }).then(n => { if (e.loop && n.finished && !(t && n.noop)) { let r = xP(e); if (r) return this._update(r, !0) } return n }) } _merge(e, t, n) { if (t.cancel) return this.stop(!0), n(xm(this)); let r = !yN.und(e.to), i = !yN.und(e.from); if (r || i) { if (!(t.callId > this._lastToId)) return n(xm(this)); this._lastToId = t.callId } let { key: o, defaultProps: a, animation: s } = this, { to: l, from: u } = s, { to: c = l, from: f = u } = e; i && !r && (!t.default || yN.und(c)) && (c = f), t.reverse && ([c, f] = [f, c]); let d = !yR(f, u); d && (s.from = f), f = bd(f); let h = !yR(c, l); h && this._focus(c); let p = xi(t.to), { config: v } = s, { decay: m, velocity: g } = v; (r || i) && (v.velocity = 0), t.config && !p && function(e, t, n) { for (let r in n && (xu(n = { ...n }, t), t = { ...n, ...t }), xu(e, t), Object.assign(e, t), xs) null == e[r] && (e[r] = xs[r]); let { frequency: i, damping: o } = e, { mass: a } = e; yN.und(i) || (i < .01 && (i = .01), o < 0 && (o = 0), e.tension = Math.pow(2 * Math.PI / i, 2) * a, e.friction = 4 * Math.PI * o * a / i) }(v, b4(t.config, o), t.config !== a.config ? b4(a.config, o) : void 0); let y = bZ(this); if (!y || yN.und(c)) return n(xv(this, !0)); let b = yN.und(t.reset) ? i && !t.default : !yN.und(f) && b3(t.reset, o), x = b ? f : this.get(), w = xn(c), _ = yN.num(w) || yN.arr(w) || bN(w), E = !p && (!_ || b3(a.immediate || t.immediate, o)); if (h) { let k = bQ(c); if (k !== y.constructor) { if (E) y = this._set(w); else throw Error(`Cannot animate between ${y.constructor.name} and ${k.name}, as the "to" prop suggests`) } } let j = y.constructor, S = bf(c), O = !1; if (!S) { let C = b || !xj(this) && d; (h || C) && (S = !(O = yR(xn(x), w))), (yR(s.immediate, E) || E) && yR(v.decay, m) && yR(v.velocity, g) || (S = !0) } if (O && xS(this) && (s.changed && !b ? S = !0 : S || this._stop(l)), !p && ((S || bf(l)) && (s.values = y.getPayload(), s.toValues = bf(c) ? null : j == b$ ? [1] : yF(w)), s.immediate == E || (s.immediate = E, E || b || this._set(l)), S)) { let { onRest: A } = s; yD(xD, e => xL(this, t, e)); let T = xv(this, xM(this, l)); yz(this._pendingCalls, T), this._pendingCalls.add(n), s.changed && yp.batchedUpdates(() => { s.changed = !b, A?.(T, this), b ? b4(a.onRest, T) : s.onStart?.(T, this) }) } b && this._set(x), p ? n(xg(t.to, t, this._state, this)) : S ? this._start() : xS(this) && !h ? this._pendingCalls.add(n) : n(xp(x)) } _focus(e) { let t = this.animation; e !== t.to && (bh(this) && this._detach(), t.to = e, bh(this) && this._attach()) } _attach() { let e = 0, { to: t } = this.animation; bf(t) && (bg(t, this), xw(t) && (e = t.priority + 1)), this.priority = e } _detach() { let { to: e } = this.animation; bf(e) && by(e, this) } _set(e, t = !0) { let n = bd(e); if (!yN.und(n)) { let r = bZ(this); if (!r || !yR(n, r.getValue())) { let i = bQ(n); r && r.constructor == i ? r.setValue(n) : bU(this, i.create(n)), r && yp.batchedUpdates(() => { this._onChange(n, t) }) } } return bZ(this) } _onStart() { let e = this.animation; e.changed || (e.changed = !0, xF(this, "onStart", xv(this, xM(this, e.to)), this)) } _onChange(e, t) { t || (this._onStart(), b4(this.animation.onChange, e, this)), b4(this.defaultProps.onChange, e, this), super._onChange(e, t) } _start() { let e = this.animation; bZ(this).reset(bd(e.to)), e.immediate || (e.fromValues = e.values.map(e => e.lastPosition)), xS(this) || (xC(this, !0), xO(this) || this._resume()) } _resume() { yd.skipAnimation ? this.finish() : yG.start(this) } _stop(e, t) { if (xS(this)) { xC(this, !1); let n = this.animation; yD(n.values, e => { e.done = !0 }), n.toValues && (n.onChange = n.onPause = n.onResume = void 0), bp(this, { type: "idle", parent: this }); let r = t ? xm(this.get()) : xv(this.get(), xM(this, e ?? n.to)); yz(this._pendingCalls, r), n.changed && (n.changed = !1, xF(this, "onRest", r, this)) } } }; function xM(e, t) { let n = xn(t), r = xn(e.get()); return yR(r, n) } function xP(e, t = e.loop, n = e.to) { let r = b4(t); if (r) { let i = !0 !== r && xt(r), o = (i || e).reverse, a = !i || i.reset; return xN({ ...e, loop: t, default: !1, pause: void 0, to: !o || xi(n) ? n : void 0, from: a ? e.from : void 0, reset: a, ...i }) } } function xN(e) { let { to: t, from: n } = e = xt(e), r = new Set; return yN.obj(t) && xR(t, r), yN.obj(n) && xR(n, r), e.keys = r.size ? Array.from(r) : null, e } function xR(e, t) { yL(e, (e, n) => null != e && t.add(n)) } var xD = ["onStart", "onRest", "onChange", "onPause", "onResume"]; function xL(e, t, n) { e.animation[n] = t[n] !== b6(t, n) ? b5(t[n], e.key) : void 0 } function xF(e, t, ...n) { e.animation[t]?.(...n), e.defaultProps[t]?.(...n) } var xI = ["onStart", "onChange", "onRest"], xz = 1, xV = class { constructor(e, t) { this.id = xz++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = new Set, this._changed = new Set, this._started = !1, this._state = { paused: !1, pauseQueue: new Set, resumeQueue: new Set, timeouts: new Set }, this._events = { onStart: new Map, onChange: new Map, onRest: new Map }, this._onFrame = this._onFrame.bind(this), t && (this._flush = t), e && this.start({ default: !0, ...e }) } get idle() { return !this._state.asyncTo && Object.values(this.springs).every(e => e.idle && !e.isDelayed && !e.isPaused) } get item() { return this._item } set item(e) { this._item = e } get() { let e = {}; return this.each((t, n) => e[n] = t.get()), e } set(e) { for (let t in e) { let n = e[t]; yN.und(n) || this.springs[t].set(n) } } update(e) { return e && this.queue.push(xN(e)), this } start(e) { let { queue: t } = this; return (e ? t = yF(e).map(xN) : this.queue = [], this._flush) ? this._flush(this, t) : (x$(this, t), xB(this, t)) } stop(e, t) { if (!!e !== e && (t = e), t) { let n = this.springs; yD(yF(t), t => n[t].stop(!!e)) } else xy(this._state, this._lastAsyncId), this.each(t => t.stop(!!e)); return this } pause(e) { if (yN.und(e)) this.start({ pause: !0 }); else { let t = this.springs; yD(yF(e), e => t[e].pause()) } return this } resume(e) { if (yN.und(e)) this.start({ pause: !1 }); else { let t = this.springs; yD(yF(e), e => t[e].resume()) } return this } each(e) { yL(this.springs, e) } _onFrame() { let { onStart: e, onChange: t, onRest: n } = this._events, r = this._active.size > 0, i = this._changed.size > 0; (r && !this._started || i && !this._started) && (this._started = !0, yI(e, ([e, t]) => { t.value = this.get(), e(t, this, this._item) })); let o = !r && this._started, a = i || o && n.size ? this.get() : null; i && t.size && yI(t, ([e, t]) => { t.value = a, e(t, this, this._item) }), o && (this._started = !1, yI(n, ([e, t]) => { t.value = a, e(t, this, this._item) })) } eventObserved(e) { if ("change" == e.type) this._changed.add(e.parent), e.idle || this._active.add(e.parent); else { if ("idle" != e.type) return; this._active.delete(e.parent) } yp.onFrame(this._onFrame) } }; function xB(e, t) { return Promise.all(t.map(t => xZ(e, t))).then(t => xh(e, t)) } async function xZ(e, t, n) { let { keys: r, to: i, from: o, loop: a, onRest: s, onResolve: l } = t, u = yN.obj(t.default) && t.default; a && (t.loop = !1), !1 === i && (t.to = null), !1 === o && (t.from = null); let c = yN.arr(i) || yN.fun(i) ? i : void 0; c ? (t.to = void 0, t.onRest = void 0, u && (u.onRest = void 0)) : yD(xI, n => { let r = t[n]; if (yN.fun(r)) { let i = e._events[n]; t[n] = ({ finished: e, cancelled: t }) => { let n = i.get(r); n ? (e || (n.finished = !1), t && (n.cancelled = !0)) : i.set(r, { value: null, finished: e || !1, cancelled: t || !1 }) }, u && (u[n] = t[n]) } }); let f = e._state; !f.paused === t.pause ? (f.paused = t.pause, yz(t.pause ? f.pauseQueue : f.resumeQueue)) : f.paused && (t.pause = !0); let d = (r || Object.keys(e.springs)).map(n => e.springs[n].start(t)), h = !0 === t.cancel || !0 === b6(t, "cancel"); (c || h && f.asyncId) && d.push(xd(++e._lastAsyncId, { props: t, state: f, actions: { pause: yM, resume: yM, start(t, n) { h ? (xy(f, e._lastAsyncId), n(xm(e))) : (t.onRest = s, n(xg(c, t, f, e))) } } })), f.paused && await new Promise(e => { f.resumeQueue.add(e) }); let p = xh(e, await Promise.all(d)); if (a && p.finished && !(n && p.noop)) { let v = xP(t, a, i); if (v) return x$(e, [v]), xZ(e, v, !0) } return l && yp.batchedUpdates(() => l(p, e, e.item)), p } function xU(e, t) { let n = { ...e.springs }; return t && yD(yF(t), e => { yN.und(e.keys) && (e = xN(e)), yN.obj(e.to) || (e = { ...e, to: void 0 }), xq(n, e, e => xW(e)) }), xH(e, n), n } function xH(e, t) { yL(t, (t, n) => { e.springs[n] || (e.springs[n] = t, bg(t, e)) }) } function xW(e, t) { let n = new xT; return n.key = e, t && bg(n, t), n } function xq(e, t, n) { t.keys && yD(t.keys, r => { let i = e[r] || (e[r] = n(r)); i._prepareNode(t) }) } function x$(e, t) { yD(t, t => { xq(e.springs, t, t => xW(t, e)) }) } var xY = ({ children: e, ...t }) => { let n = (0, el.useContext)(xG), r = t.pause || !!n.pause, i = t.immediate || !!n.immediate; t = function(e, t) { let [n] = (0, el.useState)(() => ({ inputs: t, result: e() })), r = (0, el.useRef)(), i = r.current, o = i; if (o) { let a = Boolean(t && o.inputs && function(e, t) { if (e.length !== t.length) return !1; for (let n = 0; n < e.length; n++)if (e[n] !== t[n]) return !1; return !0 }(t, o.inputs)); a || (o = { inputs: t, result: e() }) } else o = n; return (0, el.useEffect)(() => { r.current = o, i == n && (n.inputs = n.result = void 0) }, [o]), o.result }(() => ({ pause: r, immediate: i }), [r, i]); let { Provider: o } = xG; return el.createElement(o, { value: t }, e) }, xG = (Object.assign(kx = xY, el.createContext({})), kx.Provider._context = kx, kx.Consumer._context = kx, kx); xY.Provider = xG.Provider, xY.Consumer = xG.Consumer; var xK = () => { let e = [], t = function(t) { bP(`${bA}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`); let r = []; return yD(e, (e, i) => { if (yN.und(t)) r.push(e.start()); else { let o = n(t, e, i); o && r.push(e.start(o)) } }), r }; t.current = e, t.add = function(t) { e.includes(t) || e.push(t) }, t.delete = function(t) { let n = e.indexOf(t); ~n && e.splice(n, 1) }, t.pause = function() { return yD(e, e => e.pause(...arguments)), this }, t.resume = function() { return yD(e, e => e.resume(...arguments)), this }, t.set = function(t) { yD(e, (e, n) => { let r = yN.fun(t) ? t(n, e) : t; r && e.set(r) }) }, t.start = function(t) { let n = []; return yD(e, (e, r) => { if (yN.und(t)) n.push(e.start()); else { let i = this._getProps(t, e, r); i && n.push(e.start(i)) } }), n }, t.stop = function() { return yD(e, e => e.stop(...arguments)), this }, t.update = function(t) { return yD(e, (e, n) => e.update(this._getProps(t, e, n))), this }; let n = function(e, t, n) { return yN.fun(e) ? e(n, t) : e }; return t._getProps = n, t }; function xX(e, t) { let n = yN.fun(e), [[r], i] = function(e, t, n) { let r = yN.fun(t) && t; r && !n && (n = []); let i = (0, el.useMemo)(() => r || 3 == arguments.length ? xK() : void 0, []), o = (0, el.useRef)(0), a = bL(), s = (0, el.useMemo)(() => ({ ctrls: [], queue: [], flush(e, t) { let n = xU(e, t), r = o.current > 0 && !s.queue.length && !Object.keys(n).some(t => !e.springs[t]); return r ? xB(e, t) : new Promise(r => { xH(e, n), s.queue.push(() => { r(xB(e, t)) }), a() }) } }), []), l = (0, el.useRef)([...s.ctrls]), u = [], c = bz(e) || 0; function f(e, n) { for (let i = e; i < n; i++) { let o = l.current[i] || (l.current[i] = new xV(null, s.flush)), a = r ? r(i, o) : t[i]; a && (u[i] = function(e) { let t = xN(e); return yN.und(t.default) && (t.default = b7(t)), t }(a)) } } (0, el.useMemo)(() => { yD(l.current.slice(e, c), e => { xo(e, i), e.stop(!0) }), l.current.length = e, f(c, e) }, [e]), (0, el.useMemo)(() => { f(0, Math.min(c, e)) }, n); let d = l.current.map((e, t) => xU(e, u[t])), h = (0, el.useContext)(xY), p = bz(h), v = h !== p && xr(h); bR(() => { o.current++, s.ctrls = l.current; let { queue: e } = s; e.length && (s.queue = [], yD(e, e => e())), yD(l.current, (e, t) => { i?.add(e), v && e.start({ default: h }); let n = u[t]; n && (xa(e, n.ref), e.ref ? e.queue.push(n) : e.start(n)) }) }), bF(() => () => { yD(s.ctrls, e => e.stop(!0)) }); let m = d.map(e => ({ ...e })); return i ? [m, i] : m }(1, n ? e : [e], n ? t || [] : t); return n || 2 == arguments.length ? [r, i] : r } function xQ(e, t, n) { let r = yN.fun(t) && t, { reset: i, sort: o, trail: a = 0, expires: s = !0, exitBeforeEnter: l = !1, onDestroyed: u, ref: c, config: f } = r ? r() : t, d = (0, el.useMemo)(() => r || 3 == arguments.length ? xK() : void 0, []), h = yF(e), p = [], v = (0, el.useRef)(null), m = i ? null : v.current; bR(() => { v.current = p }), bF(() => (yD(p, e => { d?.add(e.ctrl), e.ctrl.ref = d }), () => { yD(v.current, e => { e.expired && clearTimeout(e.expirationId), xo(e.ctrl, d), e.ctrl.stop(!0) }) })); let g = function(e, { key: t, keys: n = t }, r) { if (null === n) { let i = new Set; return e.map(e => { let t = r && r.find(t => t.item === e && "leave" !== t.phase && !i.has(t)); return t ? (i.add(t), t.key) : xJ++ }) } return yN.und(n) ? e : yN.fun(n) ? e.map(n) : yF(n) }(h, r ? r() : t, m), y = i && v.current || []; bR(() => yD(y, ({ ctrl: e, item: t, key: n }) => { xo(e, d), b4(u, t, n) })); let b = []; if (m && yD(m, (e, t) => { e.expired ? (clearTimeout(e.expirationId), y.push(e)) : ~(t = b[t] = g.indexOf(e.key)) && (p[t] = e) }), yD(h, (e, t) => { p[t] || (p[t] = { key: g[t], item: e, phase: "mount", ctrl: new xV }, p[t].ctrl.item = e) }), b.length) { let x = -1, { leave: w } = r ? r() : t; yD(b, (e, t) => { let n = m[t]; ~e ? (x = p.indexOf(n), p[x] = { ...n, item: h[e] }) : w && p.splice(++x, 0, n) }) } yN.fun(o) && p.sort((e, t) => o(e.item, t.item)); let _ = -a, E = bL(), k = b7(t), j = new Map, S = (0, el.useRef)(new Map), O = (0, el.useRef)(!1); yD(p, (e, n) => { let i, o; let u = e.key, d = e.phase, h = r ? r() : t, p = b4(h.delay || 0, u); if ("mount" == d) i = h.enter, o = "enter"; else { let y = 0 > g.indexOf(u); if ("leave" != d) { if (y) i = h.leave, o = "leave"; else { if (!(i = h.update)) return; o = "update" } } else { if (y) return; i = h.enter, o = "enter" } } if (i = b4(i, e.item, n), !(i = yN.obj(i) ? xt(i) : { to: i }).config) { let b = f || k.config; i.config = b4(b, e.item, n, o) } _ += a; let x = { ...k, delay: p + _, ref: c, immediate: h.immediate, reset: !1, ...i }; if ("enter" == o && yN.und(x.from)) { let w = r ? r() : t, C = yN.und(w.initial) || m ? w.from : w.initial; x.from = b4(C, e.item, n) } let { onResolve: A } = x; x.onResolve = e => { b4(A, e); let t = v.current, n = t.find(e => e.key === u); if (n) { if (e.cancelled && "update" != n.phase) return; if (n.ctrl.idle) { let r = t.every(e => e.ctrl.idle); if ("leave" == n.phase) { let i = b4(s, n.item); if (!1 !== i) { let o = !0 === i ? 0 : i; if (n.expired = !0, !r && o > 0) { o <= 2147483647 && (n.expirationId = setTimeout(E, o)); return } } } r && t.some(e => e.expired) && (S.current.delete(n), l && (O.current = !0), E()) } } }; let T = xU(e.ctrl, x); "leave" === o && l ? S.current.set(e, { phase: o, springs: T, payload: x }) : j.set(e, { phase: o, springs: T, payload: x }) }); let C = (0, el.useContext)(xY), A = bz(C), T = C !== A && xr(C); bR(() => { T && yD(p, e => { e.ctrl.start({ default: C }) }) }, [C]), yD(j, (e, t) => { if (S.current.size) { let n = p.findIndex(e => e.key === t.key); p.splice(n, 1) } }), bR(() => { yD(S.current.size ? S.current : j, ({ phase: e, payload: t }, n) => { let { ctrl: r } = n; n.phase = e, d?.add(r), T && "enter" == e && r.start({ default: C }), t && (xa(r, t.ref), (r.ref || d) && !O.current ? r.update(t) : (r.start(t), O.current && (O.current = !1))) }) }, i ? void 0 : n); let M = e => el.createElement(el.Fragment, null, p.map((t, n) => { let { springs: r } = j.get(t) || t.ctrl, i = e({ ...r }, t.item, t, n); return i && i.type ? el.createElement(i.type, { ...i.props, key: yN.str(t.key) || yN.num(t.key) ? t.key : t.ctrl.id, ref: i.ref }) : i })); return d ? [M, d] : M } var xJ = 1, x0 = class extends xE { constructor(e, t) { super(), this.source = e, this.idle = !0, this._active = new Set, this.calc = bl(...t); let n = this._get(), r = bQ(n); bU(this, r.create(n)) } advance(e) { let t = this._get(), n = this.get(); yR(t, n) || (bZ(this).setValue(t), this._onChange(t, this.idle)), !this.idle && x2(this._active) && x4(this) } _get() { let e = yN.arr(this.source) ? this.source.map(bd) : yF(bd(this.source)); return this.calc(...e) } _start() { this.idle && !x2(this._active) && (this.idle = !1, yD(bH(this), e => { e.done = !1 }), yd.skipAnimation ? (yp.batchedUpdates(() => this.advance()), x4(this)) : yG.start(this)) } _attach() { let e = 1; yD(yF(this.source), t => { bf(t) && bg(t, this), xw(t) && (t.idle || this._active.add(t), e = Math.max(e, t.priority + 1)) }), this.priority = e, this._start() } _detach() { yD(yF(this.source), e => { bf(e) && by(e, this) }), this._active.clear(), x4(this) } eventObserved(e) { "change" == e.type ? e.idle ? this.advance() : (this._active.add(e.parent), this._start()) : "idle" == e.type ? this._active.delete(e.parent) : "priority" == e.type && (this.priority = yF(this.source).reduce((e, t) => Math.max(e, (xw(t) ? t.priority : 0) + 1), 0)) } }; function x1(e) { return !1 !== e.idle } function x2(e) { return !e.size || Array.from(e).every(x1) } function x4(e) { e.idle || (e.idle = !0, yD(bH(e), e => { e.done = !0 }), bp(e, { type: "idle", parent: e })) } var x3 = (e, ...t) => new x0(e, t); yd.assign({ createStringInterpolator: bC, to: (e, t) => new x0(e, t) }), yG.advance; var x5 = /^--/, x6 = {}, x8 = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, x7 = (e, t) => e + t.charAt(0).toUpperCase() + t.substring(1), x9 = ["Webkit", "Ms", "Moz", "O"]; x8 = Object.keys(x8).reduce((e, t) => (x9.forEach(n => e[x7(n, t)] = e[t]), e), x8); var we = /^(matrix|translate|scale|rotate|skew)/, wt = /^(translate)/, wn = /^(rotate|skew)/, wr = (e, t) => yN.num(e) && 0 !== e ? e + t : e, wi = (e, t) => yN.arr(e) ? e.every(e => wi(e, t)) : yN.num(e) ? e === t : parseFloat(e) === t, wo = class extends bG { constructor({ x: e, y: t, z: n, ...r }) { let i = [], o = []; (e || t || n) && (i.push([e || 0, t || 0, n || 0]), o.push(e => [`translate3d(${e.map(e => wr(e, "px")).join(",")})`, wi(e, 0)])), yL(r, (e, t) => { if ("transform" === t) i.push([e || ""]), o.push(e => [e, "" === e]); else if (we.test(t)) { if (delete r[t], yN.und(e)) return; let n = wt.test(t) ? "px" : wn.test(t) ? "deg" : ""; i.push(yF(e)), o.push("rotate3d" === t ? ([e, t, r, i]) => [`rotate3d(${e},${t},${r},${wr(i, n)})`, wi(i, 0)] : e => [`${t}(${e.map(e => wr(e, n)).join(",")})`, wi(e, t.startsWith("scale") ? 1 : 0)]) } }), i.length && (r.transform = new wa(i, o)), super(r) } }, wa = class extends bv { constructor(e, t) { super(), this.inputs = e, this.transforms = t, this._value = null } get() { return this._value || (this._value = this._get()) } _get() { let e = "", t = !0; return yD(this.inputs, (n, r) => { let i = bd(n[0]), [o, a] = this.transforms[r](yN.arr(i) ? i : n.map(bd)); e += " " + o, t = t && a }), t ? "none" : e } observerAdded(e) { 1 == e && yD(this.inputs, e => yD(e, e => bf(e) && bg(e, this))) } observerRemoved(e) { 0 == e && yD(this.inputs, e => yD(e, e => bf(e) && by(e, this))) } eventObserved(e) { "change" == e.type && (this._value = null), bp(this, e) } }; yd.assign({ batchedUpdates: tI.unstable_batchedUpdates, createStringInterpolator: bC, colors: { transparent: 0, aliceblue: 4042850303, antiquewhite: 4209760255, aqua: 16777215, aquamarine: 2147472639, azure: 4043309055, beige: 4126530815, bisque: 4293182719, black: 255, blanchedalmond: 4293643775, blue: 65535, blueviolet: 2318131967, brown: 2771004159, burlywood: 3736635391, burntsienna: 3934150143, cadetblue: 1604231423, chartreuse: 2147418367, chocolate: 3530104575, coral: 4286533887, cornflowerblue: 1687547391, cornsilk: 4294499583, crimson: 3692313855, cyan: 16777215, darkblue: 35839, darkcyan: 9145343, darkgoldenrod: 3095792639, darkgray: 2846468607, darkgreen: 6553855, darkgrey: 2846468607, darkkhaki: 3182914559, darkmagenta: 2332068863, darkolivegreen: 1433087999, darkorange: 4287365375, darkorchid: 2570243327, darkred: 2332033279, darksalmon: 3918953215, darkseagreen: 2411499519, darkslateblue: 1211993087, darkslategray: 793726975, darkslategrey: 793726975, darkturquoise: 13554175, darkviolet: 2483082239, deeppink: 4279538687, deepskyblue: 12582911, dimgray: 1768516095, dimgrey: 1768516095, dodgerblue: 512819199, firebrick: 2988581631, floralwhite: 4294635775, forestgreen: 579543807, fuchsia: 4278255615, gainsboro: 3705462015, ghostwhite: 4177068031, gold: 4292280575, goldenrod: 3668254975, gray: 2155905279, green: 8388863, greenyellow: 2919182335, grey: 2155905279, honeydew: 4043305215, hotpink: 4285117695, indianred: 3445382399, indigo: 1258324735, ivory: 4294963455, khaki: 4041641215, lavender: 3873897215, lavenderblush: 4293981695, lawngreen: 2096890111, lemonchiffon: 4294626815, lightblue: 2916673279, lightcoral: 4034953471, lightcyan: 3774873599, lightgoldenrodyellow: 4210742015, lightgray: 3553874943, lightgreen: 2431553791, lightgrey: 3553874943, lightpink: 4290167295, lightsalmon: 4288707327, lightseagreen: 548580095, lightskyblue: 2278488831, lightslategray: 2005441023, lightslategrey: 2005441023, lightsteelblue: 2965692159, lightyellow: 4294959359, lime: 16711935, limegreen: 852308735, linen: 4210091775, magenta: 4278255615, maroon: 2147483903, mediumaquamarine: 1724754687, mediumblue: 52735, mediumorchid: 3126187007, mediumpurple: 2473647103, mediumseagreen: 1018393087, mediumslateblue: 2070474495, mediumspringgreen: 16423679, mediumturquoise: 1221709055, mediumvioletred: 3340076543, midnightblue: 421097727, mintcream: 4127193855, mistyrose: 4293190143, moccasin: 4293178879, navajowhite: 4292783615, navy: 33023, oldlace: 4260751103, olive: 2155872511, olivedrab: 1804477439, orange: 4289003775, orangered: 4282712319, orchid: 3664828159, palegoldenrod: 4008225535, palegreen: 2566625535, paleturquoise: 2951671551, palevioletred: 3681588223, papayawhip: 4293907967, peachpuff: 4292524543, peru: 3448061951, pink: 4290825215, plum: 3718307327, powderblue: 2967529215, purple: 2147516671, rebeccapurple: 1714657791, red: 4278190335, rosybrown: 3163525119, royalblue: 1097458175, saddlebrown: 2336560127, salmon: 4202722047, sandybrown: 4104413439, seagreen: 780883967, seashell: 4294307583, sienna: 2689740287, silver: 3233857791, skyblue: 2278484991, slateblue: 1784335871, slategray: 1887473919, slategrey: 1887473919, snow: 4294638335, springgreen: 16744447, steelblue: 1182971135, tan: 3535047935, teal: 8421631, thistle: 3636451583, tomato: 4284696575, turquoise: 1088475391, violet: 4001558271, wheat: 4125012991, white: 4294967295, whitesmoke: 4126537215, yellow: 4294902015, yellowgreen: 2597139199 } }); var ws = ((e, { applyAnimatedValues: t = () => !1, createAnimatedStyle: n = e => new bG(e), getComponentProps: r = e => e } = {}) => { let i = { applyAnimatedValues: t, createAnimatedStyle: n, getComponentProps: r }, o = e => { let t = b2(e) || "Anonymous"; return (e = yN.str(e) ? o[e] || (o[e] = bJ(e, i)) : e[b1] || (e[b1] = bJ(e, i))).displayName = `Animated(${t})`, e }; return yL(e, (t, n) => { yN.arr(e) && (n = b2(t)), o[n] = o(t) }), { animated: o } })(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"], { applyAnimatedValues: function(e, t) { if (!e.nodeType || !e.setAttribute) return !1; let n = "filter" === e.nodeName || e.parentNode && "filter" === e.parentNode.nodeName, { style: r, children: i, scrollTop: o, scrollLeft: a, viewBox: s, ...l } = t, u = Object.values(l), c = Object.keys(l).map(t => n || e.hasAttribute(t) ? t : x6[t] || (x6[t] = t.replace(/([A-Z])/g, e => "-" + e.toLowerCase()))); for (let f in void 0 !== i && (e.textContent = i), r) if (r.hasOwnProperty(f)) { var d, h; let p = (d = f, null == (h = r[f]) || "boolean" == typeof h || "" === h ? "" : "number" != typeof h || 0 === h || x5.test(d) || x8.hasOwnProperty(d) && x8[d] ? ("" + h).trim() : h + "px"); x5.test(f) ? e.style.setProperty(f, p) : e.style[f] = p } c.forEach((t, n) => { e.setAttribute(t, u[n]) }), void 0 !== o && (e.scrollTop = o), void 0 !== a && (e.scrollLeft = a), void 0 !== s && e.setAttribute("viewBox", s) }, createAnimatedStyle: e => new wo(e), getComponentProps: ({ scrollTop: e, scrollLeft: t, ...n }) => n }).animated, wl = n(23442), wu = (0, el.createContext)({}); function wc(e) { var t = e.x, n = e.y, r = e.dx, i = e.dy, o = e.children, a = (0, el.useMemo)(function() { return { x: t, y: n, dx: r, dy: i } }, [t, n, r, i]); return el.createElement(wu.Provider, { value: a }, o) } function wf() { return (wf = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } wc.propTypes = { children: l5().node.isRequired }; var wd = { r: 10, fill: "transparent", stroke: "#777", strokeDasharray: "4,2", strokeWidth: 2 }; function wh(e) { var t = e.canEditLabel, n = e.canEditSubject, r = e.children, i = e.dx, o = void 0 === i ? 0 : i, a = e.dy, s = void 0 === a ? 0 : a, l = e.height, u = e.labelDragHandleProps, c = e.onDragEnd, f = e.onDragMove, d = e.onDragStart, h = e.subjectDragHandleProps, p = e.width, v = e.x, m = void 0 === v ? 0 : v, g = e.y, y = void 0 === g ? 0 : g, b = (0, el.useRef)(), x = (0, el.useRef)(), w = (0, el.useCallback)(function(e) { var t, n, r, i, a, l, u, c, f = e.event; d && d({ event: f, x: m + (null != (t = null == (n = b.current) ? void 0 : n.dx) ? t : 0), y: y + (null != (r = null == (i = b.current) ? void 0 : i.dy) ? r : 0), dx: o + (null != (a = null == (l = x.current) ? void 0 : l.dx) ? a : 0), dy: s + (null != (u = null == (c = x.current) ? void 0 : c.dy) ? u : 0) }) }, [o, s, d, m, y]), _ = (0, el.useCallback)(function(e) { var t, n, r, i, a, l, u, c, d = e.event; f && f({ event: d, x: m + (null != (t = null == (n = b.current) ? void 0 : n.dx) ? t : 0), y: y + (null != (r = null == (i = b.current) ? void 0 : i.dy) ? r : 0), dx: o + (null != (a = null == (l = x.current) ? void 0 : l.dx) ? a : 0), dy: s + (null != (u = null == (c = x.current) ? void 0 : c.dy) ? u : 0) }) }, [o, s, f, m, y]), E = (0, el.useCallback)(function(e) { var t, n, r, i, a, l, u, f, d = e.event; c && c({ event: d, x: m + (null != (t = null == (n = b.current) ? void 0 : n.dx) ? t : 0), y: y + (null != (r = null == (i = b.current) ? void 0 : i.dy) ? r : 0), dx: o + (null != (a = null == (l = x.current) ? void 0 : l.dx) ? a : 0), dy: s + (null != (u = null == (f = x.current) ? void 0 : f.dy) ? u : 0) }) }, [o, s, c, m, y]), k = (0, wl.default)({ onDragStart: w, onDragMove: _, onDragEnd: E, x: m, y: y }), j = (0, wl.default)({ onDragStart: w, onDragMove: _, onDragEnd: E, x: o, y: s }); return b.current = k, x.current = j, el.createElement(el.Fragment, null, el.createElement(wc, { x: m + k.dx, y: y + k.dy, dx: o + j.dx, dy: s + j.dy }, r), k.isDragging && el.createElement("rect", { width: p, height: l, onMouseMove: k.dragMove, onMouseUp: k.dragEnd, fill: "transparent" }), (void 0 === n || n) && el.createElement("circle", wf({ cx: m, cy: y, transform: "translate(" + k.dx + "," + k.dy + ")", onMouseMove: k.dragMove, onMouseUp: k.dragEnd, onMouseDown: k.dragStart, onTouchStart: k.dragStart, onTouchMove: k.dragMove, onTouchEnd: k.dragEnd, cursor: k.isDragging ? "grabbing" : "grab" }, wd, h)), j.isDragging && el.createElement("rect", { width: p, height: l, onMouseMove: j.dragMove, onMouseUp: j.dragEnd, fill: "transparent" }), (void 0 === t || t) && el.createElement("circle", wf({ cx: m + k.dx + o, cy: y + k.dy + s, transform: "translate(" + j.dx + "," + j.dy + ")", onMouseMove: j.dragMove, onMouseUp: j.dragEnd, onMouseDown: j.dragStart, onTouchStart: j.dragStart, onTouchMove: j.dragMove, onTouchEnd: j.dragEnd, cursor: j.isDragging ? "grabbing" : "grab" }, wd, u))) } wh.propTypes = { width: l5().number.isRequired, height: l5().number.isRequired, children: l5().node.isRequired, canEditLabel: l5().bool, canEditSubject: l5().bool, onDragStart: l5().func, onDragMove: l5().func, onDragEnd: l5().func }; var wp = el.createContext({}); function wv(e) { var t; return e && "bandwidth" in e && null != (t = null == e ? void 0 : e.bandwidth()) ? t : 0 } function wm(e) { return null != e && "number" == typeof e && !Number.isNaN(e) && Number.isFinite(e) } var wg = ["AnnotationComponent", "children", "datum", "dataKey", "xAccessor", "yAccessor", "dx", "dy"]; function wy() { return (wy = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function wb(e) { var t, n, r = e.AnnotationComponent, i = e.children, o = e.datum, a = e.dataKey, s = e.xAccessor, l = e.yAccessor, u = e.dx, c = void 0 === u ? 0 : u, f = e.dy, d = void 0 === f ? 0 : f, h = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, wg), p = (0, el.useContext)(wp) || {}, v = p.innerHeight, m = p.innerWidth, g = p.margin, y = p.xScale, b = p.yScale, x = p.dataRegistry, w = (0, el.useMemo)(function() { return y ? wv(y) : 0 }, [y]), _ = (0, el.useMemo)(function() { return b ? wv(b) : 0 }, [b]); if ((!s || !l) && !a) return console.warn("[@visx/xychart/BaseAnnotation]: dataKey or x/yAccessors must be specified."), null; var E = s && l || null == a ? null : null == x ? void 0 : x.get(a), k = s || (null == E ? void 0 : E.xAccessor), j = l || (null == E ? void 0 : E.yAccessor); if (!y || !b || !m || !v || !k || !j || !g) return null; var S = (null != (t = (0, mr.Z)(y(k(o)))) ? t : NaN) + w / 2, O = (null != (n = (0, mr.Z)(b(j(o)))) ? n : NaN) + _ / 2, C = S + c + 16 > g.left + m ? -c : c, A = O + d + 16 > g.top + v ? -d : d; return wm(S) && wm(O) ? el.createElement(r, wy({ width: m, height: v }, h, { x: S, y: O, dx: C, dy: A }), i) : null } wb.propTypes = { dataKey: l5().string, xAccessor: l5().func, yAccessor: l5().func }; var wx = ["x", "y", "AnnotationComponent"], ww = ["editable"]; function w_() { return (w_ = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function wE(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i } function wk(e) { var t = e.x, n = void 0 === t ? 0 : t, r = e.y, i = void 0 === r ? 0 : r, o = e.AnnotationComponent, a = wE(e, wx), s = (0, el.useRef)({ x: n, y: i }), l = xX({ from: { x: s.current.x - n, y: s.current.y - i }, to: { x: 0, y: 0 }, reset: !0 }); return (0, el.useEffect)(function() { s.current = { x: n, y: i } }, [n, i]), el.createElement(ws.g, { transform: x3([l.x, l.y], function(e, t) { return "translate(" + e + ", " + t + ")" }) }, el.createElement(o, w_({ x: n, y: i }, a))) } function wj(e) { var t = e.editable, n = wE(e, ww), r = (0, el.useCallback)(function(e) { return el.createElement(wk, w_({ AnnotationComponent: t ? wh : wc }, e)) }, [t]); return el.createElement(wb, w_({ AnnotationComponent: r }, n)) } wj.propTypes = { editable: l5().bool }; var wS = n(12766), wO = n(54073), wC = n.n(wO), wA = ["d", "stroke", "fill"]; function wT() { return (wT = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function wM(e) { var t = e.d, n = e.stroke, r = e.fill, i = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, wA), o = (0, el.useRef)(t), a = (0, el.useCallback)(wC()(function(e) { o.current = e }, 50), []), s = (0, wS.interpolatePath)(o.current, t); a(t); var l = xX({ from: { t: 0 }, to: { t: 1 }, reset: !0, delay: 0 }).t, u = xX({ stroke: void 0 === n ? "transparent" : n, fill: void 0 === r ? "transparent" : r }); return el.createElement(ws.path, wT({ className: "visx-path", d: l.to(s), stroke: u.stroke, fill: u.fill }, i)) } var wP = n(12935), wN = n(12151); function wR() { return (wR = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function wD(e) { return function(t) { var n = t.dataKey, r = t.data, i = t.xAccessor, o = t.yAccessor, a = (0, el.useContext)(wp), s = a.xScale, l = a.yScale, u = a.dataRegistry; (0, el.useEffect)(function() { return u && u.registerData({ key: n, data: r, xAccessor: i, yAccessor: o }), function() { return null == u ? void 0 : u.unregisterData(n) } }, [u, n, r, i, o]); var c = null == u ? void 0 : u.get(n); return s && l && c ? el.createElement(e, wR({}, t, { xScale: s, yScale: l, data: c.data, xAccessor: c.xAccessor, yAccessor: c.yAccessor })) : null } } function wL(e, t, n) { return void 0 === n && (n = "center"), function(r) { var i = e(t(r)); return wm(i) ? i + ("start" === n ? 0 : wv(e)) / ("center" === n ? 2 : 1) : NaN } } function wF(e) { var t = e.range().map(function(e) { var t; return null != (t = (0, mr.Z)(e)) ? t : 0 }), n = t[0], r = t[1], i = null != n && null != r && r < n, o = e(0), a = i ? [r, n] : [n, r], s = a[0], l = a[1]; return i ? wm(o) ? Math.min(Math.max(s, o), l) : l : wm(o) ? Math.max(o, s) : s } var wI = "XYCHART_EVENT_SOURCE", wz = (0, el.createContext)(null), wV = (0, el.createContext)(null); function wB(e, t, n) { var r = (0, el.useContext)(wV), i = (0, el.useRef)(); i.current = n; var o = (0, el.useCallback)(function(e, t, n) { r && r.emit(e, { event: t, svgPoint: (0, mQ.Z)(t), source: n }) }, [r]); return (0, el.useEffect)(function() { if (r && e && t) { var n = function(e) { var n; (!i.current || null != e && e.source && null != (n = i.current) && n.includes(e.source)) && t(e) }; return r.on(e, n), function() { return null == r ? void 0 : r.off(e, n) } } }, [r, e, t]), r ? o : null } function wZ(e) { var t = e.source, n = e.onPointerOut, r = e.onPointerMove, i = e.onPointerUp, o = e.onPointerDown, a = e.onFocus, s = e.onBlur, l = wB(), u = (0, el.useCallback)(function(e) { return null == l ? void 0 : l("pointermove", e, t) }, [l, t]), c = (0, el.useCallback)(function(e) { return null == l ? void 0 : l("pointerout", e, t) }, [l, t]), f = (0, el.useCallback)(function(e) { return null == l ? void 0 : l("pointerup", e, t) }, [l, t]), d = (0, el.useCallback)(function(e) { return null == l ? void 0 : l("pointerdown", e, t) }, [l, t]), h = (0, el.useCallback)(function(e) { return null == l ? void 0 : l("focus", e, t) }, [l, t]), p = (0, el.useCallback)(function(e) { return null == l ? void 0 : l("blur", e, t) }, [l, t]); return { onPointerMove: void 0 === r || r ? u : void 0, onFocus: void 0 !== a && a ? h : void 0, onBlur: void 0 !== s && s ? p : void 0, onPointerOut: void 0 === n || n ? c : void 0, onPointerUp: void 0 === i || i ? f : void 0, onPointerDown: void 0 === o || o ? d : void 0 } } function wU(e) { return !!e && ("clientX" in e || "changedTouches" in e) } function wH(e, t) { return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN } function wW(e) { let t = e, n = e; function r(e, t, r, i) { for (null == r && (r = 0), null == i && (i = e.length); r < i;) { let o = r + i >>> 1; 0 > n(e[o], t) ? r = o + 1 : i = o } return r } return 1 === e.length && (t = (t, n) => e(t) - n, n = (t, n) => wH(e(t), n)), { left: r, center: function(e, n, i, o) { null == i && (i = 0), null == o && (o = e.length); let a = r(e, n, i, o - 1); return a > i && t(e[a - 1], n) > -t(e[a], n) ? a - 1 : a }, right: function(e, t, r, i) { for (null == r && (r = 0), null == i && (i = e.length); r < i;) { let o = r + i >>> 1; n(e[o], t) > 0 ? i = o : r = o + 1 } return r } } } let wq = wW(wH); wq.right; let w$ = wq.left; function wY(e) { var t, n, r = e.scale, i = e.accessor, o = e.scaledValue, a = e.data; if ("invert" in r && "function" == typeof r.invert) { var s = wW(i).left, l = Number(r.invert(o)), u = s(a, l), c = a[u - 1], f = a[u]; n = (t = !c || Math.abs(l - i(c)) > Math.abs(l - i(f)) ? f : c) === c ? u - 1 : u } else { if (!("step" in r) || void 0 === r.step) return console.warn("[visx/xychart/findNearestDatum] encountered incompatible scale type, bailing"), null; var d = r.domain(), h = r.range().map(Number), p = [].concat(h).sort(function(e, t) { return e - t }), v = w$(function(e, t, n) { e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n; for (var r = -1, i = 0 | Math.max(0, Math.ceil((t - e) / n)), o = Array(i); ++r < i;)o[r] = e + r * n; return o }(p[0], p[1], r.step()), o), m = (h[0] < h[1] ? d : d.reverse())[v - 1], g = a.findIndex(function(e) { return String(i(e)) === String(m) }); t = a[g], n = g } if (null == t || null == n) return null; var y = Math.abs(Number(r(i(t))) - o); return { datum: t, index: n, distance: y } } function wG(e) { var t = e.xScale, n = e.xAccessor, r = e.yScale, i = e.yAccessor, o = e.point, a = e.data; if (!o) return null; var s = wY({ scale: t, accessor: n, scaledValue: o.x, data: a }); return s ? { datum: s.datum, index: s.index, distanceX: s.distance, distanceY: Math.abs(Number(r(i(s.datum))) - o.y) } : null } function wK(e) { var t = e.yScale, n = e.yAccessor, r = e.xScale, i = e.xAccessor, o = e.point, a = e.data; if (!o) return null; var s = wY({ scale: t, accessor: n, scaledValue: o.y, data: a }); return s ? { datum: s.datum, index: s.index, distanceY: s.distance, distanceX: Math.abs(Number(r(i(s.datum))) - o.x) } : null } function wX() { return (wX = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } wW(function(e) { return null === e ? NaN : +e }).center; var wQ = "__POINTER_EVENTS_ALL", wJ = "__POINTER_EVENTS_NEAREST"; function w0(e) { var t = e.dataKey, n = e.findNearestDatum, r = e.onBlur, i = e.onFocus, o = e.onPointerMove, a = e.onPointerOut, s = e.onPointerUp, l = e.onPointerDown, u = e.allowedSources, c = (0, el.useContext)(wp), f = c.width, d = c.height, h = c.horizontal, p = c.dataRegistry, v = c.xScale, m = c.yScale, g = n || (h ? wK : wG), y = (0, el.useCallback)(function(e) { var n, r = e || {}, i = r.svgPoint, o = r.event, a = {}, s = null, l = 1 / 0; return e && o && i && f && d && v && m ? ((t === wJ || t === wQ ? null != (n = null == p ? void 0 : p.keys()) ? n : [] : Array.isArray(t) ? t : [t]).forEach(function(e) { var n = null == p ? void 0 : p.get(e); if (n) { var r = g({ dataKey: e, data: n.data, height: d, point: i, width: f, xAccessor: n.xAccessor, xScale: v, yAccessor: n.yAccessor, yScale: m }); if (r && (a[e] = wX({ key: e, svgPoint: i, event: o }, r), t === wJ)) { var u, c, h = Math.sqrt((null != (u = r.distanceX) ? u : Math.pow(1 / 0, 2)) + (null != (c = r.distanceY) ? c : Math.pow(1 / 0, 2))); s = h < l ? a[e] : s, l = Math.min(l, h) } } }), (t === wJ ? [s] : t === wQ || Array.isArray(t) ? Object.values(a) : [a[t]]).filter(function(e) { return e })) : [] }, [t, p, v, m, f, d, g]), b = (0, el.useCallback)(function(e) { o && y(e).forEach(function(e) { return o(e) }) }, [y, o]), x = (0, el.useCallback)(function(e) { s && y(e).forEach(function(e) { return s(e) }) }, [y, s]), w = (0, el.useCallback)(function(e) { l && y(e).forEach(function(e) { return l(e) }) }, [y, l]), _ = (0, el.useCallback)(function(e) { i && y(e).forEach(function(e) { return i(e) }) }, [y, i]), E = (0, el.useCallback)(function(e) { var t = null == e ? void 0 : e.event; t && wU(t) && a && a(t) }, [a]), k = (0, el.useCallback)(function(e) { var t, n = null == e ? void 0 : e.event; n && (t = n) && !wU(t) && r && r(n) }, [r]); wB("pointermove", o ? b : void 0, u), wB("pointerout", a ? E : void 0, u), wB("pointerup", s ? x : void 0, u), wB("pointerdown", l ? w : void 0, u), wB("focus", i ? _ : void 0, u), wB("blur", r ? k : void 0, u) } function w1(e) { var t, n = e.dataKey, r = e.enableEvents, i = e.findNearestDatum, o = e.onBlur, a = e.onFocus, s = e.onPointerMove, l = e.onPointerOut, u = e.onPointerUp, c = e.onPointerDown, f = e.source, d = e.allowedSources, h = null != (t = (0, el.useContext)(wz)) ? t : {}, p = h.showTooltip, v = h.hideTooltip, m = (0, el.useCallback)(function(e) { p(e), s && s(e) }, [p, s]), g = (0, el.useCallback)(function(e) { p(e), a && a(e) }, [p, a]), y = (0, el.useCallback)(function(e) { v(), e && l && l(e) }, [v, l]), b = (0, el.useCallback)(function(e) { v(), e && o && o(e) }, [v, o]), x = (0, el.useCallback)(function(e) { p(e), c && c(e) }, [p, c]); return w0({ dataKey: n, findNearestDatum: i, onBlur: r ? b : void 0, onFocus: r ? g : void 0, onPointerMove: r ? m : void 0, onPointerOut: r ? y : void 0, onPointerUp: r ? u : void 0, onPointerDown: r ? x : void 0, allowedSources: d }), wZ({ source: f, onBlur: !!o && r, onFocus: !!a && r, onPointerMove: !!s && r, onPointerOut: !!l && r, onPointerUp: !!u && r, onPointerDown: !!c && r }) } function w2() { return (w2 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function w4(e) { var t, n, r, i = e.colorAccessor, o = e.data, a = e.dataKey, s = e.onBlur, l = e.onFocus, u = e.onPointerMove, c = e.onPointerOut, f = e.onPointerUp, d = e.onPointerDown, h = e.enableEvents, p = e.renderGlyphs, v = e.size, m = void 0 === v ? 8 : v, g = e.xAccessor, y = e.xScale, b = e.yAccessor, x = e.yScale, w = (0, el.useContext)(wp), _ = w.colorScale, E = w.theme, k = w.horizontal, j = (0, el.useMemo)(function() { return wL(y, g) }, [y, g]), S = (0, el.useMemo)(function() { return wL(x, b) }, [x, b]), O = null != (t = null != (n = null == _ ? void 0 : _(a)) ? n : null == E ? void 0 : null == (r = E.colors) ? void 0 : r[0]) ? t : "#222", C = "GLYPHSERIES_EVENT_SOURCE-" + a, A = w1({ dataKey: a, enableEvents: void 0 === h || h, onBlur: s, onFocus: l, onPointerMove: u, onPointerOut: c, onPointerUp: f, onPointerDown: d, source: C, allowedSources: [wI, C] }), T = (0, el.useMemo)(function() { return o.map(function(e, t) { var n, r = j(e); if (!wm(r)) return null; var o = S(e); return wm(o) ? { key: "" + t, x: r, y: o, color: null != (n = null == i ? void 0 : i(e, t)) ? n : O, size: "function" == typeof m ? m(e) : m, datum: e } : null }).filter(function(e) { return e }) }, [O, i, o, j, S, m]); return el.createElement(el.Fragment, null, p(w2({ glyphs: T, xScale: y, yScale: x, horizontal: k }, A))) } w4.propTypes = { colorAccessor: l5().func, size: l5().oneOfType([l5().number, l5().func]), renderGlyphs: l5().func.isRequired }; var w3 = wD(w4); function w5(e) { var t = e.key, n = e.color, r = e.x, i = e.y, o = e.size, a = e.onBlur, s = e.onFocus, l = e.onPointerMove, u = e.onPointerOut, c = e.onPointerUp; return el.createElement("circle", { className: "visx-circle-glyph", key: t, tabIndex: a || s ? 0 : void 0, fill: n, r: o / 2, cx: r, cy: i, onBlur: a, onFocus: s, onPointerMove: l, onPointerOut: u, onPointerUp: c }) } var w6 = ["PathComponent", "curve", "data", "dataKey", "lineProps", "onBlur", "onFocus", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "enableEvents", "renderLine", "xAccessor", "x0Accessor", "xScale", "yAccessor", "y0Accessor", "yScale"]; function w8() { return (w8 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function w7(e) { var t, n, r, i = e.PathComponent, o = void 0 === i ? "path" : i, a = e.curve, s = e.data, l = e.dataKey, u = e.lineProps, c = e.onBlur, f = e.onFocus, d = e.onPointerMove, h = e.onPointerOut, p = e.onPointerUp, v = e.onPointerDown, m = e.enableEvents, g = e.renderLine, y = e.xAccessor, b = e.x0Accessor, x = e.xScale, w = e.yAccessor, _ = e.y0Accessor, E = e.yScale, k = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, w6), j = (0, el.useContext)(wp), S = j.colorScale, O = j.theme, C = j.horizontal, A = (0, el.useMemo)(function() { return b ? wL(x, b) : void 0 }, [x, b]), T = (0, el.useMemo)(function() { return wL(x, y) }, [x, y]), M = (0, el.useMemo)(function() { return _ ? wL(E, _) : void 0 }, [E, _]), P = (0, el.useMemo)(function() { return wL(E, w) }, [E, w]), N = (0, el.useCallback)(function(e) { return wm(x(y(e))) && wm(E(w(e))) }, [x, y, E, w]), R = null != (t = null != (n = null == S ? void 0 : S(l)) ? n : null == O ? void 0 : null == (r = O.colors) ? void 0 : r[0]) ? t : "#222", D = "AREASERIES_EVENT_SOURCE-" + l, L = w1({ dataKey: l, enableEvents: void 0 === m || m, onBlur: c, onFocus: f, onPointerMove: d, onPointerOut: h, onPointerUp: p, onPointerDown: v, source: D, allowedSources: [wI, D] }), F = (0, el.useMemo)(function() { var e = wF(C ? x : E); return C ? { x0: null != A ? A : e, x1: T, y: P } : { x: T, y0: null != M ? M : e, y1: P } }, [x, E, C, T, P, A, M]), I = Boolean(f || c), z = (0, el.useCallback)(function(e) { var t = e.glyphs; return I ? t.map(function(e) { return el.createElement(el.Fragment, { key: e.key }, w5(w8({}, e, { color: "transparent", onFocus: L.onFocus, onBlur: L.onBlur }))) }) : null }, [I, L.onFocus, L.onBlur]); return el.createElement(el.Fragment, null, el.createElement(wP.Z, w8({}, F, k, { curve: a, defined: N }), function(e) { var t = e.path; return el.createElement(o, w8({ className: "visx-area", stroke: "transparent", fill: R, strokeLinecap: "round" }, k, { d: t(s) || "" }, L)) }), (void 0 === g || g) && el.createElement(wN.Z, w8({ x: T, y: P, defined: N, curve: a }, u), function(e) { var t = e.path; return el.createElement(o, w8({ className: "visx-line", fill: "transparent", stroke: R, strokeWidth: 2, pointerEvents: "none", strokeLinecap: "round" }, u, { d: t(s) || "" })) }), I && el.createElement(w4, { dataKey: l, data: s, xAccessor: y, yAccessor: w, xScale: x, yScale: E, renderGlyphs: z })) } w7.propTypes = { renderLine: l5().bool }; var w9 = wD(w7); function _e() { return (_e = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _t(e) { return el.createElement(w9, _e({}, e, { PathComponent: wM })) } var _n = n(27079), _r = n(99671); function _i(e) { return function() { return e } } function _o(e, t) { if ((i = e.length) > 1) for (var n, r, i, o = 1, a = e[t[0]], s = a.length; o < i; ++o)for (r = a, a = e[t[o]], n = 0; n < s; ++n)a[n][1] += a[n][0] = isNaN(r[n][1]) ? r[n][0] : r[n][1] } function _a(e) { for (var t = e.length, n = Array(t); --t >= 0;)n[t] = t; return n } function _s(e, t) { return e[t] } function _l(e) { let t = []; return t.key = e, t } Array.prototype.slice; var _u = n(74322), _c = n(58543); function _f(e, t) { let n, r; if (void 0 === t) for (let i of e) null != i && (void 0 === n ? i >= i && (n = r = i) : (n > i && (n = i), r < i && (r = i))); else { let o = -1; for (let a of e) null != (a = t(a, ++o, e)) && (void 0 === n ? a >= a && (n = r = a) : (n > a && (n = a), r < a && (r = a))) } return [n, r] } var _d = function(e) { var t; return null == e ? void 0 : null == (t = e.data) ? void 0 : t.stack }, _h = function(e) { return ((0, _r.l8)(e) + (0, _r.xf)(e)) / 2 }, _p = function(e) { return e.stack }; function _v(e) { return el.Children.toArray(e).flatMap(function(e) { return "object" == typeof e && "props" in e && e.props.children ? e.props.children : e }).filter(function(e) { return !!e && "object" == typeof e && "props" in e && null != e.props }) } function _m(e) { var t = e.children, n = e.order, r = e.offset, i = (0, el.useContext)(wp), o = i.horizontal, a = i.registerData, s = i.unregisterData, l = (0, el.useMemo)(function() { return _v(t) }, [t]), u = (0, el.useMemo)(function() { return l.filter(function(e) { return e.props.dataKey }).map(function(e) { return e.props.dataKey }) }, [l]), c = (0, el.useMemo)(function() { var e; return e = {}, l.forEach(function(t) { var n = t.props, r = n.dataKey, i = n.data, a = n.xAccessor, s = n.yAccessor; if (a && s) { var l = o ? [s, a] : [a, s], u = l[0], c = l[1]; i.forEach(function(t) { var n = u(t), i = c(t), o = String(n); e[o] || (e[o] = { stack: n, positiveSum: 0, negativeSum: 0 }), e[o][r] = i, e[o][i >= 0 ? "positiveSum" : "negativeSum"] += i }) } }), Object.values(e) }, [o, l]), f = (0, el.useMemo)(function() { var e = r ? null : c.some(function(e) { return e.negativeSum < 0 }), t = function() { var e = _i([]), t = _a, n = _o, r = _s; function i(i) { var o, a, s, l = Array.from(e.apply(this, arguments), _l), u = l.length, c = -1; for (let f of i) for (a = 0, ++c; a < u; ++a)(l[a][c] = [0, +r(f, l[a].key, c, i)]).data = f; for (a = 0, s = "object" == typeof (o = t(l)) && ("length" in o) ? o : Array.from(o); a < u; ++a)l[s[a]].index = a; return n(l, s), l } return i.keys = function(t) { return arguments.length ? (e = "function" == typeof t ? t : _i(Array.from(t)), i) : e }, i.value = function(e) { return arguments.length ? (r = "function" == typeof e ? e : _i(+e), i) : r }, i.order = function(e) { return arguments.length ? (t = null == e ? _a : "function" == typeof e ? e : _i(Array.from(e)), i) : t }, i.offset = function(e) { return arguments.length ? (n = null == e ? _o : e, i) : n }, i }(); return t.keys(u), n && t.order((0, _c.default)(n)), (r || e) && t.offset((0, _u.default)(r || "diverging")), t(c) }, [c, u, n, r]), d = (0, el.useMemo)(function() { return _f(f.reduce(function(e, t) { return t.forEach(function(t) { var n = t[0], r = t[1]; e.push(n), e.push(r) }), e }, [])) }, [f]); return (0, el.useEffect)(function() { var e, t, n; return a((t = (e = o ? [_h, _d] : [_d, _h])[0], n = e[1], f.map(function(e, r) { var i = { key: e.key, data: e, xAccessor: t, yAccessor: n }; return d.length > 0 && 0 === r && (o ? i.xScale = function(e) { return e.domain(_f(e.domain().concat(d))) } : i.yScale = function(e) { return e.domain(_f(e.domain().concat(d))) }), i }).filter(function(e) { return e }))), function() { return s(u) } }, [u, d, o, f, a, s, l]), { seriesChildren: l, dataKeys: u, stackedData: f } } function _g(e, t, n) { var r, i, o, a, s = e.xScale, l = e.yScale, u = e.point, c = (n ? wK : wG)(e), f = (null == c ? void 0 : c.index) == null ? null : t[c.index]; return c && f && u ? { index: c.index, datum: f, distanceX: n && u.x >= (null != (r = s((0, _r.l8)(c.datum))) ? r : 1 / 0) && u.x <= (null != (i = s((0, _r.xf)(c.datum))) ? i : -1 / 0) ? 0 : c.distanceX, distanceY: n ? c.distanceY : u.y <= (null != (o = l((0, _r.l8)(c.datum))) ? o : -1 / 0) && u.y >= (null != (a = l((0, _r.xf)(c.datum))) ? a : 1 / 0) ? 0 : c.distanceY } : null } var _y = ["data", "dataKey", "xAccessor", "yAccessor", "curve", "PathComponent", "lineProps", "renderLine"]; function _b() { return (_b = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var _x = function(e) { return e }; function _w(e) { var t = e.PathComponent, n = void 0 === t ? "path" : t, r = e.children, i = e.curve, o = e.enableEvents, a = e.offset, s = e.onBlur, l = e.onFocus, u = e.onPointerMove, c = e.onPointerOut, f = e.onPointerUp, d = e.onPointerDown, h = e.order, p = e.renderLine, v = (0, el.useContext)(wp), m = v.colorScale, g = v.dataRegistry, y = v.horizontal, b = v.xScale, x = v.yScale, w = v.theme, _ = _m({ children: r, order: h, offset: a }), E = _.dataKeys, k = _.seriesChildren, j = _.stackedData, S = (0, el.useMemo)(function() { var e = wv(b) / 2, t = wv(x) / 2; return y ? { y: function(e) { var n; return (null != (n = (0, mr.Z)(x(_p(e.data)))) ? n : 0) + t }, x0: function(t) { var n; return (null != (n = (0, mr.Z)(b((0, _r.l8)(t)))) ? n : 0) + e }, x1: function(t) { var n; return (null != (n = (0, mr.Z)(b((0, _r.xf)(t)))) ? n : 0) + e }, defined: function(e) { return wm(x(_p(e.data))) && wm(b((0, _r.xf)(e))) } } : { x: function(t) { var n; return (null != (n = (0, mr.Z)(b(_p(t.data)))) ? n : 0) + e }, y0: function(e) { var n; return (null != (n = (0, mr.Z)(x((0, _r.l8)(e)))) ? n : 0) + t }, y1: function(e) { var n; return (null != (n = (0, mr.Z)(x((0, _r.xf)(e)))) ? n : 0) + t }, defined: function(e) { return wm(b(_p(e.data))) && wm(x((0, _r.xf)(e))) } } }, [b, x, y]), O = (0, el.useMemo)(function() { return j.map(function(e, t) { var n, r, i, o = k.find(function(t) { return t.props.dataKey === e.key }), a = (null == o ? void 0 : o.props) || {}, s = (a.data, a.dataKey, a.xAccessor, a.yAccessor, a.curve, a.PathComponent, a.lineProps), l = (a.renderLine, function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(a, _y)), u = _b({ fill: null != (n = null != (r = null == m ? void 0 : m(e.key)) ? r : null == w ? void 0 : null == (i = w.colors) ? void 0 : i[0]) ? n : "#222" }, l); return { key: t + "-" + e.key, accessors: S, data: e, areaProps: u, lineProps: s } }) }, [j, S, m, k, w]), C = (0, el.useCallback)(function(e) { var t, n, r = null == (t = k.find(function(t) { return t.props.dataKey === e.dataKey })) ? void 0 : null == (n = t.props) ? void 0 : n.data; return r ? _g(e, r, y) : null }, [k, y]), A = "AREASTACK_EVENT_SOURCE-" + E.join("-"), T = w1({ dataKey: E, enableEvents: void 0 === o || o, findNearestDatum: C, onBlur: s, onFocus: l, onPointerMove: u, onPointerOut: c, onPointerUp: f, onPointerDown: d, source: A, allowedSources: [wI, A] }), M = Boolean(l || s), P = (0, el.useCallback)(function(e) { var t = e.glyphs; return M ? t.map(function(e) { return el.createElement(el.Fragment, { key: e.key }, w5(_b({}, e, { color: "transparent", onFocus: T.onFocus, onBlur: T.onBlur }))) }) : null }, [M, T.onFocus, T.onBlur]); return !E.some(function(e) { return null == g.get(e) }) && b && x && m ? el.createElement("g", { className: "visx-area-stack" }, O.map(function(e) { return el.createElement(wP.Z, _b({ key: e.key, curve: i }, e.accessors), function(t) { var r = t.path; return el.createElement(n, _b({ className: "visx-area", stroke: "transparent", d: r(e.data) || "" }, e.areaProps, T)) }) }), (void 0 === p || p) && O.map(function(e) { return el.createElement(_n.Z, _b({ key: "line-" + e.key, x: e.accessors.x || e.accessors.x1, y: e.accessors.y || e.accessors.y1, defined: e.accessors.defined, curve: i }, e.lineProps), function(t) { var r = t.path; return el.createElement(n, _b({ className: "visx-line", fill: "transparent", stroke: e.areaProps.fill, strokeWidth: 2, pointerEvents: "none" }, e.lineProps, { d: r(e.data) || "" })) }) }), M && O.map(function(e, t) { var n = O[O.length - t - 1]; return el.createElement(w4, { key: "glyphs-" + n.key, dataKey: n.key, data: n.data, xAccessor: n.accessors.x || n.accessors.x1, yAccessor: n.accessors.y || n.accessors.y1, xScale: _x, yScale: _x, renderGlyphs: P }) })) : null } function __() { return (__ = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _E(e) { return el.createElement(_w, __({}, e, { PathComponent: wM })) } _w.propTypes = { children: l5().oneOfType([l5().element, l5().arrayOf(l5().element)]).isRequired, renderLine: l5().bool }; var _k = n(93125), _j = ["AxisComponent"]; function _S() { return (_S = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _O(e) { var t, n, r, i, o, a, s, l = e.AxisComponent, u = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, _j), c = (0, el.useContext)(wp), f = c.theme, d = c.xScale, h = c.yScale, p = c.margin, v = c.width, m = c.height, g = u.orientation, y = (0, el.useMemo)(function() { var e, t, n, r; return "left" === g || "right" === g ? null == f ? void 0 : null == (e = f.axisStyles) ? void 0 : null == (t = e.y) ? void 0 : t[g] : null == f ? void 0 : null == (n = f.axisStyles) ? void 0 : null == (r = n.x) ? void 0 : r[g] }, [f, g]), b = u.tickLabelProps, x = (0, el.useMemo)(function() { return b || y ? function(e, t, n) { return _S({}, null == y ? void 0 : y.tickLabel, { width: "left" === g || "right" === g ? null == p ? void 0 : p[g] : void 0 }, null == b ? void 0 : b(e, t, n)) } : void 0 }, [b, y, g, p]), w = "bottom" === g ? (null != m ? m : 0) - (null != (t = null == p ? void 0 : p.bottom) ? t : 0) : "top" === g && null != (n = null == p ? void 0 : p.top) ? n : 0, _ = "left" === g ? null != (r = null == p ? void 0 : p.left) ? r : 0 : "right" === g ? (null != v ? v : 0) - (null != (i = null == p ? void 0 : p.right) ? i : 0) : 0, E = "left" === g || "right" === g ? h : d; return E ? el.createElement(l, _S({ top: w, left: _, labelProps: null == y ? void 0 : y.axisLabel, stroke: null == y ? void 0 : null == (o = y.axisLine) ? void 0 : o.stroke, strokeWidth: null == y ? void 0 : null == (a = y.axisLine) ? void 0 : a.strokeWidth, tickLength: null == y ? void 0 : y.tickLength, tickStroke: null == y ? void 0 : null == (s = y.tickLine) ? void 0 : s.stroke }, u, { tickLabelProps: x, scale: E })) : null } function _C() { return (_C = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _A(e) { return el.createElement(_O, _C({ AxisComponent: _k.Z }, e)) } var _T = n(26587); function _M() { return (_M = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _P() { return (_P = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _N(e) { var t = e.children, n = e.padding, r = void 0 === n ? .1 : n, i = e.sortBars, o = e.BarsComponent, a = e.onBlur, s = e.onFocus, l = e.onPointerMove, u = e.onPointerOut, c = e.onPointerUp, f = e.onPointerDown, d = e.enableEvents, h = (0, el.useContext)(wp), p = h.colorScale, v = h.dataRegistry, m = h.horizontal, g = h.registerData, y = h.unregisterData, b = h.xScale, x = h.yScale, w = (0, el.useMemo)(function() { return _v(t) }, [t]), _ = (0, el.useMemo)(function() { return w.map(function(e) { var t; return null != (t = e.props.dataKey) ? t : "" }).filter(function(e) { return e }) }, [w]); (0, el.useEffect)(function() { return g(w.map(function(e) { var t = e.props; return { key: t.dataKey, data: t.data, xAccessor: t.xAccessor, yAccessor: t.yAccessor } })), function() { return y(_) } }, [g, y, w, _]); var E = (0, el.useMemo)(function() { return (0, _T.Z)({ domain: i ? [].concat(_).sort(i) : _, range: [0, wv(m ? x : b)], padding: r }) }, [i, _, b, x, m, r]), k = (0, el.useCallback)(function(e) { return function(e, t, n) { var r = e.dataKey, i = e.xAccessor, o = e.yAccessor, a = e.xScale, s = e.yScale, l = e.point, u = (n ? wK : wG)(e); if (!u || !l) return null; var c = t(r), f = t.step(); if (n) { var d = s(o(u.datum)), h = (null != d ? d : 1 / 0) + (null != c ? c : 1 / 0), p = h + f; return _M({}, u, { distanceX: 0, distanceY: l.y >= h && l.y <= p ? 0 : Math.abs(l.y - (h + p) / 2) }) } var v = a(i(u.datum)), m = (null != v ? v : 1 / 0) + (null != c ? c : 1 / 0), g = m + f; return _M({}, u, { distanceY: 0, distanceX: l.x >= m && l.x <= g ? 0 : Math.abs(l.x - (m + g) / 2) }) }(e, E, m) }, [E, m]), j = "BARGROUP_EVENT_SOURCE-" + _.join("-") + "}", S = w1({ dataKey: _, enableEvents: void 0 === d || d, findNearestDatum: k, onBlur: a, onFocus: s, onPointerMove: l, onPointerOut: u, onPointerUp: c, onPointerDown: f, source: j, allowedSources: [wI, j] }), O = (0, el.useMemo)(function() { return b ? wF(b) : 0 }, [b]), C = (0, el.useMemo)(function() { return x ? wF(x) : 0 }, [x]), A = _.map(function(e) { return v.get(e) }); if (A.some(function(e) { return null == e }) || !b || !x || !p) return null; var T = wv(E), M = A.map(function(e) { var t, n = e.xAccessor, r = e.yAccessor, i = e.data, o = e.key, a = function(e) { var t, i; return m ? (null != (t = b(n(e))) ? t : NaN) - O : (null != (i = x(r(e))) ? i : NaN) - C }, s = m ? function(e) { var t; return null != (t = x(r(e))) ? t : NaN } : function(e) { var t; return null != (t = b(n(e))) ? t : NaN }, l = null != (t = E(o)) ? t : 0, u = m ? function(e) { return O + Math.min(0, a(e)) } : function(e) { return s(e) + l }, c = m ? function(e) { return s(e) + l } : function(e) { return C + Math.min(0, a(e)) }, f = m ? function(e) { return Math.abs(a(e)) } : function() { return T }, d = m ? function() { return T } : function(e) { return Math.abs(a(e)) }, h = w.find(function(e) { return e.props.dataKey === o }), v = (null == h ? void 0 : h.props) || {}, g = v.colorAccessor; return { key: o, radius: v.radius, radiusAll: v.radiusAll, radiusBottom: v.radiusBottom, radiusLeft: v.radiusLeft, radiusRight: v.radiusRight, radiusTop: v.radiusTop, bars: i.map(function(e, t) { var n, r = u(e); if (!wm(r)) return null; var i = c(e); if (!wm(i)) return null; var a = f(e); if (!wm(a)) return null; var s = d(e); return wm(s) ? { key: o + "-" + t, x: r, y: i, width: a, height: s, fill: null != (n = null == g ? void 0 : g(e, t)) ? n : p(o) } : null }).filter(function(e) { return e }) } }); return el.createElement("g", { className: "visx-bar-group" }, M.map(function(e) { return e && el.createElement(o, _P({ horizontal: m, xScale: b, yScale: x }, e, S, { key: e.key })) })) } _N.propTypes = { children: l5().node.isRequired, padding: l5().number, sortBars: l5().func }; var _R = n(10897), _D = function(e) { return Boolean(null == e ? void 0 : e.includes("url(")) }, _L = function(e) { return _D(e) ? "rgba(0,0,0,0.1)" : e }, _F = ["bars", "xScale", "yScale", "horizontal", "radius", "radiusAll", "radiusTop", "radiusRight", "radiusBottom", "radiusLeft"], _I = ["bars", "xScale", "yScale", "horizontal", "radius", "radiusAll", "radiusTop", "radiusRight", "radiusBottom", "radiusLeft"]; function _z() { return (_z = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _V(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i } function _B(e) { return { x: e.x, y: e.y, width: e.width, height: e.height, fill: _L(e.fill), opacity: 1 } } function _Z(e) { var t = e.bars, n = (e.xScale, e.yScale, e.horizontal, e.radius), r = e.radiusAll, i = e.radiusTop, o = e.radiusRight, a = e.radiusBottom, s = e.radiusLeft, l = _V(e, _F); return el.createElement(el.Fragment, null, t.map(function(e) { var t = e.key, u = e.fill, c = e.x, f = e.y, d = e.width, h = e.height; return el.createElement(_R.Z, { key: t, x: c, y: f, width: d, height: h, radius: n, all: r, top: i, right: o, bottom: a, left: s }, function(e) { var t = e.path; return el.createElement(wM, _z({ className: "visx-bar visx-bar-rounded", d: t, fill: u }, l)) }) })) } function _U(e) { var t, n, r, i = e.bars, o = e.xScale, a = e.yScale, s = e.horizontal, l = (e.radius, e.radiusAll, e.radiusTop, e.radiusRight, e.radiusBottom, e.radiusLeft, _V(e, _I)), u = xQ(i, _z({}, (n = (t = { horizontal: s, scale: s ? o : a }).scale, r = !!t.horizontal, (0, el.useMemo)(function() { var e = wF(n); function t(t) { var n = t.x, i = t.y, o = t.width, a = t.height; return { x: r ? null != e ? e : 0 : n, y: r ? i : null != e ? e : 0, width: r ? 0 : o, height: r ? a : 0, fill: _L(t.fill), opacity: 0 } } return { unique: !0, from: t, leave: t, enter: _B, update: _B, keys: function(e) { return e.key } } }, [n, r])))), c = Boolean(l.onFocus || l.onBlur); return el.createElement(el.Fragment, null, u(function(e, t, n) { var r = e.x, i = e.y, o = e.width, a = e.height, s = e.fill, u = e.opacity, f = n.key; return null == t || null == f ? null : el.createElement(ws.rect, _z({ key: f, tabIndex: c ? 0 : void 0, className: "visx-bar", x: r, y: i, width: o, height: a, fill: _D(t.fill) ? t.fill : s, opacity: u }, l)) })) } function _H(e) { return null == e.radius ? el.createElement(_U, e) : el.createElement(_Z, _z({}, e, { radius: e.radius })) } function _W() { return (_W = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _q(e) { return el.createElement(_N, _W({}, e, { BarsComponent: _H })) } var _$ = ["BarsComponent", "barPadding", "colorAccessor", "data", "dataKey", "onBlur", "onFocus", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "enableEvents", "xAccessor", "xScale", "yAccessor", "yScale"]; function _Y() { return (_Y = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _G(e) { var t, n, r, i = e.BarsComponent, o = e.barPadding, a = e.colorAccessor, s = e.data, l = e.dataKey, u = e.onBlur, c = e.onFocus, f = e.onPointerMove, d = e.onPointerOut, h = e.onPointerUp, p = e.onPointerDown, v = e.enableEvents, m = e.xAccessor, g = e.xScale, y = e.yAccessor, b = e.yScale, x = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, _$), w = (0, el.useContext)(wp), _ = w.colorScale, E = w.horizontal, k = w.theme, j = w.innerWidth, S = w.innerHeight, O = (0, el.useMemo)(function() { return wL(g, m) }, [g, m]), C = (0, el.useMemo)(function() { return wL(b, y) }, [b, y]), A = wv(E ? b : g) || (E ? void 0 === S ? 0 : S : void 0 === j ? 0 : j) / s.length * (1 - Math.min(1, Math.max(0, void 0 === o ? .1 : o))), T = (0, el.useMemo)(function() { return g ? wF(g) : 0 }, [g]), M = (0, el.useMemo)(function() { return b ? wF(b) : 0 }, [b]), P = null != (t = null != (n = null == _ ? void 0 : _(l)) ? n : null == k ? void 0 : null == (r = k.colors) ? void 0 : r[0]) ? t : "#222", N = (0, el.useMemo)(function() { var e = E ? 0 : -A / 2, t = E ? -A / 2 : 0; return s.map(function(n, r) { var i, o = O(n) + e; if (!wm(o)) return null; var s = C(n) + t; if (!wm(s)) return null; var l = E ? o - T : s - M; return wm(l) ? { key: "" + r, x: E ? T + Math.min(0, l) : o, y: E ? s : M + Math.min(0, l), width: E ? Math.abs(l) : A, height: E ? A : Math.abs(l), fill: null != (i = null == a ? void 0 : a(n, r)) ? i : P } : null }).filter(function(e) { return e }) }, [A, P, a, s, O, C, E, T, M]), R = "BARSERIES_EVENT_SOURCE-" + l, D = w1({ dataKey: l, enableEvents: void 0 === v || v, onBlur: u, onFocus: c, onPointerMove: f, onPointerOut: d, onPointerUp: h, onPointerDown: p, source: R, allowedSources: [wI, R] }); return el.createElement("g", { className: "vx-bar-series" }, el.createElement(i, _Y({ bars: N, horizontal: E, xScale: g, yScale: b }, D, x))) } _G.propTypes = { barPadding: l5().number, colorAccessor: l5().func }; var _K = wD(_G), _X = ["colorAccessor"]; function _Q() { return (_Q = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _J(e) { var t = e.colorAccessor, n = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, _X); return el.createElement(_K, _Q({}, n, { colorAccessor: t, BarsComponent: _H })) } var _0 = n(15590); function _1() { return (_1 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _2(e) { var t, n, r, i, o = e.children, a = e.order, s = e.offset, l = e.BarsComponent, u = e.onBlur, c = e.onFocus, f = e.onPointerMove, d = e.onPointerOut, h = e.onPointerUp, p = e.onPointerDown, v = e.enableEvents, m = (0, el.useContext)(wp), g = m.colorScale, y = m.dataRegistry, b = m.horizontal, x = m.xScale, w = m.yScale, _ = _m({ children: o, order: a, offset: s }), E = _.seriesChildren, k = _.dataKeys, j = _.stackedData, S = (0, el.useCallback)(function(e) { var t, n, r = null == (t = E.find(function(t) { return t.props.dataKey === e.dataKey })) ? void 0 : null == (n = t.props) ? void 0 : n.data; return r ? _g(e, r, b) : null }, [E, b]), O = "BARSTACK_EVENT_SOURCE-" + k.join("-"), C = w1({ dataKey: k, enableEvents: void 0 === v || v, findNearestDatum: S, onBlur: u, onFocus: c, onPointerMove: f, onPointerOut: d, onPointerUp: h, onPointerDown: p, source: O, allowedSources: [wI, O] }); if (k.map(function(e) { return y.get(e) }).some(function(e) { return null == e }) || !x || !w || !g) return null; var A = (0, _0.Z)(b ? w : x), T = A / 2; b ? (t = function(e) { var t, n; return (null != (t = x((0, _r.xf)(e))) ? t : NaN) - (null != (n = x((0, _r.l8)(e))) ? n : NaN) }, n = function() { return A }, r = function(e) { return x((0, _r.l8)(e)) }, i = function(e) { var t; return "bandwidth" in w ? w(_p(e.data)) : Math.max((null != (t = w(_p(e.data))) ? t : NaN) - T) }) : (t = function() { return A }, n = function(e) { var t, n; return (null != (t = w((0, _r.l8)(e))) ? t : NaN) - (null != (n = w((0, _r.xf)(e))) ? n : NaN) }, r = function(e) { var t; return "bandwidth" in x ? x(_p(e.data)) : Math.max((null != (t = x(_p(e.data))) ? t : NaN) - T) }, i = function(e) { return w((0, _r.xf)(e)) }); var M = j.map(function(e, o) { if (!y.get(e.key)) return null; var a = E.find(function(t) { return t.props.dataKey === e.key }), s = (null == a ? void 0 : a.props) || {}, l = s.colorAccessor, u = s.radius, c = s.radiusAll, f = s.radiusBottom, d = s.radiusLeft, h = s.radiusRight, p = s.radiusTop; return { key: e.key, radius: u, radiusAll: c, radiusBottom: f, radiusLeft: d, radiusRight: h, radiusTop: p, bars: e.map(function(s, u) { var c, f = r(s); if (!wm(f)) return null; var d = i(s); if (!wm(d)) return null; var h = t(s); if (!wm(h)) return null; var p = n(s); if (!wm(p)) return null; var v = l ? null == a ? void 0 : null == (c = a.props) ? void 0 : c.data[u] : null; return { key: o + "-" + e.key + "-" + u, x: f, y: d, width: h, height: p, fill: v && l ? l(v, u) : g(e.key) } }).filter(function(e) { return e }) } }).filter(function(e) { return e }); return el.createElement("g", { className: "visx-bar-stack" }, M.map(function(e) { return e && el.createElement(l, _1({ horizontal: b, xScale: x, yScale: w }, e, C, { key: e.key })) })) } function _4() { return (_4 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _3(e) { return el.createElement(_2, _4({}, e, { BarsComponent: _H })) } function _5() { return (_5 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _6(e) { var t, n, r, i, o, a, s = e.renderGlyph, l = e.glyphs, u = e.horizontal, c = e.xScale, f = e.yScale, d = e.onBlur, h = e.onFocus, p = e.onPointerMove, v = e.onPointerOut, m = e.onPointerUp, g = xQ(l, _5({}, (n = (t = { xScale: c, yScale: f, horizontal: u }).xScale, r = t.yScale, i = t.horizontal, o = wF(n), a = wF(r), (0, el.useMemo)(function() { return { unique: !0, from: function(e) { var t = e.x, n = e.y; return { x: i ? o : t, y: i ? n : a, color: _L(e.color), opacity: 0 } }, leave: function(e) { var t = e.x, n = e.y; return { x: i ? o : t, y: i ? n : a, color: _L(e.color), opacity: 0 } }, enter: function(e) { return { x: e.x, y: e.y, color: _L(e.color), opacity: 1 } }, update: function(e) { return { x: e.x, y: e.y, color: _L(e.color), opacity: 1 } }, keys: function(e) { return e.key } } }, [o, a, i])))); return el.createElement(el.Fragment, null, g(function(e, t, n) { var r = e.x, i = e.y, o = e.color, a = e.opacity, l = n.key; return el.createElement(ws.g, { key: l, transform: x3([r, i], function(e, t) { return "translate(" + e + ", " + t + ")" }), color: o, opacity: a }, s({ key: l, datum: t.datum, index: t.index, x: 0, y: 0, size: t.size, color: _D(t.color) ? t.color : "currentColor", onBlur: d, onFocus: h, onPointerMove: p, onPointerOut: v, onPointerUp: m })) })) } _2.propTypes = { children: l5().oneOfType([l5().element, l5().arrayOf(l5().element)]).isRequired }; var _8 = ["renderGlyph"]; function _7() { return (_7 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function _9(e) { var t = e.renderGlyph, n = void 0 === t ? w5 : t, r = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, _8), i = (0, el.useCallback)(function(e) { return el.createElement(_6, _7({}, e, { renderGlyph: n })) }, [n]); return el.createElement(w3, _7({}, r, { renderGlyphs: i })) } var Ee = n(93353), Et = n(63962), En = ["rows", "columns", "GridRowsComponent", "GridColumnsComponent"]; function Er() { return (Er = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function Ei(e) { var t = e.rows, n = e.columns, r = e.GridRowsComponent, i = e.GridColumnsComponent, o = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, En), a = (0, el.useContext)(wp), s = a.theme, l = a.xScale, u = a.yScale, c = a.margin, f = a.innerWidth, d = a.innerHeight, h = null == s ? void 0 : s.gridStyles; return el.createElement(el.Fragment, null, (void 0 === t || t) && u && null != f && el.createElement(r, Er({ left: null == c ? void 0 : c.left, lineStyle: h, width: f, scale: u }, o)), (void 0 === n || n) && l && null != d && el.createElement(i, Er({ top: null == c ? void 0 : c.top, lineStyle: h, height: d, scale: l }, o))) } Ei.propTypes = { rows: l5().bool, columns: l5().bool }; var Eo = ["animationTrajectory"]; function Ea() { return (Ea = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function Es(e) { var t = e.animationTrajectory, n = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, Eo), r = (0, el.useMemo)(function() { return function(e) { return el.createElement(Ee.Z, Ea({}, e, { animationTrajectory: t })) } }, [t]), i = (0, el.useMemo)(function() { return function(e) { return el.createElement(Et.Z, Ea({}, e, { animationTrajectory: t })) } }, [t]); return el.createElement(Ei, Ea({ GridRowsComponent: r, GridColumnsComponent: i }, n)) } var El = ["colorAccessor", "curve", "data", "dataKey", "onBlur", "onFocus", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "enableEvents", "xAccessor", "xScale", "yAccessor", "yScale", "PathComponent"]; function Eu() { return (Eu = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function Ec(e) { var t, n, r, i = e.colorAccessor, o = e.curve, a = e.data, s = e.dataKey, l = e.onBlur, u = e.onFocus, c = e.onPointerMove, f = e.onPointerOut, d = e.onPointerUp, h = e.onPointerDown, p = e.enableEvents, v = e.xAccessor, m = e.xScale, g = e.yAccessor, y = e.yScale, b = e.PathComponent, x = void 0 === b ? "path" : b, w = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, El), _ = (0, el.useContext)(wp), E = _.colorScale, k = _.theme, j = (0, el.useMemo)(function() { return wL(m, v) }, [m, v]), S = (0, el.useMemo)(function() { return wL(y, g) }, [y, g]), O = (0, el.useCallback)(function(e) { return wm(m(v(e))) && wm(y(g(e))) }, [m, v, y, g]), C = null != (t = null != (n = null == E ? void 0 : E(s)) ? n : null == k ? void 0 : null == (r = k.colors) ? void 0 : r[0]) ? t : "#222", A = "LINESERIES_EVENT_SOURCE-" + s, T = w1({ dataKey: s, enableEvents: void 0 === p || p, onBlur: l, onFocus: u, onPointerMove: c, onPointerOut: f, onPointerUp: d, onPointerDown: h, source: A, allowedSources: [wI, A] }), M = Boolean(u || l), P = (0, el.useCallback)(function(e) { var t = e.glyphs; return M ? t.map(function(e) { return el.createElement(el.Fragment, { key: e.key }, w5(Eu({}, e, { color: "transparent", onFocus: T.onFocus, onBlur: T.onBlur }))) }) : null }, [M, T.onFocus, T.onBlur]); return el.createElement(el.Fragment, null, el.createElement(wN.Z, Eu({ x: j, y: S, defined: O, curve: o }, w), function(e) { var t, n = e.path; return el.createElement(x, Eu({ stroke: null != (t = null == i ? void 0 : i(s)) ? t : C, strokeWidth: 2, fill: "transparent", strokeLinecap: "round" }, w, { d: n(a) || "" }, T)) }), M && el.createElement(w4, { dataKey: s, data: a, xAccessor: v, yAccessor: g, xScale: m, yScale: y, renderGlyphs: P })) } Ec.propTypes = { colorAccessor: l5().func }; var Ef = wD(Ec); function Ed() { return (Ed = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function Eh(e) { return el.createElement(Ef, Ed({}, e, { PathComponent: wM })) } var Ep = n(36386), Ev = n.n(Ep); let Em = ["x", "y", "top", "bottom", "left", "right", "width", "height"], Eg = (e, t) => Em.every(n => e[n] === t[n]); function Ey(e, t) { return (Ey = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) { return e.__proto__ = t, e })(e, t) } var Eb = function(e) { function t() { return e.apply(this, arguments) || this } (n = t).prototype = Object.create(e.prototype), n.prototype.constructor = n, Ey(n, e); var n, r = t.prototype; return r.componentWillUnmount = function() { this.node && document.body && (document.body.removeChild(this.node), delete this.node) }, r.render = function() { return (this.node || "undefined" == typeof document || (this.node = document.createElement("div"), null != this.props.zIndex && (this.node.style.zIndex = "" + this.props.zIndex), document.body.append(this.node)), this.node) ? tI.createPortal(this.props.children, this.node) : null }, t }(el.PureComponent); Eb.propTypes = { zIndex: l5().oneOfType([l5().number, l5().string]) }; var Ex = ["detectBounds", "zIndex"], Ew = ["left", "top", "detectBounds", "zIndex"]; function E_() { return (E_ = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function EE(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i } var Ek = ["debounce", "detectBounds", "horizontalCrosshairStyle", "glyphStyle", "renderTooltip", "renderGlyph", "resizeObserverPolyfill", "scroll", "showDatumGlyph", "showHorizontalCrosshair", "showSeriesGlyphs", "showVerticalCrosshair", "snapTooltipToDatumX", "snapTooltipToDatumY", "verticalCrosshairStyle", "zIndex"], Ej = ["x", "y"]; function ES(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i } function EO() { return (EO = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var EC = { position: "absolute", pointerEvents: "none", fontSize: 0, lineHeight: 0 }, EA = { position: "absolute", left: 0, top: 0, opacity: 0, width: 0, height: 0, pointerEvents: "none" }; function ET(e) { var t = ((0, el.useContext)(wp) || {}).theme; return el.createElement("circle", EO({ cx: e.x, cy: e.y, r: e.size, fill: e.color, stroke: null == t ? void 0 : t.backgroundColor, strokeWidth: 1.5, paintOrder: "fill" }, e.glyphStyle)) } function EM(e) { return el.createElement(ET, e) } function EP(e) { var t = e.debounce, n = e.detectBounds, r = e.horizontalCrosshairStyle, i = e.glyphStyle, o = e.renderTooltip, a = e.renderGlyph, s = void 0 === a ? EM : a, l = e.resizeObserverPolyfill, u = e.scroll, c = e.showDatumGlyph, f = e.showHorizontalCrosshair, d = e.showSeriesGlyphs, h = void 0 !== d && d, p = e.showVerticalCrosshair, v = e.snapTooltipToDatumX, m = void 0 !== v && v, g = e.snapTooltipToDatumY, y = void 0 !== g && g, b = e.verticalCrosshairStyle, x = e.zIndex, w = ES(e, Ek), _ = (0, el.useContext)(wp) || {}, E = _.colorScale, k = _.theme, j = _.innerHeight, S = _.innerWidth, O = _.margin, C = _.xScale, A = _.yScale, T = _.dataRegistry, M = (0, el.useContext)(wz), P = (er = void 0 === (en = (et = { debounce: t, detectBounds: n, polyfill: l, scroll: void 0 === u || u, zIndex: x }).detectBounds) || en, ei = et.zIndex, ea = (eo = function(e) { var t; let { debounce: n, scroll: r, polyfill: i, offsetSize: o } = void 0 === e ? { debounce: 0, scroll: !1, offsetSize: !1 } : e, a = i || ("undefined" == typeof window ? class { } : window.ResizeObserver); if (!a) throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills"); let [s, l] = (0, el.useState)({ left: 0, top: 0, width: 0, height: 0, bottom: 0, right: 0, x: 0, y: 0 }), u = (0, el.useRef)({ element: null, scrollContainers: null, resizeObserver: null, lastBounds: s }), c = n ? "number" == typeof n ? n : n.scroll : null, f = n ? "number" == typeof n ? n : n.resize : null, d = (0, el.useRef)(!1); (0, el.useEffect)(() => (d.current = !0, () => void (d.current = !1))); let [h, p, v] = (0, el.useMemo)(() => { let e = () => { if (!u.current.element) return; let { left: e, top: t, width: n, height: r, bottom: i, right: a, x: s, y: c } = u.current.element.getBoundingClientRect(), f = { left: e, top: t, width: n, height: r, bottom: i, right: a, x: s, y: c }; u.current.element instanceof HTMLElement && o && (f.height = u.current.element.offsetHeight, f.width = u.current.element.offsetWidth), Object.freeze(f), d.current && !Eg(u.current.lastBounds, f) && l(u.current.lastBounds = f) }; return [e, f ? Ev()(e, f) : e, c ? Ev()(e, c) : e] }, [l, o, c, f]); function m() { u.current.scrollContainers && (u.current.scrollContainers.forEach(e => e.removeEventListener("scroll", v, !0)), u.current.scrollContainers = null), u.current.resizeObserver && (u.current.resizeObserver.disconnect(), u.current.resizeObserver = null) } function g() { u.current.element && (u.current.resizeObserver = new a(v), u.current.resizeObserver.observe(u.current.element), r && u.current.scrollContainers && u.current.scrollContainers.forEach(e => e.addEventListener("scroll", v, { capture: !0, passive: !0 }))) } let y = e => { e && e !== u.current.element && (m(), u.current.element = e, u.current.scrollContainers = function e(t) { let n = []; if (!t || t === document.body) return n; let { overflow: r, overflowX: i, overflowY: o } = window.getComputedStyle(t); return [r, i, o].some(e => "auto" === e || "scroll" === e) && n.push(t), [...n, ...e(t.parentElement)] }(e), g()) }; return t = Boolean(r), (0, el.useEffect)(() => { if (t) return window.addEventListener("scroll", v, { capture: !0, passive: !0 }), () => void window.removeEventListener("scroll", v, !0) }, [v, t]), (0, el.useEffect)(() => (window.addEventListener("resize", p), () => void window.removeEventListener("resize", p)), [p]), (0, el.useEffect)(() => { m(), g() }, [r, v, p]), (0, el.useEffect)(() => m, []), [y, s, h] }(EE(et, Ex)))[0], es = eo[1], eu = eo[2], ec = (0, el.useMemo)(function() { return function(e) { var t = e.left, n = e.top, r = e.detectBounds, i = e.zIndex, o = EE(e, Ew), a = (null == r ? er : r) ? mT : mw, s = (void 0 === t ? 0 : t) + (es.left || 0) + window.scrollX, l = (void 0 === n ? 0 : n) + (es.top || 0) + window.scrollY; return el.createElement(Eb, { zIndex: null == i ? ei : i }, el.createElement(a, E_({ left: s, top: l }, o))) } }, [er, ei, es.left, es.top]), { containerRef: ea, containerBounds: es, forceRefreshBounds: eu, TooltipInPortal: ec }), N = P.containerRef, R = P.TooltipInPortal, D = P.forceRefreshBounds, L = (0, el.useCallback)(function(e) { var t; N(null != (t = null == e ? void 0 : e.parentElement) ? t : null) }, [N]), F = null != M && M.tooltipOpen ? o(EO({}, M, { colorScale: E })) : null, I = (null == M ? void 0 : M.tooltipOpen) && null != F, z = (0, el.useRef)(!1); (0, el.useEffect)(function() { I && !z.current && D(), z.current = I }, [I, D]); var V = null == M ? void 0 : M.tooltipLeft, B = null == M ? void 0 : M.tooltipTop, Z = C ? wv(C) : 0, U = A ? wv(A) : 0, H = (0, el.useCallback)(function(e, t) { var n, r, i = null == T ? void 0 : T.get(e), o = null == i ? void 0 : i.xAccessor, a = null == i ? void 0 : i.yAccessor; return { left: C && o ? null != (n = Number(C(o(t))) + Z / 2) ? n : 0 : void 0, top: A && a ? null != (r = Number(A(a(t))) + U / 2) ? r : 0 : void 0 } }, [T, Z, U, C, A]), W = null == M ? void 0 : null == (ef = M.tooltipData) ? void 0 : ef.nearestDatum, q = null != (ed = null == W ? void 0 : W.key) ? ed : ""; if (I && W && (m || y)) { var $ = H(q, W.datum), Y = $.left, G = $.top; V = m && wm(Y) ? Y : V, B = y && wm(G) ? G : B } var K = []; if (I && (void 0 !== c && c || h)) { var X = Number(null != (ek = null == i ? void 0 : i.radius) ? ek : 4); if (h) Object.values(null != (ej = null == M ? void 0 : null == (eS = M.tooltipData) ? void 0 : eS.datumByKey) ? ej : {}).forEach(function(e) { var t, n, r, o = e.key, a = e.datum, s = e.index, l = null != (t = null != (n = null == E ? void 0 : E(o)) ? n : null == k ? void 0 : null == (r = k.htmlLabel) ? void 0 : r.color) ? t : "#222", u = H(o, a), c = u.left, f = u.top; wm(c) && wm(f) && K.push({ key: o, color: l, datum: a, index: s, size: X, x: c, y: f, glyphStyle: i, isNearestDatum: !!W && W.key === o }) }); else if (W) { var Q = H(q, W.datum), J = Q.left, ee = Q.top; if (wm(J) && wm(ee)) { var et, en, er, ei, eo, ea, es, eu, ec, ef, ed, eh, ep, ev, em, eg, ey, eb, ex, ew, e_, eE, ek, ej, eS, eO, eC, eA, eT, eM, eP, eN = null != (eO = null != (eC = null != (eA = null != (eT = q && (null == E ? void 0 : E(q))) ? eT : null) ? eA : null == k ? void 0 : null == (eM = k.gridStyles) ? void 0 : eM.stroke) ? eC : null == k ? void 0 : null == (eP = k.htmlLabel) ? void 0 : eP.color) ? eO : "#222"; K.push({ key: q, color: eN, datum: W.datum, index: W.index, size: X, x: J, y: ee, glyphStyle: i, isNearestDatum: !0 }) } } } return el.createElement(el.Fragment, null, el.createElement("svg", { ref: L, style: EA }), I && el.createElement(el.Fragment, null, void 0 !== p && p && el.createElement(R, { className: "visx-crosshair visx-crosshair-vertical", left: V, top: null == O ? void 0 : O.top, offsetLeft: 0, offsetTop: 0, detectBounds: !1, style: EC }, el.createElement("svg", { width: "1", height: j, overflow: "visible" }, el.createElement("line", EO({ x1: 0, x2: 0, y1: 0, y2: j, strokeWidth: 1.5, stroke: null != (eh = null != (ep = null == k ? void 0 : null == (ev = k.gridStyles) ? void 0 : ev.stroke) ? ep : null == k ? void 0 : null == (em = k.htmlLabel) ? void 0 : em.color) ? eh : "#222" }, b)))), void 0 !== f && f && el.createElement(R, { className: "visx-crosshair visx-crosshair-horizontal", left: null == O ? void 0 : O.left, top: B, offsetLeft: 0, offsetTop: 0, detectBounds: !1, style: EC }, el.createElement("svg", { width: S, height: "1", overflow: "visible" }, el.createElement("line", EO({ x1: 0, x2: S, y1: 0, y2: 0, strokeWidth: 1.5, stroke: null != (eg = null != (ey = null == k ? void 0 : null == (eb = k.gridStyles) ? void 0 : eb.stroke) ? ey : null == k ? void 0 : null == (ex = k.htmlLabel) ? void 0 : ex.color) ? eg : "#222" }, r)))), K.map(function(e, t) { var n = e.x, r = e.y, i = ES(e, Ej); return el.createElement(R, { key: t, className: "visx-tooltip-glyph", left: n, top: r, offsetLeft: 0, offsetTop: 0, detectBounds: !1, style: EC }, el.createElement("svg", { overflow: "visible" }, s(EO({ x: 0, y: 0 }, i)))) }), el.createElement(R, EO({ left: V, top: B, style: EO({}, mx, { background: null != (ew = null == k ? void 0 : k.backgroundColor) ? ew : "white", boxShadow: "0 1px 2px " + (null != k && null != (e_ = k.htmlLabel) && e_.color ? (null == k ? void 0 : null == (eE = k.htmlLabel) ? void 0 : eE.color) + "55" : "#22222255") }, null == k ? void 0 : k.htmlLabel) }, w), F))) } function EN(e) { var t = (0, el.useContext)(wz); return null != t && t.tooltipOpen ? el.createElement(EP, e) : null } function ER(e) { var t = e.children, n = (0, el.useMemo)(function() { var e; return { all: e = e || new Map, on: function(t, n) { var r = e.get(t); r && r.push(n) || e.set(t, [n]) }, off: function(t, n) { var r = e.get(t); r && r.splice(r.indexOf(n) >>> 0, 1) }, emit: function(t, n) { (e.get(t) || []).slice().map(function(e) { e(n) }), (e.get("*") || []).slice().map(function(e) { e(t, n) }) } } }, []); return el.createElement(wV.Provider, { value: n }, t) } function ED() { return (ED = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function EL(e) { var t, n, r, i, o, a = e.hideTooltipDebounceMs, s = void 0 === a ? 400 : a, l = e.children, u = (n = (t = (0, el.useState)(mg({ tooltipOpen: !1 }, void 0)))[0], r = t[1], i = (0, el.useCallback)(function(e) { return r("function" == typeof e ? function(t) { return t.tooltipOpen, mg({}, e(function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(t, mm)), { tooltipOpen: !0 }) } : { tooltipOpen: !0, tooltipLeft: e.tooltipLeft, tooltipTop: e.tooltipTop, tooltipData: e.tooltipData }) }, [r]), o = (0, el.useCallback)(function() { return r({ tooltipOpen: !1, tooltipLeft: void 0, tooltipTop: void 0, tooltipData: void 0 }) }, [r]), { tooltipOpen: n.tooltipOpen, tooltipLeft: n.tooltipLeft, tooltipTop: n.tooltipTop, tooltipData: n.tooltipData, updateTooltip: r, showTooltip: i, hideTooltip: o }), c = u.tooltipOpen, f = u.tooltipLeft, d = u.tooltipTop, h = u.tooltipData, p = u.updateTooltip, v = u.hideTooltip, m = (0, el.useRef)(null), g = (0, el.useRef)(function(e) { var t = e.svgPoint, n = e.index, r = e.key, i = e.datum, o = e.distanceX, a = e.distanceY; m.current && (m.current.cancel(), m.current = null); var s = Math.sqrt(Math.pow(wm(o) ? o : 1 / 0, 2) + Math.pow(wm(a) ? a : 1 / 0, 2)); p(function(e) { var o, a, l, u = e.tooltipData, c = null != u && u.nearestDatum && wm(u.nearestDatum.distance) ? u.nearestDatum.distance : 1 / 0; return { tooltipOpen: !0, tooltipLeft: null == t ? void 0 : t.x, tooltipTop: null == t ? void 0 : t.y, tooltipData: { nearestDatum: (null != (o = null == u ? void 0 : null == (a = u.nearestDatum) ? void 0 : a.key) ? o : "") !== r && c < s ? null == u ? void 0 : u.nearestDatum : { key: r, index: n, datum: i, distance: s }, datumByKey: ED({}, null == u ? void 0 : u.datumByKey, ((l = {})[r] = { datum: i, index: n, key: r }, l)) } } }) }), y = (0, el.useCallback)(function() { m.current = wC()(v, s), m.current() }, [v, s]), b = (0, el.useMemo)(function() { return { tooltipOpen: c, tooltipLeft: f, tooltipTop: d, tooltipData: h, updateTooltip: p, showTooltip: g.current, hideTooltip: y } }, [y, h, f, c, d, p]); return el.createElement(wz.Provider, { value: b }, l) } ET.propTypes = { isNearestDatum: l5().bool.isRequired }, EP.propTypes = { renderTooltip: l5().func.isRequired, renderGlyph: l5().func, snapTooltipToDatumX: l5().bool, snapTooltipToDatumY: l5().bool, showVerticalCrosshair: l5().bool, showHorizontalCrosshair: l5().bool, showDatumGlyph: l5().bool, showSeriesGlyphs: l5().bool }, EN.propTypes = { renderTooltip: l5().func.isRequired, renderGlyph: l5().func, snapTooltipToDatumX: l5().bool, snapTooltipToDatumY: l5().bool, showVerticalCrosshair: l5().bool, showHorizontalCrosshair: l5().bool, showDatumGlyph: l5().bool, showSeriesGlyphs: l5().bool }, EL.propTypes = { hideTooltipDebounceMs: l5().number, children: l5().node.isRequired }; var EF = n(31417), EI = yl({ backgroundColor: "#fff", colors: yo, tickLength: 4, svgLabelSmall: { fill: yr[7] }, svgLabelBig: { fill: yr[9] }, gridColor: yr[5], gridColorDark: yr[9] }), Ez = el.createContext(EI), EV = function() { function e() { this.registry = {}, this.registryKeys = [] } var t = e.prototype; return t.registerData = function(e) { var t = this; (Array.isArray(e) ? e : [e]).forEach(function(e) { e.key in t.registry && null != t.registry[e.key] && console.debug("Overriding data registry key", e.key), t.registry[e.key] = e, t.registryKeys = Object.keys(t.registry) }) }, t.unregisterData = function(e) { var t = this; (Array.isArray(e) ? e : [e]).forEach(function(e) { delete t.registry[e], t.registryKeys = Object.keys(t.registry) }) }, t.entries = function() { return Object.values(this.registry) }, t.get = function(e) { return this.registry[e] }, t.keys = function() { return this.registryKeys }, e }(), EB = { width: 0, height: 0, margin: { top: 0, right: 0, bottom: 0, left: 0 } }, EZ = n(34636), EU = n(2663); function EH(e) { return (null == e ? void 0 : e.type) === "band" || (null == e ? void 0 : e.type) === "ordinal" || (null == e ? void 0 : e.type) === "point" } function EW() { return (EW = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function Eq(e) { var t, n, r, i, o, a, s, l, u, c, f, d, h, p, v, m, g, y = e.initialDimensions, b = e.theme, x = e.xScale, w = e.yScale, _ = e.children, E = e.horizontal, k = void 0 === E ? "auto" : E, j = (0, el.useContext)(Ez), S = b || j, O = (n = (t = (0, el.useState)({ width: (null == y ? void 0 : y.width) == null ? EB.width : y.width, height: (null == y ? void 0 : y.height) == null ? EB.height : y.height, margin: (null == y ? void 0 : y.margin) == null ? EB.margin : y.margin }))[0], r = t[1], i = (0, el.useCallback)(function(e) { (e.width !== n.width || e.height !== n.height || e.margin.left !== n.margin.left || e.margin.right !== n.margin.right || e.margin.top !== n.margin.top || e.margin.bottom !== n.margin.bottom) && r(e) }, [n.width, n.height, n.margin.left, n.margin.right, n.margin.bottom, n.margin.top]), [n, i]), C = O[0], A = C.width, T = C.height, M = C.margin, P = O[1], N = Math.max(0, A - M.left - M.right), R = Math.max(0, T - M.top - M.bottom), D = (o = (0, el.useState)(Math.random())[1], a = (0, el.useMemo)(function() { return new EV }, []), (0, el.useMemo)(function() { return { registerData: function() { a.registerData.apply(a, arguments), o(Math.random()) }, unregisterData: function() { a.unregisterData.apply(a, arguments), o(Math.random()) }, entries: function() { return a.entries() }, get: function(e) { return a.get(e) }, keys: function() { return a.keys() } } }, [a])), L = (l = (s = { dataRegistry: D, xScaleConfig: x, yScaleConfig: w, xRange: [M.left, Math.max(0, A - M.right)], yRange: [Math.max(0, T - M.bottom), M.top] }).dataRegistry, u = s.xRange, c = s.xScaleConfig, f = s.yRange, d = s.yScaleConfig, h = l.keys(), p = u[0], v = u[1], m = f[0], g = f[1], { xScale: (0, el.useMemo)(function() { var e = h.map(function(e) { return l.get(e) }), t = e.reduce(function(e, t) { return t ? e.concat(t.data.map(function(e) { return t.xAccessor(e) })) : e }, []); if (0 !== t.length) { var n = EH(c) ? t : _f(t), r = (0, EZ.Z)(c) ? (0, EU.Z)(EW({ range: [p, v], domain: n, zero: !0 }, c)) : (0, EU.Z)(EW({ range: [p, v], domain: n }, c)); return e.forEach(function(e) { null != e && e.xScale && (r = e.xScale(r)) }), r } }, [l, c, h, p, v]), yScale: (0, el.useMemo)(function() { var e = h.map(function(e) { return l.get(e) }), t = e.reduce(function(e, t) { return t ? e.concat(t.data.map(function(e) { return t.yAccessor(e) })) : e }, []); if (0 !== t.length) { var n = EH(d) ? t : _f(t), r = (0, EZ.Z)(d) ? (0, EU.Z)(EW({ range: [m, g], domain: n, zero: !0 }, d)) : (0, EU.Z)(EW({ range: [m, g], domain: n }, d)); return e.forEach(function(e) { null != e && e.yScale && (r = e.yScale(r)) }), r } }, [l, d, h, m, g]) }), F = L.xScale, I = L.yScale, z = D.keys(), V = (0, el.useMemo)(function() { return (0, EF.ZP)({ domain: z, range: S.colors }) }, [z, S.colors]), B = "auto" === k ? EH(w) || "time" === w.type || "utc" === w.type : k, Z = (0, el.useMemo)(function() { return { dataRegistry: D, registerData: D.registerData, unregisterData: D.unregisterData, xScale: F, yScale: I, colorScale: V, theme: S, width: A, height: T, margin: M, innerWidth: N, innerHeight: R, setDimensions: P, horizontal: B } }, [V, D, T, B, R, N, M, P, S, A, F, I]); return el.createElement(wp.Provider, { value: Z }, _) } function E$() { return (E$ = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } Eq.propTypes = { children: l5().node.isRequired, horizontal: l5().oneOfType([l5().bool, l5().oneOf(["auto"])]) }; var EY = { top: 50, right: 50, bottom: 50, left: 50 }, EG = [wI]; function EK(e) { var t = e.accessibilityLabel, n = e.captureEvents, r = e.children, i = e.height, o = e.horizontal, a = e.margin, s = void 0 === a ? EY : a, l = e.onPointerMove, u = e.onPointerOut, c = e.onPointerUp, f = e.onPointerDown, d = e.pointerEventsDataKey, h = e.theme, p = e.width, v = e.xScale, m = e.yScale, g = (0, el.useContext)(wp).setDimensions, y = (0, el.useContext)(wz), b = wB(); (0, el.useEffect)(function() { g && null != p && null != i && p > 0 && i > 0 && g({ width: p, height: i, margin: s }) }, [g, p, i, s]); var x = wZ({ source: wI }); return (w0({ dataKey: "nearest" === (void 0 === d ? "nearest" : d) ? wJ : wQ, onPointerMove: l, onPointerOut: u, onPointerUp: c, onPointerDown: f, allowedSources: EG }), g) ? null == p || null == i ? el.createElement(g$.Z, null, function(t) { return el.createElement(EK, E$({}, e, { width: null == e.width ? t.width : e.width, height: null == e.height ? t.height : e.height })) }) : null == y ? el.createElement(EL, null, el.createElement(EK, e)) : null == b ? el.createElement(ER, null, el.createElement(EK, e)) : p > 0 && i > 0 ? el.createElement("svg", { width: p, height: i, "aria-label": void 0 === t ? "XYChart" : t }, r, (void 0 === n || n) && el.createElement("rect", E$({ x: s.left, y: s.top, width: p - s.left - s.right, height: i - s.top - s.bottom, fill: "transparent" }, x))) : null : v && m ? el.createElement(Eq, { xScale: v, yScale: m, theme: h, initialDimensions: { width: p, height: i, margin: s }, horizontal: o }, el.createElement(EK, e)) : (console.warn("[@visx/xychart] XYChart: When no DataProvider is available in context, you must pass xScale & yScale config to XYChart."), null) } function EX(e) { return el.createElement(w9, e) } function EQ(e) { return el.createElement(_w, e) } function EJ() { return (EJ = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function E0(e) { return el.createElement(_O, EJ({ AxisComponent: gb }, e)) } EK.propTypes = { accessibilityLabel: l5().string, captureEvents: l5().bool, width: l5().number, height: l5().number, children: l5().node.isRequired, horizontal: l5().oneOfType([l5().bool, l5().oneOf(["auto"])]), onPointerMove: l5().func, onPointerOut: l5().func, onPointerUp: l5().func, onPointerDown: l5().func, pointerEventsDataKey: l5().oneOf(["all", "nearest"]) }; var E1 = ["bars", "horizontal", "xScale", "yScale", "radius", "radiusAll", "radiusTop", "radiusRight", "radiusBottom", "radiusLeft"], E2 = ["key"]; function E4() { return (E4 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function E3(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i } function E5(e) { var t = e.bars, n = (e.horizontal, e.xScale, e.yScale, e.radius), r = e.radiusAll, i = e.radiusTop, o = e.radiusRight, a = e.radiusBottom, s = e.radiusLeft, l = E3(e, E1), u = Boolean(l.onFocus || l.onBlur); return el.createElement(el.Fragment, null, t.map(function(e) { var t = e.key, c = E3(e, E2); return null == n ? el.createElement("rect", E4({ key: t, className: "visx-bar", tabIndex: u ? 0 : void 0 }, c, l)) : el.createElement(_R.Z, E4({ key: t, className: "visx-bar", tabIndex: u ? 0 : void 0, radius: n, all: r, top: i, right: o, bottom: a, left: s }, c, l)) })) } function E6() { return (E6 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function E8(e) { return el.createElement(_N, E6({}, e, { BarsComponent: E5 })) } var E7 = ["colorAccessor"]; function E9() { return (E9 = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } var ke = function(e) { var t = e.colorAccessor, n = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]); return i }(e, E7); return el.createElement(_K, E9({}, n, { colorAccessor: t, BarsComponent: E5 })) }; function kt() { return (kt = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function kn(e) { return el.createElement(_2, kt({}, e, { BarsComponent: E5 })) } var kr = n(34264), ki = n(21516); function ko() { return (ko = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function ka(e) { return el.createElement(Ei, ko({ GridRowsComponent: kr.default, GridColumnsComponent: ki.default }, e)) } function ks(e) { return el.createElement(Ef, e) } function kl(e) { return 6e4 * e } function ku(e) { return 36e5 * e } function kc(e) { return 864e5 * e } function kf(e) { let { initialChartType: t, chartType: n, setChartType: r, curveType: i, setCurveType: o, isLine: a, isStack: s, stackOffset: l, setStackOffset: u, xAxisOrientation: c, setXAxisOrientation: f } = e, d = "line" === t, h = "area" === t; return (0, es.jsx)(ck, { trigger: (0, es.jsx)(lW, { tip: "Configure chart", variant: "gray", size: "small", children: (0, es.jsx)(vU, {}) }), title: "Chart settings", contentVariants: { className: "max-h-[70vh]" }, children: (0, es.jsxs)("div", { className: "grid grid-cols-2 gap-x-6 gap-y-10 py-4", children: [(0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(nj, { weight: "semibold", children: "Graph type" }), (0, es.jsxs)(ho, { value: n, onValueChange: e => r(e), className: "flex flex-col gap-1", children: [(0, es.jsx)(hi, { value: "line", children: "Line" }), (0, es.jsx)(hi, { disabled: d || h, value: "areastack", children: "Area Stack" }), (0, es.jsx)(hi, { disabled: d || h, value: "barstack", children: "Bar Stack" }), (0, es.jsx)(hi, { disabled: d, value: "area", children: "Area" }), (0, es.jsx)(hi, { disabled: d, value: "bargroup", children: "Bar Group" })] })] }), (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, es.jsx)(nj, { weight: "semibold", children: "Stack series offset" }), (0, es.jsxs)(ho, { value: l, onValueChange: e => u(e), className: "flex flex-col gap-1", children: [(0, es.jsxs)(hi, { disabled: !s, value: "none", children: ["Auto", (0, es.jsx)(hz, { children: "zero-baseline" })] }), (0, es.jsxs)(hi, { disabled: !s, value: "expand", children: ["Expand", (0, es.jsx)(hz, { children: "values sum to 1" })] }), (0, es.jsxs)(hi, { disabled: !s, value: "wiggle", children: ["Wiggle", (0, es.jsx)(hz, { children: "stream graph" })] })] })] }), (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, es.jsx)(nj, { weight: "semibold", children: "Curve shape" }), (0, es.jsxs)(ho, { value: i, onValueChange: e => o(e), className: "flex flex-col gap-1", children: [(0, es.jsx)(hi, { disabled: !a, value: "linear", children: "Linear" }), (0, es.jsx)(hi, { disabled: !a, value: "cardinal", children: "Cardinal" }), (0, es.jsx)(hi, { disabled: !a, value: "step", children: "Step" })] })] }), (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, es.jsx)(nj, { weight: "semibold", children: "Axes" }), (0, es.jsx)("div", { className: "flex flex-col gap-6", children: (0, es.jsxs)(ho, { value: c, onValueChange: e => f(e), className: "flex flex-col gap-1", children: [(0, es.jsx)(hi, { value: "bottom", children: "Bottom" }), (0, es.jsx)(hi, { value: "top", children: "Top" })] }) })] })] }) }) } function kd(e) { let { className: t } = e; return (0, es.jsxs)("div", { className: (0, eY.cx)("flex gap-1", t), children: [(0, es.jsx)(kh, {}), (0, es.jsx)(kh, {}), (0, es.jsx)(kh, {})] }) } function kh() { return (0, es.jsx)("div", { className: "w-1 h-1 bg-slate-400 dark:bg-slate-200 rounded-full animate-pulselight [&:nth-child(2)]:animation-delay-500 [&:nth-child(3)]:animation-delay-1000" }) } function kp(e) { let { id: t, height: n, data: r, config: i, actionsLeft: o, isLoading: a, actionsRight: s, chartType: l = "areastack", curveType: u = "linear", stackOffset: c = "none", variant: f = "panel", allowConfiguration: d = !0 } = e, h = function(e, t, n, r, i, o) { let a = (0, el.useMemo)(() => { if (t.sort((e, t) => e.timestamp > t.timestamp ? 1 : -1), 0 === t.length) return []; let e = t[t.length - 1]; return [...t, { ...e, timestamp: e.timestamp + kc(1) }] }, [t]), s = (0, el.useMemo)(() => { if (a.length < 2) return 0; let e = [a[0].timestamp, a[a.length - 1].timestamp], t = new Date().getTime(); return t > e[0] && t < e[1] ? (t - e[0]) / (e[1] - e[0]) : 0 }, [a]), [l, u] = (0, el.useState)(!(0, hN.Tb)() && !n.disableAnimations), { resolvedTheme: c } = (0, vI.F)(), f = (0, el.useMemo)(() => "dark" === c ? yc : yu, [c]), [d, h] = (0, el.useState)("center"), [p, v] = (0, el.useState)([!1, !1]), [m, g] = p, [y, b] = (0, el.useState)("bottom"), [x, w] = (0, el.useState)("right"), [_, E] = (0, el.useState)(!0), [k, j] = (0, el.useState)(!0), [S, O] = (0, el.useState)(!1), [C, A] = (0, el.useState)(!0), [T, M] = (0, el.useState)(!0), [P, N] = (0, el.useState)(r), [R, D] = (0, el.useState)(i), [L, F] = (0, el.useState)(o), I = f.xyChartTheme.gridStyles.stroke, [z, V] = (0, el.useState)(!1), [B, Z] = (0, el.useState)("star"), U = (0, el.useCallback)(e => { let { x: t, y: n, size: r, color: i, onPointerMove: o, onPointerOut: a, onPointerUp: s, isNearestDatum: l } = e, u = { onPointerMove: o, onPointerOut: a, onPointerUp: s }; return "star" === B ? (0, es.jsx)(g2, { left: t, top: n, stroke: I, fill: i, size: 10 * r, ...u }) : "circle" === B ? (0, es.jsx)(g5, { left: t, top: n, stroke: I, fill: i, r: r, ...u }) : "cross" === B ? (0, es.jsx)(g9, { left: t, top: n, stroke: I, fill: i, size: 10 * r, ...u }) : (0, es.jsx)("text", { x: t, y: n, dx: "-0.75em", dy: "0.25em", fontSize: 14, ...u, children: l ? "\uD83C\uDF4D" : "\uD83C\uDF4C" }) }, [B, I]), H = (0, el.useMemo)(() => Object.keys((0, m8.omit)(t[0], "timestamp")), [t]), W = (0, el.useMemo)(() => n.enabledGraph || H, [H, n]), q = (0, el.useMemo)(() => n.enabledTip || H, [H, n]), $ = (0, el.useMemo)(() => ({ x: H.reduce((e, t) => ({ ...e, [t]: e => e.timestamp }), {}), y: H.reduce((e, t) => ({ ...e, [t]: e => e[t] }), {}), date: e => e.timestamp }), [H]), Y = ["line", "area", "areastack"].includes(P), G = ["barstack", "areastack"].includes(P), K = (0, el.useMemo)(() => ({ x: { type: "band", paddingInner: Y ? 1 : .3 }, y: { type: "linear" } }), [Y]), X = (0, el.useMemo)(() => "cardinal" === R && ye.ZP || "step" === R && m9.ZP || yt.Z, [R]), Q = (0, el.useMemo)(() => ({ top: 30, bottom: "top" === y ? 0 : 20, left: 0, right: 0 }), [y]); return { id: e, accessors: $, animationTrajectory: d, config: n, scales: K, data: a, curve: X, chartData: t, numTicks: 4, isLine: Y, isStack: G, todayOffset: s, initialChartType: r, chartType: P, curveType: R, keys: H, enabledGraph: W, enabledTip: q, renderBarGroup: "bargroup" === P, renderBarStack: "barstack" === P, enableTooltipGlyph: z, renderTooltipGlyph: U, renderAreaSeries: "area" === P, renderAreaStack: "areastack" === P, renderLineSeries: "line" === P, sharedTooltip: T, showGridColumns: g, showGridRows: m, showHorizontalCrosshair: S, showTooltip: _, showVerticalCrosshair: k, snapTooltipToDatum: !G && C, stackOffset: L, theme: f, margin: Q, xAxisOrientation: y, yAxisOrientation: x, setUseAnimatedComponents: u, setAnimationTrajectory: h, setGridProps: v, setXAxisOrientation: b, setYAxisOrientation: w, setShowTooltip: E, setShowVerticalCrosshair: j, setShowHorizontalCrosshair: O, setSnapTooltipToDatum: A, setSharedTooltip: M, setChartType: N, setCurveType: D, setStackOffset: F, setEnableTooltipGlyph: V, setTooltipGlyphComponent: Z, ...l ? { Annotation: wj, AreaSeries: _t, AreaStack: _E, Axis: _A, BarGroup: _q, BarSeries: _J, BarStack: _3, GlyphSeries: _9, Grid: Es, LineSeries: Eh, Tooltip: EN, XYChart: EK } : { AreaSeries: EX, AreaStack: EQ, Axis: E0, BarGroup: E8, BarSeries: ke, BarStack: kn, Grid: ka, LineSeries: ks, Tooltip: EN, XYChart: EK } } }(t, r, i, l, u, c), p = (0, es.jsxs)(es.Fragment, { children: [(0, es.jsxs)("div", { className: "flex gap-2 absolute top-3 right-4", children: [s, "panel" === f && d && (0, es.jsx)(kf, { ...h })] }), (0, es.jsx)("div", { className: "flex gap-2 absolute top-3 left-4", children: o }), (0, es.jsx)(g$.Z, { children: e => { let { width: t, height: n } = e; return a ? (0, es.jsx)("div", { className: "flex items-center justify-center h-full", children: (0, es.jsx)(kd, { className: "scale-150" }) }) : (0, es.jsx)(gY, { ...h, width: t, height: n }) } })] }); return "panel" === f ? (0, es.jsx)(nC, { className: "relative p-px", style: { height: n }, children: p }) : (0, es.jsx)("div", { className: "relative p-px", style: { height: n }, children: p }) } var kv = ["children"], km = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, kv); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), jp || (jp = el.createElement("path", { d: "M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" })), jv || (jv = el.createElement("path", { d: "M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" })), n) });/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */function kg(e, t, n, r) { return new (n || (n = Promise))(function(i, o) { function a(e) { try { l(r.next(e)) } catch (t) { o(t) } } function s(e) { try { l(r.throw(e)) } catch (t) { o(t) } } function l(e) { var t; e.done ? i(e.value) : ((t = e.value) instanceof n ? t : new n(function(e) { e(t) })).then(a, s) } l((r = r.apply(e, t || [])).next()) }) } function ky(e, t) { var n, r, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (n) throw TypeError("Generator is already executing."); for (; a;)try { if (n = 1, r && (i = 2 & o[0] ? r.return : o[0] ? r.throw || ((i = r.return) && i.call(r), 0) : r.next) && !(i = i.call(r, o[1])).done) return i; switch (r = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, r = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue }o = t.call(e, a) } catch (s) { o = [6, s], r = 0 } finally { n = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } } var kb = function(e) { }; (function() { (console.warn || console.log).apply(console, arguments) }).bind("[clipboard-polyfill]"); var kx, kw, k_, kE, kk, kj, kS, kO, kC, kA, kT, kM, kP, kN, kR, kD, kL, kF, kI, kz, kV, kB, kZ, kU, kH, kW, kq, k$, kY, kG, kK, kX, kQ, kJ, k0, k1, k2, k4, k3, k5, k6, k8, k7, k9, je, jt, jn, jr, ji, jo, ja, js, jl, ju, jc, jf, jd, jh, jp, jv, jm, jg, jy, jb, jx = "undefined" == typeof navigator ? void 0 : navigator, jw = null == jx ? void 0 : jx.clipboard, j_ = (null === (jm = null == jw ? void 0 : jw.read) || void 0 === jm || jm.bind(jw), null === (jg = null == jw ? void 0 : jw.readText) || void 0 === jg || jg.bind(jw), null === (jy = null == jw ? void 0 : jw.write) || void 0 === jy || jy.bind(jw), null === (jb = null == jw ? void 0 : jw.writeText) || void 0 === jb ? void 0 : jb.bind(jw)), jE = "undefined" == typeof window ? void 0 : window, jk = (null == jE || jE.ClipboardItem, jE), jj = function() { this.success = !1 }; function jS(e, t, n) { for (var r in kb("listener called"), e.success = !0, t) { var i = t[r], o = n.clipboardData; o.setData(r, i), "text/plain" === r && o.getData(r) !== i && (kb("setting text/plain failed"), e.success = !1) } n.preventDefault() } function jO(e) { var t = new jj, n = jS.bind(this, t, e); document.addEventListener("copy", n); try { document.execCommand("copy") } finally { document.removeEventListener("copy", n) } return t.success } function jC(e, t) { jA(e); var n = jO(t); return jT(), n } function jA(e) { var t = document.getSelection(); if (t) { var n = document.createRange(); n.selectNodeContents(e), t.removeAllRanges(), t.addRange(n) } } function jT() { var e = document.getSelection(); e && e.removeAllRanges() } let jM = { data: "" }, jP = e => "object" == typeof window ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || jM, jN = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, jR = /\/\*[^]*?\*\/|\s\s+|\n/g, jD = (e, t) => { let n = "", r = "", i = ""; for (let o in e) { let a = e[o]; "@" == o[0] ? "i" == o[1] ? n = o + " " + a + ";" : r += "f" == o[1] ? jD(a, o) : o + "{" + jD(a, "k" == o[1] ? "" : t) + "}" : "object" == typeof a ? r += jD(a, t ? t.replace(/([^,])+/g, e => o.replace(/(^:.*)|([^,])+/g, t => /&/.test(t) ? t.replace(/&/g, e) : e ? e + " " + t : t)) : o) : null != a && (o = o.replace(/[A-Z]/g, "-$&").toLowerCase(), i += jD.p ? jD.p(o, a) : o + ":" + a + ";") } return n + (t && i ? t + "{" + i + "}" : i) + r }, jL = {}, jF = e => { if ("object" == typeof e) { let t = ""; for (let n in e) t += n + jF(e[n]); return t } return e }, jI = (e, t, n, r, i) => { var o, a; let s = jF(e), l = jL[s] || (jL[s] = (e => { let t = 0, n = 11; for (; t < e.length;)n = 101 * n + e.charCodeAt(t++) >>> 0; return "go" + n })(s)); if (!jL[l]) { let u = s !== e ? e : (e => { let t, n = [{}]; for (; t = jN.exec(e.replace(jR, ""));)t[4] ? n.shift() : t[3] ? n.unshift(n[0][t[3]] = n[0][t[3]] || {}) : n[0][t[1]] = t[2]; return n[0] })(e); jL[l] = jD(i ? { ["@keyframes " + l]: u } : u, n ? "" : "." + l) } return o = jL[l], -1 == (a = t).data.indexOf(o) && (a.data = r ? o + a.data : a.data + o), l }, jz = (e, t, n) => e.reduce((e, r, i) => { let o = t[i]; if (o && o.call) { let a = o(n), s = a && a.props && a.props.className || /^go/.test(a) && a; o = s ? "." + s : a && "object" == typeof a ? a.props ? "" : jD(a, "") : !1 === a ? "" : a } return e + r + (null == o ? "" : o) }, ""); function jV(e) { let t = this || {}, n = e.call ? e(t.p) : e; return jI(n.unshift ? n.raw ? jz(n, [].slice.call(arguments, 1), t.p) : n.reduce((e, n) => Object.assign(e, n && n.call ? n(t.p) : n), {}) : n, jP(t.target), t.g, t.o, t.k) } jV.bind({ g: 1 }); let jB, jZ, jU, jH = jV.bind({ k: 1 }); function jW(e, t) { let n = this || {}; return function() { let r = arguments; function i(o, a) { let s = Object.assign({}, o), l = s.className || i.className; n.p = Object.assign({ theme: jZ && jZ() }, s), n.o = / *go\d+/.test(l), s.className = jV.apply(n, r) + (l ? " " + l : ""), t && (s.ref = a); let u = e; return e[0] && (u = s.as || e, delete s.as), jU && u[0] && jU(s), jB(u, s) } return t ? t(i) : i } } function jq() { return (jq = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function j$(e, t) { return t || (t = e.slice(0)), e.raw = t, e } var jY = function(e, t) { return "function" == typeof e ? e(t) : e }, jG = (s = 0, function() { return (++s).toString() }), jK = (l = void 0, function() { if (void 0 === l && "undefined" != typeof window) { var e = matchMedia("(prefers-reduced-motion: reduce)"); l = !e || e.matches } return l }); (u = g || (g = {}))[u.ADD_TOAST = 0] = "ADD_TOAST", u[u.UPDATE_TOAST = 1] = "UPDATE_TOAST", u[u.UPSERT_TOAST = 2] = "UPSERT_TOAST", u[u.DISMISS_TOAST = 3] = "DISMISS_TOAST", u[u.REMOVE_TOAST = 4] = "REMOVE_TOAST", u[u.START_PAUSE = 5] = "START_PAUSE", u[u.END_PAUSE = 6] = "END_PAUSE"; var jX = new Map, jQ = function(e) { if (!jX.has(e)) { var t = setTimeout(function() { jX.delete(e), j4({ type: g.REMOVE_TOAST, toastId: e }) }, 1e3); jX.set(e, t) } }, jJ = function(e) { var t = jX.get(e); t && clearTimeout(t) }, j0 = function e(t, n) { switch (n.type) { case g.ADD_TOAST: return jq({}, t, { toasts: [n.toast].concat(t.toasts).slice(0, 20) }); case g.UPDATE_TOAST: return n.toast.id && jJ(n.toast.id), jq({}, t, { toasts: t.toasts.map(function(e) { return e.id === n.toast.id ? jq({}, e, n.toast) : e }) }); case g.UPSERT_TOAST: var r = n.toast; return t.toasts.find(function(e) { return e.id === r.id }) ? e(t, { type: g.UPDATE_TOAST, toast: r }) : e(t, { type: g.ADD_TOAST, toast: r }); case g.DISMISS_TOAST: var i = n.toastId; return i ? jQ(i) : t.toasts.forEach(function(e) { jQ(e.id) }), jq({}, t, { toasts: t.toasts.map(function(e) { return e.id === i || void 0 === i ? jq({}, e, { visible: !1 }) : e }) }); case g.REMOVE_TOAST: if (void 0 === n.toastId) return jq({}, t, { toasts: [] }); return jq({}, t, { toasts: t.toasts.filter(function(e) { return e.id !== n.toastId }) }); case g.START_PAUSE: return jq({}, t, { pausedAt: n.time }); case g.END_PAUSE: var o = n.time - (t.pausedAt || 0); return jq({}, t, { pausedAt: void 0, toasts: t.toasts.map(function(e) { return jq({}, e, { pauseDuration: e.pauseDuration + o }) }) }) } }, j1 = [], j2 = { toasts: [], pausedAt: void 0 }, j4 = function(e) { j2 = j0(j2, e), j1.forEach(function(e) { e(j2) }) }, j3 = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, j5 = function(e) { void 0 === e && (e = {}); var t = (0, el.useState)(j2), n = t[0], r = t[1]; (0, el.useEffect)(function() { return j1.push(r), function() { var e = j1.indexOf(r); e > -1 && j1.splice(e, 1) } }, [n]); var i = n.toasts.map(function(t) { var n, r, i; return jq({}, e, e[t.type], t, { duration: t.duration || (null == (n = e[t.type]) ? void 0 : n.duration) || (null == (r = e) ? void 0 : r.duration) || j3[t.type], style: jq({}, e.style, null == (i = e[t.type]) ? void 0 : i.style, t.style) }) }); return jq({}, n, { toasts: i }) }, j6 = function(e) { return function(t, n) { var r, i = (void 0 === (r = e) && (r = "blank"), jq({ createdAt: Date.now(), visible: !0, type: r, ariaProps: { role: "status", "aria-live": "polite" }, message: t, pauseDuration: 0 }, n, { id: (null == n ? void 0 : n.id) || jG() })); return j4({ type: g.UPSERT_TOAST, toast: i }), i.id } }, j8 = function(e, t) { return j6("blank")(e, t) }; j8.error = j6("error"), j8.success = j6("success"), j8.loading = j6("loading"), j8.custom = j6("custom"), j8.dismiss = function(e) { j4({ type: g.DISMISS_TOAST, toastId: e }) }, j8.remove = function(e) { return j4({ type: g.REMOVE_TOAST, toastId: e }) }, j8.promise = function(e, t, n) { var r = j8.loading(t.loading, jq({}, n, null == n ? void 0 : n.loading)); return e.then(function(e) { return j8.success(jY(t.success, e), jq({ id: r }, n, null == n ? void 0 : n.success)), e }).catch(function(e) { j8.error(jY(t.error, e), jq({ id: r }, n, null == n ? void 0 : n.error)) }), e }; var j7 = function(e) { var t = j5(e), n = t.toasts, r = t.pausedAt; (0, el.useEffect)(function() { if (!r) { var e = Date.now(), t = n.map(function(t) { if (t.duration !== 1 / 0) { var n = (t.duration || 0) + t.pauseDuration - (e - t.createdAt); if (n < 0) { t.visible && j8.dismiss(t.id); return } return setTimeout(function() { return j8.dismiss(t.id) }, n) } }); return function() { t.forEach(function(e) { return e && clearTimeout(e) }) } } }, [n, r]); var i = (0, el.useMemo)(function() { return { startPause: function() { j4({ type: g.START_PAUSE, time: Date.now() }) }, endPause: function() { r && j4({ type: g.END_PAUSE, time: Date.now() }) }, updateHeight: function(e, t) { return j4({ type: g.UPDATE_TOAST, toast: { id: e, height: t } }) }, calculateOffset: function(e, t) { var r, i = t || {}, o = i.reverseOrder, a = i.gutter, s = void 0 === a ? 8 : a, l = i.defaultPosition, u = n.filter(function(t) { return (t.position || l) === (e.position || l) && t.height }), c = u.findIndex(function(t) { return t.id === e.id }), f = u.filter(function(e, t) { return t < c && e.visible }).length; return (r = u.filter(function(e) { return e.visible })).slice.apply(r, void 0 !== o && o ? [f + 1] : [0, f]).reduce(function(e, t) { return e + (t.height || 0) + s }, 0) } } }, [n, r]); return { toasts: n, handlers: i } }; function j9() { var e = j$(["\n width: 20px;\n opacity: 0;\n height: 20px;\n border-radius: 10px;\n background: ", ";\n position: relative;\n transform: rotate(45deg);\n\n animation: ", " 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n animation-delay: 100ms;\n\n &:after,\n &:before {\n content: '';\n animation: ", " 0.15s ease-out forwards;\n animation-delay: 150ms;\n position: absolute;\n border-radius: 3px;\n opacity: 0;\n background: ", ";\n bottom: 9px;\n left: 4px;\n height: 2px;\n width: 12px;\n }\n\n &:before {\n animation: ", " 0.15s ease-out forwards;\n animation-delay: 180ms;\n transform: rotate(90deg);\n }\n"]); return j9 = function() { return e }, e } function Se() { var e = j$(["\nfrom {\n transform: scale(0) rotate(90deg);\n opacity: 0;\n}\nto {\n transform: scale(1) rotate(90deg);\n opacity: 1;\n}"]); return Se = function() { return e }, e } function St() { var e = j$(["\nfrom {\n transform: scale(0);\n opacity: 0;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]); return St = function() { return e }, e } function Sn() { var e = j$(["\nfrom {\n transform: scale(0) rotate(45deg);\n opacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n opacity: 1;\n}"]); return Sn = function() { return e }, e } var Sr = jH(Sn()), Si = jH(St()), So = jH(Se()), Sa = jW("div")(j9(), function(e) { return e.primary || "#ff4b4b" }, Sr, Si, function(e) { return e.secondary || "#fff" }, So); function Ss() { var e = j$(["\n width: 12px;\n height: 12px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: ", ";\n border-right-color: ", ";\n animation: ", " 1s linear infinite;\n"]); return Ss = function() { return e }, e } function Sl() { var e = j$(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"]); return Sl = function() { return e }, e } var Su = jH(Sl()), Sc = jW("div")(Ss(), function(e) { return e.secondary || "#e0e0e0" }, function(e) { return e.primary || "#616161" }, Su); function Sf() { var e = j$(["\n width: 20px;\n opacity: 0;\n height: 20px;\n border-radius: 10px;\n background: ", ";\n position: relative;\n transform: rotate(45deg);\n\n animation: ", " 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n animation-delay: 100ms;\n &:after {\n content: '';\n box-sizing: border-box;\n animation: ", " 0.2s ease-out forwards;\n opacity: 0;\n animation-delay: 200ms;\n position: absolute;\n border-right: 2px solid;\n border-bottom: 2px solid;\n border-color: ", ";\n bottom: 6px;\n left: 6px;\n height: 10px;\n width: 6px;\n }\n"]); return Sf = function() { return e }, e } function Sd() { var e = j$(["\n0% {\n height: 0;\n width: 0;\n opacity: 0;\n}\n40% {\n height: 0;\n width: 6px;\n opacity: 1;\n}\n100% {\n opacity: 1;\n height: 10px;\n}"]); return Sd = function() { return e }, e } function Sh() { var e = j$(["\nfrom {\n transform: scale(0) rotate(45deg);\n opacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n opacity: 1;\n}"]); return Sh = function() { return e }, e } var Sp = jH(Sh()), Sv = jH(Sd()), Sm = jW("div")(Sf(), function(e) { return e.primary || "#61d345" }, Sp, Sv, function(e) { return e.secondary || "#fff" }); function Sg() { var e = j$(["\n position: relative;\n transform: scale(0.6);\n opacity: 0.4;\n min-width: 20px;\n animation: ", " 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n"]); return Sg = function() { return e }, e } function Sy() { var e = j$(["\nfrom {\n transform: scale(0.6);\n opacity: 0.4;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]); return Sy = function() { return e }, e } function Sb() { var e = j$(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 20px;\n min-height: 20px;\n"]); return Sb = function() { return e }, e } function Sx() { var e = j$(["\n position: absolute;\n"]); return Sx = function() { return e }, e } var Sw = jW("div")(Sx()), S_ = jW("div")(Sb()), SE = jH(Sy()), Sk = jW("div")(Sg(), SE), Sj = function(e) { var t = e.toast, n = t.icon, r = t.type, i = t.iconTheme; return void 0 !== n ? "string" == typeof n ? (0, el.createElement)(Sk, null, n) : n : "blank" === r ? null : (0, el.createElement)(S_, null, (0, el.createElement)(Sc, Object.assign({}, i)), "loading" !== r && (0, el.createElement)(Sw, null, "error" === r ? (0, el.createElement)(Sa, Object.assign({}, i)) : (0, el.createElement)(Sm, Object.assign({}, i)))) }; function SS() { var e = j$(["\n display: flex;\n justify-content: center;\n margin: 4px 10px;\n color: inherit;\n flex: 1 1 auto;\n white-space: pre-line;\n"]); return SS = function() { return e }, e } function SO() { var e = j$(["\n display: flex;\n align-items: center;\n background: #fff;\n color: #363636;\n line-height: 1.3;\n will-change: transform;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);\n max-width: 350px;\n pointer-events: auto;\n padding: 8px 10px;\n border-radius: 8px;\n"]); return SO = function() { return e }, e } var SC = jW("div", el.forwardRef)(SO()), SA = jW("div")(SS()), ST = function(e, t) { var n = e.includes("top") ? 1 : -1, r = jK() ? ["0%{opacity:0;} 100%{opacity:1;}", "0%{opacity:1;} 100%{opacity:0;}"] : ["\n0% {transform: translate3d(0," + -200 * n + "%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n", "\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0," + -150 * n + "%,-1px) scale(.6); opacity:0;}\n"], i = r[0], o = r[1]; return { animation: t ? jH(i) + " 0.35s cubic-bezier(.21,1.02,.73,1) forwards" : jH(o) + " 0.4s forwards cubic-bezier(.06,.71,.55,1)" } }, SM = (0, el.memo)(function(e) { var t = e.toast, n = e.position, r = e.style, i = e.children, o = null != t && t.height ? ST(t.position || n || "top-center", t.visible) : { opacity: 0 }, a = (0, el.createElement)(Sj, { toast: t }), s = (0, el.createElement)(SA, Object.assign({}, t.ariaProps), jY(t.message, t)); return (0, el.createElement)(SC, { className: t.className, style: jq({}, o, r, t.style) }, "function" == typeof i ? i({ icon: a, message: s }) : (0, el.createElement)(el.Fragment, null, a, s)) }); function SP() { var e = j$(["\n z-index: 9999;\n > * {\n pointer-events: auto;\n }\n"]); return SP = function() { return e }, e } c = el.createElement, jD.p = void 0, jB = c, jZ = void 0, jU = void 0; var SN = function(e, t) { var n = e.includes("top"), r = e.includes("center") ? { justifyContent: "center" } : e.includes("right") ? { justifyContent: "flex-end" } : {}; return jq({ left: 0, right: 0, display: "flex", position: "absolute", transition: jK() ? void 0 : "all 230ms cubic-bezier(.21,1.02,.73,1)", transform: "translateY(" + t * (n ? 1 : -1) + "px)" }, n ? { top: 0 } : { bottom: 0 }, r) }, SR = jV(SP()), SD = function(e) { var t = e.reverseOrder, n = e.position, r = void 0 === n ? "top-center" : n, i = e.toastOptions, o = e.gutter, a = e.children, s = e.containerStyle, l = e.containerClassName, u = j7(i), c = u.toasts, f = u.handlers; return (0, el.createElement)("div", { style: jq({ position: "fixed", zIndex: 9999, top: 16, left: 16, right: 16, bottom: 16, pointerEvents: "none" }, s), className: l, onMouseEnter: f.startPause, onMouseLeave: f.endPause }, c.map(function(e) { var n, i = e.position || r, s = SN(i, f.calculateOffset(e, { reverseOrder: t, gutter: o, defaultPosition: r })), l = e.height ? void 0 : (n = function(t) { f.updateHeight(e.id, t.height) }, function(e) { e && setTimeout(function() { n(e.getBoundingClientRect()) }) }); return (0, el.createElement)("div", { ref: l, className: e.visible ? SR : "", key: e.id, style: s }, "custom" === e.type ? jY(e.message, e) : a ? a(e) : (0, el.createElement)(SM, { toast: e, position: i })) })) }; let SL = function(e) { let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; j8((0, es.jsx)(nj, { wrapEllipsis: !0, children: "string" == typeof e && e.length > 200 ? "".concat(e.slice(0, 200)) : e }), Sz(t)) }, SF = function(e) { let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; j8.success((0, es.jsx)(nj, { wrapEllipsis: !0, children: "string" == typeof e && e.length > 200 ? "".concat(e.slice(0, 200), "...") : e }), Sz(t)) }, SI = function(e) { let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; j8.error((0, es.jsx)(nj, { wrapEllipsis: !0, children: "string" == typeof e && e.length > 200 ? "".concat(e.slice(0, 200), "...") : e }), Sz(t)) }; function Sz() { let { className: e, ...t } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return { position: "top-center", duration: 6e3, className: (0, eY.cx)(lB, nO(), "font-sans font-normal", "text-gray-1100 dark:text-white", "max-w-[800px] overflow-hidden text-ellipsis", "[&>div]:overflow-hidden", "[&>div]:flex-1", e), success: { icon: (0, es.jsx)("div", { className: "!flex-none w-5", children: (0, es.jsx)(u$, { className: "w-5 text-green-600" }) }) }, error: { icon: (0, es.jsx)("div", { className: "!flex-none w-5", children: (0, es.jsx)(uK, { className: "w-5 text-red-600" }) }) }, ...t } } function SV() { return (0, es.jsx)(SD, { toastOptions: Sz() }) } let SB = (e, t) => { SL(t ? "Copied ".concat(t, " to clipboard") : "Copied to clipboard"), function(e) { kg(this, void 0, void 0, function() { return ky(this, function(t) { var n; if (j_) return kb("Using `navigator.clipboard.writeText()`."), [2, j_(e)]; if (!function(e) { return kg(this, void 0, void 0, function() { var t; return ky(this, function(n) { var r, i, o, a, s, l, u, c; if (t = "text/plain" in e, "undefined" == typeof ClipboardEvent && void 0 !== jk.clipboardData && void 0 !== jk.clipboardData.setData) { if (!t) throw Error("No `text/plain` value was specified."); if (r = e["text/plain"], jk.clipboardData.setData("Text", r)) return [2, !0]; throw Error("Copying failed, possibly because the user rejected it.") } return jO(e) ? (kb("regular execCopy worked"), [2, !0]) : navigator.userAgent.indexOf("Edge") > -1 ? (kb('UA "Edge" => assuming success'), [2, !0]) : jC(document.body, e) ? (kb("copyUsingTempSelection worked"), [2, !0]) : ((i = document.createElement("div")).setAttribute("style", "-webkit-user-select: text !important"), i.textContent = "temporary element", document.body.appendChild(i), o = jC(i, e), document.body.removeChild(i), o) ? (kb("copyUsingTempElem worked"), [2, !0]) : (a = e["text/plain"], kb("copyTextUsingDOM"), (s = document.createElement("div")).setAttribute("style", "-webkit-user-select: text !important"), l = s, s.attachShadow && (kb("Using shadow DOM."), l = s.attachShadow({ mode: "open" })), (u = document.createElement("span")).innerText = a, l.appendChild(u), document.body.appendChild(s), jA(u), c = document.execCommand("copy"), jT(), document.body.removeChild(s), c) ? (kb("copyTextUsingDOM worked"), [2, !0]) : [2, !1] }) }) }(((n = {})["text/plain"] = e, n))) throw Error("writeText() failed"); return [2] }) }) }(e) }; function SZ(e, t) { return e ? t && e.length > t ? "".concat(e.slice(0, t), "...") : "".concat(e.slice(0, t)) : "" } function SU(e) { return (e || "").replace(/^addr:/, "").replace(/^txid:/, "").replace(/^fcid:/, "").replace(/^h:/, "").replace(/^scoid:/, "").replace(/^key:/, "") } function SH(e, t, n) { return t ? "".concat(e, " ").concat(SZ(t, n)) : "".concat(e) } function SW(e, t) { return "miner" === t ? "minerPayout" : "siafundClaim" === t ? "siafundClaim" : "contract" === t ? "contractPayout" : "foundation" === t ? "foundationSubsidy" : e.storageProofs && e.storageProofs.length > 0 ? "storageProof" : e.fileContracts && e.fileContracts.length > 0 && e.fileContractRevisions && e.fileContractRevisions.length > 0 ? "contractRenewal" : e.fileContractRevisions && e.fileContractRevisions.length > 0 ? "contractRevision" : e.fileContracts && e.fileContracts.length > 0 ? "contractFormation" : e.arbitraryData && e.arbitraryData.length > 0 && 0 === atob(e.arbitraryData[0]).indexOf("HostAnnouncement") ? "hostAnnouncement" : e.siafundOutputs && e.siafundOutputs.length > 0 ? "siafund" : e.siacoinOutputs && e.siacoinOutputs.length > 0 ? "siacoin" : void 0 } let Sq = { transaction: "transaction", block: "block", output: "output", address: "address", ip: "IP" }, S$ = { siacoin: "siacoin transfer", siafund: "siafund transfer", contractFormation: "contract formation", contractRenewal: "contract renewal", contractRevision: "contract revision", contractPayout: "contract payout", storageProof: "storage proof", minerPayout: "miner payout", siafundClaim: "siafund claim", foundationSubsidy: "foundation subsidy", hostAnnouncement: "host announcement" }, SY = { block: "Bk", transaction: "Tx", output: "O", address: "A", ip: "I" }; function SG(e) { return e ? Sq[e] : void 0 } function SK(e) { return e ? S$[e] : void 0 } function SX(e) { return e ? SY[e] : void 0 } function SQ(e) { let { value: t, displayValue: n, type: r, label: i, href: o, maxLength: a, size: s, scaleSize: l, color: u = "contrast", className: c } = e, f = i || SG(r), d = a || ("ip" === r ? 20 : 12), h = SU(t), p = n || h, v = "".concat(null == p ? void 0 : p.slice(0, d)).concat(((null == p ? void 0 : p.length) || 0) > d ? "..." : ""); return (0, es.jsxs)("div", { className: (0, eY.cx)("flex items-center", c), children: [o ? (0, es.jsx)(uc, { href: o, underline: "hover", size: s, scaleSize: l, color: u, ellipsis: !0, children: v }) : (0, es.jsx)(nj, { size: s, scaleSize: l, color: u, ellipsis: !0, children: v }), (0, es.jsx)("div", { className: "ml-1 flex items-center", children: (0, es.jsx)(lW, { variant: "ghost", size: "none", onClick: e => { e.stopPropagation(), SB(h, f) }, children: (0, es.jsx)(nj, { color: u, children: (0, es.jsx)(km, { className: "10" === s ? "scale-75" : "scale-90" }) }) }) })] }) } function SJ(e) { let { value: t, size: n, scaleSize: r, tooltip: i = "", variant: o = "change" } = e, a = (0, gB.yF)(String(t), { units: "SF" }); return (0, es.jsx)(lU, { content: (i ? "".concat(i, " ") : "") + a, children: (0, es.jsxs)(nj, { size: n, scaleSize: r, weight: "medium", font: "mono", color: "change" === o ? t > 0 ? "green" : t < 0 ? "red" : "subtle" : "contrast", children: ["change" === o && t > 0 ? "+" : "", a] }) }) } function S0(e) { let { value: t, size: n, scaleSize: r, tooltip: i = "", variant: o = "change", fixed: a = 3, dynamicUnits: s = !0, extendedSuffix: l, showTooltip: u = !0 } = e, c = t.isGreaterThan(0) ? "+" : t.isLessThan(0) ? "-" : "", f = "change" === o ? t.isGreaterThan(0) ? "green" : t.isLessThan(0) ? "red" : "subtle" : "contrast", d = (0, es.jsxs)(nj, { size: n, scaleSize: r, weight: "medium", font: "mono", ellipsis: !0, color: f, children: ["change" === o ? "".concat(c).concat((0, gB.Vz)(t.absoluteValue(), { fixed: a, dynamicUnits: s })) : (0, gB.Vz)(t, { fixed: a, dynamicUnits: s }), (0, es.jsx)(nj, { size: "20", weight: "medium", font: "mono", ellipsis: !0, color: "subtle", children: l ? "".concat(l) : "" })] }); return u ? (0, es.jsx)(lU, { content: (i ? "".concat(i, " ") : "") + (0, gB.Vz)(t, { fixed: 16, dynamicUnits: !1 }), children: d }) : d } function S1(e) { let { value: t, size: n = "14", weight: r = "semibold", tooltip: i = "", variant: o = "change", color: a, format: s } = e, l = t.isGreaterThan(0) ? "+" : t.isLessThan(0) ? "-" : "", u = "change" === o ? t.isGreaterThan(0) ? "green" : t.isLessThan(0) ? "red" : "subtle" : "contrast"; return (0, es.jsx)(lU, { content: (i ? "".concat(i, " ") : "") + s(t), children: (0, es.jsx)(nj, { size: n, weight: r, font: "mono", ellipsis: !0, color: a || u, children: "change" === o ? "".concat(l).concat(s(t.absoluteValue())) : s(t) }) }) } var S2 = n(66700), S4 = n(19785); function S3(e, t) { (0, S4.Z)(2, arguments); var n = (0, S2.Z)(e), r = (0, S2.Z)(t), i = n.getTime() - r.getTime(); return i < 0 ? -1 : i > 0 ? 1 : i } var S5 = { ceil: Math.ceil, round: Math.round, floor: Math.floor, trunc: function(e) { return e < 0 ? Math.ceil(e) : Math.floor(e) } }, S6 = { lessThanXSeconds: { one: "less than a second", other: "less than {{count}} seconds" }, xSeconds: { one: "1 second", other: "{{count}} seconds" }, halfAMinute: "half a minute", lessThanXMinutes: { one: "less than a minute", other: "less than {{count}} minutes" }, xMinutes: { one: "1 minute", other: "{{count}} minutes" }, aboutXHours: { one: "about 1 hour", other: "about {{count}} hours" }, xHours: { one: "1 hour", other: "{{count}} hours" }, xDays: { one: "1 day", other: "{{count}} days" }, aboutXWeeks: { one: "about 1 week", other: "about {{count}} weeks" }, xWeeks: { one: "1 week", other: "{{count}} weeks" }, aboutXMonths: { one: "about 1 month", other: "about {{count}} months" }, xMonths: { one: "1 month", other: "{{count}} months" }, aboutXYears: { one: "about 1 year", other: "about {{count}} years" }, xYears: { one: "1 year", other: "{{count}} years" }, overXYears: { one: "over 1 year", other: "over {{count}} years" }, almostXYears: { one: "almost 1 year", other: "almost {{count}} years" } }; function S8(e) { return function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = t.width ? String(t.width) : e.defaultWidth; return e.formats[n] || e.formats[e.defaultWidth] } } var S7 = { date: S8({ formats: { full: "EEEE, MMMM do, y", long: "MMMM do, y", medium: "MMM d, y", short: "MM/dd/yyyy" }, defaultWidth: "full" }), time: S8({ formats: { full: "h:mm:ss a zzzz", long: "h:mm:ss a z", medium: "h:mm:ss a", short: "h:mm a" }, defaultWidth: "full" }), dateTime: S8({ formats: { full: "{{date}} 'at' {{time}}", long: "{{date}} 'at' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" }, defaultWidth: "full" }) }, S9 = { lastWeek: "'last' eeee 'at' p", yesterday: "'yesterday at' p", today: "'today at' p", tomorrow: "'tomorrow at' p", nextWeek: "eeee 'at' p", other: "P" }; function Oe(e) { return function(t, n) { var r, i = n || {}; if ("formatting" === (i.context ? String(i.context) : "standalone") && e.formattingValues) { var o = e.defaultFormattingWidth || e.defaultWidth, a = i.width ? String(i.width) : o; r = e.formattingValues[a] || e.formattingValues[o] } else { var s = e.defaultWidth, l = i.width ? String(i.width) : e.defaultWidth; r = e.values[l] || e.values[s] } return r[e.argumentCallback ? e.argumentCallback(t) : t] } } function Ot(e) { return function(t) { var n, r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, i = r.width, o = i && e.matchPatterns[i] || e.matchPatterns[e.defaultMatchWidth], a = t.match(o); if (!a) return null; var s = a[0], l = i && e.parsePatterns[i] || e.parsePatterns[e.defaultParseWidth], u = Array.isArray(l) ? function(e, t) { for (var n = 0; n < e.length; n++)if (t(e[n])) return n }(l, function(e) { return e.test(s) }) : function(e, t) { for (var n in e) if (e.hasOwnProperty(n) && t(e[n])) return n }(l, function(e) { return e.test(s) }); return n = e.valueCallback ? e.valueCallback(u) : u, { value: n = r.valueCallback ? r.valueCallback(n) : n, rest: t.slice(s.length) } } } var On = { code: "en-US", formatDistance: function(e, t, n) { var r, i = S6[e]; return (r = "string" == typeof i ? i : 1 === t ? i.one : i.other.replace("{{count}}", t.toString()), null != n && n.addSuffix) ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r }, formatLong: S7, formatRelative: function(e, t, n, r) { return S9[e] }, localize: { ordinalNumber: function(e, t) { var n = Number(e), r = n % 100; if (r > 20 || r < 10) switch (r % 10) { case 1: return n + "st"; case 2: return n + "nd"; case 3: return n + "rd" }return n + "th" }, era: Oe({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Oe({ values: { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"] }, defaultWidth: "wide", argumentCallback: function(e) { return e - 1 } }), month: Oe({ values: { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }, defaultWidth: "wide" }), day: Oe({ values: { narrow: ["S", "M", "T", "W", "T", "F", "S"], short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }, defaultWidth: "wide" }), dayPeriod: Oe({ values: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" } }, defaultWidth: "wide", formattingValues: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" } }, defaultFormattingWidth: "wide" }) }, match: { ordinalNumber: (f = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: function(e) { return parseInt(e, 10) } }, function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = e.match(f.matchPattern); if (!n) return null; var r = n[0], i = e.match(f.parsePattern); if (!i) return null; var o = f.valueCallback ? f.valueCallback(i[0]) : i[0]; return { value: o = t.valueCallback ? t.valueCallback(o) : o, rest: e.slice(r.length) } }), era: Ot({ matchPatterns: { narrow: /^(b|a)/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, wide: /^(before christ|before common era|anno domini|common era)/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/^b/i, /^(a|c)/i] }, defaultParseWidth: "any" }), quarter: Ot({ matchPatterns: { narrow: /^[1234]/i, abbreviated: /^q[1234]/i, wide: /^[1234](th|st|nd|rd)? quarter/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/1/i, /2/i, /3/i, /4/i] }, defaultParseWidth: "any", valueCallback: function(e) { return e + 1 } }), month: Ot({ matchPatterns: { narrow: /^[jfmasond]/i, abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] }, defaultParseWidth: "any" }), day: Ot({ matchPatterns: { narrow: /^[smtwf]/i, short: /^(su|mo|tu|we|th|fr|sa)/i, abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] }, defaultParseWidth: "any" }), dayPeriod: Ot({ matchPatterns: { narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i }, defaultMatchWidth: "any", parsePatterns: { any: { am: /^a/i, pm: /^p/i, midnight: /^mi/i, noon: /^no/i, morning: /morning/i, afternoon: /afternoon/i, evening: /evening/i, night: /night/i } }, defaultParseWidth: "any" }) }, options: { weekStartsOn: 0, firstWeekContainsDate: 1 } }; function Or(e) { var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds())); return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime() } function Oi(e) { let { type: t, label: n, initials: r, href: i, shape: o } = e, a = (0, es.jsx)(uC, { interactive: !!i, fallback: r || t && SX(t), shape: o || (t && "address" !== t && "block" !== t ? "circle" : "square") }), s = i && (0, es.jsx)(uc, { href: i, children: a }), l = s || a; return t ? (0, es.jsx)(lU, { content: n || SG(t), children: (0, es.jsx)("div", { className: "", children: l }) }) : l } var Oo = ["children"], Oa = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Oo); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), y || (y = el.createElement("circle", { cx: "16", cy: "16", r: "8" })), n) }); function Os(e) { let { title: t, actions: n, entities: r, emptyMessage: i } = e; return (0, es.jsx)(nC, { children: (0, es.jsxs)("div", { className: "flex flex-col rounded overflow-hidden", children: [(t || n) && (0, es.jsxs)("div", { className: "flex items-center p-4 border-b border-gray-200 dark:border-graydark-300", children: [t && (0, es.jsx)(us, { size: "20", font: "mono", ellipsis: !0, children: t }), (0, es.jsx)("div", { className: "flex-1" }), n] }), (0, es.jsxs)("div", { className: "flex flex-col rounded overflow-hidden", children: [(null == r ? void 0 : r.length) === 0 && (0, es.jsx)("div", { className: (0, eY.cx)("flex items-center justify-center h-[100px]", Ou()), children: (0, es.jsx)(nj, { size: "18", color: "subtle", children: i || "No results" }) }), (null == r ? void 0 : r.map((e, t) => { let n = e.sc, r = e.sf, i = e.hash && (0, es.jsx)(SQ, { value: e.hash, type: e.type, label: e.label, href: e.href, color: "subtle" }), o = e.label || "transaction" === e.type && e.txType && SK(e.txType) || SG(e.type), a = (0, m8.upperFirst)(o); return (0, es.jsxs)("div", { className: (0, eY.cx)("flex gap-4 p-4", Ou()), onClick: e.onClick, children: [(0, es.jsx)(Oi, { label: o, type: e.type, shape: e.avatarShape, initials: e.initials || SX(e.type), href: e.href }), (0, es.jsxs)("div", { className: "flex flex-col items-center gap-1 w-full", children: [(0, es.jsxs)("div", { className: "flex gap-2 items-center w-full", children: [(0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [e.height && e.blockHref && (0, es.jsx)(nj, { color: "subtle", weight: "semibold", children: (0, es.jsx)(uc, { href: e.blockHref, underline: "none", children: (0, gB.yF)(e.height) }) }), (0, es.jsx)(nj, { weight: "medium", children: a || i })] }), (0, es.jsx)("div", { className: "flex-1" }), !!n && (0, es.jsx)(S0, { value: n }), !!r && (0, es.jsx)(SJ, { value: r })] }), (0, es.jsxs)("div", { className: "flex justify-between w-full", children: [(0, es.jsx)("div", { className: "flex gap-1", children: !!a && i }), (0, es.jsxs)("div", { className: "flex gap-1 items-center", children: [e.unconfirmed ? (0, es.jsxs)(es.Fragment, { children: [(0, es.jsx)(nj, { color: "verySubtle", children: "unconfirmed" }), e.timestamp ? (0, es.jsx)(nj, { color: "verySubtle", children: (0, es.jsx)(Oa, { className: "scale-50" }) }) : null] }) : null, e.timestamp && (0, es.jsx)(nj, { color: "subtle", children: function(e, t) { var n, r, i, o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; (0, S4.Z)(2, arguments); var a = o.locale || On; if (!a.formatDistance) throw RangeError("locale must contain formatDistance property"); var s = S3(e, t); if (isNaN(s)) throw RangeError("Invalid time value"); var l = function(e, t) { if (null == e) throw TypeError("assign requires that input parameter not be null or undefined"); for (var n in t = t || {}) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]); return e }({}, o); l.addSuffix = Boolean(o.addSuffix), l.comparison = s, s > 0 ? (n = (0, S2.Z)(t), r = (0, S2.Z)(e)) : (n = (0, S2.Z)(e), r = (0, S2.Z)(t)); var u = function(e, t, n) { (0, S4.Z)(2, arguments); var r, i = function(e, t) { return (0, S4.Z)(2, arguments), (0, S2.Z)(e).getTime() - (0, S2.Z)(t).getTime() }(e, t) / 1e3; return ((r = null == n ? void 0 : n.roundingMethod) ? S5[r] : S5.trunc)(i) }(r, n), c = Math.round((u - (Or(r) - Or(n)) / 1e3) / 60); if (c < 2) { if (o.includeSeconds) { if (u < 5) return a.formatDistance("lessThanXSeconds", 5, l); if (u < 10) return a.formatDistance("lessThanXSeconds", 10, l); if (u < 20) return a.formatDistance("lessThanXSeconds", 20, l); if (u < 40) return a.formatDistance("halfAMinute", null, l); else if (u < 60) return a.formatDistance("lessThanXMinutes", 1, l); else return a.formatDistance("xMinutes", 1, l) } return 0 === c ? a.formatDistance("lessThanXMinutes", 1, l) : a.formatDistance("xMinutes", c, l) } if (c < 45) return a.formatDistance("xMinutes", c, l); if (c < 90) return a.formatDistance("aboutXHours", 1, l); if (c < 1440) { var f = Math.round(c / 60); return a.formatDistance("aboutXHours", f, l) } if (c < 2520) return a.formatDistance("xDays", 1, l); if (c < 43200) { var d = Math.round(c / 1440); return a.formatDistance("xDays", d, l) } if (c < 86400) return i = Math.round(c / 43200), a.formatDistance("aboutXMonths", i, l); if ((i = function(e, t) { (0, S4.Z)(2, arguments); var n, r = (0, S2.Z)(e), i = (0, S2.Z)(t), o = S3(r, i), a = Math.abs(function(e, t) { (0, S4.Z)(2, arguments); var n = (0, S2.Z)(e), r = (0, S2.Z)(t); return 12 * (n.getFullYear() - r.getFullYear()) + (n.getMonth() - r.getMonth()) }(r, i)); if (a < 1) n = 0; else { 1 === r.getMonth() && r.getDate() > 27 && r.setDate(30), r.setMonth(r.getMonth() - o * a); var s = S3(r, i) === -o; (function(e) { (0, S4.Z)(1, arguments); var t = (0, S2.Z)(e); return (function(e) { (0, S4.Z)(1, arguments); var t = (0, S2.Z)(e); return t.setHours(23, 59, 59, 999), t })(t).getTime() === (function(e) { (0, S4.Z)(1, arguments); var t = (0, S2.Z)(e), n = t.getMonth(); return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(23, 59, 59, 999), t })(t).getTime() })((0, S2.Z)(e)) && 1 === a && 1 === S3(e, i) && (s = !1), n = o * (a - Number(s)) } return 0 === n ? 0 : n }(r, n)) < 12) { var h = Math.round(c / 43200); return a.formatDistance("xMonths", h, l) } var p = i % 12, v = Math.floor(i / 12); return p < 3 ? a.formatDistance("aboutXYears", v, l) : p < 9 ? a.formatDistance("overXYears", v, l) : a.formatDistance("almostXYears", v + 1, l) }(new Date(e.timestamp), new Date, { addSuffix: !0 }) })] })] })] })] }, e.hash || e.label || t) })) || (0, es.jsx)(Ol, {})] })] }) }) } function Ol() { return (0, es.jsx)(es.Fragment, { children: (0, m8.times)(10, e => (0, es.jsxs)("div", { className: (0, eY.cx)("relative flex gap-4 p-3.5", Ou()), children: [(0, es.jsx)(h4, { className: "w-[60px] h-[50px]" }), (0, es.jsxs)("div", { className: "flex flex-col gap-2 w-full", children: [(0, es.jsx)(h4, { className: "w-[90%] h-[20px]" }), (0, es.jsx)(h4, { className: "w-[140px] h-[14px]" })] })] }, e)) }) } function Ou() { return (0, eY.cx)("border-t border-gray-200 dark:border-graydark-300", "first:border-none") } function Oc(e) { let { label: t, entityType: n, entityValue: r, actions: i, href: o, value: a, extendedSuffix: s, hash: l, sc: u, sf: c, comment: f, commentTip: d, scaleSize: h = "40", isLoading: p, onClick: v } = e, m = (0, es.jsx)(nj, { color: "subtle", size: "12", className: "h-6", children: f }); return (0, es.jsx)(nC, { children: (0, es.jsx)("div", { className: (0, eY.cx)("flex items-center py-2 px-4 h-full min-w-[250px]", v ? "cursor-pointer" : ""), onClick: v, children: (0, es.jsxs)("div", { className: "flex flex-col gap-4 flex-wrap items-start w-full", children: [(0, es.jsxs)("div", { className: "flex relative top-px flex-1 w-full gap-6 items-center justify-between", children: [(0, es.jsx)(nj, { color: "subtle", ellipsis: !0, scaleSize: "14", children: "string" == typeof t ? (0, m8.upperFirst)(t) : t }), i] }), (0, es.jsxs)("div", { className: "flex flex-col items-end md:items-start gap-2 md:flex-2", children: [p ? (0, es.jsx)(h4, { className: "h-12 w-[150px]" }) : (0, es.jsxs)(es.Fragment, { children: [void 0 !== u && (0, es.jsx)(S0, { extendedSuffix: s, scaleSize: h, variant: "value", value: u, fixed: 0 }), void 0 !== c && (0, es.jsx)(SJ, { scaleSize: h, variant: "value", value: c }), n && (r ? (0, es.jsx)(SQ, { scaleSize: h, label: SG(n), href: o, value: r, displayValue: "block" === n && r ? Number(r).toLocaleString() : r, className: "relative top-0.5" }) : (0, es.jsx)(nj, { font: "mono", weight: "medium", scaleSize: h, children: "-" })), l && (0, es.jsx)(SQ, { scaleSize: h, label: "hash", value: l }), void 0 !== a && (0, es.jsx)(nj, { font: "mono", weight: "medium", scaleSize: h, ellipsis: !0, children: a })] }), m ? (0, es.jsx)("div", { className: "mt-1", children: p ? (0, es.jsx)("div", { className: "mt-1 h-6 justify-center", children: (0, es.jsx)(h4, { className: "h-4 w-[100px]" }) }) : d ? (0, es.jsx)(lU, { content: d, children: m }) : m }) : null] })] }) }) }) } function Of(e) { let { title: t, actions: n, name: r } = e; return (0, es.jsxs)("div", { className: "flex gap-0.5 items-center", children: [t ? (0, es.jsx)(da, { htmlFor: r, noWrap: !0, children: t }) : null, n] }) } function Od(e) { var t; let { form: n, name: r } = e, i = n.formState.errors[r], o = null === (t = n.formState.errors[r]) || void 0 === t ? void 0 : t.message; return i ? (0, es.jsx)(nj, { size: "14", color: "red", children: o }) : null } function Oh(e) { let { form: t, title: n, actions: r, name: i, className: o, wrap: a } = e, s = t.formState.errors[i]; return n || s ? (0, es.jsxs)("div", { className: (0, eY.cx)("flex justify-between items-center gap-x-4 overflow-hidden", a ? "flex-wrap" : "", o), children: [(0, es.jsx)(Of, { name: i, title: n, actions: r }), (0, es.jsx)(Od, { form: t, name: i })] }) : null } function Op(e) { let { children: t, ...n } = e; return (0, es.jsxs)("div", { className: "flex flex-col gap-1", children: [(0, es.jsx)(Oh, { ...n }), t] }) } function Ov(e) { let { form: t, size: n = "medium", variant: r = "accent", children: i } = e; return (0, es.jsx)(es.Fragment, { children: (0, es.jsx)(lW, { size: n, variant: r, state: t.formState.isSubmitting ? "waiting" : void 0, type: "submit", children: t.formState.isSubmitting ? (0, es.jsx)(kd, {}) : i }) }) } function Om(e) { let { formik: t, title: n, name: r, placeholder: i, disabled: o, readOnly: a, autoComplete: s = "off", spellCheck: l = !1, tabIndex: u, allowDecimals: c = !1, decimalsLimitFiat: f = 3, decimalsLimitSc: d = 3, decimalsLimit: h = 2, disableGroupSeparators: p = !1, showFiat: v = !0, units: m, type: g, variants: y } = e; return (0, es.jsx)(Ow, { formik: t, title: n, name: r, children: "number" === g ? (0, es.jsx)(Oy, { formik: t, name: r, units: m, disabled: o, readOnly: a, tabIndex: u, decimalsLimit: h, allowDecimals: c, disableGroupSeparators: p, placeholder: i, variants: y }) : "siacoin" === g ? (0, es.jsx)(Ob, { formik: t, name: r, disabled: o, readOnly: a, placeholder: i, tabIndex: u, showFiat: v, decimalsLimitFiat: f, decimalsLimitSc: d, variants: y }) : (0, es.jsx)(Og, { formik: t, name: r, autoComplete: s, disabled: o, readOnly: a, placeholder: i, tabIndex: u, spellCheck: l, type: g, variants: y }) }) } function Og(e) { let { formik: t, name: n, placeholder: r, autoComplete: i = "off", disabled: o, readOnly: a, tabIndex: s, spellCheck: l = !1, type: u, variants: c } = e; return (0, es.jsx)(hs, { id: n, name: n, autoComplete: i, disabled: o, spellCheck: l, placeholder: r, tabIndex: s, readOnly: a || t.isSubmitting, type: u, onBlur: t.handleBlur, onChange: t.handleChange, value: t.values[n] || "", ...c }) } function Oy(e) { let { formik: t, name: n, units: r, disabled: i, readOnly: o, tabIndex: a, placeholder: s, decimalsLimit: l, allowDecimals: u = !1, disableGroupSeparators: c = !1, variants: f } = e; return (0, es.jsx)(hM, { id: n, units: r, name: n, placeholder: new (hA())(s), disabled: i, allowDecimals: u, decimalsLimit: l, disableGroupSeparators: c, readOnly: o || t.isSubmitting, tabIndex: a, onBlur: t.handleBlur, onChange: e => t.setFieldValue(n, e), value: t.values[n], ...f }) } function Ob(e) { let { formik: t, name: n, disabled: r, readOnly: i, tabIndex: o, placeholder: a, showFiat: s, decimalsLimitFiat: l = 3, decimalsLimitSc: u = 3, variants: c } = e; return (0, es.jsx)(hD, { id: n, name: n, disabled: r, showFiat: s, decimalsLimitFiat: l, decimalsLimitSc: u, readOnly: i || t.isSubmitting, tabIndex: o, onFocus: () => t.setFieldTouched(n), sc: new (hA())(t.values[n]), placeholder: new (hA())(a), onChange: e => t.setFieldValue(n, null == e ? void 0 : e.toString()), ...c }) } function Ox(e) { var t, n; let { formik: r, title: i, name: o, withStatusError: a = !1, className: s } = e, l = r.errors[o] && r.touched[o] || a && (null === (t = r.status) || void 0 === t ? void 0 : t.error), u = r.errors[o] || a && (null === (n = r.status) || void 0 === n ? void 0 : n.error); return (i || l) && (0, es.jsxs)("div", { className: (0, eY.cx)("flex justify-between items-center gap-4", s), children: [i ? (0, es.jsx)(da, { htmlFor: o, children: i }) : (0, es.jsx)("div", {}), l && (0, es.jsx)(nj, { size: "14", color: "red", children: u })] }) } function Ow(e) { let { children: t, ...n } = e; return (0, es.jsxs)("div", { className: "flex flex-col gap-1", children: [(0, es.jsx)(Ox, { ...n }), t] }) } function O_(e) { var t; let { formik: n, size: r = "medium", variant: i = "accent", withStatusError: o = !0, children: a } = e; return (0, es.jsxs)(es.Fragment, { children: [o && (null === (t = n.status) || void 0 === t ? void 0 : t.error) && (0, es.jsx)(nj, { color: "red", children: n.status.error }), (0, es.jsx)(lW, { size: r, variant: i, state: n.isSubmitting ? "waiting" : void 0, type: "submit", children: n.isSubmitting ? (0, es.jsx)(kd, {}) : a })] }) } function OE(e) { let { columns: t, data: n, context: r, sortField: i, sortDirection: o, sortableColumns: a, toggleSort: s, summary: l, rowSize: u = "default", pageSize: c, isLoading: f, emptyState: d, focusId: h, focusColor: p = "default" } = e, v = "emptyState"; !f || (null == n ? void 0 : n.length) || (v = "skeleton"), (null == n ? void 0 : n.length) && (v = "currentData"); let m = (0, el.useCallback)((e, n, r) => (0, eY.cx)(0 === e ? "pl-6" : "pl-4", e === t.length - 1 ? "pr-6" : "pr-4", r ? [0 === e ? "rounded-tl-lg" : "", e === t.length - 1 ? "rounded-tr-lg" : ""] : "", n), [t]), g = (0, el.useCallback)((e, t) => (0, eY.cx)("flex items-center", t), []); return (0, es.jsxs)(nC, { children: [(0, es.jsxs)("table", { className: "relative z-10 table-auto border-collapse w-full", children: [(0, es.jsx)("thead", { className: (0, eY.cx)("sticky top-0 z-20 bg-white dark:bg-graydark-100", "shadow-border-b shadow-gray-400 dark:shadow-graydark-300"), children: (0, es.jsx)("tr", { children: t.map((e, t) => { let { id: n, icon: r, label: l, tip: u, cellClassName: c, contentClassName: f } = e, d = (null == a ? void 0 : a.includes(n)) && !!s, h = i === n; return (0, es.jsx)("th", { className: (0, eY.cx)(m(t, c, !1), "border-b border-gray-400 dark:border-graydark-400"), children: (0, es.jsx)("div", { className: (0, eY.cx)("overflow-hidden", "py-3"), children: (0, es.jsxs)("div", { onClick: () => { d && s(n) }, className: (0, eY.cx)(g(t, f), d ? "cursor-pointer" : ""), children: [(0, es.jsx)(lU, { content: u, children: (0, es.jsxs)(nj, { color: "subtle", className: "relative flex gap-1", ellipsis: !0, children: [r ? (0, es.jsx)("div", { children: r }) : null, (0, es.jsx)(nj, { ellipsis: !0, size: "12", weight: "medium", children: l })] }) }), h && (0, es.jsx)(nj, { color: "contrast", children: "asc" === o ? (0, es.jsx)(hQ, { className: "scale-75" }) : (0, es.jsx)(hY, { className: "scale-75" }) }), d && !h && (0, es.jsx)(nj, { color: "verySubtle", children: (0, es.jsx)(hQ, { className: "scale-75" }) })] }) }) }, n) }) }) }), (0, es.jsxs)("tbody", { className: "bg-gray-50 dark:bg-graydark-50", children: [l && (0, es.jsx)("tr", { className: "bg-gray-50 dark:bg-graydark-50 border-l border-r border-b border-gray-200 dark:border-graydark-200", children: t.map((e, t) => { let { id: n, summary: r, contentClassName: i, cellClassName: o } = e; return (0, es.jsx)("td", { className: m(t, o, !1), children: (0, es.jsx)("div", { className: g(t, i), children: r && r() }) }, n) }) }), "currentData" === v && (null == n ? void 0 : n.map(e => (0, es.jsx)("tr", { id: e.id, onClick: e.onClick, className: (0, eY.cx)("border-b border-gray-200/50 dark:border-graydark-100", e.onClick ? "cursor-pointer" : ""), children: t.map((t, n) => { let { id: i, render: o, contentClassName: a, cellClassName: s } = t; return (0, es.jsx)("td", { className: (0, eY.cx)(m(n, s, !1), h === e.id ? ["shadow-border-y", "first:shadow-border-tlb", "last:shadow-border-trb"] : "", "default" === p ? "!shadow-blue-900 dark:!shadow-blue-200" : "", "blue" === p ? "!shadow-blue-500 dark:!shadow-blue-400" : "", "red" === p ? "!shadow-red-500 dark:!shadow-red-400" : "", "amber" === p ? "!shadow-amber-500 dark:!shadow-amber-500" : "", "green" === p ? "!shadow-green-500 dark:!shadow-green-400" : ""), children: (0, es.jsx)("div", { className: (0, eY.cx)(g(n, a), "dense" === u ? "h-[50px]" : "h-[100px]"), children: (0, es.jsx)(o, { data: e, context: r }) }) }, "".concat(i, "/").concat(e.id)) }) }, e.id))), "skeleton" === v && (0, m8.times)(c).map(e => (0, es.jsx)("tr", { className: "border-b border-gray-200/50 dark:border-graydark-100", children: t.map((e, t) => { let { id: n, contentClassName: r, cellClassName: i } = e; return (0, es.jsx)("td", { className: m(t, i, !1), children: (0, es.jsx)("div", { className: (0, eY.cx)(g(t, r), "dense" === u ? "h-[50px]" : "h-[100px]") }) }, "".concat(t, "/").concat(n)) }) }, e))] })] }), "emptyState" === v && d] }) } var Ok = ["children"], Oj = ["children"], OS = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Ok); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), b || (b = el.createElement("path", { d: "M14 16L24 6 25.4 7.4 16.8 16 25.4 24.6 24 26zM8 4H10V28H8z" })), n) }), OO = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Oj); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), x || (x = el.createElement("path", { d: "M18 16L8 26 6.6 24.6 15.2 16 6.6 7.4 8 6zM22 4H24V28H22z" })), n) }), OC = n(5632); function OA(e) { let { offset: t, limit: n, datasetTotal: r, isLoading: i } = e, o = (0, OC.useRouter)(); return (0, es.jsxs)(uD, { children: [(0, es.jsx)(lW, { icon: "contrast", disabled: t <= 0, size: "small", variant: "gray", className: "rounded-r-none", onClick: () => o.push({ query: { ...o.query, offset: 0 } }), children: (0, es.jsx)("div", { className: "flex scale-[0.65]", children: (0, es.jsx)(OS, {}) }) }), (0, es.jsx)(lW, { icon: "contrast", disabled: t <= 0, size: "small", variant: "gray", className: "rounded-none", onClick: () => o.push({ query: { ...o.query, offset: Math.max(t - n, 0) } }), children: (0, es.jsx)(hG, {}) }), (0, es.jsx)(lW, { state: "waiting", className: "rounded-none px-3", children: r > 0 ? "".concat(t + 1, " - ").concat(Math.min(t + n, r), " of ").concat(r ? r.toLocaleString() : "") : i ? (0, es.jsx)(kd, { className: "px-2" }) : "No results" }), (0, es.jsx)(lW, { icon: "contrast", disabled: t + n >= r, size: "small", variant: "gray", className: "rounded-none", onClick: () => o.push({ query: { ...o.query, offset: Math.min(t + n, r) } }), children: (0, es.jsx)(hK, {}) }), (0, es.jsx)(lW, { icon: "contrast", disabled: t + n >= r, size: "small", variant: "gray", className: "rounded-l-none", onClick: () => o.push({ query: { ...o.query, offset: Math.floor(r / n) * n } }), children: (0, es.jsx)("div", { className: "flex", style: { transform: "scale(0.65)" }, children: (0, es.jsx)(OO, {}) }) })] }) } function OT(e) { let { title: t, nav: n, stats: r, actions: i } = e; return (0, es.jsxs)(es.Fragment, { children: [(0, es.jsxs)("div", { className: "flex items-center gap-2 px-6 h-14 z-10 bg-white dark:bg-graydark-50 border-b border-gray-500 dark:border-graydark-500", children: [t ? "string" == typeof t ? (0, es.jsx)(nj, { font: "mono", size: "18", weight: "bold", className: "hidden lg:block relative -top-px", children: t }) : t : null, (0, es.jsxs)("div", { className: "flex-1 flex gap-4 items-center justify-between h-full px-1 -mx-1 overflow-x-hidden", children: [(0, es.jsx)("div", { className: "flex gap-2 items-center h-full flex-1 overflow-x-hidden", children: n }), (0, es.jsx)("div", { className: "flex gap-2 items-center h-full", children: i })] })] }), r && (0, es.jsx)("div", { className: "flex items-center gap-2 px-6 py-3 z-10 bg-gray-50 dark:bg-graydark-50 border-b border-gray-300 dark:border-graydark-300", children: r })] }) } let OM = ("string" == typeof (d = { src: "/_next/static/media/background-pattern.b997b25c.jpg", height: 104, width: 34, blurDataURL: "data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAIAAMDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAZEAADAAMAAAAAAAAAAAAAAAAAAQISIpH/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8ArRbxWi6AAP/Z", blurWidth: 3, blurHeight: 8 }) ? { src: d } : d).src; function OP(e) { let { children: t } = e; return (0, es.jsxs)("div", { className: "relative -z-10 opacity-100 pointer-events-none", children: [(0, es.jsx)("div", { className: "fixed top-0 left-0 right-0 bottom-0 z-10 bg-white dark:bg-graydark-50" }), (0, es.jsx)("div", { className: "fixed top-0 left-0 right-0 w-[200vw] h-[200vh] opacity-30 z-30 translate-x[-50vw] translate-y[-100vh]", style: { backgroundImage: "url(".concat(OM, ")"), backgroundPositionY: "bottom", backgroundSize: "auto" } }), (0, es.jsx)("div", { className: "fixed top-0 left-0 right-0 bottom-0 opacity-95 z-40 bg-white dark:bg-graydark-50" }), t] }) } var ON = n(97729), OR = n.n(ON); function OD(e) { let { appName: t, title: n, children: r } = e, i = n ? "".concat(t, " - ").concat(n) : t; return (0, es.jsxs)(OR(), { children: [(0, es.jsx)("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }), (0, es.jsx)("link", { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" }), (0, es.jsx)("link", { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32x32.png" }), (0, es.jsx)("link", { rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon-16x16.png" }), (0, es.jsx)("link", { rel: "manifest", href: "/site.webmanifest" }), (0, es.jsx)("link", { rel: "mask-icon", href: "/safari-pinned-tab.svg", color: "#1ed660" }), (0, es.jsx)("meta", { name: "msapplication-TileColor", content: "#2b5797" }), (0, es.jsx)("meta", { name: "theme-color", content: "#ffffff" }), r, (0, es.jsx)("title", { children: i })] }) } function OL(e) { let { appName: t, title: n, children: r } = e; return (0, es.jsxs)("div", { className: "h-screen", children: [(0, es.jsx)(OD, { appName: t, title: n }), r] }) } function OF(e) { let { appName: t, title: n, children: r, filters: i, actions: o } = e; return (0, es.jsxs)(OL, { appName: t, title: n, children: [(0, es.jsx)(OP, {}), (0, es.jsx)("div", { className: "flex h-full", children: (0, es.jsxs)("div", { className: "flex flex-col flex-1", children: [(0, es.jsx)(OT, { nav: i, actions: o }), (0, es.jsx)("div", { className: "flex-1", children: (0, es.jsx)(lG, { className: "h-full", children: r }) })] }) })] }) } function OI(e) { let { size: t = 24 } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, fill: "currentColor", viewBox: "0 0 448 512", children: (0, es.jsx)("path", { d: "M80 192V144C80 64.47 144.5 0 224 0C303.5 0 368 64.47 368 144V192H384C419.3 192 448 220.7 448 256V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V256C0 220.7 28.65 192 64 192H80zM144 192H304V144C304 99.82 268.2 64 224 64C179.8 64 144 99.82 144 144V192z" }) }) } function Oz(e) { let { size: t = 24 } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, fill: "currentColor", viewBox: "0 0 448 512", children: (0, es.jsx)("path", { d: "M7.994 153.5c1.326 0 2.687 .3508 3.975 1.119L208 271.5v223.8c0 9.741-7.656 16.71-16.01 16.71c-2.688 0-5.449-.7212-8.05-2.303l-152.2-92.47C12.13 405.3 0 383.3 0 359.5v-197.7C0 156.1 3.817 153.5 7.994 153.5zM426.2 117.2c0 2.825-1.352 5.647-4.051 7.248L224 242.6L25.88 124.4C23.19 122.8 21.85 119.1 21.85 117.2c0-2.8 1.32-5.603 3.965-7.221l165.1-100.9C201.7 3.023 212.9 0 224 0s22.27 3.023 32.22 9.07l165.1 100.9C424.8 111.6 426.2 114.4 426.2 117.2zM440 153.5C444.2 153.5 448 156.1 448 161.8v197.7c0 23.75-12.12 45.75-31.78 57.69l-152.2 92.5C261.5 511.3 258.7 512 256 512C247.7 512 240 505 240 495.3V271.5l196-116.9C437.3 153.8 438.7 153.5 440 153.5z" }) }) } function OV(e) { let { size: t = 24 } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: t, height: t, fill: "currentColor", children: (0, es.jsx)("path", { d: "M495.9 166.6C499.2 175.2 496.4 184.9 489.6 191.2L446.3 230.6C447.4 238.9 448 247.4 448 256C448 264.6 447.4 273.1 446.3 281.4L489.6 320.8C496.4 327.1 499.2 336.8 495.9 345.4C491.5 357.3 486.2 368.8 480.2 379.7L475.5 387.8C468.9 398.8 461.5 409.2 453.4 419.1C447.4 426.2 437.7 428.7 428.9 425.9L373.2 408.1C359.8 418.4 344.1 427 329.2 433.6L316.7 490.7C314.7 499.7 307.7 506.1 298.5 508.5C284.7 510.8 270.5 512 255.1 512C241.5 512 227.3 510.8 213.5 508.5C204.3 506.1 197.3 499.7 195.3 490.7L182.8 433.6C167 427 152.2 418.4 138.8 408.1L83.14 425.9C74.3 428.7 64.55 426.2 58.63 419.1C50.52 409.2 43.12 398.8 36.52 387.8L31.84 379.7C25.77 368.8 20.49 357.3 16.06 345.4C12.82 336.8 15.55 327.1 22.41 320.8L65.67 281.4C64.57 273.1 64 264.6 64 256C64 247.4 64.57 238.9 65.67 230.6L22.41 191.2C15.55 184.9 12.82 175.3 16.06 166.6C20.49 154.7 25.78 143.2 31.84 132.3L36.51 124.2C43.12 113.2 50.52 102.8 58.63 92.95C64.55 85.8 74.3 83.32 83.14 86.14L138.8 103.9C152.2 93.56 167 84.96 182.8 78.43L195.3 21.33C197.3 12.25 204.3 5.04 213.5 3.51C227.3 1.201 241.5 0 256 0C270.5 0 284.7 1.201 298.5 3.51C307.7 5.04 314.7 12.25 316.7 21.33L329.2 78.43C344.1 84.96 359.8 93.56 373.2 103.9L428.9 86.14C437.7 83.32 447.4 85.8 453.4 92.95C461.5 102.8 468.9 113.2 475.5 124.2L480.2 132.3C486.2 143.2 491.5 154.7 495.9 166.6V166.6zM256 336C300.2 336 336 300.2 336 255.1C336 211.8 300.2 175.1 256 175.1C211.8 175.1 176 211.8 176 255.1C176 300.2 211.8 336 256 336z" }) }) } function OB(e) { let { size: t = 24, className: n } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", height: t, width: t, className: n, fill: "currentColor", viewBox: "0 0 512 512", children: (0, es.jsx)("path", { d: "M448 32C465.7 32 480 46.33 480 64C480 81.67 465.7 96 448 96H80C71.16 96 64 103.2 64 112C64 120.8 71.16 128 80 128H448C483.3 128 512 156.7 512 192V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H448zM416 336C433.7 336 448 321.7 448 304C448 286.3 433.7 272 416 272C398.3 272 384 286.3 384 304C384 321.7 398.3 336 416 336z" }) }) } function OZ(e) { let { size: t = "12", wallet: { sc: n, sf: r } } = e; return (0, es.jsx)(nj, { size: t, weight: "medium", children: "".concat((0, gB.Vz)(n, { fixed: 0 }), " ").concat(r && r > 0 ? " | ".concat((0, gB.ES)(r)) : "") }) } function OU(e) { let { title: t, children: n, route: r, onClick: i } = e, o = (0, OC.useRouter)(), a = r && ("/" === r ? o.pathname === r : o.pathname.startsWith(r)); return r ? (0, es.jsx)(uc, { href: r, className: "no-underline", children: (0, es.jsx)(lU, { side: "right", align: "center", delayDuration: 0, sideOffset: 5, content: t, children: (0, es.jsx)(lW, { icon: "contrast", size: "none", variant: "state", "data-state": a ? "open" : "closed", onClick: i, children: n }) }) }) : (0, es.jsx)(lU, { side: "right", align: "center", delayDuration: 0, sideOffset: 5, content: t, children: (0, es.jsx)(lW, { icon: "contrast", size: "none", variant: "state", "data-state": a ? "open" : "closed", onClick: i, children: n }) }) } function OH(e) { let { walletBalance: t, isSynced: n, routes: r } = e; return (0, es.jsx)(OU, { title: "Wallet", route: r.wallet.view, children: (0, es.jsxs)("div", { className: "flex flex-col gap-3 items-center", children: [(0, es.jsx)(OB, {}), n && t && (0, es.jsx)(OZ, { wallet: { sc: t } })] }) }) } function OW(e) { let { routes: t, profile: n, isSynced: r, showWallet: i = !0, walletBalance: o, lock: a, openSettings: s, children: l } = e; return (0, es.jsx)(nC, { className: "relative overflow-hidden z-10 h-full w-[75px] rounded-none border-y-0", children: (0, es.jsxs)("div", { className: "flex flex-col items-center h-full", children: [(0, es.jsx)("div", { className: "flex items-center justify-center", style: { height: "".concat(60, "px") }, children: n || (0, es.jsx)(um, { size: 30 }) }), (0, es.jsxs)("div", { className: "flex flex-col gap-6 items-center pt-4 pb-6 h-full", children: [(0, es.jsx)("div", { className: "flex flex-col gap-6 items-center", children: l }), (0, es.jsx)("div", { className: "flex-1" }), (0, es.jsx)(fK, { className: "w-full" }), i && (0, es.jsx)(OH, { routes: t, isSynced: r, walletBalance: o }), (0, es.jsx)(OU, { title: "Blockchain node", route: t.node.index, children: (0, es.jsx)(Oz, {}) }), (0, es.jsx)(OU, { title: "App preferences", onClick: () => s(), children: (0, es.jsx)(OV, {}) }), (0, es.jsx)(OU, { title: "Lock app", onClick: a, children: (0, es.jsx)(OI, {}) })] })] }) }) } var Oq = Object.create, O$ = Object.defineProperty, OY = Object.getOwnPropertyDescriptor, OG = Object.getOwnPropertyNames, OK = Object.getPrototypeOf, OX = Object.prototype.hasOwnProperty, OQ = (m = null != (v = (h = (e, t) => { var r, i; r = e, i = function(e) { var t, n = void 0 === Number.MAX_SAFE_INTEGER ? 9007199254740991 : Number.MAX_SAFE_INTEGER, r = 2 * 536870912, i = new WeakMap, o = (t = function(e, t) { return i.set(e, t), t }, function(e) { var o = i.get(e), a = void 0 === o ? e.size : o < r ? o + 1 : 0; if (!e.has(a)) return t(e, a); if (e.size < 536870912) { for (; e.has(a);)a = Math.floor(Math.random() * r); return t(e, a) } if (e.size > n) throw Error("Congratulations, you created a collection of unique numbers which uses all available integers!"); for (; e.has(a);)a = Math.floor(Math.random() * n); return t(e, a) }); e.addUniqueNumber = function(e) { var t = o(e); return e.add(t), t }, e.generateUniqueNumber = o }, "object" == typeof e && "u" > typeof t ? i(e) : "function" == typeof define && n.amdO ? define(["exports"], i) : i((r = "u" > typeof globalThis ? globalThis : r || self).fastUniqueNumbers = {}) }, () => (p || h((p = { exports: {} }).exports, p), p.exports))()) ? Oq(OK(v)) : {}, ((e, t, n, r) => { if (t && "object" == typeof t || "function" == typeof t) for (let i of OG(t)) OX.call(e, i) || void 0 === i || O$(e, i, { get: () => t[i], enumerable: !(r = OY(t, i)) || r.enumerable }); return e })(v && v.__esModule ? m : O$(m, "default", { value: v, enumerable: !0 }), v)), OJ = e => void 0 !== e.method && "call" === e.method, O0 = e => null === e.error && "number" == typeof e.id, O1 = e => { let t = new Map([[0, () => { }]]), n = new Map([[0, () => { }]]), r = new Map, i = new Worker(e); return i.addEventListener("message", ({ data: e }) => { if (OJ(e)) { let { params: { timerId: i, timerType: o } } = e; if ("interval" === o) { let a = t.get(i); if ("number" == typeof a) { let s = r.get(a); if (void 0 === s || s.timerId !== i || s.timerType !== o) throw Error("The timer is in an undefined state.") } else if ("u" > typeof a) a(); else throw Error("The timer is in an undefined state.") } else if ("timeout" === o) { let l = n.get(i); if ("number" == typeof l) { let u = r.get(l); if (void 0 === u || u.timerId !== i || u.timerType !== o) throw Error("The timer is in an undefined state.") } else if ("u" > typeof l) l(), n.delete(i); else throw Error("The timer is in an undefined state.") } } else if (O0(e)) { let { id: c } = e, f = r.get(c); if (void 0 === f) throw Error("The timer is in an undefined state."); let { timerId: d, timerType: h } = f; r.delete(c), "interval" === h ? t.delete(d) : n.delete(d) } else { let { error: { message: p } } = e; throw Error(p) } }), { clearInterval: e => { let n = (0, OQ.generateUniqueNumber)(r); r.set(n, { timerId: e, timerType: "interval" }), t.set(e, n), i.postMessage({ id: n, method: "clear", params: { timerId: e, timerType: "interval" } }) }, clearTimeout: e => { let t = (0, OQ.generateUniqueNumber)(r); r.set(t, { timerId: e, timerType: "timeout" }), n.set(e, t), i.postMessage({ id: t, method: "clear", params: { timerId: e, timerType: "timeout" } }) }, setInterval: (e, n) => { let r = (0, OQ.generateUniqueNumber)(t); return t.set(r, () => { e(), "function" == typeof t.get(r) && i.postMessage({ id: null, method: "set", params: { delay: n, now: performance.now(), timerId: r, timerType: "interval" } }) }), i.postMessage({ id: null, method: "set", params: { delay: n, now: performance.now(), timerId: r, timerType: "interval" } }), r }, setTimeout: (e, t) => { let r = (0, OQ.generateUniqueNumber)(n); return n.set(r, e), i.postMessage({ id: null, method: "set", params: { delay: t, now: performance.now(), timerId: r, timerType: "timeout" } }), r } } }; a = null, () => { if (null !== a) return a; let e = new Blob(['(()=>{"use strict";const e=new Map,t=new Map,r=(e,t)=>{let r,o;const i=performance.now();r=i,o=e-Math.max(0,i-t);return{expected:r+o,remainingDelay:o}},o=(e,t,r,i)=>{const s=performance.now();s>r?postMessage({id:null,method:"call",params:{timerId:t,timerType:i}}):e.set(t,setTimeout(o,r-s,e,t,r,i))};addEventListener("message",(i=>{let{data:s}=i;try{if("clear"===s.method){const{id:r,params:{timerId:o,timerType:i}}=s;if("interval"===i)(t=>{const r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)})(o),postMessage({error:null,id:r});else{if("timeout"!==i)throw new Error(\'The given type "\'.concat(i,\'" is not supported\'));(e=>{const r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)})(o),postMessage({error:null,id:r})}}else{if("set"!==s.method)throw new Error(\'The given method "\'.concat(s.method,\'" is not supported\'));{const{params:{delay:i,now:n,timerId:a,timerType:d}}=s;if("interval"===d)((t,i,s)=>{const{expected:n,remainingDelay:a}=r(t,s);e.set(i,setTimeout(o,a,e,i,n,"interval"))})(i,a,n);else{if("timeout"!==d)throw new Error(\'The given type "\'.concat(d,\'" is not supported\'));((e,i,s)=>{const{expected:n,remainingDelay:a}=r(e,s);t.set(i,setTimeout(o,a,t,i,n,"timeout"))})(i,a,n)}}}}catch(e){postMessage({error:{message:e.message},id:s.id,result:null})}}))})();'], { type: "application/javascript; charset=utf-8" }), t = URL.createObjectURL(e); return a = O1(t), setTimeout(() => URL.revokeObjectURL(t)), a }; var O2 = (typeof window > "u" ? "undefined" : typeof window) == "object", O4 = { setTimeout: O2 ? setTimeout.bind(window) : setTimeout, clearTimeout: O2 ? clearTimeout.bind(window) : clearTimeout, setInterval: O2 ? setInterval.bind(window) : setInterval, clearInterval: O2 ? clearInterval.bind(window) : clearInterval }, O3 = {}, O5 = class { name; closed = !1; mc = new MessageChannel; constructor(e) { this.name = e, O3[e] = O3[e] || [], O3[e].push(this), this.mc.port1.start(), this.mc.port2.start(), this.onStorage = this.onStorage.bind(this), window.addEventListener("storage", this.onStorage) } onStorage(e) { if (e.storageArea !== window.localStorage || e.key.substring(0, this.name.length) !== this.name || null === e.newValue) return; let t = JSON.parse(e.newValue); this.mc.port2.postMessage(t) } postMessage(e) { if (this.closed) throw Error("InvalidStateError"); let t = JSON.stringify(e), n = `${this.name}:${String(Date.now())}${String(Math.random())}`; window.localStorage.setItem(n, t), O4.setTimeout(() => { window.localStorage.removeItem(n) }, 500), O3[this.name].forEach(e => { e !== this && e.mc.port2.postMessage(JSON.parse(t)) }) } close() { if (this.closed) return; this.closed = !0, this.mc.port1.close(), this.mc.port2.close(), window.removeEventListener("storage", this.onStorage); let e = O3[this.name].indexOf(this); O3[this.name].splice(e, 1) } get onmessage() { return this.mc.port1.onmessage } set onmessage(e) { this.mc.port1.onmessage = e } get onmessageerror() { return this.mc.port1.onmessageerror } set onmessageerror(e) { this.mc.port1.onmessageerror = e } addEventListener(e, t) { return this.mc.port1.addEventListener(e, t) } removeEventListener(e, t) { return this.mc.port1.removeEventListener(e, t) } dispatchEvent(e) { return this.mc.port1.dispatchEvent(e) } }, O6 = typeof window > "u" ? void 0 : "function" == typeof window.BroadcastChannel ? window.BroadcastChannel : O5; function O8() { return Math.random().toString(36).substring(2) } var O7 = class { options; channel; token = O8(); isLeader = !1; isDead = !1; isApplying = !1; reApply = !1; intervals = []; listeners = []; deferred; constructor(e, t) { this.channel = e, this.options = t, this.apply = this.apply.bind(this), this.awaitLeadership = this.awaitLeadership.bind(this), this.sendAction = this.sendAction.bind(this) } async apply() { if (this.isLeader || this.isDead) return !1; if (this.isApplying) return this.reApply = !0, !1; this.isApplying = !0; let e = !1, t = t => { let { token: n, action: r } = t.data; n !== this.token && (0 === r && n > this.token && (e = !0), 1 === r && (e = !0)) }; this.channel.addEventListener("message", t); try { return this.sendAction(0), await function(e = 0) { return new Promise(t => O4.setTimeout(t, e)) }(this.options.responseTime), this.channel.removeEventListener("message", t), this.isApplying = !1, e ? !!this.reApply && this.apply() : (this.assumeLead(), !0) } catch { return !1 } } awaitLeadership() { if (this.isLeader) return Promise.resolve(); let e = !1, t = null; return new Promise(n => { let r = () => { if (e) return; e = !0; try { O4.clearInterval(t) } catch { } let r = this.intervals.indexOf(t); r >= 0 && this.intervals.splice(r, 1), this.channel.removeEventListener("message", i), n() }; t = O4.setInterval(() => { this.apply().then(() => { this.isLeader && r() }) }, this.options.fallbackInterval), this.intervals.push(t); let i = e => { let { action: t } = e.data; 2 === t && this.apply().then(() => { this.isLeader && r() }) }; this.channel.addEventListener("message", i) }) } sendAction(e) { this.channel.postMessage({ action: e, token: this.token }) } assumeLead() { this.isLeader = !0; let e = e => { let { action: t } = e.data; 0 === t && this.sendAction(1) }; return this.channel.addEventListener("message", e), this.listeners.push(e), this.sendAction(1) } waitForLeadership() { return this.deferred || (this.deferred = this.awaitLeadership()), this.deferred } close() { if (!this.isDead) { this.isDead = !0, this.isLeader = !1, this.sendAction(2); try { this.listeners.forEach(e => this.channel.removeEventListener("message", e)), this.intervals.forEach(e => O4.clearInterval(e)) } catch { } } } }, O9 = class { channel; options; elector; token = O8(); registry = new Map; allIdle = !1; isLastActive = !1; constructor(e) { let { channelName: t } = e; this.options = e, this.channel = new O6(t), this.registry.set(this.token, 1), e.leaderElection && (this.elector = new O7(this.channel, { fallbackInterval: 2e3, responseTime: 100 }), this.elector.waitForLeadership()), this.channel.addEventListener("message", e => { let { action: t, token: n, data: r } = e.data; switch (t) { case 3: this.registry.set(n, 2); break; case 4: this.registry.delete(n); break; case 5: this.idle(n); break; case 6: this.active(n); break; case 7: this.prompt(n); break; case 8: this.start(n); break; case 9: this.reset(n); break; case 10: this.activate(n); break; case 11: this.pause(n); break; case 12: this.resume(n); break; case 13: this.options.onMessage(r) } }), this.send(3) } get isLeader() { if (!this.elector) throw Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.'); return this.elector.isLeader } prompt(e = this.token) { this.registry.set(e, 0); let t = [...this.registry.values()].every(e => 0 === e); e === this.token && this.send(7), t && this.options.onPrompt() } idle(e = this.token) { this.registry.set(e, 2); let t = [...this.registry.values()].every(e => 2 === e); e === this.token && this.send(5), !this.allIdle && t && (this.allIdle = !0, this.options.onIdle()) } active(e = this.token) { this.allIdle = !1, this.registry.set(e, 1); let t = [...this.registry.values()].some(e => 1 === e); e === this.token && this.send(6), t && this.options.onActive(), this.isLastActive = e === this.token } start(e = this.token) { this.allIdle = !1, this.registry.set(e, 1), e === this.token ? this.send(8) : this.options.start(!0), this.isLastActive = e === this.token } reset(e = this.token) { this.allIdle = !1, this.registry.set(e, 1), e === this.token ? this.send(9) : this.options.reset(!0), this.isLastActive = e === this.token } activate(e = this.token) { this.allIdle = !1, this.registry.set(e, 1), e === this.token ? this.send(10) : this.options.activate(!0), this.isLastActive = e === this.token } pause(e = this.token) { e === this.token ? this.send(11) : this.options.pause(!0) } resume(e = this.token) { e === this.token ? this.send(12) : this.options.resume(!0) } message(e) { try { this.channel.postMessage({ action: 13, token: this.token, data: e }) } catch { } } send(e) { try { this.channel.postMessage({ action: e, token: this.token }) } catch { } } close() { this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close() } }, Ce = O2 ? document : null, Ct = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"]; function Cn(e, t) { let n = 0; return function(...r) { let i = new Date().getTime(); if (!(i - n < t)) return n = i, e(...r) } } var Cr = () => Date.now(); function Ci(e) { let { route: t } = e, n = (0, hN.Nf)({ route: t, config: { swr: { refreshInterval: 3e4 } } }); return { isConnected: !n.error, isValidating: n.isValidating } } function Co(e) { let { appName: t, title: n, navTitle: r, profile: i, size: o = "4", banner: a, nav: s, actions: l, stats: u, children: c, sidenav: f, connectivityRoute: d, isSynced: h, showWallet: p, walletBalance: v, routes: m, scroll: g = !0, openSettings: y } = e, { lock: b, settings: x } = (0, hN.Hv)(); return !function(e) { let { lock: t, route: n, routes: r } = e, { isConnected: i, isValidating: o } = Ci({ route: n }), { settings: a } = (0, hN.Hv)(), s = (0, OC.useRouter)(); (0, el.useEffect)(() => { if (o) return; let e = !s.asPath.startsWith(r.login), n = !a.password || !i; if (e && n) { t(); return } }, [s, a.password, i, o]) }({ lock: b, route: d, routes: m }), !function(e) { let { enabled: t, lock: n, lockTimeout: r } = e, i = (0, el.useCallback)(() => { n() }, [n]); !function({ timeout: e = 12e5, promptTimeout: t = 0, promptBeforeIdle: n = 0, element: r = Ce, events: i = Ct, timers: o, immediateEvents: a = [], onPresenceChange: s = () => { }, onPrompt: l = () => { }, onIdle: u = () => { }, onActive: c = () => { }, onAction: f = () => { }, onMessage: d = () => { }, debounce: h = 0, throttle: p = 0, eventsThrottle: v = 200, startOnMount: m = !0, startManually: g = !1, stopOnIdle: y = !1, crossTab: b = !1, name: x = "idle-timer", syncTimers: w = 0, leaderElection: _ = !1, disabled: E = !1 } = {}) { let k = (0, el.useRef)(Cr()), j = (0, el.useRef)(Cr()), S = (0, el.useRef)(null), O = (0, el.useRef)(null), C = (0, el.useRef)(0), A = (0, el.useRef)(0), T = (0, el.useRef)(0), M = (0, el.useRef)(0), P = (0, el.useRef)(!1), N = (0, el.useRef)(!1), R = (0, el.useRef)(!1), D = (0, el.useRef)(!0), L = (0, el.useRef)(!1), F = (0, el.useRef)(null), I = (0, el.useRef)(null), z = (0, el.useRef)(e), V = (0, el.useRef)(0); (0, el.useEffect)(() => { if (t && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), n && t) throw Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version."); if (e >= 2147483647) throw Error(`\u274C The value for the timeout property must fit in a 32 bit signed integer, 2147483647.`); if (t >= 2147483647) throw Error(`\u274C The value for the promptTimeout property must fit in a 32 bit signed integer, 2147483647.`); if (n >= 2147483647) throw Error(`\u274C The value for the promptBeforeIdle property must fit in a 32 bit signed integer, 2147483647.`); if (n >= e) throw Error(`\u274C The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`); if (n ? (z.current = e - n, V.current = n) : (z.current = e, V.current = t), !D.current) { if (g || E) return; P.current && (G.current(null, eM), I.current && I.current.active()), ef() } }, [e, t, n, g, E]); let B = (0, el.useRef)(y); (0, el.useEffect)(() => { B.current = y }, [y]); let Z = (0, el.useRef)(a), U = (0, el.useRef)(r), H = (0, el.useRef)([...new Set([...i, ...a]).values()]), W = (0, el.useRef)(E); (0, el.useEffect)(() => { W.current = E, !D.current && (E ? ep() : g || ef()) }, [E]); let q = (0, el.useRef)(s); (0, el.useEffect)(() => { q.current = s }, [s]); let $ = (0, el.useRef)(l); (0, el.useEffect)(() => { $.current = l }, [l]); let Y = (0, el.useRef)(u); (0, el.useEffect)(() => { Y.current = u }, [u]); let G = (0, el.useRef)(c); (0, el.useEffect)(() => { G.current = c }, [c]); let K = (0, el.useRef)(f); (0, el.useEffect)(() => { K.current = f }, [f]); let X = (0, el.useRef)(d); (0, el.useEffect)(() => { X.current = d }, [d]); let Q = (0, el.useMemo)(() => { let e = (e, t) => K.current(e, t); return h > 0 ? function(e, t) { let n; function r(...r) { n && clearTimeout(n), n = setTimeout(() => { e(...r), n = null }, t) } return r.cancel = function() { clearTimeout(n) }, r }(e, h) : p > 0 ? Cn(e, p) : e }, [p, h]), J = (0, el.useRef)(); (0, el.useEffect)(() => { b && w && (J.current = Cn(() => { I.current.active() }, w)) }, [b, w]); let ee = () => { null !== F.current && (O4.clearTimeout(F.current), F.current = null) }, et = (e, t = !0) => { ee(), F.current = O4.setTimeout(eo, e || z.current), t && (O.current = Cr()) }, en = e => { N.current || P.current || ($.current(e, eM), q.current({ type: "active", prompted: !0 }, eM)), M.current = 0, T.current = Cr(), N.current = !0, et(V.current, !1) }, er = () => { ee(), P.current || (Y.current(null, eM), q.current({ type: "idle" }, eM)), P.current = !0, S.current = Cr(), B.current ? ec() : N.current && (T.current = 0, N.current = !1) }, ei = e => { ee(), (P.current || N.current) && (G.current(e, eM), q.current({ type: "active", prompted: !1 }, eM)), N.current = !1, T.current = 0, P.current = !1, C.current += Cr() - S.current, A.current += Cr() - S.current, eu(), et() }, eo = e => { if (!P.current) { Q.cancel && Q.cancel(); let t = Cr() - O.current; if (!(z.current + V.current < t) && V.current > 0 && !N.current) { I.current ? I.current.prompt() : en(e); return } I.current ? I.current.idle() : er(); return } I.current ? I.current.active() : ei(e) }, ea = e => { if (m || O.current || (O.current = Cr(), G.current(null, eM)), Q(e, eM), N.current) return; if (ee(), !P.current && Z.current.includes(e.type)) { eo(e); return } let t = Cr() - O.current; if (P.current && !y || !P.current && t >= z.current) { eo(e); return } R.current = !1, M.current = 0, T.current = 0, et(), b && w && J.current() }, es = (0, el.useRef)(ea); (0, el.useEffect)(() => { let e = L.current; e && ec(), v > 0 ? es.current = Cn(ea, v) : es.current = ea, e && eu() }, [v, p, h, K, b, w]); let eu = () => { O2 && U.current && (L.current || (H.current.forEach(e => { U.current.addEventListener(e, es.current, { capture: !0, passive: !0 }) }), L.current = !0)) }, ec = (e = !1) => { O2 && U.current && (L.current || e) && (H.current.forEach(e => { U.current.removeEventListener(e, es.current, { capture: !0 }) }), L.current = !1) }, ef = (0, el.useCallback)(e => !W.current && (ee(), eu(), P.current = !1, N.current = !1, R.current = !1, M.current = 0, T.current = 0, I.current && !e && I.current.start(), et(), !0), [F, P, W, z, I]), ed = (0, el.useCallback)(e => !W.current && (ee(), eu(), j.current = Cr(), C.current += Cr() - S.current, A.current += Cr() - S.current, C.current = 0, P.current = !1, N.current = !1, R.current = !1, M.current = 0, T.current = 0, I.current && !e && I.current.reset(), g || et(), !0), [F, P, z, g, W, I]), eh = (0, el.useCallback)(e => !W.current && (ee(), eu(), (P.current || N.current) && ei(), P.current = !1, N.current = !1, R.current = !1, M.current = 0, T.current = 0, j.current = Cr(), I.current && !e && I.current.activate(), et(), !0), [F, P, N, W, z, I]), ep = (0, el.useCallback)((e = !1) => !W.current && !R.current && (M.current = e_(), R.current = !0, ec(), ee(), I.current && !e && I.current.pause(), !0), [F, W, I]), ev = (0, el.useCallback)((e = !1) => !W.current && !!R.current && (R.current = !1, N.current || eu(), P.current || et(M.current), T.current && (T.current = Cr()), I.current && !e && I.current.resume(), !0), [F, z, W, M, I]), em = (0, el.useCallback)((e, t) => (I.current ? (t && X.current(e, eM), I.current.message(e)) : t && X.current(e, eM), !0), [d]), eg = (0, el.useCallback)(() => P.current, [P]), ey = (0, el.useCallback)(() => N.current, [N]), eb = (0, el.useCallback)(() => I.current ? I.current.isLeader : null, [I]), ex = (0, el.useCallback)(() => I.current ? I.current.isLastActive : null, [I]), ew = (0, el.useCallback)(() => I.current ? I.current.token : null, [I]), e_ = (0, el.useCallback)(() => { if (R.current) return M.current; let e = Math.floor((M.current ? M.current : V.current + z.current) - (O.current ? Cr() - O.current : 0)); return e < 0 ? 0 : Math.abs(e) }, [z, V, N, M, O]), eE = (0, el.useCallback)(() => Math.round(Cr() - j.current), [j]), ek = (0, el.useCallback)(() => Math.round(Cr() - k.current), [k]), ej = (0, el.useCallback)(() => S.current ? new Date(S.current) : null, [S]), eS = (0, el.useCallback)(() => O.current ? new Date(O.current) : null, [O]), eO = (0, el.useCallback)(() => P.current ? Math.round(Cr() - S.current + C.current) : Math.round(C.current), [S, C]), eC = (0, el.useCallback)(() => P.current ? Math.round(Cr() - S.current + A.current) : Math.round(A.current), [S, A]), eA = (0, el.useCallback)(() => { let e = Math.round(eE() - eO()); return e >= 0 ? e : 0 }, [S, C]), eT = (0, el.useCallback)(() => { let e = Math.round(ek() - eC()); return e >= 0 ? e : 0 }, [S, C]); (0, el.useEffect)(() => { if (h > 0 && p > 0) throw Error("❌ onAction can either be throttled or debounced, not both."); o && (O4.setTimeout = o.setTimeout, O4.clearTimeout = o.clearTimeout, O4.setInterval = o.setInterval, O4.clearInterval = o.clearInterval); let e = () => { I.current && I.current.close(), Q.cancel && Q.cancel(), ee(), ec(!0) }; return O2 && window.addEventListener("beforeunload", e), () => { O2 && window.removeEventListener("beforeunload", e), I.current && I.current.close(), Q.cancel && Q.cancel(), ee(), ec(!0) } }, []), (0, el.useEffect)(() => { I.current && I.current.close(), b ? I.current = new O9({ channelName: x, leaderElection: _, onPrompt: () => { en() }, onIdle: () => { er() }, onActive: () => { ei() }, onMessage: e => { X.current(e, eM) }, start: ef, reset: ed, activate: eh, pause: ep, resume: ev }) : I.current = null }, [b, x, _, $, Y, G, X, ef, ed, ep, ev]), (0, el.useEffect)(() => { D.current || (ee(), ec(!0)), g || E || (m ? ef() : eu()) }, [g, m, E, D]), (0, el.useEffect)(() => { if (!D.current) { let e = [...new Set([...i, ...a]).values()]; ec(), H.current = e, U.current = r, Z.current = a, g || E || (m ? ef() : eu()) } }, [r, JSON.stringify(i), JSON.stringify(a), D, E, g, m]), (0, el.useEffect)(() => { D.current && (D.current = !1) }, [D]); let eM = { message: em, start: ef, reset: ed, activate: eh, pause: ep, resume: ev, isIdle: eg, isPrompted: ey, isLeader: eb, isLastActiveTab: ex, getTabId: ew, getRemainingTime: e_, getElapsedTime: eE, getTotalElapsedTime: ek, getLastIdleTime: ej, getLastActiveTime: eS, getIdleTime: eO, getTotalIdleTime: eC, getActiveTime: eA, getTotalActiveTime: eT, setOnPresenceChange: e => { s = e, q.current = e }, setOnPrompt: e => { l = e, $.current = e }, setOnIdle: e => { u = e, Y.current = e }, setOnActive: e => { c = e, G.current = e }, setOnAction: e => { f = e, K.current = e }, setOnMessage: e => { d = e, X.current = e } } }({ disabled: !t, onIdle: i, timeout: r, throttle: 5e3, eventsThrottle: 5e3 }) }({ enabled: !!x.autoLock, lockTimeout: x.autoLockTimeout, lock: b }), (0, es.jsxs)(OL, { appName: t, title: n, children: [(0, es.jsx)(OP, {}), (0, es.jsxs)("div", { className: "flex flex-col h-full w-full", children: [a, (0, es.jsxs)("div", { className: "flex flex-1 w-full overflow-hidden", children: [(0, es.jsx)(OW, { routes: m, profile: i, openSettings: y, lock: b, showWallet: p, walletBalance: v, isSynced: h, children: f }), (0, es.jsxs)("div", { className: "flex flex-col flex-1 overflow-hidden", children: [(0, es.jsx)(OT, { title: void 0 === r ? n : r, nav: s, actions: l, stats: u }), g ? (0, es.jsx)(cw, { className: "z-0", children: (0, es.jsx)(lG, { size: o, pad: !1, children: (0, es.jsx)("div", { className: "flex flex-col gap-5", children: c }) }) }) : (0, es.jsx)(lG, { size: o, pad: !1, className: "flex-1 flex flex-col gap-5 overflow-hidden", children: c })] })] })] })] }) } (0, el.createContext)(null).Consumer; var Ca = n(89644), Cs = n.n(Ca), Cl = n(63955); function Cu(e) { let { form: t, field: n, name: r } = e, i = t.watch(r), o = t.formState.touchedFields[r] && !!t.formState.errors[r], { ref: a, onChange: s, onBlur: l } = t.register(r, n.validation), u = (0, el.useCallback)(e => { var r; s(e), null === (r = n.trigger) || void 0 === r || r.forEach(e => t.trigger(e)) }, [s, t, n]), c = (0, el.useCallback)((e, i) => { var o; t.setValue(r, e, "boolean" == typeof i ? i ? { shouldValidate: !0, shouldDirty: !0, shouldTouch: !0 } : void 0 : i), null === (o = n.trigger) || void 0 === o || o.forEach(e => t.trigger(e)) }, [r, t, n]); return { ref: a, name: r, value: i, error: o, onBlur: l, onChange: u, setValue: c } } function Cc(e) { return (0, el.useCallback)(t => { SI((0, m8.entries)(t).map(t => { let [n, r] = t; return "".concat(e[n].title || n, ": ").concat(null == r ? void 0 : r.message) }).join(", ")) }, [e]) } function Cf(e) { let { name: t, form: n, fields: r, size: i = "small", autoComplete: o, group: a = !0 } = e, s = r[t], { ref: l, onChange: u, onBlur: c, error: f } = Cu({ name: t, form: n, field: s }), d = (0, es.jsx)(hs, { ref: l, name: t, placeholder: s.placeholder, size: i, autoComplete: o, type: s.type, readOnly: s.readOnly, onClick: s.onClick, state: f ? "invalid" : n.formState.dirtyFields[t] ? "valid" : "default", onChange: u, onBlur: c }); return a ? (0, es.jsx)(Op, { title: s.title, actions: s.actions, name: t, form: n, children: d }) : d } var Cd = ["children"], Ch = ["children"], Cp = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Cd); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), w || (w = el.createElement("circle", { cx: "11", cy: "15.5", r: "1.5" })), _ || (_ = el.createElement("path", { d: "M12,12H10V8h2a2,2,0,0,0,0-4H10A2.0023,2.0023,0,0,0,8,6v.5H6V6a4.0045,4.0045,0,0,1,4-4h2a4,4,0,0,1,0,8Z" })), E || (E = el.createElement("path", { d: "M22.4479,21.0337A10.971,10.971,0,0,0,19.9211,4.7446l-.999,1.73A8.9967,8.9967,0,1,1,5,14H3a10.9916,10.9916,0,0,0,18.0338,8.4478L28.5859,30,30,28.5859Z" })), n) }), Cv = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Ch); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), k || (k = el.createElement("path", { d: "M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z" })), j || (j = el.createElement("path", { d: "M16,2A13.94,13.94,0,0,0,6,6.23V2H4v8h8V8H7.08A12,12,0,1,1,4,16H2A14,14,0,1,0,16,2Z" })), n) }); async function Cm(e) { let { api: t, route: n, password: r } = e; try { return await Cs().get("".concat(t, "/api").concat(n), { method: "GET", headers: { "Content-Type": "application/json", Authorization: "Basic " + btoa(":".concat(r)) }, timeout: 1e4 }), {} } catch (a) { let i = a.code, o = a.response; if ((null == o ? void 0 : o.status) === 504) return { error: "Error, check that daemon is running" }; if ((null == o ? void 0 : o.status) === 401) return { error: "Error, wrong password" }; if ("ECONNABORTED" === i) return { error: "Error, daemon did not respond" }; return { error: "Error, something went wrong" } } } function Cg(e) { let { appName: t, route: n, routes: r } = e, i = (0, OC.useRouter)(), { settings: o, setSettings: a } = (0, hN.Hv)(), { allowCustomApi: s } = o, l = (0, el.useMemo)(() => { var e; return e = o.api, { api: e, password: "" } }, [o.api]), u = (0, Cl.cI)({ mode: "onBlur", defaultValues: l }); (0, el.useEffect)(() => { u.clearErrors() }, [s]); let c = (0, el.useCallback)(async e => { let t = ""; if (s) { let c = new URL(e.api); t = "".concat(c.protocol, "//").concat(c.host) } let { error: f } = await Cm({ api: t, route: n, password: e.password }); f ? u.setError("password", { message: f }) : (a({ api: t, password: e.password, recentApis: { ...o.recentApis, [t]: { lastUsed: new Date().getTime() } } }), i.push(i.query.prev ? decodeURIComponent(i.query.prev) : r.home), u.reset(l)) }, [s, u, i, r, o, a, l, n]), f = function(e) { let { allowCustomApi: t } = e; return { api: { type: "text", title: "API", placeholder: "http://127.0.0.1:9980", validation: { validate: { required: e => !t || !!e || "API is required", url: e => { try { let t = new URL(e); return !!t.protocol && !!t.host || "invalid API URL" } catch (n) { return "invalid API URL" } }, https: e => { let t = "https:" === window.location.protocol; return !t || t && e.startsWith("https") || "API must use HTTPS" } } } }, password: { type: "password", title: "Password", placeholder: "Enter password", validation: { required: "password is required" } } } }({ allowCustomApi: s }), d = Cc(f), h = u.formState.errors.api || u.formState.errors.password, p = (0, m8.sortBy)(Object.entries(o.recentApis), e => { let [t, { lastUsed: n }] = e; return -n }).map(e => { let [t] = e; return t }); return (0, es.jsx)("div", { className: "flex flex-col items-center justify-center gap-6 h-full", children: (0, es.jsx)(nC, { className: "relative top-[-50px] w-[300px] p-2.5", children: (0, es.jsxs)("div", { className: "flex flex-col justify-between h-full", children: [(0, es.jsxs)("div", { className: "flex justify-between items-center", children: [(0, es.jsx)(nj, { font: "mono", weight: "bold", size: "20", children: t }), (0, es.jsx)(f8, { trigger: (0, es.jsx)(lW, { icon: "hover", variant: "ghost", children: (0, es.jsx)(vU, {}) }), children: (0, es.jsx)(f7, { onSelect: () => a({ allowCustomApi: !s }), children: s ? "Hide custom API" : "Show custom API" }) })] }), (0, es.jsx)(fK, { className: "w-full mt-2 mb-3" }), (0, es.jsx)("form", { onSubmit: u.handleSubmit(c, d), children: (0, es.jsxs)("div", { className: "flex flex-col gap-1.5", children: [s ? (0, es.jsxs)(uD, { children: [(0, es.jsx)(Cf, { name: "api", form: u, fields: f, group: !1 }), p.length > 1 && (0, es.jsx)(f8, { trigger: (0, es.jsx)(lW, { type: "button", children: (0, es.jsx)(Cv, {}) }), children: p.map(e => (0, es.jsx)(f7, { onSelect: () => u.setValue("api", e), children: e }, e)) })] }) : null, (0, es.jsx)(Cf, { name: "password", form: u, fields: f, group: !1 }), h && (0, es.jsx)(nj, { size: "14", color: "red", children: h.message }), (0, es.jsx)(Ov, { size: "small", form: u, children: "Unlock" })] }) })] }) }) }) } var Cy = n(63397), Cb = n(24511); let Cx = { address: "", siacoin: void 0, includeFee: !1 }, Cw = Cb.Ry().shape({ address: Cb.Z_().required("Required"), siacoin: Cb.Z_().required("Required").test("greater than zero", "Must be greater than zero", e => !new (hA())(e || 0).isZero()) }); function C_(e) { let { address: t, siacoin: n, fee: r, transactionId: i } = e, o = n.plus(r); return (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, es.jsxs)("div", { className: "flex gap-6 justify-between items-center", children: [(0, es.jsx)(nj, { color: "verySubtle", noWrap: !0, children: "Address" }), (0, es.jsx)(SQ, { value: t, type: "address" })] }), (0, es.jsxs)("div", { className: "flex gap-2 justify-between items-center", children: [(0, es.jsx)(nj, { color: "verySubtle", noWrap: !0, children: "Amount" }), (0, es.jsx)("div", { className: "flex relative top-[-0.5px]", children: (0, es.jsx)(S0, { size: "14", value: n, variant: "value", dynamicUnits: !1 }) })] }), (0, es.jsxs)("div", { className: "flex gap-2 justify-between items-center", children: [(0, es.jsx)(nj, { color: "verySubtle", noWrap: !0, children: "Network fee" }), (0, es.jsx)("div", { className: "flex relative top-[-0.5px]", children: (0, es.jsx)(S0, { size: "14", value: r, variant: "value", dynamicUnits: !1 }) })] }), (0, es.jsxs)("div", { className: "flex items-center gap-2 justify-between", children: [(0, es.jsx)(nj, { color: "verySubtle", noWrap: !0, children: "Total" }), (0, es.jsx)("div", { className: "flex relative top-[-0.5px]", children: (0, es.jsx)(S0, { size: "14", value: o, variant: "value", dynamicUnits: !1 }) })] }), i && (0, es.jsxs)("div", { className: "flex gap-6 items-center justify-between", children: [(0, es.jsx)(nj, { color: "verySubtle", noWrap: !0, children: "Transaction ID" }), (0, es.jsx)(SQ, { value: i, type: "transaction" })] })] }) } function CE(e) { let { activeStep: t, steps: n, onChange: r } = e, i = n.findIndex(e => e.id === t), o = n.length - 1; return (0, es.jsxs)("div", { className: "relative w-full mt-8 mb-3", children: [(0, es.jsx)("div", { className: "absolute w-full h-1 bg-gray-500 dark:bg-graydark-500 rounded-lg" }), (0, es.jsx)("div", { className: "absolute h-1 bg-accent-800 dark:bg-accentdark-800 rounded-lg", style: { width: "".concat(i / o * 100, "%") } }), n.map((e, n) => { let { id: a, label: s } = e, l = t === a, u = i >= n, c = n === o, f = 0 === n, d = u && i !== o; return (0, es.jsxs)("div", { className: (0, eY.cx)("absolute h-2 w-2 -top-0.5", d ? "cursor-pointer" : "cursor-default"), style: { left: "calc(".concat(n / o * 100, "% - ").concat(c ? 8 : f ? 0 : 4, "px)") }, onClick: () => { d && r(a) }, children: [(0, es.jsx)(nj, { color: l ? "contrast" : "verySubtle", className: (0, eY.cx)("absolute top-[-30px]", f ? "left-0" : "", c ? "right-0" : "", f || c ? "" : "-translate-x-1/2"), noWrap: !0, children: s }), (0, es.jsx)("div", { className: (0, eY.cx)("absolute left-0 top-0 h-full w-full rounded-lg border", u ? "bg-accent-800 dark-accentdark-800" : "bg-gray-500 dark:bg-graydark-500", u ? "border-accent-900 dark:border-accentdark-900" : "border-gray-600 dark:border-graydark-600") }), l && (0, es.jsx)("div", { className: "absolute left-0 top-0 h-full w-full rounded-lg bg-accent-800 dark:bg-accentdark-800 animate-pingslow" })] }, a) })] }) } function Ck(e) { let { data: { address: t, siacoin: n }, fee: r, transactionId: i } = e; return (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(C_, { address: t, siacoin: n, fee: r, transactionId: i }), (0, es.jsxs)("div", { className: "flex flex-col items-center justify-center gap-2 my-4", children: [(0, es.jsx)(nj, { children: (0, es.jsx)(uW, {}) }), (0, es.jsx)(nj, { children: "Transaction successfully broadcasted." })] })] }) } let Cj = (0, gB.qN)(.00393), CS = { address: "", siacoin: new (hA())(0), includeFee: !1 }; function CO(e) { let { trigger: t, open: n, onOpenChange: r, balance: i, send: o } = e, [a, s] = (0, el.useState)("setup"), [l, u] = (0, el.useState)(), [c, f] = (0, el.useState)(CS), d = function(e) { let { balance: t, fee: n, onComplete: r } = e, i = (0, Cy.TA)({ initialValues: Cx, validationSchema: Cw, onSubmit: async e => { if (!e.siacoin) return; let o = e.includeFee ? (0, gB.qN)(e.siacoin).minus(n) : (0, gB.qN)(e.siacoin); if (t) { if (t.isLessThan((0, gB.qN)(e.siacoin).plus(n))) { i.setStatus({ error: "Not enough funds in wallet." }); return } i.setStatus({}), r({ includeFee: e.includeFee, address: e.address, siacoin: o }) } } }), o = (0, gB.qN)(i.values.siacoin || 0), a = (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(Om, { formik: i, variants: { size: "medium" }, title: "Address", name: "address", placeholder: "e3b1050aef388438668b52983cf78f40925af8f0aa8b9de80c18eadcefce8388d168a313e3f2", autoComplete: "off", type: "text" }), (0, es.jsx)(Om, { formik: i, title: "Siacoin", name: "siacoin", placeholder: "100", type: "siacoin" }), (0, es.jsxs)("div", { className: "flex items-center", children: [(0, es.jsx)(ps, { name: "includeFee", onCheckedChange: e => i.setFieldValue("includeFee", e), children: "Include fee" }), (0, es.jsx)(hz, { children: "Include or exclude the network fee from the above transaction value." }), (0, es.jsx)("div", { className: "flex flex-1" })] }), (0, es.jsxs)("div", { className: "flex flex-col gap-2 my-1", children: [(0, es.jsxs)("div", { className: "flex gap-2 justify-between items-center", children: [(0, es.jsx)(nj, { color: "verySubtle", children: "Network fee" }), (0, es.jsx)("div", { className: "flex relative top-[-0.5px]", children: (0, es.jsx)(S0, { size: "14", value: n, variant: "value", dynamicUnits: !1 }) })] }), (0, es.jsxs)("div", { className: "flex justify-between gap-2 items-center", children: [(0, es.jsx)(nj, { color: "verySubtle", children: "Total" }), (0, es.jsx)("div", { className: "flex relative top-[-0.5px]", children: (0, es.jsx)(S0, { size: "14", value: i.values.includeFee ? o : o.plus(n), variant: "value", dynamicUnits: !1 }) })] })] })] }); return { formik: i, form: a } }({ balance: i, fee: Cj, onComplete: e => { f(e), s("confirm") } }), h = function(e) { let { send: t, formData: n, fee: r, onConfirm: i } = e, { address: o, siacoin: a } = n || {}, s = (0, Cy.TA)({ initialValues: {}, onSubmit: async () => { let { transactionId: e, error: n } = await t({ address: o, sc: a }); if (n) { s.setStatus({ error: n }); return } i({ transactionId: e }) } }), l = (0, es.jsx)("div", { className: "flex flex-col gap-4", children: (0, es.jsx)(C_, { address: o, siacoin: a, fee: r }) }); return { form: l, formik: s } }({ fee: Cj, formData: c, send: o, onConfirm: e => { let { transactionId: t } = e; u(t), s("done") } }), p = (0, el.useMemo)(() => "setup" === a ? { submitLabel: "Generate transaction", formik: d.formik } : "confirm" === a ? { submitLabel: "Broadcast transaction", formik: h.formik } : void 0, [a, d, h]); return (0, es.jsx)(ck, { trigger: t, open: n, onOpenChange: e => { e || (d.formik.resetForm(), h.formik.resetForm(), s("setup")), r(e) }, title: "Send siacoin", onSubmit: p ? p.formik.handleSubmit : void 0, controls: p && (0, es.jsx)("div", { className: "flex flex-col gap-1", children: (0, es.jsx)(O_, { formik: p.formik, children: p.submitLabel }) }), contentVariants: { className: "w-[400px]" }, children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(CE, { onChange: e => s(e), activeStep: a, steps: [{ id: "setup", label: "Setup" }, { id: "confirm", label: "Confirm" }, { id: "done", label: "Complete" }] }), (0, es.jsx)(fK, { className: "w-full mt-4" }), "setup" === a && d.form, "confirm" === a && h.form, "done" === a && (0, es.jsx)(Ck, { data: c, fee: Cj, transactionId: l })] }) }) } let CC = "[a-fA-F\\d:]", CA = e => e && e.includeBoundaries ? "(?:(?<=\\s|^)(?=".concat(CC, ")|(?<=").concat(CC, ")(?=\\s|$))") : "", CT = "(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}", CM = "[a-fA-F\\d]{1,4}", CP = "\n(?:\n(?:".concat(CM, ":){7}(?:").concat(CM, "|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:").concat(CM, ":){6}(?:").concat(CT, "|:").concat(CM, "|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:").concat(CM, ":){5}(?::").concat(CT, "|(?::").concat(CM, "){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:").concat(CM, ":){4}(?:(?::").concat(CM, "){0,1}:").concat(CT, "|(?::").concat(CM, "){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:").concat(CM, ":){3}(?:(?::").concat(CM, "){0,2}:").concat(CT, "|(?::").concat(CM, "){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:").concat(CM, ":){2}(?:(?::").concat(CM, "){0,3}:").concat(CT, "|(?::").concat(CM, "){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:").concat(CM, ":){1}(?:(?::").concat(CM, "){0,4}:").concat(CT, "|(?::").concat(CM, "){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::").concat(CM, "){0,5}:").concat(CT, "|(?::").concat(CM, "){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), CN = RegExp("(?:^".concat(CT, "$)|(?:^").concat(CP, "$)")), CR = RegExp("^".concat(CT, "$")), CD = RegExp("^".concat(CP, "$")), CL = e => e && e.exact ? CN : RegExp("(?:".concat(CA(e)).concat(CT).concat(CA(e), ")|(?:").concat(CA(e)).concat(CP).concat(CA(e), ")"), "g"); CL.v4 = e => e && e.exact ? CR : RegExp("".concat(CA(e)).concat(CT).concat(CA(e)), "g"), CL.v6 = e => e && e.exact ? CD : RegExp("".concat(CA(e)).concat(CP).concat(CA(e)), "g"); let CF = () => RegExp("^(((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|((([a-zA-Z]|[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]).)+([A-Za-z|[A-Za-z][A-Za-z0-9‌​-]*[A-Za-z0-9])))$", "g"), CI = { port: 9981, ip: "" }, Cz = Cb.Ry().shape({ port: Cb.Rx().required("Required").min(0, "Out of valid range").max(65535, "Out of valid range"), ip: Cb.Z_().required("Required").test("ip", "Invalid hostname or IP address", e => CF().test(e || "")) }); function CV(e) { let { trigger: t, open: n, connect: r, onOpenChange: i } = e, o = (0, Cy.TA)({ initialValues: CI, validationSchema: Cz, onSubmit: async (e, t) => { let n = "".concat(e.ip, ":").concat(e.port), o = await r(n); if (o.error) { let a = o.error.replace("invalid peer address: address ".concat(n, ":"), ""); t.setStatus({ error: a }) } else SL("Connected to peer"), t.resetForm(), i(!1) } }); return (0, es.jsx)(ck, { trigger: t, title: "Connect peer", open: n, onOpenChange: e => { e || o.resetForm(), i(e) }, contentVariants: { className: "w-[400px]" }, children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(nS, { size: "14", children: "Connect to a peer by IP address." }), (0, es.jsx)("form", { onSubmit: o.handleSubmit, children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(Om, { formik: o, title: "Address", name: "ip", placeholder: "host.acme.com or 127.0.0.1", autoComplete: "off", type: "text", variants: { size: "medium" } }), (0, es.jsx)(Om, { formik: o, title: "Port", name: "port", disableGroupSeparators: !0, placeholder: "9981", autoComplete: "off", type: "number", variants: { size: "medium" } }), (0, es.jsx)(O_, { formik: o, size: "medium", children: "Connect" })] }) })] }) }) } function CB(e) { var t; let { id: n, transaction: r, trigger: i, open: o, onOpenChange: a } = e; return (0, es.jsx)(ck, { title: SH((null == r ? void 0 : r.txType) ? (0, m8.upperFirst)(SK(r.txType)) : "Transaction", n, 16), trigger: i, open: o, onOpenChange: a, contentVariants: { className: "w-[800px]" }, children: r ? (0, es.jsxs)("div", { className: "flex flex-col gap-4 pb-10 w-full overflow-hidden", children: [(0, es.jsxs)("div", { className: "flex flex-wrap gap-4", children: [(0, es.jsxs)("div", { className: "flex items-baseline gap-2", children: [(0, es.jsx)(nj, { children: "Inflow" }), (0, es.jsx)(S0, { value: new (hA())((null == r ? void 0 : r.inflow) || 0) })] }), (0, es.jsxs)("div", { className: "flex items-baseline gap-2", children: [(0, es.jsx)(nj, { children: "Outflow" }), (0, es.jsx)(S0, { value: new (hA())((null == r ? void 0 : r.outflow) || 0).negated() })] }), (0, es.jsxs)("div", { className: "flex items-baseline gap-2", children: [(0, es.jsx)(nj, { children: "Miner fee" }), (0, es.jsx)(S0, { value: new (hA())((null === (t = null == r ? void 0 : r.raw.minerFees) || void 0 === t ? void 0 : t.reduce((e, t) => e.plus(t), new (hA())(0))) || 0) })] }), (0, es.jsx)("div", { className: "flex-1" }), (0, es.jsxs)("div", { className: "flex items-baseline gap-2", children: [(0, es.jsx)(nj, { children: "Timestamp" }), (0, es.jsx)(nj, { children: (0, gB.rN)((null == r ? void 0 : r.timestamp) || 0, { timeStyle: "short" }) })] })] }), (0, es.jsx)(uM, { children: JSON.stringify(null == r ? void 0 : r.raw, null, 2) })] }) : (0, es.jsx)(nj, { children: "Could not find transaction in wallet" }) }) } Cb.Ry().shape({ address: Cb.Z_().required("Required"), description: Cb.Z_().required("Required"), index: Cb.Rx().integer().required("Required") }); var CZ = n(38001); function CU(e) { let { title: t, description: n, address: r } = e; return (0, es.jsxs)("div", { className: "flex flex-col gap-4 items-center justify-center", children: [t && (0, es.jsx)(us, { size: "20", font: "mono", children: t }), n && (0, es.jsx)(nj, { children: n }), (0, es.jsx)("div", { className: "relative p-[5px] bg-white h-[210px] w-[210px]", children: (0, es.jsx)("div", { className: "absolute", children: (0, es.jsx)(CZ.Z, { size: 200, value: r }) }) }), (0, es.jsx)(SQ, { type: "address", value: r })] }) } function CH(e) { let { address: t, isValidating: n, trigger: r, open: i, onOpenChange: o } = e; return (0, es.jsx)(ck, { title: SH("Address", SU(t) || "", 16), trigger: r, open: i, onOpenChange: o, contentVariants: { className: "w-[400px]" }, children: (0, es.jsx)("div", { className: "flex flex-col gap-4", children: t || n ? (0, es.jsx)(CU, { address: t || "" }) : (0, es.jsx)(nj, { children: "Could not retreive wallet address" }) }) }) } var CW = ["children"], Cq = ["children"], C$ = ["children"], CY = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, CW); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), S || (S = el.createElement("path", { d: "M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3 c3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5 C13.4,10.5,10.6,12.5,8,12.5z" })), O || (O = el.createElement("path", { d: "M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z" })), n) }), CG = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Cq); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), C || (C = el.createElement("path", { d: "M2.6,11.3l0.7-0.7C2.6,9.8,1.9,9,1.5,8c1-2.5,3.8-4.5,6.5-4.5c0.7,0,1.4,0.1,2,0.4l0.8-0.8C9.9,2.7,9,2.5,8,2.5 C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3C1,9.3,1.7,10.4,2.6,11.3z" })), A || (A = el.createElement("path", { d: "M6 7.9c.1-1 .9-1.8 1.8-1.8l.9-.9C7.2 4.7 5.5 5.6 5.1 7.2 5 7.7 5 8.3 5.1 8.8L6 7.9zM15.5 7.8c-.6-1.5-1.6-2.8-2.9-3.7L15 1.7 14.3 1 1 14.3 1.7 15l2.6-2.6c1.1.7 2.4 1 3.7 1.1 3.3-.1 6.3-2.2 7.5-5.3C15.5 8.1 15.5 7.9 15.5 7.8zM10 8c0 1.1-.9 2-2 2-.3 0-.7-.1-1-.3L9.7 7C9.9 7.3 10 7.6 10 8zM8 12.5c-1 0-2.1-.3-3-.8l1.3-1.3c1.4.9 3.2.6 4.2-.8.7-1 .7-2.4 0-3.4l1.4-1.4c1.1.8 2 1.9 2.6 3.2C13.4 10.5 10.6 12.5 8 12.5z" })), n) }), CK = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, C$); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), T || (T = el.createElement("path", { d: "M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z" })), M || (M = el.createElement("path", { d: "M7.5 4H8.5V9H7.5zM8 10.2c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 10.2 8 10.2z" })), n) }); function CX(e) { let { isSynced: t, isWalletSynced: n, syncPercent: r, walletScanPercent: i } = e; return t ? n ? null : (0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(nj, { color: "amber", children: (0, es.jsx)(CK, {}) }), (0, es.jsxs)(nj, { size: "14", children: ["Wallet is scanning (", i, "%), transaction data may be incomplete."] })] }) : (0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(nj, { color: "amber", children: (0, es.jsx)(CK, {}) }), (0, es.jsxs)(nj, { size: "14", children: ["Blockchain is syncing (", r, "%), transaction data may be incomplete."] })] }) } var CQ = ["children"], CJ = ["children"], C0 = ["children"], C1 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, CQ); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), P || (P = el.createElement("path", { d: "M11.17,6l3.42,3.41.58.59H28V26H4V6h7.17m0-2H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2H16L12.59,4.59A2,2,0,0,0,11.17,4Z" })), n) }), C2 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, CJ); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), N || (N = el.createElement("path", { d: "M26 20L24 20 24 24 20 24 20 26 24 26 24 30 26 30 26 26 30 26 30 24 26 24z" })), R || (R = el.createElement("path", { d: "M28,8H16l-3.4-3.4C12.2,4.2,11.7,4,11.2,4H4C2.9,4,2,4.9,2,6v20c0,1.1,0.9,2,2,2h14v-2H4V6h7.2l3.4,3.4l0.6,0.6H28v8h2v-8 C30,8.9,29.1,8,28,8z" })), n) }), C4 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, C0); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), D || (D = el.createElement("path", { d: "M14,4a7,7,0,1,1-7,7,7,7,0,0,1,7-7m0-2a9,9,0,1,0,9,9A9,9,0,0,0,14,2Z" })), L || (L = el.createElement("path", { d: "M28,11a13.9563,13.9563,0,0,0-4.1051-9.8949L22.4813,2.5187A11.9944,11.9944,0,0,1,5.5568,19.5194l-.0381-.0381L4.1051,20.8949A13.9563,13.9563,0,0,0,14,25v3H10v2H20V28H16V24.84A14.0094,14.0094,0,0,0,28,11Z" })), n) }), C3 = ["children"], C5 = ["children"], C6 = ["children"], C8 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, C3); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), F || (F = el.createElement("path", { d: "M24,14H22V8A6,6,0,0,0,10,8v6H8a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V16A2,2,0,0,0,24,14ZM12,8a4,4,0,0,1,8,0v6H12ZM24,28H8V16H24Z" })), n) }), C7 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, C5); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), I || (I = el.createElement("path", { d: "M13.647,14.907a1.4482,1.4482,0,1,0,1.326,1.443A1.385,1.385,0,0,0,13.647,14.907Zm4.745,0a1.4482,1.4482,0,1,0,1.326,1.443A1.385,1.385,0,0,0,18.392,14.907Z" })), z || (z = el.createElement("path", { d: "M24.71,4H7.29A2.6714,2.6714,0,0,0,4.625,6.678V24.254A2.6714,2.6714,0,0,0,7.29,26.932H22.032l-.689-2.405,1.664,1.547L24.58,27.53,27.375,30V6.678A2.6714,2.6714,0,0,0,24.71,4ZM19.692,20.978s-.468-.559-.858-1.053a4.1021,4.1021,0,0,0,2.353-1.547,7.4391,7.4391,0,0,1-1.495.767,8.5564,8.5564,0,0,1-1.885.559,9.1068,9.1068,0,0,1-3.367-.013,10.9127,10.9127,0,0,1-1.911-.559,7.6184,7.6184,0,0,1-.949-.442c-.039-.026-.078-.039-.117-.065a.18.18,0,0,1-.052-.039c-.234-.13-.364-.221-.364-.221a4.0432,4.0432,0,0,0,2.275,1.534c-.39.494-.871,1.079-.871,1.079a4.7134,4.7134,0,0,1-3.965-1.976,17.409,17.409,0,0,1,1.872-7.579,6.4285,6.4285,0,0,1,3.653-1.365l.13.156a8.77,8.77,0,0,0-3.419,1.703s.286-.156.767-.377a9.7625,9.7625,0,0,1,2.951-.819,1.2808,1.2808,0,0,1,.221-.026,11,11,0,0,1,2.626-.026A10.5971,10.5971,0,0,1,21.2,11.917a8.6518,8.6518,0,0,0-3.237-1.651l.182-.208a6.4285,6.4285,0,0,1,3.653,1.365,17.409,17.409,0,0,1,1.872,7.579A4.752,4.752,0,0,1,19.692,20.978Z" })), n) }), C9 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, C6); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), V || (V = el.createElement("path", { fillRule: "evenodd", d: "M16,2a14,14,0,0,0-4.43,27.28c.7.13,1-.3,1-.67s0-1.21,0-2.38c-3.89.84-4.71-1.88-4.71-1.88A3.71,3.71,0,0,0,6.24,22.3c-1.27-.86.1-.85.1-.85A2.94,2.94,0,0,1,8.48,22.9a3,3,0,0,0,4.08,1.16,2.93,2.93,0,0,1,.88-1.87c-3.1-.36-6.37-1.56-6.37-6.92a5.4,5.4,0,0,1,1.44-3.76,5,5,0,0,1,.14-3.7s1.17-.38,3.85,1.43a13.3,13.3,0,0,1,7,0c2.67-1.81,3.84-1.43,3.84-1.43a5,5,0,0,1,.14,3.7,5.4,5.4,0,0,1,1.44,3.76c0,5.38-3.27,6.56-6.39,6.91a3.33,3.33,0,0,1,.95,2.59c0,1.87,0,3.38,0,3.84s.25.81,1,.67A14,14,0,0,0,16,2Z" })), n) }); let Ae = { blog: "https://blog.sia.tech", docs: { index: "https://docs.sia.tech", sia101: "https://docs.sia.tech/get-started-with-sia/sia101", renting: "https://docs.sia.tech/renting/about-renting", wallet: "https://docs.sia.tech/your-sia-wallet/wallet-overview", hosting: "https://docs.sia.tech/hosting/about-hosting-on-sia", mining: "https://docs.sia.tech/mining/about-mining-on-sia", embarcadero: "https://github.com/SiaFoundation/embarcadero", siad: "https://api.sia.tech", siaui: "https://docs.sia.tech/your-sia-wallet/sia-ui-faqs", brand: "https://docs.sia.tech/sia-integrations/sia-brand-guidelines" }, website: "https://sia.tech", explore: { mainnet: "https://explore.sia.tech", testnet: "https://zen.sia.tech", testnetFaucet: "https://zen.sia.tech/faucet" }, design: "https://design.sia.tech", apiDocs: { renterd: "https://api.sia.tech/renterd", hostd: "https://api.sia.tech/hostd", walletd: "https://api.sia.tech/walletd" }, github: { index: "https://github.com/SiaFoundation", embarcadero: "https://github.com/SiaFoundation/embarcadero", siad: "https://github.com/SiaFoundation/siad", renterd: "https://github.com/SiaFoundation/renterd", walletd: "https://github.com/SiaFoundation/walletd", hostd: "https://github.com/SiaFoundation/hostd", siaui: "https://gitlab.com/NebulousLabs/Sia-UI" }, discord: "https://sia.tech/discord", twitter: "https://twitter.com/sia__foundation", bluesky: "https://bsky.app/profile/sia.tech", twitterHandle: "@sia__foundation", reddit: "https://reddit.com/r/siacoin", forum: "https://forum.sia.tech/", forumGrants: "https://forum.sia.tech/c/grants/8", merch: "https://siagear.tech/", email: "hello@sia.tech", benchmarks: "https://benchmarks.sia.tech", storageStats: "https://hosts.siacentral.com/", hostTroubleshoot: "https://troubleshoot.siacentral.com/", coinmarketcap: "https://coinmarketcap.com/currencies/siacoin/", jobs: "https://siafoundation.homerun.co/" }; function At(e) { let { open: t, onOpenChange: n, securityEl: r } = e, { settings: i, setSettings: o, setCurrency: a, currencyOptions: s, gpu: l } = (0, hN.Hv)(); return (0, es.jsx)(ck, { open: t, title: "App preferences", onOpenChange: n, contentVariants: { className: "w-[450px]" }, children: (0, es.jsxs)("div", { className: "flex flex-col gap-6 mb-2", children: [(0, es.jsx)("div", { className: "flex flex-col gap-4", children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(nj, { size: "16", weight: "bold", children: "Display" }), (0, es.jsx)(nS, { size: "14", children: "Configure visual and locale display preferences." }), (0, es.jsx)(l$, { children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(nj, { children: (0, es.jsx)(hI, {}) }), (0, es.jsx)(us, { size: "20", className: "flex-1", children: "Currency" }), (0, es.jsx)(h0, { disabled: !i.siaCentral, value: i.currency.id, onChange: e => a(e.currentTarget.value), children: s.map(e => { let { id: t, label: n } = e; return (0, es.jsx)(h1, { value: t, children: n }, t) }) })] }), (0, es.jsx)(nS, { size: "14", children: "Select a currency for price conversions from Siacoin. Requires Sia Central third-party data enabled under Privacy." })] }) }), (0, es.jsx)(l$, { children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(nj, { children: (0, es.jsx)(hI, {}) }), (0, es.jsx)(us, { size: "20", className: "flex-1", children: "Theme" }), (0, es.jsx)(v3, {})] }), (0, es.jsx)(nS, { size: "14", children: "Switch between a dark or light mode, or follow your system's settings." })] }) }), (0, es.jsx)(l$, { children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(nj, { children: (0, es.jsx)(hI, {}) }), (0, es.jsx)(us, { size: "20", className: "flex-1", children: "GPU" }), (0, es.jsx)(ps, { disabled: !l.canGpuRender, checked: l.canGpuRender && l.isGpuEnabled, onCheckedChange: l.setIsGpuEnabled, size: "medium" })] }), (0, es.jsxs)(nS, { size: "14", children: ["Enable features that require a GPU.", " ", l.canGpuRender ? "" : "This device does not support GPU rendering."] })] }) })] }) }), (0, es.jsx)(fK, { className: "w-full" }), (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, es.jsx)(nj, { size: "16", weight: "bold", children: "Security" }), (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(nS, { size: "14", children: "Configure security preferences." }), (0, es.jsx)(l$, { children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(nj, { children: (0, es.jsx)(hI, {}) }), (0, es.jsx)(us, { size: "20", className: "flex-1", children: "Lock app" }), (0, es.jsx)(ps, { size: "medium", checked: i.autoLock, onCheckedChange: e => o({ autoLock: e }) }), (0, es.jsxs)(h0, { disabled: !i.autoLock, value: String(i.autoLockTimeout), onChange: e => { o({ autoLockTimeout: Number(e.currentTarget.value) }) }, children: [(0, es.jsx)(h1, { value: kl(5), children: "5 minutes" }), (0, es.jsx)(h1, { value: kl(10), children: "10 minutes" }), (0, es.jsx)(h1, { value: kl(20), children: "20 minutes" }), (0, es.jsx)(h1, { value: kl(30), children: "30 minutes" }), (0, es.jsx)(h1, { value: kl(60), children: "1 hour" })] })] }), (0, es.jsx)(nS, { size: "14", children: "Automatically lock the app after a certain period of inactivity." })] }) }), r] })] }), (0, es.jsx)(fK, { className: "w-full" }), (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, es.jsx)(nj, { size: "16", weight: "bold", children: "Privacy" }), (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(nS, { size: "14", children: "Configure privacy preferences. The app uses the third-party APIs listed below to improve the user experience. All third-party APIs are optional and can be toggled on or off." }), (0, es.jsx)(l$, { children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsxs)("div", { className: "flex gap-2 items-center", children: [(0, es.jsx)(nj, { children: (0, es.jsx)(hI, {}) }), (0, es.jsx)(us, { size: "20", className: "flex-1", children: "Sia Central" }), (0, es.jsx)(ps, { size: "medium", checked: i.siaCentral, onCheckedChange: e => o({ siaCentral: e }) })] }), (0, es.jsx)(nS, { size: "14", children: "The app fetches Siacoin exchange rates from the Sia Central API." })] }) })] })] }), (0, es.jsx)(fK, { className: "w-full" }), (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, es.jsx)(nj, { size: "16", weight: "bold", children: "Help" }), (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, es.jsx)(nS, { size: "14", children: "Find information about the Sia software at our website, documentation site, and on Github. Join our active Discord community for discussion and help troubleshooting issues." }), (0, es.jsxs)("div", { className: "flex gap-4", children: [(0, es.jsxs)(uc, { href: Ae.website, target: "_blank", className: "flex items-center gap-1", children: [(0, es.jsx)(C4, {}), "Website"] }), (0, es.jsxs)(uc, { href: Ae.docs.index, target: "_blank", className: "flex items-center gap-1", children: [(0, es.jsx)(hI, {}), "Docs"] }), (0, es.jsxs)(uc, { href: Ae.github.index, target: "_blank", className: "flex items-center gap-1", children: [(0, es.jsx)(C9, {}), "About"] }), (0, es.jsxs)(uc, { href: Ae.discord, target: "_blank", className: "flex items-center gap-1", children: [(0, es.jsx)(C7, {}), "Discord"] })] })] })] })] }) }) } function An(e) { let { sc: t, isSynced: n, syncingMessage: r } = e; return t ? n ? (0, es.jsx)(nC, { className: "hidden sm:flex h-7 px-3 items-center", children: (0, es.jsx)(nj, { size: "12", weight: "semibold", children: (0, gB.Vz)(t) }) }) : (0, es.jsx)(lU, { content: r || "Blockchain is syncing, balance may be incorrect.", children: (0, es.jsxs)(nC, { className: "hidden sm:flex h-7 pl-2 pr-3 gap-1.5 items-center", children: [(0, es.jsx)(nj, { color: "amber", children: (0, es.jsx)(CK, { className: "" }) }), (0, es.jsx)(nj, { size: "12", weight: "semibold", children: (0, gB.Vz)(t) })] }) }) : null } function Ar(e) { let { isSynced: t, isWalletSynced: n, syncPercent: r, walletScanPercent: i, sc: o, sendSiacoin: a, receiveSiacoin: s } = e; return (0, es.jsxs)(es.Fragment, { children: [(0, es.jsx)(An, { isSynced: t && n, syncingMessage: t ? "Wallet is scanning (".concat(i, "%), balance may be incorrect.") : "Blockchain is syncing (".concat(r, "%), balance may be incorrect."), sc: o }), s && (0, es.jsxs)(lW, { size: "small", onClick: s, children: [(0, es.jsx)(vX, {}), "Receive"] }), (0, es.jsxs)(lW, { size: "small", variant: "accent", onClick: a, children: [(0, es.jsx)(v0, {}), "Send"] })] }) } function Ai(e, t) { if (!e || !e.length) return []; let n = Object.keys((0, m8.omit)(e[0], "timestamp")); e.sort((e, t) => e.timestamp > t.timestamp ? 1 : -1); let r = []; return "delta" === t ? e.forEach((t, i) => { let o = { ...t }; 0 !== i && (n.forEach(n => { let r = t[n], a = e[i - 1][n]; o[n] = r - a }), r.push(o)) }) : r = e.slice(1), r } function Ao(e, t) { return "all" === e ? { start: new Date(2022, 1, 1).getTime(), end: t } : { start: t - kc(Number(e)), end: t } } let Aa = { "5m": e => { let t = e + kl(5); return "5m interval from ".concat((0, gB.rN)(e, { timeStyle: "short", hour12: !1 }), " to ").concat((0, gB.rN)(t, { timeStyle: "short", hour12: !1 })) }, "15m": e => { let t = e + kl(15); return "15m interval from ".concat((0, gB.rN)(e, { timeStyle: "short", hour12: !1 }), " to ").concat((0, gB.rN)(t, { timeStyle: "short", hour12: !1 })) }, hourly: e => { let t = e + ku(1); return "Hour interval from ".concat((0, gB.rN)(e, { timeStyle: "short", hour12: !1 }), " to ").concat((0, gB.rN)(t, { timeStyle: "short", hour12: !1 })) }, daily: e => { let t = e + ku(24); return "Day interval from ".concat((0, gB.rN)(e), " to ").concat((0, gB.rN)(t)) }, weekly: e => { let t = e + kc(7); return "Week interval from ".concat((0, gB.rN)(e), " to ").concat((0, gB.rN)(t)) }, monthly: e => { let t = e + kc(30); return "Month interval from ".concat((0, gB.rN)(e), " to ").concat((0, gB.rN)(t)) }, yearly: e => { let t = e + kc(365); return "Year interval from ".concat((0, gB.rN)(e), " to ").concat((0, gB.rN)(t)) }, default: e => "".concat((0, gB.rN)(e)) }; function As(e) { return Aa[e] || Aa.default } function Al(e) { if (!e || !e.length) return {}; let t = Object.keys((0, m8.omit)(e[0], "timestamp")); e.sort((e, t) => e.timestamp > t.timestamp ? 1 : -1); let n = t.reduce((t, n) => ({ ...t, [n]: function(e, t) { var n, r; let i = (null === (n = t[0]) || void 0 === n ? void 0 : n[e]) || 0, o = (null === (r = t[t.length - 1]) || void 0 === r ? void 0 : r[e]) || 0, a = t.reduce((t, n) => t + (n[e] || 0), 0); return Au({ total: a, start: i, end: o, count: t.length }) }(n, e) }), {}); return { ...n, total: function(e, t) { let n = Ac(e, t[0]), r = Ac(e, t[t.length - 1]), i = t.reduce((t, n) => t + Ac(e, n), 0); return Au({ total: i, start: n, end: r, count: t.length }) }(t, e) } } function Au(e) { let { total: t, start: n, end: r, count: i } = e, o = r - n; return { total: t, diff: o, change: 0 === n ? void 0 : o / n * 100, latest: r, average: t / i } } function Ac(e, t) { return e.reduce((e, n) => e + ((null == t ? void 0 : t[n]) || 0), 0) } function Af(e) { let { balances: t, isLoading: n, chartType: r = "area" } = e, { resolvedTheme: i } = (0, vI.F)(), o = (0, el.useMemo)(() => "light" === i ? { sc: { label: "siacoin", color: gV.colors.accent[800] } } : { sc: { label: "siacoin", color: gV.colors.accentdark[800] } }, [i]), a = (0, el.useMemo)(() => { let e = Ai(t, "none"), i = Al(t); return { data: e, stats: i, config: { enabledGraph: ["sc"], enabledTip: ["sc"], data: { sc: o.sc }, format: e => (0, gB.Vz)(e), formatTimestamp: As("default"), disableAnimations: !0 }, chartType: r, isLoading: n } }, [t, n, o, r]); return (0, es.jsx)("div", { className: "relative", children: (0, es.jsx)(kp, { id: "balance", height: 200, allowConfiguration: !1, data: a.data, config: a.config, chartType: a.chartType }) }) } function Ad(e) { let { peers: t, connectPeer: n } = e; return (0, es.jsx)(Os, { title: "Peers", actions: (0, es.jsx)(lW, { onClick: n, children: "Connect" }), entities: (null == t ? void 0 : t.map(e => ({ type: "ip", hash: e }))) || [] }) } function Ah(e) { let { size: t, label: n, enabled: r = !0, onChange: i, color: o } = e; return (0, es.jsxs)("div", { className: (0, eY.cx)("flex gap-1.5 items-center", r ? "opacity-100" : "opacity-50", i ? "cursor-pointer" : "cursor-auto", i && (r ? "hover:opacity-90" : "hover:opacity-60")), onClick: () => i && i(!r), children: [o && (0, es.jsx)("div", { className: "relative top-px", children: (0, es.jsx)(h5, { style: { backgroundColor: o } }) }), (0, es.jsx)(nj, { size: t, children: n })] }) } var Ap = n(92762); let Av = { total: "total", average: "average", latest: "latest" }; function Am(e) { let { category: t, label: n, color: r, sc: i, value: o, extendedSuffix: a, format: s = e => e.toFixed(2), defaultMode: l, enabledModes: u = ["total", "average", "latest"], isLoading: c, showChange: f = !0 } = e, [d, h] = (0, Ap.Z)("v0/datum/".concat(t, "/").concat(n), { defaultValue: l }); return (0, es.jsx)(Oc, { isLoading: c, label: (0, es.jsx)(Ah, { label: n, color: r }), actions: (0, es.jsx)(h0, { onChange: e => h(e.currentTarget.value), defaultValue: d, children: u.map(e => (0, es.jsx)(h1, { value: e, children: Av[e] }, e)) }), sc: (null == i ? void 0 : i[d]) !== void 0 ? new (hA())(i[d]) : void 0, extendedSuffix: a, value: (null == o ? void 0 : o[d]) !== void 0 && s ? s(o[d]) : void 0, comment: i ? (0, es.jsxs)("div", { className: "flex items-center gap-4", children: [(0, es.jsx)(S0, { tooltip: "Net change over time range:", value: new (hA())(i.diff) }), f && void 0 !== i.change && (0, es.jsx)(lU, { content: "Percent change over time range", children: (0, es.jsxs)(nj, { size: "14", weight: "semibold", font: "mono", ellipsis: !0, color: "verySubtle", children: [i.change.toFixed(2), "%"] }) })] }) : o && (0, es.jsxs)("div", { className: "flex items-center gap-4", children: [(0, es.jsx)(S1, { tooltip: "Net change over time range:", format: e => s(e.toNumber()), value: new (hA())(o.diff) }), f && void 0 !== o.change && (0, es.jsx)(lU, { content: "Percent change over time range", children: (0, es.jsxs)(nj, { size: "14", weight: "semibold", font: "mono", ellipsis: !0, color: "verySubtle", children: [o.change.toFixed(2), "%"] }) })] }) }) } function Ag(e) { let { children: t, bleed: n } = e; return (0, es.jsx)("div", { className: (0, eY.cx)(n ? "-mx-5 overflow-hidden" : ""), children: (0, es.jsx)(cw, { children: (0, es.jsx)("div", { className: (0, eY.cx)("flex gap-4 py-4", n ? "px-5 w-fit" : ""), children: t }) }) }) } function Ay(e) { return 4320 * e } function Ab(e) { return e / 16666666666666669e-22 } function Ax(e) { return e / 4320 } function Aw(e, t) { return new Date().getTime() + Ab(t - e) } function A_(e) { let { children: t, variant: n, align: r } = e; return (0, es.jsx)("div", { className: "relative", style: { top: "primary" === n ? "6px" : void 0, left: "start" === r ? "0px" : void 0, right: "end" === r ? "0px" : void 0 }, children: (0, es.jsx)(nj, { size: "10", color: "primary" === n ? "contrast" : "verySubtle", dir: "start" === r ? "rtl" : "ltr", weight: "primary" === n ? "semibold" : "regular", ellipsis: !0, children: t }) }) } function AE(e) { let { date: t, align: n, variant: r } = e; return t ? (0, es.jsx)(A_, { variant: r, align: n, children: (0, gB.rN)(t) }) : null } function Ak(e) { let { blockHeight: t, align: n, variant: r } = e; return t ? (0, es.jsx)(A_, { variant: r, align: n, children: t.toLocaleString() }) : null } function Aj(e) { let { label: t, currentHeight: n, range: r, startHeight: i, endHeight: o, color: a, align: s, rounded: l, className: u, showDates: c } = e; if (!i || !o) return null; let f = r.endHeight - r.startHeight, d = Ab(f), h = Aw(n, r.startHeight), p = Aw(n, i), v = Aw(n, o), m = (p - h) / d, g = (v - h) / d; return (0, es.jsxs)("div", { className: (0, eY.cx)("group flex items-center justify-center", "absolute -top-[5px] h-4", "cursor-pointer", "transition-colors"), style: { left: AS(m), width: AS(g - m) }, children: [(0, es.jsx)("div", { className: (0, eY.cx)("z-0 absolute w-full h-full", "rounded-md", "group-hover:bg-blue-500/10 dark:group-hover:bg-blue-200/10"), style: { width: "calc(100% + 8px)", left: "-4px" } }), (0, es.jsx)("div", { className: (0, eY.cx)("z-10 absolute w-full h-1.5", u, "start" === l ? "rounded-l-lg" : "end" === l ? "rounded-r-lg" : "rounded-lg", "border-y", "start" === l ? "border-l" : "end" === l ? "border-r" : "border", "blue" === a ? ["bg-blue-300 dark:bg-blue-300", "group-hover:bg-blue-400 dark:group-hover:bg-blue-400", "border-blue-500/50 dark:border-blue-500/50"] : [], "green" === a ? ["bg-green-300 dark:bg-green-300", "group-hover:bg-green-400 dark:group-hover:bg-green-400", "border-green-500/50 dark:border-green-500/50"] : [], "amber" === a ? ["bg-amber-300 dark:bg-amber-300", "group-hover:bg-amber-400 dark:group-hover:bg-amber-400", "border-amber-500/50 dark:border-amber-500/50"] : []) }), (0, es.jsxs)("div", { className: "hidden group-hover:flex absolute justify-between gap-2 bottom-[100%]", style: "center" === s ? { width: "100%" } : "end" === s ? { right: AS(1 - g) } : { left: AS(m) }, children: [(0, es.jsx)(Ak, { blockHeight: i, align: "start", variant: "primary" }), (0, es.jsx)(A_, { variant: "primary", children: t }), (0, es.jsx)(Ak, { blockHeight: o, align: "end", variant: "primary" })] }), c && (0, es.jsxs)("div", { className: "flex group-hover/segments:hidden absolute justify-between gap-2 top-[100%]", style: "center" === s ? { width: "100%" } : "end" === s ? { right: AS(1 - g) } : { left: AS(m) }, children: [(0, es.jsx)(AE, { date: p, align: "start", variant: "secondary" }), (0, es.jsx)(AE, { date: v, align: "start", variant: "secondary" })] }), (0, es.jsxs)("div", { className: "hidden group-hover:flex absolute justify-between gap-2 top-[100%]", style: "center" === s ? { width: "100%" } : "end" === s ? { right: AS(1 - g) } : { left: AS(m) }, children: [(0, es.jsx)(AE, { date: p, align: "start", variant: "secondary" }), (0, es.jsx)(AE, { date: v, align: "start", variant: "secondary" })] })] }) } function AS(e) { return "".concat(100 * e, "%") } function AO(e) { let { currentHeight: t, eventHeight: n, range: r, label: i, bottomLabel: o, color: a, className: s, unconfirmedPing: l = !0 } = e, u = r.endHeight - r.startHeight, c = Ab(u), f = Aw(t, r.startHeight), d = n ? Aw(t, n) : 0; return n ? (0, es.jsx)("div", { className: (0, eY.cx)("group", "absolute -top-[5px] w-4 h-4", "flex items-center justify-center", "rounded-full cursor-pointer", "-translate-x-1/2", s), style: { left: "".concat(100 * (d ? (d - f) / c : 0), "%") }, children: (0, es.jsxs)("div", { className: (0, eY.cx)("relative w-full h-full", "flex items-center justify-center", "rounded-full cursor-pointer"), children: [l && n && !(n && n > t) && t - n < 6 && (0, es.jsx)("div", { className: (0, eY.cx)("z-0 absolute w-1.5 h-1.5", "rounded-full", "bg-amber-500 dark:bg-amber-200", "animate-pingslow") }), (0, es.jsx)("div", { className: (0, eY.cx)("z-0 absolute w-4 h-4", "rounded-full", "group-hover:bg-blue-500/10 dark:group-hover:bg-blue-200/10") }), (0, es.jsx)("div", { className: (0, eY.cx)("absolute w-1.5 h-1.5", "rounded-full", "border", "green" === a ? ["bg-green-500 dark:bg-green-500", "group-hover:bg-green-600 dark:group-hover:bg-green-600", "border-white dark:border-white"] : [], "amber" === a ? ["bg-amber-500 dark:bg-amber-500", "group-hover:bg-amber-600 dark:group-hover:bg-amber-600", "border-white dark:border-white"] : [], "gray" === a ? ["bg-gray-700 dark:bg-graydark-900", "group-hover:bg-gray-800 dark:group-hover:bg-graydark-800", "border-white dark:border-white"] : [], "blue" === a ? ["bg-blue-300 dark:bg-blue-300", "group-hover:bg-blue-400 dark:group-hover:bg-blue-400", "border-white dark:border-white"] : []) }), (0, es.jsxs)("div", { className: "hidden group-hover:flex absolute justify-between gap-1 bottom-[100%] left-1.5", children: [(0, es.jsx)(Ak, { blockHeight: n, align: "start", variant: "primary" }), (0, es.jsx)(A_, { variant: "primary", children: i })] }), (0, es.jsxs)("div", { className: "hidden group-hover:flex absolute justify-between gap-1 top-[100%] left-1.5", children: [(0, es.jsx)(AE, { date: d, align: "start", variant: "secondary" }), o && (0, es.jsx)(A_, { variant: "secondary", children: o })] })] }) }) : null } function AC(e) { let { currentHeight: t, contractHeightStart: n, contractHeightEnd: r, proofWindowHeightStart: i, proofWindowHeightEnd: o, revisionHeight: a, proofHeight: s, range: l } = e, u = t - n < 6; return (0, es.jsx)("div", { className: "group/main relative w-full", children: (0, es.jsx)("div", { className: "relative py-6", children: (0, es.jsxs)("div", { className: "relative z-10 h-1.5", children: [(0, es.jsx)("div", { className: "absolute h-full w-full bg-gray-300 dark:bg-graydark-400 rounded-lg" }), (0, es.jsxs)("div", { className: "group/segments", children: [(0, es.jsx)(Aj, { label: "contract duration", currentHeight: t, startHeight: n, endHeight: r, range: l, color: "blue", align: "center", rounded: "start", className: u ? "border-dotted opacity-50" : "", showDates: !0 }), (0, es.jsx)(Aj, { label: "proof window", currentHeight: t, startHeight: i, endHeight: o, range: l, color: "green", align: "end", rounded: "end", className: u ? "border-dotted opacity-50" : "" }), (0, es.jsx)(AO, { label: "contract formation", bottomLabel: u ? "unconfirmed" : "", currentHeight: t, eventHeight: n, range: l, color: u ? "amber" : "blue", className: "z-20" }), (0, es.jsx)(AO, { label: "last revision", currentHeight: t, eventHeight: a, range: l, color: "green", className: "z-20" }), (0, es.jsx)(AO, { label: "storage proof", currentHeight: t, eventHeight: s, range: l, color: "green", className: "z-20" }), (0, es.jsx)(AO, { label: "current block", currentHeight: t, eventHeight: t, range: l, color: "gray", className: "z-10", unconfirmedPing: !1 })] })] }) }) }) } function AA(e) { let { label: t, columns: n, enabled: r, setColumnsVisible: i, setColumnsHidden: o } = e, a = 0 === (0, m8.difference)(n, r).length, s = (0, m8.difference)(n, r).length === n.length; return (0, es.jsxs)(f2, { children: [(0, es.jsx)(da, { children: t }), (0, es.jsxs)(f4, { children: [(0, es.jsx)(lW, { tip: "".concat(t, ": show all"), icon: a ? "contrast" : "hover", variant: "ghost", onClick: e => { e.stopPropagation(), i(n) }, children: (0, es.jsx)(CY, {}) }), (0, es.jsx)(lW, { icon: s ? "contrast" : "hover", tip: "".concat(t, ": hide all"), variant: "ghost", onClick: e => { e.stopPropagation(), o(n) }, children: (0, es.jsx)(CG, {}) })] })] }) } function AT(e) { let { title: t, children: n } = e; return (0, es.jsxs)("div", { className: "flex flex-col gap-6", children: [t && (0, es.jsx)(us, { anchorLink: !0, size: "24", children: t }), (0, es.jsx)(nC, { className: "p-6", children: (0, es.jsx)("div", { className: "flex flex-col gap-6", children: n }) })] }) } function AM(e) { let { title: t, description: n, control: r } = e; return (0, es.jsxs)("div", { className: "flex gap-10 justify-between", children: [(0, es.jsxs)("div", { className: "flex flex-col gap-2 max-w-[600px]", children: [(0, es.jsx)(us, { size: "20", children: t }), (0, es.jsx)(nS, { size: "14", children: n })] }), (0, es.jsx)("div", { className: "", children: r })] }) } function AP(e) { let { open: t, params: n, trigger: r, onOpenChange: i } = e, { body: o, title: a, variant: s, action: l, onConfirm: u } = n || {}, c = (0, Cl.cI)(), f = (0, el.useCallback)(() => { u && u(), i(!1) }, [u, i]); return (0, es.jsx)(ck, { title: a, trigger: r, open: t, onOpenChange: i, contentVariants: { className: "w-[400px]" }, children: (0, es.jsx)("form", { onSubmit: c.handleSubmit(f), children: (0, es.jsxs)("div", { className: "flex flex-col gap-4", children: [o, (0, es.jsx)("div", { className: "flex gap-1 justify-end", children: (0, es.jsx)(Ov, { variant: s, form: c, size: "small", children: l }) })] }) }) }) } function AN(e) { let { name: t, peerCount: n, isSynced: r, nodeBlockHeight: i, connectPeer: o } = e; return (0, es.jsxs)("div", { className: "flex justify-between items-center", children: [(0, es.jsx)(nj, { font: "mono", weight: "bold", size: "20", children: t }), (0, es.jsxs)("div", { className: "flex items-center", children: [n ? (0, es.jsxs)(lW, { className: "relative left-2 only:left-0", variant: "ghost", onClick: o, tip: "".concat(n, " connected peers"), children: [(0, es.jsx)(nj, { color: "subtle", children: n.toLocaleString() }), (0, es.jsx)(dl, {})] }) : null, i && r ? (0, es.jsx)(lU, { content: "Blockchain is synced", children: (0, es.jsx)("div", { className: "relative left-2", children: (0, es.jsxs)(lW, { variant: "ghost", state: "waiting", children: [(0, es.jsx)(nj, { color: "subtle", children: i.toLocaleString() }), (0, es.jsx)(nj, { color: "green", children: (0, es.jsx)(uq, {}) })] }) }) }) : null] })] }) } function AR(e) { let { nodeBlockHeight: t, networkBlockHeight: n, moreThan100BlocksToSync: r, percent: i } = e; return (0, es.jsxs)("div", { className: "flex flex-col justify-between h-full mb-1", children: [(0, es.jsx)(dH, { variant: "accent", value: t && n ? t : 0, max: n || 1, className: "" }), (0, es.jsxs)("div", { className: "flex justify-between mt-1.5", children: [(0, es.jsx)(nj, { color: "subtle", size: "10", children: "Syncing..." }), t && n ? r ? (0, es.jsx)(nj, { color: "subtle", size: "10", children: "".concat(t.toLocaleString(), " / ").concat(n.toLocaleString(), " (").concat(i, "%)") }) : (0, es.jsx)(nj, { color: "subtle", size: "10", children: "(".concat(i, "%)") }) : null] })] }) } function AD(e) { let { name: t, peerCount: n, connectPeer: r, isSynced: i, syncPercent: o, nodeBlockHeight: a, estimatedBlockHeight: s, firstTimeSyncing: l, moreThan100BlocksToSync: u, children: c } = e; return (0, es.jsx)(p3, { rootProps: { openDelay: 100 }, contentProps: { side: "right", align: "start", sideOffset: 5, className: "!max-w-none" }, trigger: (0, es.jsxs)("div", { className: "relative hover:scale-105 transition-transform", children: [i || 100 === o || 0 === o ? null : (0, es.jsx)("div", { className: "absolute -bottom-2.5 w-full flex justify-center", children: (0, es.jsxs)(nj, { className: "bg-amber-500 py-px px-1 rounded-sm scale-75", size: "10", children: [o, "%"] }) }), (0, es.jsx)(um, { size: 30 })] }), children: (0, es.jsxs)("div", { className: "flex flex-col gap-2 px-1 pt-1 pb-2 w-[300px]", children: [(0, es.jsx)(AN, { nodeBlockHeight: a, isSynced: i, name: t, peerCount: n, connectPeer: r }), i ? (0, es.jsx)(fK, { className: "w-full mb-0.5" }) : (0, es.jsx)(AR, { percent: o, nodeBlockHeight: a, networkBlockHeight: s, moreThan100BlocksToSync: u }), l && (0, es.jsxs)(es.Fragment, { children: [(0, es.jsx)(nj, { color: "contrast", size: "14", children: "Welcome to Sia! The blockchain is syncing to the current network height. Depending on your system this process may take a while." }), (0, es.jsx)(fK, { className: "w-full mb-1" })] }), c] }) }) } function AL(e) { let { testnetName: t } = e; return (0, es.jsxs)("div", { className: "flex gap-2 items-center justify-center py-2 px-3 bg-amber-600 dark:bg-amber-500", children: [(0, es.jsx)(nj, { color: "lo", children: (0, es.jsx)(hI, {}) }), (0, es.jsxs)(nj, { size: "14", color: "lo", children: ["You are on the ", t, "."] })] }) } function AF(e) { let { type: t, label: n, link: r, tip: i, icon: o, value: a, onClick: s, decimalsLimit: l, units: u } = e; return (0, es.jsxs)("div", { className: "flex justify-between items-center", children: [(0, es.jsx)(lU, { align: "start", side: "bottom", content: i, children: (0, es.jsxs)("div", { className: "flex gap-1 items-center relative overflow-hidden", children: [(0, es.jsx)(nj, { className: "flex relative", children: o || (0, es.jsx)(hI, {}) }), (0, es.jsx)(nj, { size: "12", ellipsis: !0, children: r ? (0, es.jsx)(uc, { href: r, target: "_blank", children: n }) : n })] }) }), (0, es.jsx)("div", { className: (0, eY.cx)("flex items-center", s ? "cursor-pointer" : ""), onClick: () => { s && s(a) }, children: "siacoin" === t ? (0, es.jsx)(S0, { value: a, variant: "value", size: "12", fixed: l, dynamicUnits: !1, showTooltip: !1 }) : (0, es.jsx)(S1, { value: a, variant: "value", size: "12", format: e => "".concat(hT(e, l), " ").concat(u) }) })] }) } function AI(e) { let { name: t, form: n, fields: r } = e, i = r[t], { average: o, suggestion: a, units: s, suggestionTip: l, averageTip: u, after: c, decimalsLimitSc: f = 6, decimalsLimitFiat: d = 6, tipsDecimalsLimitSc: h = 0 } = i, { setValue: p, value: v, error: m } = Cu({ name: t, field: i, form: n }); return (0, es.jsxs)("div", { className: "flex flex-col gap-3 items-end", children: [(0, es.jsxs)("div", { className: "flex flex-col gap-3 w-[220px]", children: [(0, es.jsx)(hD, { name: t, size: "small", sc: v, units: s, decimalsLimitSc: f, decimalsLimitFiat: d, error: m, changed: n.formState.dirtyFields[t], placeholder: a || o, onChange: e => { p(e, !0) }, onBlur: () => { p(v, !0) } }), (0, es.jsx)(c || (() => null), { name: t, form: n, fields: r }), o && (0, es.jsx)(AF, { type: "siacoin", label: "Network average", tip: u || "Averages provided by Sia Central.", decimalsLimit: h, value: (0, gB.qN)(o), onClick: () => { p(o, !0) } }), a && l && (0, es.jsx)(AF, { type: "siacoin", label: "Suggestion", tip: l, decimalsLimit: h, value: (0, gB.qN)(a), onClick: () => { p(a, !0) } })] }), (0, es.jsx)("div", { className: "h-[20px]", children: (0, es.jsx)(Oh, { form: n, name: t }) })] }) } function Az(e) { let { name: t, form: n, fields: r } = e, i = r[t], { average: o, averageTip: a, suggestion: s, suggestionTip: l, decimalsLimit: u = 2, placeholder: c, units: f } = i, { setValue: d, value: h, error: p } = Cu({ form: n, field: i, name: t }); return (0, es.jsxs)("div", { className: "flex flex-col gap-3 items-end", children: [(0, es.jsxs)("div", { className: "flex flex-col gap-3 w-[220px]", children: [(0, es.jsx)(hM, { name: t, value: h, units: f, decimalsLimit: u, placeholder: c ? new (hA())(c) : void 0, state: p ? "invalid" : n.formState.dirtyFields[t] ? "valid" : "default", onChange: e => { let t = void 0 !== e ? new (hA())(e) : void 0; d(t, !0) }, onBlur: () => { d(h, !0) } }), (0, es.jsxs)("div", { className: "flex flex-col gap-2", children: [o && (0, es.jsx)(AF, { type: "number", label: "Network average", tip: a || "Averages provided by Sia Central.", decimalsLimit: u, value: o, units: f, onClick: () => { d(o, !0) } }), s && l && (0, es.jsx)(AF, { type: "number", label: "Suggestion", tip: l, decimalsLimit: u, value: s, units: f, onClick: () => { d(s, !0) } })] })] }), (0, es.jsx)("div", { className: "h-[20px]", children: (0, es.jsx)(Oh, { form: n, name: t }) })] }) } function AV(e) { let { label: t, link: n, tip: r, value: i, onClick: o } = e; return (0, es.jsxs)("div", { className: "flex justify-between items-center", children: [(0, es.jsx)(lU, { align: "start", side: "bottom", content: r, children: (0, es.jsxs)("div", { className: "flex gap-1 items-center relative overflow-hidden", children: [(0, es.jsx)(nj, { className: "flex relative", children: (0, es.jsx)(hI, {}) }), (0, es.jsx)(nj, { size: "12", children: n ? (0, es.jsx)(uc, { href: n, target: "_blank", children: t }) : t })] }) }), (0, es.jsx)("div", { className: "flex cursor-pointer items-center", onClick: o, children: (0, es.jsx)(nj, { size: "12", children: (0, es.jsx)(uN, { children: i }) }) })] }) } function AB(e) { let { name: t, form: n, fields: r, type: i } = e, o = r[t], { placeholder: a, suggestion: s, suggestionTip: l } = o, { ref: u, onChange: c, setValue: f, onBlur: d, error: h } = Cu({ name: t, form: n, field: o }); return (0, es.jsxs)("div", { className: "flex flex-col gap-3 items-end", children: [(0, es.jsxs)("div", { className: "flex flex-col gap-3 w-[220px]", children: [(0, es.jsx)(hs, { ref: u, name: t, placeholder: a, type: i, state: h ? "invalid" : n.formState.dirtyFields[t] ? "valid" : "default", onChange: c, onBlur: d }), (0, es.jsx)("div", { className: "flex flex-col gap-2", children: s && l && (0, es.jsx)(AV, { label: "Suggestion", tip: l, value: s, onClick: () => { f(s, !0) } }) })] }), (0, es.jsx)("div", { className: "h-[20px]", children: (0, es.jsx)(Oh, { form: n, name: t }) })] }) } function AZ(e) { let { name: t, form: n, fields: r } = e, i = r[t], { suggestion: o, suggestionTip: a } = i, { setValue: s, value: l, error: u } = Cu({ name: t, field: i, form: n }); return (0, es.jsxs)("div", { className: "flex flex-col gap-3 items-end", children: [(0, es.jsxs)("div", { className: "flex flex-col gap-3 w-[220px]", children: [(0, es.jsx)("div", { className: "flex justify-end w-full", children: (0, es.jsx)(ps, { name: t, size: "medium", checked: l, state: u ? "invalid" : n.formState.dirtyFields[t] ? "valid" : "default", onCheckedChange: e => { s(e, !0) }, onBlur: () => { s(l, !0) } }) }), (0, es.jsx)("div", { className: "flex flex-col gap-2", children: void 0 !== o && a && (0, es.jsx)(AV, { label: "Suggestion", tip: a, value: o ? "on" : "off", onClick: () => { s(o, !0) } }) })] }), (0, es.jsx)("div", { className: "h-[20px]", children: (0, es.jsx)(Oh, { form: n, name: t }) })] }) } function AU(e) { let { name: t, form: n, fields: r } = e, i = r[t], { options: o, suggestion: a, suggestionTip: s } = i, { ref: l, onChange: u, setValue: c, onBlur: f, value: d, error: h } = Cu({ name: t, form: n, field: i }); return (0, es.jsxs)("div", { className: "flex flex-col gap-3 items-end", children: [(0, es.jsxs)("div", { className: "flex flex-col gap-3 w-[220px]", children: [(0, es.jsx)("div", { className: "flex justify-end w-full", children: (0, es.jsx)(h0, { ref: l, name: t, size: "small", value: d, state: h ? "invalid" : n.formState.dirtyFields[t] ? "valid" : "default", onChange: u, onBlur: f, children: null == o ? void 0 : o.map(e => (0, es.jsx)(h1, { value: e.value, children: e.label }, e.value)) }) }), (0, es.jsx)("div", { className: "flex flex-col gap-2", children: void 0 !== a && s && (0, es.jsx)(AV, { label: "Suggestion", tip: s, value: a ? "on" : "off", onClick: () => { c(a, !0) } }) })] }), (0, es.jsx)("div", { className: "h-[20px]", children: (0, es.jsx)(Oh, { form: n, name: t }) })] }) } function AH(e) { let { title: t, category: n, form: r, fields: i } = e, o = Object.entries(i).filter(e => { let [t, i] = e; return i.category === n && (!i.show || i.show(r.getValues())) }); return (0, es.jsx)(AT, { title: t, children: o.map((e, t) => { let [n, a] = e; return (0, es.jsxs)(el.Fragment, { children: [(0, es.jsx)(AM, { title: a.title, description: a.description, control: "number" === a.type ? (0, es.jsx)(Az, { form: r, name: n, fields: i }) : "siacoin" === a.type ? (0, es.jsx)(AI, { form: r, name: n, fields: i }) : "text" === a.type ? (0, es.jsx)(AB, { form: r, name: n, fields: i }) : "password" === a.type ? (0, es.jsx)(AB, { form: r, type: "password", fields: i, name: n }) : "boolean" === a.type ? (0, es.jsx)(AZ, { form: r, name: n, fields: i }) : "select" === a.type ? (0, es.jsx)(AU, { form: r, name: n, fields: i }) : null }), t < o.length - 1 && (0, es.jsx)(fK, { className: "w-full my-3" })] }, n) }) }) } function AW(e) { let { name: t, form: n, fields: r } = e, i = r[t], { placeholder: o, decimalsLimit: a = 2, units: s } = i, { setValue: l, error: u, value: c } = Cu({ form: n, field: i, name: t }); return (0, es.jsx)(Op, { title: i.title, name: t, form: n, wrap: !0, children: (0, es.jsx)(hM, { name: t, value: c, units: s, decimalsLimit: a, placeholder: o ? new (hA())(o) : void 0, state: u ? "invalid" : n.formState.dirtyFields[t] ? "valid" : "default", onChange: e => { let t = void 0 !== e ? new (hA())(e) : void 0; l(t, !0) }, onBlur: () => { l(c, !0) } }) }) } function Aq(e) { let { name: t, form: n, fields: r, size: i = "medium", group: o = !0, children: a } = e, s = r[t], { setValue: l, value: u, error: c } = Cu({ name: t, field: s, form: n }), f = (0, es.jsxs)("div", { className: "flex gap-1 items-center", children: [(0, es.jsx)(ps, { name: t, size: i, checked: u, state: c ? "invalid" : n.formState.dirtyFields[t] ? "valid" : "default", onCheckedChange: e => { l(e, !0) }, onBlur: () => { l(u, !0) } }), a] }); return o ? (0, es.jsx)(Op, { title: s.title, name: t, form: n, children: f }) : f } var A$ = ["children"], AY = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, A$); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), B || (B = el.createElement("path", { d: "M26.0022,4H5.998A1.998,1.998,0,0,0,4,5.998V26.002A1.998,1.998,0,0,0,5.998,28H26.0022A1.9979,1.9979,0,0,0,28,26.002V5.998A1.9979,1.9979,0,0,0,26.0022,4ZM14.8752,8h2.25V18h-2.25ZM16,24a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,24Z" })), Z || (Z = el.createElement("path", { fill: "none", d: "M14.8751,8h2.25V18h-2.25ZM16,24a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,24Z", "data-icon-path": "inner-path" })), n) }), AG = ["children"], AK = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, AG); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), U || (U = el.createElement("path", { d: "M23 27.18L20.41 24.59 19 26 23 30 30 23 28.59 21.59 23 27.18z" })), H || (H = el.createElement("circle", { cx: "11", cy: "8", r: "1" })), W || (W = el.createElement("circle", { cx: "11", cy: "16", r: "1" })), q || (q = el.createElement("circle", { cx: "11", cy: "24", r: "1" })), $ || ($ = el.createElement("path", { d: "M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2h8V27H8V21H26V5A2,2,0,0,0,24,3Zm0,16H8V13H24Zm0-8H8V5H24Z" })), n) }), AX = ["children"], AQ = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, AX); return el.createElement(un, l7({ width: 32, height: 32, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), Y || (Y = el.createElement("path", { d: "M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z" })), n) }), AJ = ["children"], A0 = ["children"], A1 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, AJ); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), G || (G = el.createElement("path", { d: "M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z" })), n) }), A2 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, A0); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), K || (K = el.createElement("path", { d: "M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z" })), n) }), A4 = ["children"], A3 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, A4); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), X || (X = el.createElement("path", { d: "M12 12H14V24H12zM18 12H20V24H18z" })), Q || (Q = el.createElement("path", { d: "M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z" })), n) }), A5 = ["children"], A6 = ["children"], A8 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, A5); return el.createElement(un, l7({ width: 32, height: 32, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), J || (J = el.createElement("path", { d: "M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M16,28C9.4,28,4,22.6,4,16S9.4,4,16,4s12,5.4,12,12 S22.6,28,16,28z" })), ee || (ee = el.createElement("path", { d: "M21.4 23L16 17.6 10.6 23 9 21.4 14.4 16 9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4z" })), n) }), A7 = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, A6); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), et || (et = el.createElement("path", { d: "M2 22H30V24H2zM2 26H30V28H2zM24 10a2 2 0 102 2 2 2 0 00-2-2zM16 16a4 4 0 114-4A4.0045 4.0045 0 0116 16zm0-6a2 2 0 102 2A2.002 2.002 0 0016 10zM8 10a2 2 0 102 2 2 2 0 00-2-2z" })), en || (en = el.createElement("path", { d: "M28,20H4a2.0051,2.0051,0,0,1-2-2V6A2.0051,2.0051,0,0,1,4,4H28a2.0051,2.0051,0,0,1,2,2V18A2.0027,2.0027,0,0,1,28,20ZM28,6H4V18H28Z" })), n) }); function A9(e) { let { children: t } = e, [n, r] = (0, el.useState)(!1); return (0, el.useEffect)(() => { r(!0) }, []), (0, es.jsx)("div", { children: n ? t : null }) } function Te(e) { let { passwordProtectRequestHooks: t, fallback: n, children: r, lockRoutes: i } = e; return (0, es.jsx)(A9, { children: (0, es.jsx)(hN.kl, { fallback: n, children: (0, es.jsx)(vI.f, { attribute: "class", children: (0, es.jsx)(ns, { children: (0, es.jsx)(hN.bW, { lockRoutes: i, passwordProtectRequestHooks: t, children: (0, es.jsxs)("div", { id: "root", className: lB, children: [(0, es.jsx)(SV, {}), r] }) }) }) }) }) }) } n(45847), n(331); var Tt = ["children"], Tn = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Tt); return el.createElement(un, l7({ width: 20, height: 20, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), er || (er = el.createElement("path", { d: "M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z" })), n) }), Tr = ["children"], Ti = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, Tr); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), ei || (ei = el.createElement("path", { d: "M26,6V8.17L5.64,11.87a2,2,0,0,0-1.64,2v4.34a2,2,0,0,0,1.64,2L8,20.56V24a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V22.74l6,1.09V26h2V6ZM18,24H10V20.93l8,1.45ZM6,18.17V13.83L26,10.2V21.8Z" })), n) }), To = ["children"], Ta = el.forwardRef(function(e, t) { var n = e.children, r = l9(e, To); return el.createElement(un, l7({ width: 16, height: 16, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: t }, r), eo || (eo = el.createElement("path", { d: "M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z" })), ea || (ea = el.createElement("path", { fill: "none", d: "M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z", "data-icon-path": "inner-path" })), n) }); function Ts(e) { let { size: t = 24 } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, fill: "currentColor", viewBox: "0 0 512 512", children: (0, es.jsx)("path", { d: "M464 64C490.5 64 512 85.49 512 112V176C512 202.5 490.5 224 464 224H48C21.49 224 0 202.5 0 176V112C0 85.49 21.49 64 48 64H464zM448 128H320V160H448V128zM464 288C490.5 288 512 309.5 512 336V400C512 426.5 490.5 448 464 448H48C21.49 448 0 426.5 0 400V336C0 309.5 21.49 288 48 288H464zM192 352V384H448V352H192z" }) }) } function Tl(e) { let { size: t = 24, className: n } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, className: n, fill: "currentColor", viewBox: "0 0 384 512", children: (0, es.jsx)("path", { d: "M256 0v128h128L256 0zM224 128L224 0H48C21.49 0 0 21.49 0 48v416C0 490.5 21.49 512 48 512h288c26.51 0 48-21.49 48-48V160h-127.1C238.3 160 224 145.7 224 128zM64 72C64 67.63 67.63 64 72 64h80C156.4 64 160 67.63 160 72v16C160 92.38 156.4 96 152 96h-80C67.63 96 64 92.38 64 88V72zM64 136C64 131.6 67.63 128 72 128h80C156.4 128 160 131.6 160 136v16C160 156.4 156.4 160 152 160h-80C67.63 160 64 156.4 64 152V136zM304 384c8.875 0 16 7.125 16 16S312.9 416 304 416h-47.25c-16.38 0-31.25-9.125-38.63-23.88c-2.875-5.875-8-6.5-10.12-6.5s-7.25 .625-10 6.125l-7.75 15.38C187.6 412.6 181.1 416 176 416H174.9c-6.5-.5-12-4.75-14-11L144 354.6L133.4 386.5C127.5 404.1 111 416 92.38 416H80C71.13 416 64 408.9 64 400S71.13 384 80 384h12.38c4.875 0 9.125-3.125 10.62-7.625l18.25-54.63C124.5 311.9 133.6 305.3 144 305.3s19.5 6.625 22.75 16.5l13.88 41.63c19.75-16.25 54.13-9.75 66 14.12c2 4 6 6.5 10.12 6.5H304z" }) }) } function Tu(e) { let { size: t = 24, className: n } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, fill: "currentColor", viewBox: "0 0 512 512", className: n, children: (0, es.jsx)("path", { d: "M464 288h-416C21.5 288 0 309.5 0 336v96C0 458.5 21.5 480 48 480h416c26.5 0 48-21.5 48-48v-96C512 309.5 490.5 288 464 288zM320 416c-17.62 0-32-14.38-32-32s14.38-32 32-32s32 14.38 32 32S337.6 416 320 416zM416 416c-17.62 0-32-14.38-32-32s14.38-32 32-32s32 14.38 32 32S433.6 416 416 416zM464 32h-416C21.5 32 0 53.5 0 80v192.4C13.41 262.3 29.92 256 48 256h416c18.08 0 34.59 6.254 48 16.41V80C512 53.5 490.5 32 464 32z" }) }) } function Tc(e) { let { size: t = 24 } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, fill: "currentColor", viewBox: "0 0 576 512", children: (0, es.jsx)("path", { d: "M575.8 255.5C575.8 273.5 560.8 287.6 543.8 287.6H511.8L512.5 447.7C512.5 450.5 512.3 453.1 512 455.8V472C512 494.1 494.1 512 472 512H456C454.9 512 453.8 511.1 452.7 511.9C451.3 511.1 449.9 512 448.5 512H392C369.9 512 352 494.1 352 472V384C352 366.3 337.7 352 320 352H256C238.3 352 224 366.3 224 384V472C224 494.1 206.1 512 184 512H128.1C126.6 512 125.1 511.9 123.6 511.8C122.4 511.9 121.2 512 120 512H104C81.91 512 64 494.1 64 472V360C64 359.1 64.03 358.1 64.09 357.2V287.6H32.05C14.02 287.6 0 273.5 0 255.5C0 246.5 3.004 238.5 10.01 231.5L266.4 8.016C273.4 1.002 281.4 0 288.4 0C295.4 0 303.4 2.004 309.5 7.014L564.8 231.5C572.8 238.5 576.9 246.5 575.8 255.5L575.8 255.5z" }) }) } function Tf(e) { let { size: t = 24 } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", height: t, width: t, fill: "currentColor", children: (0, es.jsx)("path", { d: "M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z" }) }) } function Td(e) { let { size: t = 24 } = e; return (0, es.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", height: t, width: t, fill: "currentColor", viewBox: "0 0 448 512", children: (0, es.jsx)("path", { d: "M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z" }) }) } let Th = []; function Tp(e, t) { let { columns: n, columnsDefaultVisible: r, defaultSortField: i, sortOptions: o, disabledCategories: a } = { disabledCategories: Th, ...t }, [s, l] = (0, Ap.Z)("".concat(e, "/enabledColumns"), { defaultValue: r }), [u, c] = (0, Ap.Z)("".concat(e, "/sortField"), { defaultValue: i }), [f, d] = (0, Ap.Z)("".concat(e, "/sortDirection"), { defaultValue: "desc" }), h = (0, el.useCallback)(e => { l(t => t.includes(e) ? t.filter(t => t !== e) : t.concat(e)) }, [l]), p = (0, el.useCallback)(e => { l(t => (0, m8.uniq)([...t, ...e])) }, [l]), v = (0, el.useCallback)(e => { l(t => (0, m8.difference)(t, e)) }, [l]), m = (0, el.useCallback)(() => { l(r) }, [l, r]), g = (0, el.useCallback)(e => { if (u !== e) { c(e), d("asc"); return } d(e => "desc" === e ? "asc" : "desc") }, [u, c, d]), y = (0, el.useMemo)(() => n.filter(e => { let t = null == a ? void 0 : a.includes(e.category || ""); return !e.fixed && !t }), [n, a]), b = (0, el.useMemo)(() => n.filter(e => { let t = e.fixed || s.includes(e.id), n = null == a ? void 0 : a.includes(e.category || ""); return t && !n }).map(e => e.id), [n, s, a]), x = (0, el.useMemo)(() => { if (!o) return []; let e = o.map(e => e.id); return (0, m8.intersection)(e, b) }, [o, b]); return { configurableColumns: y, enabledColumns: b, toggleColumnVisibility: h, toggleSort: g, setSortDirection: d, setSortField: c, sortableColumns: x, sortField: u, setColumnsVisible: p, setColumnsHidden: v, sortDirection: f, resetDefaultColumnVisibility: m } } function Tv() { let e = (0, OC.useRouter)(), [t, n] = (0, el.useState)([]), r = (0, el.useCallback)(t => { n(e => { let n = e.filter(e => e.id !== t.id); return n.concat(t) }), e.replace({ query: {} }) }, [e, n]), i = (0, el.useCallback)(() => { n([]), e.replace({ query: {} }) }, [e, n]), o = (0, el.useCallback)(t => { n(e => e.filter(e => e.id !== t)), e.replace({ query: {} }) }, [e, n]), a = (0, el.useCallback)(() => { t.length && (n(e => e.slice(0, -1)), e.replace({ query: {} })) }, [e, n, t]); return { filters: t, setFilter: r, removeFilter: o, removeLastFilter: a, resetFilters: i } } function Tm(e, t, n, r) { let [i, o] = (0, el.useState)(); return (0, el.useEffect)(() => { !t && e && o(e.length) }, [t, e, o]), (0, el.useMemo)(() => n ? "error" : void 0 === i || i > 0 && !e ? "loading" : 0 === i ? 0 === r.length ? "noneYet" : "noneMatchingFilters" : void 0, [e, i, n, r]) } function Tg(e) { return new (hA())(e).times(1024).times(1024) } function Ty(e) { return new (hA())(e).times(1e3).times(1e3).times(1e3).times(1e3) } function Tb(e) { return new (hA())(e).div(1e3).div(1e3).div(1e3) } function Tx(e) { return new (hA())(e).times(1e3).times(1e3).times(1e3) } function Tw(e) { return new (hA())(e).div(1e3).div(1e3) } function T_(e) { return new (hA())(e).times(1e3).times(1e3) } function TE(e) { return Tg(e).times(4) } function Tk(e) { return Tb(TE(e)) } function Tj(e) { var t; return (t = Tx(e), new (hA())(t).div(1024).div(1024)).div(4).integerValue() } function TS(e, t) { let n = t.reduce((e, t) => { let n = e.startHeight, r = e.endHeight; return t.contractHeightStart < n && (n = t.contractHeightStart), t.contractHeightEnd > r && (r = t.contractHeightEnd), { startHeight: n, endHeight: r } }, { startHeight: e, endHeight: 0 }); n.endHeight = Math.max(n.endHeight, e) + 720, n.startHeight = n.startHeight - 720; let r = [], i = n.startHeight; for (; i <= n.endHeight;)r.push(i), i += kc(1); let o = r.reduce((e, t) => ({ ...e, [t]: { total: null, timestamp: t } }), {}); return { allDatesMap: o, range: n } } new (hA())(0) + }, 41755: function(e, t, n) { "use strict"; n.d(t, { bW: function() { return F }, kl: function() { return Y }, gw: function() { return o }, Tc: function() { return q }, du: function() { return $ }, Hv: function() { return L }, iv: function() { return H }, Nf: function() { return U }, E: function() { return Z }, mw: function() { return z }, q0: function() { return I }, Tb: function() { return A }, V1: function() { return B }, I7: function() { return V }, DG: function() { return W } }); var r = n(79381); function i(e, t) { return !e || t ? null : e } function o(e) { return new Promise(t => setTimeout(t, e)) } var a = n(89644), s = n.n(a), l = n(2784); function u(e) { return { ...e, config: { ...null == e ? void 0 : e.config } } } function c(e) { return { ...e, config: { ...null == e ? void 0 : e.config } } } function f(e) { return { ...e, config: { ...null == e ? void 0 : e.config } } } function d(e, t, n) { return (null == n ? void 0 : n.api) || (null == t ? void 0 : t.api) || e.api } function h(e, t, n) { var r, i; let o = function(e, t, n) { var r, i, o, a; let s = { "Content-Type": "application/json", ...null === (r = t.config) || void 0 === r ? void 0 : null === (i = r.axios) || void 0 === i ? void 0 : i.headers, ...null == n ? void 0 : null === (o = n.config) || void 0 === o ? void 0 : null === (a = o.axios) || void 0 === a ? void 0 : a.headers }, l = d(e, t, n); return e.api === l && e.password && (s.Authorization = "Basic " + btoa(":".concat(e.password))), s }(e, t, n); return { responseType: "json", ...null === (r = t.config) || void 0 === r ? void 0 : r.axios, ...null == n ? void 0 : null === (i = n.config) || void 0 === i ? void 0 : i.axios, headers: o } } function p(e, t, n, r) { if (!t) return null; let i = (null == n ? void 0 : n.params) || {}; if (r && r.params && (i = { ...i, ...r.params }), !(t = function(e, t) { if (e && t) { let n = Object.keys(t); for (let r of n) { let i = String(t[r]); e.includes(":".concat(r)) ? e = e.replace(":".concat(r), i) : e.includes("?") ? e += "&".concat(r, "=").concat(encodeURIComponent(i)) : e += "?".concat(r, "=").concat(encodeURIComponent(i)) } } return e }(t, i))) return null; let o = d(e, n, r); return o === e.api ? "".concat(o, "/api").concat(t) : "".concat(o).concat(t) } function v(e, t, n, r) { let i = d(e, n, r); return i === e.api ? t.replace("".concat(i, "/api"), "") : t.replace(i, "") } var m = n(52322), g = n(5632), y = n(92762); function b(e, t, n, r) { return new (n || (n = Promise))(function(i, o) { function a(e) { try { l(r.next(e)) } catch (t) { o(t) } } function s(e) { try { l(r.throw(e)) } catch (t) { o(t) } } function l(e) { var t; e.done ? i(e.value) : ((t = e.value) instanceof n ? t : new n(function(e) { e(t) })).then(a, s) } l((r = r.apply(e, t || [])).next()) }) } let x = ["geforce 320m", "geforce 8600", "geforce 8600m gt", "geforce 8800 gs", "geforce 8800 gt", "geforce 9400", "geforce 9400m g", "geforce 9400m", "geforce 9600m gt", "geforce 9600m", "geforce fx go5200", "geforce gt 120", "geforce gt 130", "geforce gt 330m", "geforce gtx 285", "google swiftshader", "intel g41", "intel g45", "intel gma 4500mhd", "intel gma x3100", "intel hd 3000", "intel q45", "legacy", "mali-2", "mali-3", "mali-4", "quadro fx 1500", "quadro fx 4", "quadro fx 5", "radeon hd 2400", "radeon hd 2600", "radeon hd 4670", "radeon hd 4850", "radeon hd 4870", "radeon hd 5670", "radeon hd 5750", "radeon hd 6290", "radeon hd 6300", "radeon hd 6310", "radeon hd 6320", "radeon hd 6490m", "radeon hd 6630m", "radeon hd 6750m", "radeon hd 6770m", "radeon hd 6970m", "sgx 543", "sgx543"]; function w(e) { return e = e.toLowerCase().replace(/.*angle ?\((.+)\)(?: on vulkan [0-9.]+)?$/i, "$1").replace(/\s(\d{1,2}gb|direct3d.+$)|\(r\)| \([^)]+\)$/g, "").replace(/(?:vulkan|opengl) \d+\.\d+(?:\.\d+)?(?: \((.*)\))?/, "$1") } let _ = "undefined" == typeof window, E = (() => { if (_) return; let { userAgent: e, platform: t, maxTouchPoints: n } = window.navigator, r = /(iphone|ipod|ipad)/i.test(e), i = "iPad" === t || "MacIntel" === t && n > 0 && !window.MSStream; return { isIpad: i, isMobile: /android/i.test(e) || r || i, isSafari12: /Version\/12.+Safari/.test(e) } })(); class k extends Error { constructor(e) { super(e), Object.setPrototypeOf(this, new.target.prototype) } } let j = [], S = []; function O(e) { return null != e } let C = ({ mobileTiers: e = [0, 15, 30, 60], desktopTiers: t = [0, 15, 30, 60], override: n = {}, glContext: r, failIfMajorPerformanceCaveat: i = !1, benchmarksURL: o = "https://unpkg.com/detect-gpu@5.0.34/dist/benchmarks" } = {}) => b(void 0, void 0, void 0, function*() { let a = {}; if (_) return { tier: 0, type: "SSR" }; let { isIpad: s = !!(null == E ? void 0 : E.isIpad), isMobile: l = !!(null == E ? void 0 : E.isMobile), screenSize: u = window.screen, loadBenchmarks: c = e => b(void 0, void 0, void 0, function*() { let t = yield fetch(`${o}/${e}`).then(e => e.json()); if (4 > parseInt(t.shift().split(".")[0], 10)) throw new k("Detect GPU benchmark data is out of date. Please update to version 4x"); return t }) } = n, { renderer: f } = n, d = (e, t, n, r, i) => ({ device: i, fps: r, gpu: n, isMobile: l, tier: e, type: t }), h, p = ""; if (f) h = [f = w(f)]; else { var v; let m = r || function(e, t = !1) { let n = { alpha: !1, antialias: !1, depth: !1, failIfMajorPerformanceCaveat: t, powerPreference: "high-performance", stencil: !1 }; e && delete n.powerPreference; let r = window.document.createElement("canvas"), i = r.getContext("webgl", n) || r.getContext("experimental-webgl", n); return null != i ? i : void 0 }(null == E ? void 0 : E.isSafari12, i); if (!m) return d(0, "WEBGL_UNSUPPORTED"); let g = m.getExtension("WEBGL_debug_renderer_info"); if (g && (f = m.getParameter(g.UNMASKED_RENDERER_WEBGL)), !f) return d(1, "FALLBACK"); p = f, h = "apple gpu" === (v = f = w(f)) ? function(e, t, n) { let r; if (!n) return [t]; let i = function(e) { let t = e.createShader(35633), n = e.createShader(35632), r = e.createProgram(); if (!(n && t && r)) return; e.shaderSource(t, "\n precision highp float;\n attribute vec3 aPosition;\n varying float vvv;\n void main() {\n vvv = 0.31622776601683794;\n gl_Position = vec4(aPosition, 1.0);\n }\n "), e.shaderSource(n, "\n precision highp float;\n varying float vvv;\n void main() {\n vec4 enc = vec4(1.0, 255.0, 65025.0, 16581375.0) * vvv;\n enc = fract(enc);\n enc -= enc.yzww * vec4(1.0 / 255.0, 1.0 / 255.0, 1.0 / 255.0, 0.0);\n gl_FragColor = enc;\n }\n "), e.compileShader(t), e.compileShader(n), e.attachShader(r, t), e.attachShader(r, n), e.linkProgram(r), e.detachShader(r, t), e.detachShader(r, n), e.deleteShader(t), e.deleteShader(n), e.useProgram(r); let i = e.createBuffer(); e.bindBuffer(34962, i), e.bufferData(34962, new Float32Array([-1, -1, 0, 3, -1, 0, -1, 3, 0]), 35044); let o = e.getAttribLocation(r, "aPosition"); e.vertexAttribPointer(o, 3, 5126, !1, 0, 0), e.enableVertexAttribArray(o), e.clearColor(1, 1, 1, 1), e.clear(16384), e.viewport(0, 0, 1, 1), e.drawArrays(4, 0, 3); let a = new Uint8Array(4); return e.readPixels(0, 0, 1, 1, 6408, 5121, a), e.deleteProgram(r), e.deleteBuffer(i), a.join("") }(e), o = "801621810", a = "8016218135", s = "80162181161", l = (null == E ? void 0 : E.isIpad) ? [["a7", s, 12], ["a8", a, 15], ["a8x", a, 15], ["a9", a, 15], ["a9x", a, 15], ["a10", a, 15], ["a10x", a, 15], ["a12", o, 15], ["a12x", o, 15], ["a12z", o, 15], ["a14", o, 15], ["m1", o, 15]] : [["a7", s, 12], ["a8", a, 12], ["a9", a, 15], ["a10", a, 15], ["a11", o, 15], ["a12", o, 15], ["a13", o, 15], ["a14", o, 15]]; return "80162181255" === i ? r = l.filter(([, , e]) => e >= 14) : (r = l.filter(([, e]) => e === i)).length || (r = l), r.map(([e]) => `apple ${e} gpu`) }(m, v, l) : [v] } let y = (yield Promise.all(h.map(function(e) { var t; return b(this, void 0, void 0, function*() { let n; let r = (e => { for (let t of l ? ["adreno", "apple", "mali-t", "mali", "nvidia", "powervr", "samsung"] : ["intel", "apple", "amd", "radeon", "nvidia", "geforce"]) if (e.includes(t)) return t })(e); if (!r) return; let i = `${l ? "m" : "d"}-${r}${s ? "-ipad" : ""}.json`, o = a[i] = null !== (t = a[i]) && void 0 !== t ? t : c(i); try { n = yield o } catch (f) { if (f instanceof k) throw f; return } let d = function(e) { var t; let n = (e = e.replace(/\([^)]+\)/, "")).match(/\d+/) || e.match(/(\W|^)([A-Za-z]{1,3})(\W|$)/g); return null !== (t = null == n ? void 0 : n.join("").replace(/\W|amd/g, "")) && void 0 !== t ? t : "" }(e), h = n.filter(([, e]) => e === d); h.length || (h = n.filter(([t]) => t.includes(e))); let p = h.length; if (0 === p) return; let v = e.split(/[.,()\[\]/\s]/g).sort().filter((e, t, n) => 0 === t || e !== n[t - 1]).join(" "), m, [g, , , , y] = p > 1 ? h.map(e => [e, function(e, t) { if (e === t) return 0; let n = e; e.length > t.length && (e = t, t = n); let r = e.length, i = t.length; for (; r > 0 && e.charCodeAt(~-r) === t.charCodeAt(~-i);)r--, i--; let o, a = 0; for (; a < r && e.charCodeAt(a) === t.charCodeAt(a);)a++; if (r -= a, i -= a, 0 === r) return i; let s, l, u = 0, c = 0, f = 0; for (; c < r;)S[c] = e.charCodeAt(a + c), j[c] = ++c; for (; f < i;)for (o = t.charCodeAt(a + f), s = f++, u = f, c = 0; c < r; c++)l = o === S[c] ? s : s + 1, s = j[c], u = j[c] = s > u ? l > u ? u + 1 : l : l > s ? s + 1 : l; return u }(v, e[2])]).sort(([, e], [, t]) => e - t)[0][0] : h[0], b = Number.MAX_VALUE, { devicePixelRatio: x } = window, w = u.width * x * u.height * x; for (let _ of y) { let [E, O] = _, C = E * O, A = Math.abs(w - C); A < b && (b = A, m = _) } if (!m) return; let [, , T, M] = m; return [b, T, g, M] }) }))).filter(O).sort(([e = Number.MAX_VALUE, t], [n = Number.MAX_VALUE, r]) => e === n ? t - r : e - n); if (!y.length) { let C = x.find(e => f.includes(e)); return C ? d(0, "BLOCKLISTED", C) : d(1, "FALLBACK", `${f} (${p})`) } let [, A, T, M] = y[0]; if (-1 === A) return d(0, "BLOCKLISTED", T, A, M); let P = l ? e : t, N = 0; for (let R = 0; R < P.length; R++)A >= P[R] && (N = R); return d(N, "BENCHMARK", T, A, M) }); function A() { var e; let t = null === (e = window.matchMedia) || void 0 === e ? void 0 : e.call(window, "(prefers-reduced-motion: reduce)"); return !t || !!t.matches } let T = (0, l.createContext)({}), M = () => (0, l.useContext)(T); function P(e) { let { children: t } = e, n = function() { let [e, t] = (0, l.useState)({}), n = (0, l.useCallback)((e, n) => { t(t => ({ ...t, [e]: { key: e, ...n } })) }, [t]), r = (0, l.useCallback)(e => { t(t => (delete t[e], { ...t })) }, [t]), i = (0, l.useCallback)(() => { t({}) }, [t]), o = (0, l.useMemo)(() => Object.entries(e).map(e => e[1]), [e]); return { setWorkflow: n, removeWorkflow: r, resetWorkflows: i, workflows: o } }(); return (0, m.jsx)(T.Provider, { value: n, children: t }) } let N = [{ id: "usd", label: "USD", prefix: "$", fixed: 2 }, { id: "cad", label: "CAD", prefix: "$", fixed: 2 }, { id: "eur", label: "EUR", prefix: "€", fixed: 2 }, { id: "gbp", label: "GBP", prefix: "\xa3", fixed: 2 }, { id: "jpy", label: "JPY", prefix: "\xa5", fixed: 2 }, { id: "aud", label: "AUD", prefix: "$", fixed: 2 }, { id: "rub", label: "RUB", prefix: "₽", fixed: 2 }, { id: "cny", label: "CNY", prefix: "\xa5", fixed: 2 }, { id: "btc", label: "BTC", prefix: "₿", fixed: 6 }, { id: "eth", label: "ETH", prefix: "Ξ", fixed: 6 }], R = { api: "", allowCustomApi: !1, siaCentral: !0, password: void 0, currency: N[0], recentApis: {}, autoLock: !1, autoLockTimeout: 6e5 }, D = (0, l.createContext)({}), L = () => (0, l.useContext)(D); function F(e) { let { children: t, ...n } = e, i = function(e) { let { passwordProtectRequestHooks: t, lockRoutes: n, defaultSettings: i } = e, o = (0, l.useMemo)(() => ({ ...R, ...i }), [i]), [a, s] = (0, y.Z)("v0/settings", { defaultValue: o }); (0, l.useEffect)(() => { s(e => ({ ...o, ...e })) }, []); let u = (0, l.useMemo)(() => ({ ...o, ...a }), [a, o]), { resetWorkflows: c } = M(), f = (0, l.useCallback)(e => { s(t => ({ ...t, ...e })) }, [s]), d = (0, l.useCallback)(e => { let t = N.find(t => t.id === e); t && f({ currency: t }) }, [f]), h = (0, g.useRouter)(), [p, v] = (0, l.useState)({}), m = (0, l.useCallback)((e, t) => { v(n => ({ ...n, [e]: t })) }, [v]), b = (0, l.useCallback)(() => { for (let [e, t] of (n && h.push({ pathname: n.login, query: { prev: [n.login].includes(h.asPath) ? n.home : h.asPath } }), f({ password: "" }), c(), (0, r.JG)(() => !0, void 0, { revalidate: !1 }), Object.entries(p))) t && t() }, [h, n, f, c, p]), x = (0, l.useMemo)(() => !!u.password, [u]), w = function() { let e = A(), [t, n] = (0, l.useState)(!1), [r, i] = (0, l.useState)(!1), [{ isGpuEnabled: o, hasUserSet: a }, s] = (0, y.Z)("v1/gpuFeatures", { defaultValue: { isGpuEnabled: !e, hasUserSet: !1 } }), u = (0, l.useCallback)(function(e) { let t = !(arguments.length > 1) || void 0 === arguments[1] || arguments[1]; s(n => ({ ...n, isGpuEnabled: e, hasUserSet: t })) }, [s]), c = (0, l.useCallback)(async () => { let e = !1; { let t = await C(); console.log("GPU", t), e = t.tier > 0, !a && t.tier < 2 && u(!1, !1) } i(e), n(!0) }, [i, u, a]); return (0, l.useEffect)(() => { c() }, []), { hasCheckedGpu: t, canGpuRender: r, isGpuEnabled: o, shouldRender: r && o, setCanGpuRender: i, setIsGpuEnabled: u } }(); return { settings: u, setSettings: f, setCurrency: d, currencyOptions: N, gpu: w, lock: b, isUnlocked: x, passwordProtectRequestHooks: t, setOnLockCallback: m } }(n); return (0, m.jsx)(D.Provider, { value: i, children: t }) } function I(e) { var t; let n = (0, l.useMemo)(() => c(e), [e]), { settings: o, passwordProtectRequestHooks: a } = L(), u = p(o, n.route, n, void 0), f = (0, l.useMemo)(() => i(u ? "".concat(u).concat(JSON.stringify(void 0 !== e.payload ? e.payload : "")) : null, n.disabled || a && !o.password), [u, e, n, a, o]); return (0, r.ZP)(f, async () => { if (!n.route) throw Error("No route"); let t = h(o, n, void 0); if (!u) throw Error("No route"); try { let r = await s().post(u, e.payload, t); return r.data } catch (a) { let i = Error(a.response.data); throw i.status = a.response.status || 500, i } }, null === (t = n.config) || void 0 === t ? void 0 : t.swr) } function z(e, t) { let { setWorkflow: n, removeWorkflow: i } = M(), { mutate: o } = (0, r.kY)(), { settings: a } = L(), l = u(e); return { post: async e => { let r = f(e); try { let u; let c = h(a, l, r), d = p(a, l.route, l, r); if (!d) throw Error("No route"); "payload" in r && (u = r.payload); let m = "".concat(d).concat(JSON.stringify(void 0 !== e.payload ? e.payload : "")), g = v(a, d, e, r); n(m, { path: g, payload: u }); let y = await s().post(d, u, c); return t && await t(function(t) { let n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e => e, i = arguments.length > 2 ? arguments[2] : void 0; return o(n => { if ("string" != typeof n) return !1; let i = v(a, n, e, r); return t(i) }, n, i) }, r, y), i(m), { status: y.status, data: y.data } } catch (w) { var b, x; return { status: null === (b = w.response) || void 0 === b ? void 0 : b.status, error: (null === (x = w.response) || void 0 === x ? void 0 : x.data) || w.message } } } } } function V(e) { var t; let n = (0, l.useMemo)(() => c(e), [e]), { settings: o, passwordProtectRequestHooks: a } = L(), u = p(o, n.route, n, void 0), f = (0, l.useMemo)(() => i(u ? "".concat(u).concat(JSON.stringify(void 0 !== e.payload ? e.payload : "")) : null, n.disabled || a && !o.password), [u, e, n, a, o]); return (0, r.ZP)(f, async () => { if (!n.route) throw Error("No route"); let t = h(o, n, void 0); if (!u) throw Error("No route"); try { let r = await s().put(u, e.payload, t); return r.data } catch (a) { let i = Error(a.response.data); throw i.status = a.response.status || 500, i } }, null === (t = n.config) || void 0 === t ? void 0 : t.swr) } function B(e, t) { let { mutate: n } = (0, r.kY)(), { settings: i } = L(), { setWorkflow: o, removeWorkflow: a } = M(), l = u(e); return { put: async e => { let r = f(e); try { let u; let c = h(i, l, r), d = p(i, l.route, l, r); if (!d) throw Error("No route"); "payload" in r && (u = r.payload); let m = "".concat(d).concat(JSON.stringify(void 0 !== e.payload ? e.payload : "")), g = v(i, d, e, r); o(m, { path: g, payload: u }); let y = await s().put(d, u, c); return t && await t(function(t) { let o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e => e, a = arguments.length > 2 ? arguments[2] : void 0; return n(n => { if ("string" != typeof n) return !1; let o = v(i, n, e, r); return t(o) }, o, a) }, r, y), a(m), { status: y.status, data: y.data } } catch (w) { var b, x; return { status: null === (b = w.response) || void 0 === b ? void 0 : b.status, error: (null === (x = w.response) || void 0 === x ? void 0 : x.data) || w.message } } } } } function Z(e, t) { let { mutate: n } = (0, r.kY)(), { settings: i } = L(), { setWorkflow: o, removeWorkflow: a } = M(), l = u(e); return { patch: async e => { let r = f(e); try { let u; let c = h(i, l, r), d = p(i, l.route, l, r); if (!d) throw Error("No route"); "payload" in r && (u = r.payload); let m = "".concat(d).concat(JSON.stringify(void 0 !== e.payload ? e.payload : "")), g = v(i, d, e, r); o(m, { path: g, payload: u }); let y = await s().patch(d, u, c); return t && await t(function(t) { let o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e => e, a = arguments.length > 2 ? arguments[2] : void 0; return n(n => { if ("string" != typeof n) return !1; let o = v(i, n, e, r); return t(o) }, o, a) }, r, y), a(m), { status: y.status, data: y.data } } catch (w) { var b, x; return { status: null === (b = w.response) || void 0 === b ? void 0 : b.status, error: (null === (x = w.response) || void 0 === x ? void 0 : x.data) || w.message } } } } } function U(e) { var t; let n = (0, l.useMemo)(() => c(e), [e]), { settings: o, passwordProtectRequestHooks: a } = L(), u = p(o, n.route, n, void 0); return (0, r.ZP)(i(u, n.disabled || a && !o.password), async () => { if (!n.route) throw Error("No route"); let e = h(o, n, void 0); if (!u) throw Error("No route"); try { let t = await s().get(u, e); return t.data } catch (i) { let r = Error(i.response.data); throw r.status = i.response.status || 500, r } }, null === (t = n.config) || void 0 === t ? void 0 : t.swr) } function H(e, t) { let { mutate: n } = (0, r.kY)(), { settings: i } = L(), { setWorkflow: o, removeWorkflow: a } = M(), l = u(e); return { delete: async e => { let r = f(e); try { let u = h(i, l, r), c = p(i, l.route, l, r); if (!c) throw Error("No route"); let d = v(i, c, e, r); o(c, { path: d }); let m = await s().delete(c, u); return t && await t(function(t) { let o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e => e, a = arguments.length > 2 ? arguments[2] : void 0; return n(n => { if ("string" != typeof n) return !1; let o = v(i, n, e, r); return t(o) }, o, a) }, r, m), a(c), { status: m.status, data: m.data } } catch (b) { var g, y; return { status: null === (g = b.response) || void 0 === g ? void 0 : g.status, error: (null === (y = b.response) || void 0 === y ? void 0 : y.data) || b.message } } } } } function W(e) { let { settings: t } = L(); return U({ api: "https://api.siacentral.com/v2", ...e, route: "/market/exchange-rate?currencies=sc", disabled: (null == e ? void 0 : e.disabled) || !t.siaCentral }) } function q() { return Math.round((new Date().getTime() - 14336e8) / 6e5) } function $() { return Math.round((new Date().getTime() - 16736e8) / 6e5) } function Y(e) { let { fallback: t, cacheProvider: n, children: i } = e; return (0, m.jsx)(P, { children: (0, m.jsx)(r.J$, { value: { fallback: t || {}, provider: n }, children: i }) }) } }, 13369: function(e, t, n) { "use strict"; n.d(t, { dk: function() { return o }, Z7: function() { return L }, Uy: function() { return F }, GP: function() { return y }, kr: function() { return b }, nH: function() { return l }, KU: function() { return x }, rV: function() { return _ }, Az: function() { return k }, uo: function() { return j }, Te: function() { return E }, d$: function() { return s }, On: function() { return a }, Wl: function() { return f }, cQ: function() { return c }, cM: function() { return N }, Kw: function() { return R }, hV: function() { return g }, ST: function() { return O }, HU: function() { return A }, uq: function() { return M }, G: function() { return P }, Rz: function() { return T }, Fn: function() { return S }, Os: function() { return d }, a0: function() { return v }, cj: function() { return m }, Qq: function() { return h } }); var r = n(41755), i = n(79381); let o = "/state/host"; function a(e) { return (0, r.Nf)({ ...e, route: o }) } function s(e) { return (0, r.Nf)({ ...e, route: "/state/consensus" }) } function l() { let e = a({ config: { swr: { revalidateOnFocus: !1 } } }), t = (0, i.ZP)(e, () => { var t; return (null === (t = e.data) || void 0 === t ? void 0 : t.network) === "Zen Testnet" ? (0, r.du)() : (0, r.Tc)() }, { refreshInterval: 6e4, keepPreviousData: !0 }); return t.data || 0 } let u = "/syncer/peers"; function c(e) { return (0, r.Nf)({ ...e, route: u }) } function f(e) { return (0, r.V1)({ ...e, route: "/syncer/peers" }, async e => { e(e => e === u) }) } function d(e) { return (0, r.Nf)({ ...e, route: "/wallet" }) } function h(e) { return (0, r.Nf)({ ...e, route: "/wallet/transactions" }) } let p = "/wallet/pending"; function v(e) { return (0, r.Nf)({ ...e, route: p }) } function m(e) { return (0, r.mw)({ ...e, route: "/wallet/send" }, async e => { await (0, r.gw)(2e3), e(e => e.startsWith(p)) }) } function g(e) { return (0, r.Nf)({ ...e, route: "/tpool/fee" }) } function y(e) { return (0, r.q0)({ ...e, route: "/contracts" }) } function b(e) { return (0, r.V1)({ ...e, route: "/contracts/:id/integrity" }) } function x(e) { return (0, r.Nf)({ ...e, route: "/metrics/:interval" }) } let w = "/settings"; function _(e) { return (0, r.Nf)({ ...e, route: w }) } function E(e) { return (0, r.E)({ ...e, route: "/settings" }, async e => { await e(e => e.startsWith(w)) }) } function k(e) { return (0, r.mw)({ ...e, route: "/settings/announce" }) } function j(e) { return (0, r.I7)({ ...e, payload: {}, route: "/settings/ddns/update" }) } function S(e) { return (0, r.Nf)({ ...e, route: "/volumes" }) } function O(e) { return (0, r.Nf)({ ...e, route: "/volumes/:id" }) } let C = "/volumes"; function A(e) { return (0, r.mw)({ ...e, route: C }, async e => { e(e => e.startsWith(C)) }) } function T(e) { return (0, r.V1)({ ...e, route: "/volumes/:id" }, async e => { e(e => e.startsWith(C)) }) } function M(e) { return (0, r.iv)({ ...e, route: "/volumes/:id" }, async e => { e(e => e.startsWith(C)) }) } function P(e) { return (0, r.V1)({ ...e, route: "/volumes/:id/resize" }, async e => { await (0, r.gw)(1e4), e(e => e.startsWith(C)) }) } function N(e) { return (0, r.Nf)({ ...e, route: "/system/dir" }) } function R(e) { return (0, r.V1)({ ...e, route: "/system/dir" }) } let D = "/alerts"; function L(e) { return (0, r.Nf)({ ...e, route: D }) } function F(e) { return (0, r.mw)({ ...e, route: "/alerts/dismiss" }, async e => { e(e => e.startsWith(D)) }) } }, 2288: function(e, t, n) { "use strict"; n.d(t, { vW: function() { return o }, rN: function() { return l }, yF: function() { return s }, Vz: function() { return h }, ES: function() { return p }, bc: function() { return a }, qN: function() { return f }, ll: function() { return c } }), n(81395), n(76635); var r = n(6391), i = n.n(r); function o(e, t) { let n = "number" == typeof e ? e : e instanceof i() ? e.toNumber() : Number(e), { fixed: r = 2 } = t || {}; if (!n) return "0 B"; if (n < 1e3) return "".concat(n, " B"); let o = Math.floor(Math.log10(n) / Math.log10(1e3)), a = n / Math.pow(1e3, o); return a.toFixed(r) + " " + ["B", "KB", "MB", "GB", "TB", "PB", "EB"][o] } function a(e) { return 0 === e ? "0ms" : (e /= 1e6) < 1e3 ? " ".concat(Math.floor(100 * e) / 100, "ms") : (e /= 1e3) < 60 ? "".concat(Math.floor(100 * e) / 100, "s") : "".concat(Math.floor(e / 60 * 100) / 100, "m") } function s(e, t) { let { fixed: n = 0, units: r = "", abbreviated: o = !1 } = t || {}, a = new (i())(e || 0); if (o) { let s = a.toNumber(); if (s < 1e3) return a.toString(); let l = ["", "K", "M", "B", "t", "q", "Q", "s", "S", "o", "n", "d", "U", "D"], u = Math.floor(Math.log10(s) / Math.log10(1e3)), c = s / Math.pow(1e3, u); return "".concat(c.toFixed(n)).concat(l[u] ? " ".concat(l[u]) : "").concat(r ? " ".concat(r) : "") } return "".concat(a.toFormat(n)).concat(r ? " ".concat(r) : "") } function l(e, t) { let n; return n = navigator.language, new Intl.DateTimeFormat(n, { dateStyle: "short", ...t }).format(new Date(e)) } r.BigNumber.config({ EXPONENTIAL_AT: 1e9 }), r.BigNumber.config({ DECIMAL_PLACES: 30 }); let u = new r.BigNumber("10").exponentiatedBy(24); function c(e, t) { return void 0 !== t ? new r.BigNumber(new r.BigNumber(e).dividedBy(u).toFixed(t)) : new r.BigNumber(e).dividedBy(u) } function f(e) { return new r.BigNumber(new r.BigNumber(e).times(u).toFixed(0)) } let d = { fixed: 3, dynamicUnits: !0, hastingUnits: !1 }; function h(e, t) { let { fixed: n, dynamicUnits: i, hastingUnits: o } = { ...d, ...t }, a = new r.BigNumber(1e12), s = new r.BigNumber(1e3), l = new r.BigNumber(e), u = new r.BigNumber(e).abs(), f = l.isNegative() ? "-" : ""; if (!i) return "".concat(f).concat(c(u).toFormat(n), " SC"); if (u.dividedBy(a).isLessThan(1)) return o ? "".concat(f).concat(u, " H") : "".concat(f, "0 SC"); let h = ["pS", "nS", "uS", "mS", "SC", "KS", "MS", "GS", "TS"]; for (let p = 0; p < h.length; p++) { let v = Array(p).fill(null).reduce(e => e.multipliedBy(s), new r.BigNumber(1)), m = u.dividedBy(a.multipliedBy(v)); if (m.isLessThan(s) || p === h.length - 1) return "".concat(f).concat(m.toFormat(n), " ").concat(h[p]) } return "" } function p(e) { return e.toLocaleString() + " SF" } }, 35195: function() { }, 91050: function(e) { e.exports = { style: { fontFamily: "'__IBM_Plex_Mono_5c2ce5', '__IBM_Plex_Mono_Fallback_5c2ce5'" }, className: "__className_5c2ce5", variable: "__variable_5c2ce5" } }, 1626: function(e) { e.exports = { style: { fontFamily: "'__IBM_Plex_Sans_f3b0db', '__IBM_Plex_Sans_Fallback_f3b0db'" }, className: "__className_f3b0db", variable: "__variable_f3b0db" } }, 15153: function(e) { !function() { "use strict"; var t = { 114: function(e) { function t(e) { if ("string" != typeof e) throw TypeError("Path must be a string. Received " + JSON.stringify(e)) } function n(e, t) { for (var n, r = "", i = 0, o = -1, a = 0, s = 0; s <= e.length; ++s) { if (s < e.length) n = e.charCodeAt(s); else if (47 === n) break; else n = 47; if (47 === n) { if (o === s - 1 || 1 === a); else if (o !== s - 1 && 2 === a) { if (r.length < 2 || 2 !== i || 46 !== r.charCodeAt(r.length - 1) || 46 !== r.charCodeAt(r.length - 2)) { if (r.length > 2) { var l = r.lastIndexOf("/"); if (l !== r.length - 1) { -1 === l ? (r = "", i = 0) : i = (r = r.slice(0, l)).length - 1 - r.lastIndexOf("/"), o = s, a = 0; continue } } else if (2 === r.length || 1 === r.length) { r = "", i = 0, o = s, a = 0; continue } } t && (r.length > 0 ? r += "/.." : r = "..", i = 2) } else r.length > 0 ? r += "/" + e.slice(o + 1, s) : r = e.slice(o + 1, s), i = s - o - 1; o = s, a = 0 } else 46 === n && -1 !== a ? ++a : a = -1 } return r } var r = { resolve: function() { for (var e, r, i = "", o = !1, a = arguments.length - 1; a >= -1 && !o; a--)a >= 0 ? r = arguments[a] : (void 0 === e && (e = ""), r = e), t(r), 0 !== r.length && (i = r + "/" + i, o = 47 === r.charCodeAt(0)); return (i = n(i, !o), o) ? i.length > 0 ? "/" + i : "/" : i.length > 0 ? i : "." }, normalize: function(e) { if (t(e), 0 === e.length) return "."; var r = 47 === e.charCodeAt(0), i = 47 === e.charCodeAt(e.length - 1); return (0 !== (e = n(e, !r)).length || r || (e = "."), e.length > 0 && i && (e += "/"), r) ? "/" + e : e }, isAbsolute: function(e) { return t(e), e.length > 0 && 47 === e.charCodeAt(0) }, join: function() { if (0 == arguments.length) return "."; for (var e, n = 0; n < arguments.length; ++n) { var i = arguments[n]; t(i), i.length > 0 && (void 0 === e ? e = i : e += "/" + i) } return void 0 === e ? "." : r.normalize(e) }, relative: function(e, n) { if (t(e), t(n), e === n || (e = r.resolve(e)) === (n = r.resolve(n))) return ""; for (var i = 1; i < e.length && 47 === e.charCodeAt(i); ++i); for (var o = e.length, a = o - i, s = 1; s < n.length && 47 === n.charCodeAt(s); ++s); for (var l = n.length - s, u = a < l ? a : l, c = -1, f = 0; f <= u; ++f) { if (f === u) { if (l > u) { if (47 === n.charCodeAt(s + f)) return n.slice(s + f + 1); if (0 === f) return n.slice(s + f) } else a > u && (47 === e.charCodeAt(i + f) ? c = f : 0 === f && (c = 0)); break } var d = e.charCodeAt(i + f); if (d !== n.charCodeAt(s + f)) break; 47 === d && (c = f) } var h = ""; for (f = i + c + 1; f <= o; ++f)(f === o || 47 === e.charCodeAt(f)) && (0 === h.length ? h += ".." : h += "/.."); return h.length > 0 ? h + n.slice(s + c) : (s += c, 47 === n.charCodeAt(s) && ++s, n.slice(s)) }, _makeLong: function(e) { return e }, dirname: function(e) { if (t(e), 0 === e.length) return "."; for (var n = e.charCodeAt(0), r = 47 === n, i = -1, o = !0, a = e.length - 1; a >= 1; --a)if (47 === (n = e.charCodeAt(a))) { if (!o) { i = a; break } } else o = !1; return -1 === i ? r ? "/" : "." : r && 1 === i ? "//" : e.slice(0, i) }, basename: function(e, n) { if (void 0 !== n && "string" != typeof n) throw TypeError('"ext" argument must be a string'); t(e); var r, i = 0, o = -1, a = !0; if (void 0 !== n && n.length > 0 && n.length <= e.length) { if (n.length === e.length && n === e) return ""; var s = n.length - 1, l = -1; for (r = e.length - 1; r >= 0; --r) { var u = e.charCodeAt(r); if (47 === u) { if (!a) { i = r + 1; break } } else -1 === l && (a = !1, l = r + 1), s >= 0 && (u === n.charCodeAt(s) ? -1 == --s && (o = r) : (s = -1, o = l)) } return i === o ? o = l : -1 === o && (o = e.length), e.slice(i, o) } for (r = e.length - 1; r >= 0; --r)if (47 === e.charCodeAt(r)) { if (!a) { i = r + 1; break } } else -1 === o && (a = !1, o = r + 1); return -1 === o ? "" : e.slice(i, o) }, extname: function(e) { t(e); for (var n = -1, r = 0, i = -1, o = !0, a = 0, s = e.length - 1; s >= 0; --s) { var l = e.charCodeAt(s); if (47 === l) { if (!o) { r = s + 1; break } continue } -1 === i && (o = !1, i = s + 1), 46 === l ? -1 === n ? n = s : 1 !== a && (a = 1) : -1 !== n && (a = -1) } return -1 === n || -1 === i || 0 === a || 1 === a && n === i - 1 && n === r + 1 ? "" : e.slice(n, i) }, format: function(e) { var t, n; if (null === e || "object" != typeof e) throw TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof e); return t = e.dir || e.root, n = e.base || (e.name || "") + (e.ext || ""), t ? t === e.root ? t + n : t + "/" + n : n }, parse: function(e) { t(e); var n, r = { root: "", dir: "", base: "", ext: "", name: "" }; if (0 === e.length) return r; var i = e.charCodeAt(0), o = 47 === i; o ? (r.root = "/", n = 1) : n = 0; for (var a = -1, s = 0, l = -1, u = !0, c = e.length - 1, f = 0; c >= n; --c) { if (47 === (i = e.charCodeAt(c))) { if (!u) { s = c + 1; break } continue } -1 === l && (u = !1, l = c + 1), 46 === i ? -1 === a ? a = c : 1 !== f && (f = 1) : -1 !== a && (f = -1) } return -1 === a || -1 === l || 0 === f || 1 === f && a === l - 1 && a === s + 1 ? -1 !== l && (0 === s && o ? r.base = r.name = e.slice(1, l) : r.base = r.name = e.slice(s, l)) : (0 === s && o ? (r.name = e.slice(1, a), r.base = e.slice(1, l)) : (r.name = e.slice(s, a), r.base = e.slice(s, l)), r.ext = e.slice(a, l)), s > 0 ? r.dir = e.slice(0, s - 1) : o && (r.dir = "/"), r }, sep: "/", delimiter: ":", win32: null, posix: null }; r.posix = r, e.exports = r } }, n = {}; function r(e) { var i = n[e]; if (void 0 !== i) return i.exports; var o = n[e] = { exports: {} }, a = !0; try { t[e](o, o.exports, r), a = !1 } finally { a && delete n[e] } return o.exports } r.ab = "//"; var i = r(114); e.exports = i }() }, 42351: function(e) { !function() { var t = { 229: function(e) { var t, n, r, i = e.exports = {}; function o() { throw Error("setTimeout has not been defined") } function a() { throw Error("clearTimeout has not been defined") } function s(e) { if (t === setTimeout) return setTimeout(e, 0); if ((t === o || !t) && setTimeout) return t = setTimeout, setTimeout(e, 0); try { return t(e, 0) } catch (r) { try { return t.call(null, e, 0) } catch (n) { return t.call(this, e, 0) } } } !function() { try { t = "function" == typeof setTimeout ? setTimeout : o } catch (e) { t = o } try { n = "function" == typeof clearTimeout ? clearTimeout : a } catch (r) { n = a } }(); var l = [], u = !1, c = -1; function f() { u && r && (u = !1, r.length ? l = r.concat(l) : c = -1, l.length && d()) } function d() { if (!u) { var e = s(f); u = !0; for (var t = l.length; t;) { for (r = l, l = []; ++c < t;)r && r[c].run(); c = -1, t = l.length } r = null, u = !1, function(e) { if (n === clearTimeout) return clearTimeout(e); if ((n === a || !n) && clearTimeout) return n = clearTimeout, clearTimeout(e); try { n(e) } catch (r) { try { return n.call(null, e) } catch (t) { return n.call(this, e) } } }(e) } } function h(e, t) { this.fun = e, this.array = t } function p() { } i.nextTick = function(e) { var t = Array(arguments.length - 1); if (arguments.length > 1) for (var n = 1; n < arguments.length; n++)t[n - 1] = arguments[n]; l.push(new h(e, t)), 1 !== l.length || u || s(d) }, h.prototype.run = function() { this.fun.apply(null, this.array) }, i.title = "browser", i.browser = !0, i.env = {}, i.argv = [], i.version = "", i.versions = {}, i.on = p, i.addListener = p, i.once = p, i.off = p, i.removeListener = p, i.removeAllListeners = p, i.emit = p, i.prependListener = p, i.prependOnceListener = p, i.listeners = function(e) { return [] }, i.binding = function(e) { throw Error("process.binding is not supported") }, i.cwd = function() { return "/" }, i.chdir = function(e) { throw Error("process.chdir is not supported") }, i.umask = function() { return 0 } } }, n = {}; function r(e) { var i = n[e]; if (void 0 !== i) return i.exports; var o = n[e] = { exports: {} }, a = !0; try { t[e](o, o.exports, r), a = !1 } finally { a && delete n[e] } return o.exports } r.ab = "//"; var i = r(229); e.exports = i }() }, 16549: function(e, t) { "use strict"; t.Z = function(e, t) { if (!Number.isFinite(e)) throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`); if ((t = Object.assign({}, t)).signed && 0 === e) return " 0 B"; let i = e < 0, o = i ? "-" : t.signed ? "+" : ""; if (i && (e = -e), e < 1) { let a = r(e, t.locale); return o + a + " B" } let s = Math.min(Math.floor(Math.log10(e) / 3), n.length - 1); e = Number((e / Math.pow(1e3, s)).toPrecision(3)); let l = r(e, t.locale), u = n[s]; return o + l + " " + u }; let n = ["B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], r = (e, t) => { let n = e; return "string" == typeof t ? n = e.toLocaleString(t) : !0 === t && (n = e.toLocaleString()), n } }, 95383: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.getPageFiles = function(e, t) { let n = r.denormalizePagePath(i.normalizePagePath(t)); return e.pages[n] || (console.warn(`Could not find files for ${n} in .next/build-manifest.json`), []) }; var r = n(2666), i = n(61530) }, 82809: function(e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.htmlEscapeJsonString = function(e) { return e.replace(r, e => n[e]) }, t.ESCAPE_REGEX = void 0; let n = { "&": "\\u0026", ">": "\\u003e", "<": "\\u003c", "\u2028": "\\u2028", "\u2029": "\\u2029" }, r = /[&><\u2028\u2029]/g; t.ESCAPE_REGEX = r }, 79505: function(e, t, n) { "use strict"; t.Su = function(e) { return e.match(/\?amp=(y|yes|true|1)/) && (e = e.replace(/\?amp=(y|yes|true|1)&?/, "?")), e.match(/&=(y|yes|true|1)/) && (e = e.replace(/&=(y|yes|true|1)/, "")), e = e.replace(/\?$/, "") }, n(63461) }, 331: function(e, t, n) { n(49013) }, 97729: function(e, t, n) { e.exports = n(67016) }, 96577: function(e, t, n) { e.exports = n(76239) }, 39097: function(e, t, n) { e.exports = n(81088) }, 5632: function(e, t, n) { e.exports = n(92203) }, 45847: function(e, t, n) { n(14271) }, 24470: function(e) { var t = String, n = function() { return { isColorSupported: !1, reset: t, bold: t, dim: t, italic: t, underline: t, inverse: t, hidden: t, strikethrough: t, black: t, red: t, green: t, yellow: t, blue: t, magenta: t, cyan: t, white: t, gray: t, bgBlack: t, bgRed: t, bgGreen: t, bgYellow: t, bgBlue: t, bgMagenta: t, bgCyan: t, bgWhite: t } }; e.exports = n(), e.exports.createColors = n }, 68262: function(e, t, n) { "use strict"; var r = n(23586); function i() { } function o() { } o.resetWarningCache = i, e.exports = function() { function e(e, t, n, i, o, a) { if (a !== r) { var s = Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"); throw s.name = "Invariant Violation", s } } function t() { return e } e.isRequired = e; var n = { array: e, bigint: e, bool: e, func: e, number: e, object: e, string: e, symbol: e, any: e, arrayOf: t, element: e, elementType: e, instanceOf: t, node: e, objectOf: t, oneOf: t, oneOfType: t, shape: t, exact: t, checkPropTypes: o, resetWarningCache: i }; return n.PropTypes = n, n } }, 13980: function(e, t, n) { e.exports = n(68262)() }, 23586: function(e) { "use strict"; e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED" }, 17296: function(e) { "use strict"; function t(e) { this._maxSize = e, this.clear() } t.prototype.clear = function() { this._size = 0, this._values = Object.create(null) }, t.prototype.get = function(e) { return this._values[e] }, t.prototype.set = function(e, t) { return this._size >= this._maxSize && this.clear(), !(e in this._values) && this._size++, this._values[e] = t }; var n = /[^.^\]^[]+|(?=\[\]|\.\.)/g, r = /^\d+$/, i = /^\d/, o = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, a = /^\s*(['"]?)(.*?)(\1)\s*$/, s = new t(512), l = new t(512), u = new t(512); function c(e) { return s.get(e) || s.set(e, f(e).map(function(e) { return e.replace(a, "$2") })) } function f(e) { return e.match(n) || [""] } function d(e) { return "string" == typeof e && e && -1 !== ["'", '"'].indexOf(e.charAt(0)) } e.exports = { Cache: t, split: f, normalizePath: c, setter: function(e) { var t = c(e); return l.get(e) || l.set(e, function(e, n) { for (var r = 0, i = t.length, o = e; r < i - 1;) { var a = t[r]; if ("__proto__" === a || "constructor" === a || "prototype" === a) return e; o = o[t[r++]] } o[t[r]] = n }) }, getter: function(e, t) { var n = c(e); return u.get(e) || u.set(e, function(e) { for (var r = 0, i = n.length; r < i;) { if (null == e && t) return; e = e[n[r++]] } return e }) }, join: function(e) { return e.reduce(function(e, t) { return e + (d(t) || r.test(t) ? "[" + t + "]" : (e ? "." : "") + t) }, "") }, forEach: function(e, t, n) { !function(e, t, n) { var a, s, l, u, c, f = e.length; for (l = 0; l < f; l++) { (s = e[l]) && (!d(a = s) && (a.match(i) && !a.match(r) || o.test(a)) && (s = '"' + s + '"'), u = !(c = d(s)) && /^\d+$/.test(s), t.call(n, s, c, u, l, e)) } }(Array.isArray(e) ? e : f(e), t, n) } } }, 94076: function(e, t, n) { var r = n(89235); function i(e) { this.mode = r.MODE_8BIT_BYTE, this.data = e } i.prototype = { getLength: function(e) { return this.data.length }, write: function(e) { for (var t = 0; t < this.data.length; t++)e.put(this.data.charCodeAt(t), 8) } }, e.exports = i }, 47878: function(e) { function t() { this.buffer = [], this.length = 0 } t.prototype = { get: function(e) { var t = Math.floor(e / 8); return (this.buffer[t] >>> 7 - e % 8 & 1) == 1 }, put: function(e, t) { for (var n = 0; n < t; n++)this.putBit((e >>> t - n - 1 & 1) == 1) }, getLengthInBits: function() { return this.length }, putBit: function(e) { var t = Math.floor(this.length / 8); this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++ } }, e.exports = t }, 81432: function(e) { e.exports = { L: 1, M: 0, Q: 3, H: 2 } }, 84695: function(e, t, n) { var r = n(35856); function i(e, t) { if (void 0 == e.length) throw Error(e.length + "/" + t); for (var n = 0; n < e.length && 0 == e[n];)n++; this.num = Array(e.length - n + t); for (var r = 0; r < e.length - n; r++)this.num[r] = e[r + n] } i.prototype = { get: function(e) { return this.num[e] }, getLength: function() { return this.num.length }, multiply: function(e) { for (var t = Array(this.getLength() + e.getLength() - 1), n = 0; n < this.getLength(); n++)for (var o = 0; o < e.getLength(); o++)t[n + o] ^= r.gexp(r.glog(this.get(n)) + r.glog(e.get(o))); return new i(t, 0) }, mod: function(e) { if (this.getLength() - e.getLength() < 0) return this; for (var t = r.glog(this.get(0)) - r.glog(e.get(0)), n = Array(this.getLength()), o = 0; o < this.getLength(); o++)n[o] = this.get(o); for (var o = 0; o < e.getLength(); o++)n[o] ^= r.gexp(r.glog(e.get(o)) + t); return new i(n, 0).mod(e) } }, e.exports = i }, 62768: function(e, t, n) { var r = n(94076), i = n(15415), o = n(47878), a = n(17382), s = n(84695); function l(e, t) { this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [] } var u = l.prototype; u.addData = function(e) { var t = new r(e); this.dataList.push(t), this.dataCache = null }, u.isDark = function(e, t) { if (e < 0 || this.moduleCount <= e || t < 0 || this.moduleCount <= t) throw Error(e + "," + t); return this.modules[e][t] }, u.getModuleCount = function() { return this.moduleCount }, u.make = function() { if (this.typeNumber < 1) { var e = 1; for (e = 1; e < 40; e++) { for (var t = i.getRSBlocks(e, this.errorCorrectLevel), n = new o, r = 0, s = 0; s < t.length; s++)r += t[s].dataCount; for (var s = 0; s < this.dataList.length; s++) { var l = this.dataList[s]; n.put(l.mode, 4), n.put(l.getLength(), a.getLengthInBits(l.mode, e)), l.write(n) } if (n.getLengthInBits() <= 8 * r) break } this.typeNumber = e } this.makeImpl(!1, this.getBestMaskPattern()) }, u.makeImpl = function(e, t) { this.moduleCount = 4 * this.typeNumber + 17, this.modules = Array(this.moduleCount); for (var n = 0; n < this.moduleCount; n++) { this.modules[n] = Array(this.moduleCount); for (var r = 0; r < this.moduleCount; r++)this.modules[n][r] = null } this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), null == this.dataCache && (this.dataCache = l.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t) }, u.setupPositionProbePattern = function(e, t) { for (var n = -1; n <= 7; n++)if (!(e + n <= -1) && !(this.moduleCount <= e + n)) for (var r = -1; r <= 7; r++)t + r <= -1 || this.moduleCount <= t + r || (0 <= n && n <= 6 && (0 == r || 6 == r) || 0 <= r && r <= 6 && (0 == n || 6 == n) || 2 <= n && n <= 4 && 2 <= r && r <= 4 ? this.modules[e + n][t + r] = !0 : this.modules[e + n][t + r] = !1) }, u.getBestMaskPattern = function() { for (var e = 0, t = 0, n = 0; n < 8; n++) { this.makeImpl(!0, n); var r = a.getLostPoint(this); (0 == n || e > r) && (e = r, t = n) } return t }, u.createMovieClip = function(e, t, n) { var r = e.createEmptyMovieClip(t, n); this.make(); for (var i = 0; i < this.modules.length; i++)for (var o = 1 * i, a = 0; a < this.modules[i].length; a++) { var s = 1 * a; this.modules[i][a] && (r.beginFill(0, 100), r.moveTo(s, o), r.lineTo(s + 1, o), r.lineTo(s + 1, o + 1), r.lineTo(s, o + 1), r.endFill()) } return r }, u.setupTimingPattern = function() { for (var e = 8; e < this.moduleCount - 8; e++)null == this.modules[e][6] && (this.modules[e][6] = e % 2 == 0); for (var t = 8; t < this.moduleCount - 8; t++)null == this.modules[6][t] && (this.modules[6][t] = t % 2 == 0) }, u.setupPositionAdjustPattern = function() { for (var e = a.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)for (var n = 0; n < e.length; n++) { var r = e[t], i = e[n]; if (null == this.modules[r][i]) for (var o = -2; o <= 2; o++)for (var s = -2; s <= 2; s++)-2 == o || 2 == o || -2 == s || 2 == s || 0 == o && 0 == s ? this.modules[r + o][i + s] = !0 : this.modules[r + o][i + s] = !1 } }, u.setupTypeNumber = function(e) { for (var t = a.getBCHTypeNumber(this.typeNumber), n = 0; n < 18; n++) { var r = !e && (t >> n & 1) == 1; this.modules[Math.floor(n / 3)][n % 3 + this.moduleCount - 8 - 3] = r } for (var n = 0; n < 18; n++) { var r = !e && (t >> n & 1) == 1; this.modules[n % 3 + this.moduleCount - 8 - 3][Math.floor(n / 3)] = r } }, u.setupTypeInfo = function(e, t) { for (var n = this.errorCorrectLevel << 3 | t, r = a.getBCHTypeInfo(n), i = 0; i < 15; i++) { var o = !e && (r >> i & 1) == 1; i < 6 ? this.modules[i][8] = o : i < 8 ? this.modules[i + 1][8] = o : this.modules[this.moduleCount - 15 + i][8] = o } for (var i = 0; i < 15; i++) { var o = !e && (r >> i & 1) == 1; i < 8 ? this.modules[8][this.moduleCount - i - 1] = o : i < 9 ? this.modules[8][15 - i - 1 + 1] = o : this.modules[8][15 - i - 1] = o } this.modules[this.moduleCount - 8][8] = !e }, u.mapData = function(e, t) { for (var n = -1, r = this.moduleCount - 1, i = 7, o = 0, s = this.moduleCount - 1; s > 0; s -= 2)for (6 == s && s--; ;) { for (var l = 0; l < 2; l++)if (null == this.modules[r][s - l]) { var u = !1; o < e.length && (u = (e[o] >>> i & 1) == 1), a.getMask(t, r, s - l) && (u = !u), this.modules[r][s - l] = u, -1 == --i && (o++, i = 7) } if ((r += n) < 0 || this.moduleCount <= r) { r -= n, n = -n; break } } }, l.PAD0 = 236, l.PAD1 = 17, l.createData = function(e, t, n) { for (var r = i.getRSBlocks(e, t), s = new o, u = 0; u < n.length; u++) { var c = n[u]; s.put(c.mode, 4), s.put(c.getLength(), a.getLengthInBits(c.mode, e)), c.write(s) } for (var f = 0, u = 0; u < r.length; u++)f += r[u].dataCount; if (s.getLengthInBits() > 8 * f) throw Error("code length overflow. (" + s.getLengthInBits() + ">" + 8 * f + ")"); for (s.getLengthInBits() + 4 <= 8 * f && s.put(0, 4); s.getLengthInBits() % 8 != 0;)s.putBit(!1); for (; !(s.getLengthInBits() >= 8 * f) && (s.put(l.PAD0, 8), !(s.getLengthInBits() >= 8 * f));)s.put(l.PAD1, 8); return l.createBytes(s, r) }, l.createBytes = function(e, t) { for (var n = 0, r = 0, i = 0, o = Array(t.length), l = Array(t.length), u = 0; u < t.length; u++) { var c = t[u].dataCount, f = t[u].totalCount - c; r = Math.max(r, c), i = Math.max(i, f), o[u] = Array(c); for (var d = 0; d < o[u].length; d++)o[u][d] = 255 & e.buffer[d + n]; n += c; var h = a.getErrorCorrectPolynomial(f), p = new s(o[u], h.getLength() - 1).mod(h); l[u] = Array(h.getLength() - 1); for (var d = 0; d < l[u].length; d++) { var v = d + p.getLength() - l[u].length; l[u][d] = v >= 0 ? p.get(v) : 0 } } for (var m = 0, d = 0; d < t.length; d++)m += t[d].totalCount; for (var g = Array(m), y = 0, d = 0; d < r; d++)for (var u = 0; u < t.length; u++)d < o[u].length && (g[y++] = o[u][d]); for (var d = 0; d < i; d++)for (var u = 0; u < t.length; u++)d < l[u].length && (g[y++] = l[u][d]); return g }, e.exports = l }, 15415: function(e, t, n) { var r = n(81432); function i(e, t) { this.totalCount = e, this.dataCount = t } i.RS_BLOCK_TABLE = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]], i.getRSBlocks = function(e, t) { var n = i.getRsBlockTable(e, t); if (void 0 == n) throw Error("bad rs block @ typeNumber:" + e + "/errorCorrectLevel:" + t); for (var r = n.length / 3, o = [], a = 0; a < r; a++)for (var s = n[3 * a + 0], l = n[3 * a + 1], u = n[3 * a + 2], c = 0; c < s; c++)o.push(new i(l, u)); return o }, i.getRsBlockTable = function(e, t) { switch (t) { case r.L: return i.RS_BLOCK_TABLE[(e - 1) * 4 + 0]; case r.M: return i.RS_BLOCK_TABLE[(e - 1) * 4 + 1]; case r.Q: return i.RS_BLOCK_TABLE[(e - 1) * 4 + 2]; case r.H: return i.RS_BLOCK_TABLE[(e - 1) * 4 + 3]; default: return } }, e.exports = i }, 35856: function(e) { for (var t = { glog: function(e) { if (e < 1) throw Error("glog(" + e + ")"); return t.LOG_TABLE[e] }, gexp: function(e) { for (; e < 0;)e += 255; for (; e >= 256;)e -= 255; return t.EXP_TABLE[e] }, EXP_TABLE: Array(256), LOG_TABLE: Array(256) }, n = 0; n < 8; n++)t.EXP_TABLE[n] = 1 << n; for (var n = 8; n < 256; n++)t.EXP_TABLE[n] = t.EXP_TABLE[n - 4] ^ t.EXP_TABLE[n - 5] ^ t.EXP_TABLE[n - 6] ^ t.EXP_TABLE[n - 8]; for (var n = 0; n < 255; n++)t.LOG_TABLE[t.EXP_TABLE[n]] = n; e.exports = t }, 89235: function(e) { e.exports = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 } }, 17382: function(e, t, n) { var r = n(89235), i = n(84695), o = n(35856), a = { PATTERN000: 0, PATTERN001: 1, PATTERN010: 2, PATTERN011: 3, PATTERN100: 4, PATTERN101: 5, PATTERN110: 6, PATTERN111: 7 }, s = { PATTERN_POSITION_TABLE: [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]], G15: 1335, G18: 7973, G15_MASK: 21522, getBCHTypeInfo: function(e) { for (var t = e << 10; s.getBCHDigit(t) - s.getBCHDigit(s.G15) >= 0;)t ^= s.G15 << s.getBCHDigit(t) - s.getBCHDigit(s.G15); return (e << 10 | t) ^ s.G15_MASK }, getBCHTypeNumber: function(e) { for (var t = e << 12; s.getBCHDigit(t) - s.getBCHDigit(s.G18) >= 0;)t ^= s.G18 << s.getBCHDigit(t) - s.getBCHDigit(s.G18); return e << 12 | t }, getBCHDigit: function(e) { for (var t = 0; 0 != e;)t++, e >>>= 1; return t }, getPatternPosition: function(e) { return s.PATTERN_POSITION_TABLE[e - 1] }, getMask: function(e, t, n) { switch (e) { case a.PATTERN000: return (t + n) % 2 == 0; case a.PATTERN001: return t % 2 == 0; case a.PATTERN010: return n % 3 == 0; case a.PATTERN011: return (t + n) % 3 == 0; case a.PATTERN100: return (Math.floor(t / 2) + Math.floor(n / 3)) % 2 == 0; case a.PATTERN101: return t * n % 2 + t * n % 3 == 0; case a.PATTERN110: return (t * n % 2 + t * n % 3) % 2 == 0; case a.PATTERN111: return (t * n % 3 + (t + n) % 2) % 2 == 0; default: throw Error("bad maskPattern:" + e) } }, getErrorCorrectPolynomial: function(e) { for (var t = new i([1], 0), n = 0; n < e; n++)t = t.multiply(new i([1, o.gexp(n)], 0)); return t }, getLengthInBits: function(e, t) { if (1 <= t && t < 10) switch (e) { case r.MODE_NUMBER: return 10; case r.MODE_ALPHA_NUM: return 9; case r.MODE_8BIT_BYTE: case r.MODE_KANJI: return 8; default: throw Error("mode:" + e) } else if (t < 27) switch (e) { case r.MODE_NUMBER: return 12; case r.MODE_ALPHA_NUM: return 11; case r.MODE_8BIT_BYTE: return 16; case r.MODE_KANJI: return 10; default: throw Error("mode:" + e) } else if (t < 41) switch (e) { case r.MODE_NUMBER: return 14; case r.MODE_ALPHA_NUM: return 13; case r.MODE_8BIT_BYTE: return 16; case r.MODE_KANJI: return 12; default: throw Error("mode:" + e) } else throw Error("type:" + t) }, getLostPoint: function(e) { for (var t = e.getModuleCount(), n = 0, r = 0; r < t; r++)for (var i = 0; i < t; i++) { for (var o = 0, a = e.isDark(r, i), s = -1; s <= 1; s++)if (!(r + s < 0) && !(t <= r + s)) for (var l = -1; l <= 1; l++)!(i + l < 0) && !(t <= i + l) && (0 != s || 0 != l) && a == e.isDark(r + s, i + l) && o++; o > 5 && (n += 3 + o - 5) } for (var r = 0; r < t - 1; r++)for (var i = 0; i < t - 1; i++) { var u = 0; e.isDark(r, i) && u++, e.isDark(r + 1, i) && u++, e.isDark(r, i + 1) && u++, e.isDark(r + 1, i + 1) && u++, (0 == u || 4 == u) && (n += 3) } for (var r = 0; r < t; r++)for (var i = 0; i < t - 6; i++)e.isDark(r, i) && !e.isDark(r, i + 1) && e.isDark(r, i + 2) && e.isDark(r, i + 3) && e.isDark(r, i + 4) && !e.isDark(r, i + 5) && e.isDark(r, i + 6) && (n += 40); for (var i = 0; i < t; i++)for (var r = 0; r < t - 6; r++)e.isDark(r, i) && !e.isDark(r + 1, i) && e.isDark(r + 2, i) && e.isDark(r + 3, i) && e.isDark(r + 4, i) && !e.isDark(r + 5, i) && e.isDark(r + 6, i) && (n += 40); for (var c = 0, i = 0; i < t; i++)for (var r = 0; r < t; r++)e.isDark(r, i) && c++; return n + 10 * (Math.abs(100 * c / t / t - 50) / 5) } }; e.exports = s }, 78435: function(e) { "use strict"; var t = Array.isArray, n = Object.keys, r = Object.prototype.hasOwnProperty, i = "undefined" != typeof Element; e.exports = function(e, o) { try { return function e(o, a) { if (o === a) return !0; if (o && a && "object" == typeof o && "object" == typeof a) { var s, l, u, c = t(o), f = t(a); if (c && f) { if ((l = o.length) != a.length) return !1; for (s = l; 0 != s--;)if (!e(o[s], a[s])) return !1; return !0 } if (c != f) return !1; var d = o instanceof Date, h = a instanceof Date; if (d != h) return !1; if (d && h) return o.getTime() == a.getTime(); var p = o instanceof RegExp, v = a instanceof RegExp; if (p != v) return !1; if (p && v) return o.toString() == a.toString(); var m = n(o); if ((l = m.length) !== n(a).length) return !1; for (s = l; 0 != s--;)if (!r.call(a, m[s])) return !1; if (i && o instanceof Element && a instanceof Element) return o === a; for (s = l; 0 != s--;)if (("_owner" !== (u = m[s]) || !o.$$typeof) && !e(o[u], a[u])) return !1; return !0 } return o != o && a != a }(e, o) } catch (a) { if (a.message && a.message.match(/stack|recursion/i) || -2146828260 === a.number) return console.warn("Warning: react-fast-compare does not handle circular references.", a.name, a.message), !1; throw a } } }, 72660: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = o(n(13980)), i = o(n(2784)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = { d: r.default.string.isRequired, fill: r.default.string.isRequired, transformX: r.default.number.isRequired, transformY: r.default.number.isRequired }, s = function(e) { var t = e.d, n = e.fill, r = e.transformX, o = e.transformY; return i.default.createElement("path", { d: t, fill: n, transform: "matrix(" + [1, 0, 0, 1, r, o] + ")" }) }; s.propTypes = a, s.defaultProps = {}, t.default = s }, 76672: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }, i = a(n(13980)), o = a(n(2784)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = { children: i.default.array.isRequired, size: i.default.number.isRequired, title: i.default.string, xmlns: i.default.string }, l = function(e) { var t = e.children, n = e.size, i = e.title, a = e.xmlns, s = function(e, t) { var n = {}; for (var r in e) !(t.indexOf(r) >= 0) && Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]); return n }(e, ["children", "size", "title", "xmlns"]); return o.default.createElement("svg", r({}, s, { height: n, width: n, xmlns: a }), i ? o.default.createElement("title", null, i) : null, t) }; l.propTypes = s, l.defaultProps = { title: void 0, xmlns: "http://www.w3.org/2000/svg" }, t.default = l }, 38001: function(e, t, n) { "use strict"; var r = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }, i = f(n(62768)), o = f(n(81432)), a = f(n(13980)), s = n(2784), l = f(s), u = f(n(72660)), c = f(n(76672)); function f(e) { return e && e.__esModule ? e : { default: e } } var d = { bgColor: a.default.oneOfType([a.default.object, a.default.string]), fgColor: a.default.oneOfType([a.default.object, a.default.string]), level: a.default.oneOf(["L", "M", "Q", "H"]), size: a.default.number, value: a.default.string.isRequired }, h = function(e) { var t = e.bgColor, n = e.fgColor, a = e.level, s = e.size, f = e.value, d = function(e, t) { var n = {}; for (var r in e) !(t.indexOf(r) >= 0) && Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]); return n }(e, ["bgColor", "fgColor", "level", "size", "value"]), h = new i.default(-1, o.default[a]); h.addData(f), h.make(); var p = h.modules, v = s / p.length; return l.default.createElement(c.default, r({}, d, { size: s }), p.map(function(e, r) { return e.map(function(e, i) { var o = Math.round(i * v), a = Math.round(r * v), s = Math.round((i + 1) * v) - o, c = Math.round((r + 1) * v) - a; return l.default.createElement(u.default, { key: "rectangle-" + r + "-" + i, d: "M 0 0 L " + s + " 0 L " + s + " " + c + " L 0 " + c + " Z", fill: e ? n : t, transformX: o, transformY: a }) }) })) }; h.propTypes = d, h.defaultProps = { bgColor: "#FFFFFF", fgColor: "#000000", level: "L", size: 256 }, t.Z = (0, s.memo)(h) }, 70506: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return H } }); var r, i, o, a, s, l, u = n(5163), c = n(2784), f = "right-scroll-bar-position", d = "width-before-scroll-bar", h = (void 0 === r && (r = {}), (void 0 === i && (i = function(e) { return e }), o = [], a = !1, s = { read: function() { if (a) throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`."); return o.length ? o[o.length - 1] : null }, useMedium: function(e) { var t = i(e, a); return o.push(t), function() { o = o.filter(function(e) { return e !== t }) } }, assignSyncMedium: function(e) { for (a = !0; o.length;) { var t = o; o = [], t.forEach(e) } o = { push: function(t) { return e(t) }, filter: function() { return o } } }, assignMedium: function(e) { a = !0; var t = []; if (o.length) { var n = o; o = [], n.forEach(e), t = o } var r = function() { var n = t; t = [], n.forEach(e) }, i = function() { return Promise.resolve().then(r) }; i(), o = { push: function(e) { t.push(e), i() }, filter: function(e) { return t = t.filter(e), o } } } }).options = (0, u.pi)({ async: !0, ssr: !1 }, r), s), p = function() { }, v = c.forwardRef(function(e, t) { var n, r, i, o = c.useRef(null), a = c.useState({ onScrollCapture: p, onWheelCapture: p, onTouchMoveCapture: p }), s = a[0], l = a[1], f = e.forwardProps, d = e.children, v = e.className, m = e.removeScrollBar, g = e.enabled, y = e.shards, b = e.sideCar, x = e.noIsolation, w = e.inert, _ = e.allowPinchZoom, E = e.as, k = (0, u._T)(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), j = (n = [o, t], r = function(e) { return n.forEach(function(t) { var n; return "function" == typeof (n = t) ? n(e) : n && (n.current = e), n }) }, (i = (0, c.useState)(function() { return { value: null, callback: r, facade: { get current() { return i.value }, set current(value) { var e = i.value; e !== value && (i.value = value, i.callback(value, e)) } } } })[0]).callback = r, i.facade), S = (0, u.pi)((0, u.pi)({}, k), s); return c.createElement(c.Fragment, null, g && c.createElement(b, { sideCar: h, removeScrollBar: m, shards: y, noIsolation: x, inert: w, setCallbacks: l, allowPinchZoom: !!_, lockRef: o }), f ? c.cloneElement(c.Children.only(d), (0, u.pi)((0, u.pi)({}, S), { ref: j })) : c.createElement(void 0 === E ? "div" : E, (0, u.pi)({}, S, { className: v, ref: j }), d)) }); v.defaultProps = { enabled: !0, removeScrollBar: !0, inert: !1 }, v.classNames = { fullWidth: d, zeroRight: f }; var m = function(e) { var t = e.sideCar, n = (0, u._T)(e, ["sideCar"]); if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car"); var r = t.read(); if (!r) throw Error("Sidecar medium not found"); return c.createElement(r, (0, u.pi)({}, n)) }; m.isSideCarExport = !0; var g = function() { var e = 0, t = null; return { add: function(r) { if (0 == e && (t = function() { if (!document) return null; var e = document.createElement("style"); e.type = "text/css"; var t = l || n.nc; return t && e.setAttribute("nonce", t), e }())) { var i, o; (i = t).styleSheet ? i.styleSheet.cssText = r : i.appendChild(document.createTextNode(r)), o = t, (document.head || document.getElementsByTagName("head")[0]).appendChild(o) } e++ }, remove: function() { --e || !t || (t.parentNode && t.parentNode.removeChild(t), t = null) } } }, y = function() { var e = g(); return function(t, n) { c.useEffect(function() { return e.add(t), function() { e.remove() } }, [t && n]) } }, b = function() { var e = y(); return function(t) { return e(t.styles, t.dynamic), null } }, x = { left: 0, top: 0, right: 0, gap: 0 }, w = function(e) { return parseInt(e || "", 10) || 0 }, _ = function(e) { var t = window.getComputedStyle(document.body), n = t["padding" === e ? "paddingLeft" : "marginLeft"], r = t["padding" === e ? "paddingTop" : "marginTop"], i = t["padding" === e ? "paddingRight" : "marginRight"]; return [w(n), w(r), w(i)] }, E = function(e) { if (void 0 === e && (e = "margin"), "undefined" == typeof window) return x; var t = _(e), n = document.documentElement.clientWidth, r = window.innerWidth; return { left: t[0], top: t[1], right: t[2], gap: Math.max(0, r - n + t[2] - t[0]) } }, k = b(), j = function(e, t, n, r) { var i = e.left, o = e.top, a = e.right, s = e.gap; return void 0 === n && (n = "margin"), "\n .".concat("with-scroll-bars-hidden", " {\n overflow: hidden ").concat(r, ";\n padding-right: ").concat(s, "px ").concat(r, ";\n }\n body {\n overflow: hidden ").concat(r, ";\n overscroll-behavior: contain;\n ").concat([t && "position: relative ".concat(r, ";"), "margin" === n && "\n padding-left: ".concat(i, "px;\n padding-top: ").concat(o, "px;\n padding-right: ").concat(a, "px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s, "px ").concat(r, ";\n "), "padding" === n && "padding-right: ".concat(s, "px ").concat(r, ";")].filter(Boolean).join(""), "\n }\n \n .").concat(f, " {\n right: ").concat(s, "px ").concat(r, ";\n }\n \n .").concat(d, " {\n margin-right: ").concat(s, "px ").concat(r, ";\n }\n \n .").concat(f, " .").concat(f, " {\n right: 0 ").concat(r, ";\n }\n \n .").concat(d, " .").concat(d, " {\n margin-right: 0 ").concat(r, ";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size", ": ").concat(s, "px;\n }\n") }, S = function(e) { var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = void 0 === r ? "margin" : r, o = c.useMemo(function() { return E(i) }, [i]); return c.createElement(k, { styles: j(o, !t, i, n ? "" : "!important") }) }, O = !1; if ("undefined" != typeof window) try { var C = Object.defineProperty({}, "passive", { get: function() { return O = !0, !0 } }); window.addEventListener("test", C, C), window.removeEventListener("test", C, C) } catch (A) { O = !1 } var T = !!O && { passive: !1 }, M = function(e) { var t = window.getComputedStyle(e); return "hidden" !== t.overflowY && !(t.overflowY === t.overflowX && "visible" === t.overflowY) }, P = function(e) { var t = window.getComputedStyle(e); return "hidden" !== t.overflowX && !(t.overflowY === t.overflowX && "visible" === t.overflowX) }, N = function(e, t) { var n = t; do { if ("undefined" != typeof ShadowRoot && n instanceof ShadowRoot && (n = n.host), R(e, n)) { var r = D(e, n); if (r[1] > r[2]) return !0 } n = n.parentNode } while (n && n !== document.body); return !1 }, R = function(e, t) { return "v" === e ? M(t) : P(t) }, D = function(e, t) { return "v" === e ? [t.scrollTop, t.scrollHeight, t.clientHeight] : [t.scrollLeft, t.scrollWidth, t.clientWidth] }, L = function(e, t, n, r, i) { var o, a = (o = window.getComputedStyle(t).direction, "h" === e && "rtl" === o ? -1 : 1), s = a * r, l = n.target, u = t.contains(l), c = !1, f = s > 0, d = 0, h = 0; do { var p = D(e, l), v = p[0], m = p[1] - p[2] - a * v; (v || m) && R(e, l) && (d += m, h += v), l = l.parentNode } while (!u && l !== document.body || u && (t.contains(l) || t === l)); return f && (i && 0 === d || !i && s > d) ? c = !0 : !f && (i && 0 === h || !i && -s > h) && (c = !0), c }, F = function(e) { return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0] }, I = function(e) { return [e.deltaX, e.deltaY] }, z = function(e) { return e && "current" in e ? e.current : e }, V = 0, B = [], Z = (h.useMedium(function(e) { var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), i = c.useState(V++)[0], o = c.useState(function() { return b() })[0], a = c.useRef(e); c.useEffect(function() { a.current = e }, [e]), c.useEffect(function() { if (e.inert) { document.body.classList.add("block-interactivity-".concat(i)); var t = (0, u.ev)([e.lockRef.current], (e.shards || []).map(z), !0).filter(Boolean); return t.forEach(function(e) { return e.classList.add("allow-interactivity-".concat(i)) }), function() { document.body.classList.remove("block-interactivity-".concat(i)), t.forEach(function(e) { return e.classList.remove("allow-interactivity-".concat(i)) }) } } }, [e.inert, e.lockRef.current, e.shards]); var s = c.useCallback(function(e, t) { if ("touches" in e && 2 === e.touches.length) return !a.current.allowPinchZoom; var i, o = F(e), s = n.current, l = "deltaX" in e ? e.deltaX : s[0] - o[0], u = "deltaY" in e ? e.deltaY : s[1] - o[1], c = e.target, f = Math.abs(l) > Math.abs(u) ? "h" : "v"; if ("touches" in e && "h" === f && "range" === c.type) return !1; var d = N(f, c); if (!d) return !0; if (d ? i = f : (i = "v" === f ? "h" : "v", d = N(f, c)), !d) return !1; if (!r.current && "changedTouches" in e && (l || u) && (r.current = i), !i) return !0; var h = r.current || i; return L(h, t, e, "h" === h ? l : u, !0) }, []), l = c.useCallback(function(e) { if (B.length && B[B.length - 1] === o) { var n = "deltaY" in e ? I(e) : F(e), r = t.current.filter(function(t) { var r; return t.name === e.type && t.target === e.target && (r = t.delta)[0] === n[0] && r[1] === n[1] })[0]; if (r && r.should) { e.preventDefault(); return } if (!r) { var i = (a.current.shards || []).map(z).filter(Boolean).filter(function(t) { return t.contains(e.target) }); (i.length > 0 ? s(e, i[0]) : !a.current.noIsolation) && e.preventDefault() } } }, []), f = c.useCallback(function(e, n, r, i) { var o = { name: e, delta: n, target: r, should: i }; t.current.push(o), setTimeout(function() { t.current = t.current.filter(function(e) { return e !== o }) }, 1) }, []), d = c.useCallback(function(e) { n.current = F(e), r.current = void 0 }, []), h = c.useCallback(function(t) { f(t.type, I(t), t.target, s(t, e.lockRef.current)) }, []), p = c.useCallback(function(t) { f(t.type, F(t), t.target, s(t, e.lockRef.current)) }, []); c.useEffect(function() { return B.push(o), e.setCallbacks({ onScrollCapture: h, onWheelCapture: h, onTouchMoveCapture: p }), document.addEventListener("wheel", l, T), document.addEventListener("touchmove", l, T), document.addEventListener("touchstart", d, T), function() { B = B.filter(function(e) { return e !== o }), document.removeEventListener("wheel", l, T), document.removeEventListener("touchmove", l, T), document.removeEventListener("touchstart", d, T) } }, []); var v = e.removeScrollBar, m = e.inert; return c.createElement(c.Fragment, null, m ? c.createElement(o, { styles: "\n .block-interactivity-".concat(i, " {pointer-events: none;}\n .allow-interactivity-").concat(i, " {pointer-events: all;}\n") }) : null, v ? c.createElement(S, { gapMode: "margin" }) : null) }), m), U = c.forwardRef(function(e, t) { return c.createElement(v, (0, u.pi)({}, e, { ref: t, sideCar: Z })) }); U.classNames = v.classNames; var H = U }, 32718: function(e, t, n) { var r, i = n(58085), o = n(41964), a = n(53207), s = /(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g; e.exports = function(e, t) { return r = 0, t = Math.pow(10, void 0 === t ? 5 : t), o(e = e.replace(/\n+/g, " "), /((?:\-[a-z]+\-)?calc)\(/, function e(n, o, l) { if (r++ > 100) throw r = 0, Error("Call stack overflow for " + l); if ("" === n) throw Error(o + "(): '" + l + "' must contain a non-whitespace string"); var u, c = function(e) { for (var t = [], n = [], r = /[\.0-9]([%a-z]+)/gi, i = r.exec(e); i;)i && i[1] && (-1 === n.indexOf(i[1].toLowerCase()) && (t.push(i[1]), n.push(i[1].toLowerCase())), i = r.exec(e)); return t }(n = function(t, n) { t = t.replace(/((?:\-[a-z]+\-)?calc)/g, ""); for (var r, o = "", a = t; r = s.exec(a);) { r[0].index > 0 && (o += a.substring(0, r[0].index)); var l = i("(", ")", a.substring([0].index)); if ("" === l.body) throw Error("'" + t + "' must contain a non-whitespace string"); var u = e(l.body, "", n); o += l.pre + u, a = l.post } return o + a }(n, l)); if (c.length > 1 || n.indexOf("var(") > -1) return o + "(" + n + ")"; var f = c[0] || ""; "%" === f && (n = n.replace(/\b[0-9\.]+%/g, function(e) { return .01 * parseFloat(e.slice(0, -1)) })); var d = n.replace(RegExp(f, "gi"), ""); try { u = a.eval(d) } catch (h) { return o + "(" + n + ")" } return "%" === f && (u *= 100), (o.length || "%" === f) && (u = Math.round(u * t) / t), u += f }) } }, 58085: function(e) { function t(e, t, i) { e instanceof RegExp && (e = n(e, i)), t instanceof RegExp && (t = n(t, i)); var o = r(e, t, i); return o && { start: o[0], end: o[1], pre: i.slice(0, o[0]), body: i.slice(o[0] + e.length, o[1]), post: i.slice(o[1] + t.length) } } function n(e, t) { var n = t.match(e); return n ? n[0] : null } function r(e, t, n) { var r, i, o, a, s, l = n.indexOf(e), u = n.indexOf(t, l + 1), c = l; if (l >= 0 && u > 0) { for (r = [], o = n.length; c >= 0 && !s;)c == l ? (r.push(c), l = n.indexOf(e, c + 1)) : 1 == r.length ? s = [r.pop(), u] : ((i = r.pop()) < o && (o = i, a = u), u = n.indexOf(t, c + 1)), c = l < u && l >= 0 ? l : u; r.length && (s = [o, a]) } return s } e.exports = t, t.range = r }, 41964: function(e, t, n) { var r = n(82294); e.exports = function e(t, n, i) { return (function(e, t) { var n = [], i = "string" == typeof t ? RegExp("\\b(" + t + ")\\(") : t; do { var o = i.exec(e); if (!o) break; if (void 0 === o[1]) throw Error("Missing the first couple of parenthesis to get the function identifier in " + t); var a = o[1], s = o.index, l = r("(", ")", e.substring(s)); if (!l || l.start !== o[0].length - 1) throw SyntaxError(a + "(): missing closing ')' in the value '" + e + "'"); n.push({ matches: l, functionIdentifier: a }), e = l.post } while (i.test(e)); return n })(t, n).reduce(function(r, o) { var a, s; return r.replace(o.functionIdentifier + "(" + o.matches.body + ")", (a = o.matches.body, s = o.functionIdentifier, i(e(a, n, i), s, t))) }, t) } }, 6692: function(e, t, n) { let r = n(83128); e.exports = (r.__esModule ? r : { default: r }).default }, 83128: function(e, t, n) { "use strict"; var r; Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "default", { enumerable: !0, get: () => a }); let i = (r = n(37540)) && r.__esModule ? r : { default: r }; function o({ version: e, from: t, to: n }) { i.default.warn(`${t}-color-renamed`, [`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`, "Update your configuration file to silence this warning."]) } let a = { inherit: "inherit", current: "currentColor", transparent: "transparent", black: "#000", white: "#fff", slate: { 50: "#f8fafc", 100: "#f1f5f9", 200: "#e2e8f0", 300: "#cbd5e1", 400: "#94a3b8", 500: "#64748b", 600: "#475569", 700: "#334155", 800: "#1e293b", 900: "#0f172a" }, gray: { 50: "#f9fafb", 100: "#f3f4f6", 200: "#e5e7eb", 300: "#d1d5db", 400: "#9ca3af", 500: "#6b7280", 600: "#4b5563", 700: "#374151", 800: "#1f2937", 900: "#111827" }, zinc: { 50: "#fafafa", 100: "#f4f4f5", 200: "#e4e4e7", 300: "#d4d4d8", 400: "#a1a1aa", 500: "#71717a", 600: "#52525b", 700: "#3f3f46", 800: "#27272a", 900: "#18181b" }, neutral: { 50: "#fafafa", 100: "#f5f5f5", 200: "#e5e5e5", 300: "#d4d4d4", 400: "#a3a3a3", 500: "#737373", 600: "#525252", 700: "#404040", 800: "#262626", 900: "#171717" }, stone: { 50: "#fafaf9", 100: "#f5f5f4", 200: "#e7e5e4", 300: "#d6d3d1", 400: "#a8a29e", 500: "#78716c", 600: "#57534e", 700: "#44403c", 800: "#292524", 900: "#1c1917" }, red: { 50: "#fef2f2", 100: "#fee2e2", 200: "#fecaca", 300: "#fca5a5", 400: "#f87171", 500: "#ef4444", 600: "#dc2626", 700: "#b91c1c", 800: "#991b1b", 900: "#7f1d1d" }, orange: { 50: "#fff7ed", 100: "#ffedd5", 200: "#fed7aa", 300: "#fdba74", 400: "#fb923c", 500: "#f97316", 600: "#ea580c", 700: "#c2410c", 800: "#9a3412", 900: "#7c2d12" }, amber: { 50: "#fffbeb", 100: "#fef3c7", 200: "#fde68a", 300: "#fcd34d", 400: "#fbbf24", 500: "#f59e0b", 600: "#d97706", 700: "#b45309", 800: "#92400e", 900: "#78350f" }, yellow: { 50: "#fefce8", 100: "#fef9c3", 200: "#fef08a", 300: "#fde047", 400: "#facc15", 500: "#eab308", 600: "#ca8a04", 700: "#a16207", 800: "#854d0e", 900: "#713f12" }, lime: { 50: "#f7fee7", 100: "#ecfccb", 200: "#d9f99d", 300: "#bef264", 400: "#a3e635", 500: "#84cc16", 600: "#65a30d", 700: "#4d7c0f", 800: "#3f6212", 900: "#365314" }, green: { 50: "#f0fdf4", 100: "#dcfce7", 200: "#bbf7d0", 300: "#86efac", 400: "#4ade80", 500: "#22c55e", 600: "#16a34a", 700: "#15803d", 800: "#166534", 900: "#14532d" }, emerald: { 50: "#ecfdf5", 100: "#d1fae5", 200: "#a7f3d0", 300: "#6ee7b7", 400: "#34d399", 500: "#10b981", 600: "#059669", 700: "#047857", 800: "#065f46", 900: "#064e3b" }, teal: { 50: "#f0fdfa", 100: "#ccfbf1", 200: "#99f6e4", 300: "#5eead4", 400: "#2dd4bf", 500: "#14b8a6", 600: "#0d9488", 700: "#0f766e", 800: "#115e59", 900: "#134e4a" }, cyan: { 50: "#ecfeff", 100: "#cffafe", 200: "#a5f3fc", 300: "#67e8f9", 400: "#22d3ee", 500: "#06b6d4", 600: "#0891b2", 700: "#0e7490", 800: "#155e75", 900: "#164e63" }, sky: { 50: "#f0f9ff", 100: "#e0f2fe", 200: "#bae6fd", 300: "#7dd3fc", 400: "#38bdf8", 500: "#0ea5e9", 600: "#0284c7", 700: "#0369a1", 800: "#075985", 900: "#0c4a6e" }, blue: { 50: "#eff6ff", 100: "#dbeafe", 200: "#bfdbfe", 300: "#93c5fd", 400: "#60a5fa", 500: "#3b82f6", 600: "#2563eb", 700: "#1d4ed8", 800: "#1e40af", 900: "#1e3a8a" }, indigo: { 50: "#eef2ff", 100: "#e0e7ff", 200: "#c7d2fe", 300: "#a5b4fc", 400: "#818cf8", 500: "#6366f1", 600: "#4f46e5", 700: "#4338ca", 800: "#3730a3", 900: "#312e81" }, violet: { 50: "#f5f3ff", 100: "#ede9fe", 200: "#ddd6fe", 300: "#c4b5fd", 400: "#a78bfa", 500: "#8b5cf6", 600: "#7c3aed", 700: "#6d28d9", 800: "#5b21b6", 900: "#4c1d95" }, purple: { 50: "#faf5ff", 100: "#f3e8ff", 200: "#e9d5ff", 300: "#d8b4fe", 400: "#c084fc", 500: "#a855f7", 600: "#9333ea", 700: "#7e22ce", 800: "#6b21a8", 900: "#581c87" }, fuchsia: { 50: "#fdf4ff", 100: "#fae8ff", 200: "#f5d0fe", 300: "#f0abfc", 400: "#e879f9", 500: "#d946ef", 600: "#c026d3", 700: "#a21caf", 800: "#86198f", 900: "#701a75" }, pink: { 50: "#fdf2f8", 100: "#fce7f3", 200: "#fbcfe8", 300: "#f9a8d4", 400: "#f472b6", 500: "#ec4899", 600: "#db2777", 700: "#be185d", 800: "#9d174d", 900: "#831843" }, rose: { 50: "#fff1f2", 100: "#ffe4e6", 200: "#fecdd3", 300: "#fda4af", 400: "#fb7185", 500: "#f43f5e", 600: "#e11d48", 700: "#be123c", 800: "#9f1239", 900: "#881337" }, get lightBlue() { return o({ version: "v2.2", from: "lightBlue", to: "sky" }), this.sky }, get warmGray() { return o({ version: "v3.0", from: "warmGray", to: "stone" }), this.stone }, get trueGray() { return o({ version: "v3.0", from: "trueGray", to: "neutral" }), this.neutral }, get coolGray() { return o({ version: "v3.0", from: "coolGray", to: "gray" }), this.gray }, get blueGray() { return o({ version: "v3.0", from: "blueGray", to: "slate" }), this.slate } } }, 37540: function(e, t, n) { "use strict"; var r, i = n(93542); Object.defineProperty(t, "__esModule", { value: !0 }), function(e, t) { for (var n in t) Object.defineProperty(e, n, { enumerable: !0, get: t[n] }) }(t, { dim: () => l, default: () => u }); let o = (r = n(24470)) && r.__esModule ? r : { default: r }, a = new Set; function s(e, t, n) { (void 0 === i || !i.env.JEST_WORKER_ID) && (n && a.has(n) || (n && a.add(n), console.warn(""), t.forEach(t => console.warn(e, "-", t)))) } function l(e) { return o.default.dim(e) } let u = { info(e, t) { s(o.default.bold(o.default.cyan("info")), ...Array.isArray(e) ? [e] : [t, e]) }, warn(e, t) { s(o.default.bold(o.default.yellow("warn")), ...Array.isArray(e) ? [e] : [t, e]) }, risk(e, t) { s(o.default.bold(o.default.magenta("risk")), ...Array.isArray(e) ? [e] : [t, e]) } } }, 95159: function(e) { function t(e, t) { var n = e.length, r = Array(n), i = {}, o = n, a = function(e) { for (var t = new Map, n = 0, r = e.length; n < r; n++) { var i = e[n]; t.has(i[0]) || t.set(i[0], new Set), t.has(i[1]) || t.set(i[1], new Set), t.get(i[0]).add(i[1]) } return t }(t), s = function(e) { for (var t = new Map, n = 0, r = e.length; n < r; n++)t.set(e[n], n); return t }(e); for (t.forEach(function(e) { if (!s.has(e[0]) || !s.has(e[1])) throw Error("Unknown node. There is an unknown node in the supplied edges.") }); o--;)i[o] || function e(t, o, l) { if (l.has(t)) { var u; try { u = ", node was:" + JSON.stringify(t) } catch (c) { u = "" } throw Error("Cyclic dependency" + u) } if (!s.has(t)) throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(t)); if (!i[o]) { i[o] = !0; var f = a.get(t) || new Set; if (o = (f = Array.from(f)).length) { l.add(t); do { var d = f[--o]; e(d, s.get(d), l) } while (o); l.delete(t) } r[--n] = t } }(e[o], o, new Set); return r } e.exports = function(e) { return t(function(e) { for (var t = new Set, n = 0, r = e.length; n < r; n++) { var i = e[n]; t.add(i[0]), t.add(i[1]) } return Array.from(t) }(e), e) }, e.exports.array = t }, 5163: function(e, t, n) { "use strict"; n.d(t, { _T: function() { return i }, ev: function() { return o }, pi: function() { return r } }); var r = function() { return (r = Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++)for (var i in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); return e }).apply(this, arguments) }; function i(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && 0 > t.indexOf(r) && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)0 > t.indexOf(r[i]) && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]); return n } function o(e, t, n) { if (n || 2 == arguments.length) for (var r, i = 0, o = t.length; i < o; i++)!r && i in t || (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]); return e.concat(r || Array.prototype.slice.call(t)) } }, 92762: function(e, t, n) { "use strict"; n.d(t, { Z: function() { return u } }); var r = n(2784); let i = new Map, o = new Set; function a(e) { for (let t of [...o]) t(e) } function s(e) { return "undefined" === e ? void 0 : JSON.parse(e) } function l(e) { try { return e() } catch (t) { return } } var u = function(e, t) { if (void 0 === r.useSyncExternalStore) throw TypeError('You are using React 17 or below. Install with "npm install use-local-storage-state@17".'); let [n] = (0, r.useState)(null == t ? void 0 : t.defaultValue); if ("undefined" == typeof window) return [n, () => { }, { isPersistent: !0, removeItem: () => { } }]; let u = null == t ? void 0 : t.serializer; return function(e, t, n = !0, u = s, c = JSON.stringify) { i.has(e) || void 0 === t || null !== l(() => localStorage.getItem(e)) || l(() => localStorage.setItem(e, c(t))); let f = (0, r.useRef)({ item: null, parsed: t }), d = (0, r.useSyncExternalStore)((0, r.useCallback)(t => { let n = n => { e === n && t() }; return o.add(n), () => { o.delete(n) } }, [e]), () => { var n; let r = null !== (n = l(() => localStorage.getItem(e))) && void 0 !== n ? n : null; if (i.has(e)) f.current = { item: r, parsed: i.get(e) }; else if (r !== f.current.item) { let o; try { o = null === r ? t : u(r) } catch (a) { o = t } f.current = { item: r, parsed: o } } return f.current.parsed }, () => t), h = (0, r.useCallback)(t => { let n = t instanceof Function ? t(f.current.parsed) : t; try { localStorage.setItem(e, c(n)), i.delete(e) } catch (r) { i.set(e, n) } a(e) }, [e, c]); return (0, r.useEffect)(() => { if (!n) return; let t = t => { t.storageArea === l(() => localStorage) && t.key === e && a(e) }; return window.addEventListener("storage", t), () => window.removeEventListener("storage", t) }, [e, n]), (0, r.useMemo)(() => [d, h, { isPersistent: d === t || !i.has(e), removeItem() { l(() => localStorage.removeItem(e)), i.delete(e), a(e) } }], [e, h, d, t]) }(e, n, null == t ? void 0 : t.storageSync, null == u ? void 0 : u.parse, null == u ? void 0 : u.stringify) } }, 20452: function(e, t, n) { + "use strict";/** * @license React * use-sync-external-store-shim.production.min.js * @@ -65,7 +87,17 @@ PERFORMANCE OF THIS SOFTWARE. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(2784),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},43100:function(e,t,n){"use strict";e.exports=n(20452)},24511:function(e,t,n){"use strict";n.d(t,{Rx:function(){return J},Ry:function(){return ex},Z_:function(){return K}});try{y=Map}catch(r){}try{b=Set}catch(i){}function o(e){return function e(t,n,r){if(!t||"object"!=typeof t||"function"==typeof t)return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return RegExp(t);if(Array.isArray(t))return t.map(o);if(y&&t instanceof y)return new Map(Array.from(t.entries()));if(b&&t instanceof b)return new Set(Array.from(t.values()));if(t instanceof Object){n.push(t);var i=Object.create(t);for(var a in r.push(i),t){var s=n.findIndex(function(e){return e===t[a]});i[a]=s>-1?r[s]:e(t[a],n,r)}return i}return t}(e,[],[])}let a=Object.prototype.toString,s=Error.prototype.toString,l=RegExp.prototype.toString,u="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",c=/^Symbol\((.*)\)(.*)$/;function f(e,t=!1){if(null==e||!0===e||!1===e)return""+e;let n=typeof e;if("number"===n)return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e;if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return u.call(e).replace(c,"Symbol($1)");let r=a.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+s.call(e)+"]":"RegExp"===r?l.call(e):null}function d(e,t){let n=f(e,t);return null!==n?n:JSON.stringify(e,function(e,n){let r=f(this[e],t);return null!==r?r:n},2)}let h={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{let i=`${e} must be a \`${t}\` type, but the final value was: \`${d(n,!0)}\``+(null!=r&&r!==n?` (cast from the value \`${d(r,!0)}\`).`:".");return null===n&&(i+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),i},defined:"${path} must be defined"},p={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},v={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},m={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},g={noUnknown:"${path} field has unspecified keys: ${unknown}"};Object.assign(Object.create(null),{mixed:h,string:p,number:v,date:m,object:g,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"}});var y,b,x=n(93352),w=n.n(x),_=e=>e&&e.__isYupSchema__,E=class{constructor(e,t){if(this.fn=void 0,this.refs=e,this.refs=e,"function"==typeof t){this.fn=t;return}if(!w()(t,"is"))throw TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,o="function"==typeof n?n:(...e)=>e.every(e=>e===n);this.fn=function(...e){let t=e.pop(),n=e.pop(),a=o(...e)?r:i;if(a)return"function"==typeof a?a(n):n.concat(a.resolve(t))}}resolve(e,t){let n=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!_(r))throw TypeError("conditions must return a schema object");return r.resolve(t)}};function k(e){return null==e?[]:[].concat(e)}function j(){return(j=Object.assign||function(e){for(var t=1;td(t[n])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],k(e).forEach(e=>{O.isError(e)?(this.errors.push(...e.errors),this.inner=this.inner.concat(e.inner.length?e.inner:e)):this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,O)}}let C=e=>{let t=!1;return(...n)=>{t||(t=!0,e(...n))}};function A(e,t){let{endEarly:n,tests:r,args:i,value:o,errors:a,sort:s,path:l}=e,u=C(t),c=r.length,f=[];if(a=a||[],!c)return a.length?u(new O(a,o,l)):u(null,o);for(let d=0;d=0||(i[n]=e[n]);return i}(t,["value","path","label","options","originalValue","sync"]),{name:f,test:d,params:h,message:p}=e,{parent:v,context:m}=s;function g(e){return R.isRef(e)?e.getValue(i,v,m):e}function y(e={}){let t=M()(D({value:i,originalValue:l,label:a,path:e.path||o},h,e.params),g),n=new O(O.formatError(e.message||p,t),i,t.path,e.type||f);return n.params=t,n}let b=D({path:o,parent:v,type:f,createError:y,resolve:g,options:s,originalValue:l},c);if(!u){try{Promise.resolve(d.call(b,i,b)).then(e=>{O.isError(e)?n(e):e?n(null,e):n(y())}).catch(n)}catch(x){n(x)}return}try{var w;if(r=d.call(b,i,b),"function"==typeof(null==(w=r)?void 0:w.then))throw Error(`Validation test of type: "${b.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(_){n(_);return}O.isError(r)?n(r):r?n(null,r):n(y())}return t.OPTIONS=e,t}R.prototype.__isYupRef=!0;let F=e=>e.substr(0,e.length-1).substr(1);class I{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){let e=[];for(let t of this.list)e.push(t);for(let[,n]of this.refs)e.push(n.describe());return e}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(e){return this.toArray().reduce((t,n)=>t.concat(R.isRef(n)?e(n):n),[])}add(e){R.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}delete(e){R.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}clone(){let e=new I;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}merge(e,t){let n=this.clone();return e.list.forEach(e=>n.add(e)),e.refs.forEach(e=>n.add(e)),t.list.forEach(e=>n.delete(e)),t.refs.forEach(e=>n.delete(e)),n}}function z(){return(z=Object.assign||function(e){for(var t=1;t{this.typeError(h.notType)}),this.type=(null==e?void 0:e.type)||"mixed",this.spec=z({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}get _type(){return this.type}_typeCheck(e){return!0}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;let t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=z({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=o(z({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone(),n=z({},this.spec,t.spec);return t.spec=n,t._typeError||(t._typeError=this._typeError),t._whitelistError||(t._whitelistError=this._whitelistError),t._blacklistError||(t._blacklistError=this._blacklistError),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return!!this.spec.nullable&&null===e||this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((t,n)=>n.resolve(t,e),t)).resolve(e)}return t}cast(e,t={}){let n=this.resolve(z({value:e},t)),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){let i=d(e),o=d(r);throw TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n._type}". + */var r = n(2784), i = "function" == typeof Object.is ? Object.is : function(e, t) { return e === t && (0 !== e || 1 / e == 1 / t) || e != e && t != t }, o = r.useState, a = r.useEffect, s = r.useLayoutEffect, l = r.useDebugValue; function u(e) { var t = e.getSnapshot; e = e.value; try { var n = t(); return !i(e, n) } catch (r) { return !0 } } var c = "undefined" == typeof window || void 0 === window.document || void 0 === window.document.createElement ? function(e, t) { return t() } : function(e, t) { var n = t(), r = o({ inst: { value: n, getSnapshot: t } }), i = r[0].inst, c = r[1]; return s(function() { i.value = n, i.getSnapshot = t, u(i) && c({ inst: i }) }, [e, n, t]), a(function() { return u(i) && c({ inst: i }), e(function() { u(i) && c({ inst: i }) }) }, [e]), l(n), n }; t.useSyncExternalStore = void 0 !== r.useSyncExternalStore ? r.useSyncExternalStore : c + }, 43100: function(e, t, n) { "use strict"; e.exports = n(20452) }, 24511: function(e, t, n) { + "use strict"; n.d(t, { Rx: function() { return J }, Ry: function() { return ex }, Z_: function() { return K } }); try { y = Map } catch (r) { } try { b = Set } catch (i) { } function o(e) { return function e(t, n, r) { if (!t || "object" != typeof t || "function" == typeof t) return t; if (t.nodeType && "cloneNode" in t) return t.cloneNode(!0); if (t instanceof Date) return new Date(t.getTime()); if (t instanceof RegExp) return RegExp(t); if (Array.isArray(t)) return t.map(o); if (y && t instanceof y) return new Map(Array.from(t.entries())); if (b && t instanceof b) return new Set(Array.from(t.values())); if (t instanceof Object) { n.push(t); var i = Object.create(t); for (var a in r.push(i), t) { var s = n.findIndex(function(e) { return e === t[a] }); i[a] = s > -1 ? r[s] : e(t[a], n, r) } return i } return t }(e, [], []) } let a = Object.prototype.toString, s = Error.prototype.toString, l = RegExp.prototype.toString, u = "undefined" != typeof Symbol ? Symbol.prototype.toString : () => "", c = /^Symbol\((.*)\)(.*)$/; function f(e, t = !1) { if (null == e || !0 === e || !1 === e) return "" + e; let n = typeof e; if ("number" === n) return e != +e ? "NaN" : 0 === e && 1 / e < 0 ? "-0" : "" + e; if ("string" === n) return t ? `"${e}"` : e; if ("function" === n) return "[Function " + (e.name || "anonymous") + "]"; if ("symbol" === n) return u.call(e).replace(c, "Symbol($1)"); let r = a.call(e).slice(8, -1); return "Date" === r ? isNaN(e.getTime()) ? "" + e : e.toISOString(e) : "Error" === r || e instanceof Error ? "[" + s.call(e) + "]" : "RegExp" === r ? l.call(e) : null } function d(e, t) { let n = f(e, t); return null !== n ? n : JSON.stringify(e, function(e, n) { let r = f(this[e], t); return null !== r ? r : n }, 2) } let h = { default: "${path} is invalid", required: "${path} is a required field", oneOf: "${path} must be one of the following values: ${values}", notOneOf: "${path} must not be one of the following values: ${values}", notType: ({ path: e, type: t, value: n, originalValue: r }) => { let i = `${e} must be a \`${t}\` type, but the final value was: \`${d(n, !0)}\`` + (null != r && r !== n ? ` (cast from the value \`${d(r, !0)}\`).` : "."); return null === n && (i += '\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'), i }, defined: "${path} must be defined" }, p = { length: "${path} must be exactly ${length} characters", min: "${path} must be at least ${min} characters", max: "${path} must be at most ${max} characters", matches: '${path} must match the following: "${regex}"', email: "${path} must be a valid email", url: "${path} must be a valid URL", uuid: "${path} must be a valid UUID", trim: "${path} must be a trimmed string", lowercase: "${path} must be a lowercase string", uppercase: "${path} must be a upper case string" }, v = { min: "${path} must be greater than or equal to ${min}", max: "${path} must be less than or equal to ${max}", lessThan: "${path} must be less than ${less}", moreThan: "${path} must be greater than ${more}", positive: "${path} must be a positive number", negative: "${path} must be a negative number", integer: "${path} must be an integer" }, m = { min: "${path} field must be later than ${min}", max: "${path} field must be at earlier than ${max}" }, g = { noUnknown: "${path} field has unspecified keys: ${unknown}" }; Object.assign(Object.create(null), { mixed: h, string: p, number: v, date: m, object: g, array: { min: "${path} field must have at least ${min} items", max: "${path} field must have less than or equal to ${max} items", length: "${path} must have ${length} items" }, boolean: { isValue: "${path} field must be ${value}" } }); var y, b, x = n(93352), w = n.n(x), _ = e => e && e.__isYupSchema__, E = class { constructor(e, t) { if (this.fn = void 0, this.refs = e, this.refs = e, "function" == typeof t) { this.fn = t; return } if (!w()(t, "is")) throw TypeError("`is:` is required for `when()` conditions"); if (!t.then && !t.otherwise) throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions"); let { is: n, then: r, otherwise: i } = t, o = "function" == typeof n ? n : (...e) => e.every(e => e === n); this.fn = function(...e) { let t = e.pop(), n = e.pop(), a = o(...e) ? r : i; if (a) return "function" == typeof a ? a(n) : n.concat(a.resolve(t)) } } resolve(e, t) { let n = this.refs.map(e => e.getValue(null == t ? void 0 : t.value, null == t ? void 0 : t.parent, null == t ? void 0 : t.context)), r = this.fn.apply(e, n.concat(e, t)); if (void 0 === r || r === e) return e; if (!_(r)) throw TypeError("conditions must return a schema object"); return r.resolve(t) } }; function k(e) { return null == e ? [] : [].concat(e) } function j() { return (j = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } let S = /\$\{\s*(\w+)\s*\}/g; class O extends Error { static formatError(e, t) { let n = t.label || t.path || "this"; return (n !== t.path && (t = j({}, t, { path: n })), "string" == typeof e) ? e.replace(S, (e, n) => d(t[n])) : "function" == typeof e ? e(t) : e } static isError(e) { return e && "ValidationError" === e.name } constructor(e, t, n, r) { super(), this.value = void 0, this.path = void 0, this.type = void 0, this.errors = void 0, this.params = void 0, this.inner = void 0, this.name = "ValidationError", this.value = t, this.path = n, this.type = r, this.errors = [], this.inner = [], k(e).forEach(e => { O.isError(e) ? (this.errors.push(...e.errors), this.inner = this.inner.concat(e.inner.length ? e.inner : e)) : this.errors.push(e) }), this.message = this.errors.length > 1 ? `${this.errors.length} errors occurred` : this.errors[0], Error.captureStackTrace && Error.captureStackTrace(this, O) } } let C = e => { let t = !1; return (...n) => { t || (t = !0, e(...n)) } }; function A(e, t) { let { endEarly: n, tests: r, args: i, value: o, errors: a, sort: s, path: l } = e, u = C(t), c = r.length, f = []; if (a = a || [], !c) return a.length ? u(new O(a, o, l)) : u(null, o); for (let d = 0; d < r.length; d++) { let h = r[d]; h(i, function(e) { if (e) { if (!O.isError(e)) return u(e, o); if (n) return e.value = o, u(e, o); f.push(e) } if (--c <= 0) { if (f.length && (s && f.sort(s), a.length && f.push(...a), a = f), a.length) { u(new O(a, o, l), o); return } u(null, o) } }) } } var T = n(34519), M = n.n(T), P = n(17296); let N = { context: "$", value: "." }; class R { constructor(e, t = {}) { if (this.key = void 0, this.isContext = void 0, this.isValue = void 0, this.isSibling = void 0, this.path = void 0, this.getter = void 0, this.map = void 0, "string" != typeof e) throw TypeError("ref must be a string, got: " + e); if (this.key = e.trim(), "" === e) throw TypeError("ref must be a non-empty string"); this.isContext = this.key[0] === N.context, this.isValue = this.key[0] === N.value, this.isSibling = !this.isContext && !this.isValue; let n = this.isContext ? N.context : this.isValue ? N.value : ""; this.path = this.key.slice(n.length), this.getter = this.path && (0, P.getter)(this.path, !0), this.map = t.map } getValue(e, t, n) { let r = this.isContext ? n : this.isValue ? e : t; return this.getter && (r = this.getter(r || {})), this.map && (r = this.map(r)), r } cast(e, t) { return this.getValue(e, null == t ? void 0 : t.parent, null == t ? void 0 : t.context) } resolve() { return this } describe() { return { type: "ref", key: this.key } } toString() { return `Ref(${this.key})` } static isRef(e) { return e && e.__isYupRef } } function D() { return (D = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } function L(e) { function t(t, n) { let r, { value: i, path: o = "", label: a, options: s, originalValue: l, sync: u } = t, c = function(e, t) { if (null == e) return {}; var n, r, i = {}, o = Object.keys(e); for (r = 0; r < o.length; r++)t.indexOf(n = o[r]) >= 0 || (i[n] = e[n]); return i }(t, ["value", "path", "label", "options", "originalValue", "sync"]), { name: f, test: d, params: h, message: p } = e, { parent: v, context: m } = s; function g(e) { return R.isRef(e) ? e.getValue(i, v, m) : e } function y(e = {}) { let t = M()(D({ value: i, originalValue: l, label: a, path: e.path || o }, h, e.params), g), n = new O(O.formatError(e.message || p, t), i, t.path, e.type || f); return n.params = t, n } let b = D({ path: o, parent: v, type: f, createError: y, resolve: g, options: s, originalValue: l }, c); if (!u) { try { Promise.resolve(d.call(b, i, b)).then(e => { O.isError(e) ? n(e) : e ? n(null, e) : n(y()) }).catch(n) } catch (x) { n(x) } return } try { var w; if (r = d.call(b, i, b), "function" == typeof (null == (w = r) ? void 0 : w.then)) throw Error(`Validation test of type: "${b.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`) } catch (_) { n(_); return } O.isError(r) ? n(r) : r ? n(null, r) : n(y()) } return t.OPTIONS = e, t } R.prototype.__isYupRef = !0; let F = e => e.substr(0, e.length - 1).substr(1); class I { constructor() { this.list = void 0, this.refs = void 0, this.list = new Set, this.refs = new Map } get size() { return this.list.size + this.refs.size } describe() { let e = []; for (let t of this.list) e.push(t); for (let [, n] of this.refs) e.push(n.describe()); return e } toArray() { return Array.from(this.list).concat(Array.from(this.refs.values())) } resolveAll(e) { return this.toArray().reduce((t, n) => t.concat(R.isRef(n) ? e(n) : n), []) } add(e) { R.isRef(e) ? this.refs.set(e.key, e) : this.list.add(e) } delete(e) { R.isRef(e) ? this.refs.delete(e.key) : this.list.delete(e) } clone() { let e = new I; return e.list = new Set(this.list), e.refs = new Map(this.refs), e } merge(e, t) { let n = this.clone(); return e.list.forEach(e => n.add(e)), e.refs.forEach(e => n.add(e)), t.list.forEach(e => n.delete(e)), t.refs.forEach(e => n.delete(e)), n } } function z() { return (z = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } class V { + constructor(e) { this.deps = [], this.tests = void 0, this.transforms = void 0, this.conditions = [], this._mutate = void 0, this._typeError = void 0, this._whitelist = new I, this._blacklist = new I, this.exclusiveTests = Object.create(null), this.spec = void 0, this.tests = [], this.transforms = [], this.withMutation(() => { this.typeError(h.notType) }), this.type = (null == e ? void 0 : e.type) || "mixed", this.spec = z({ strip: !1, strict: !1, abortEarly: !0, recursive: !0, nullable: !1, presence: "optional" }, null == e ? void 0 : e.spec) } get _type() { return this.type } _typeCheck(e) { return !0 } clone(e) { if (this._mutate) return e && Object.assign(this.spec, e), this; let t = Object.create(Object.getPrototypeOf(this)); return t.type = this.type, t._typeError = this._typeError, t._whitelistError = this._whitelistError, t._blacklistError = this._blacklistError, t._whitelist = this._whitelist.clone(), t._blacklist = this._blacklist.clone(), t.exclusiveTests = z({}, this.exclusiveTests), t.deps = [...this.deps], t.conditions = [...this.conditions], t.tests = [...this.tests], t.transforms = [...this.transforms], t.spec = o(z({}, this.spec, e)), t } label(e) { let t = this.clone(); return t.spec.label = e, t } meta(...e) { if (0 === e.length) return this.spec.meta; let t = this.clone(); return t.spec.meta = Object.assign(t.spec.meta || {}, e[0]), t } withMutation(e) { let t = this._mutate; this._mutate = !0; let n = e(this); return this._mutate = t, n } concat(e) { if (!e || e === this) return this; if (e.type !== this.type && "mixed" !== this.type) throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`); let t = e.clone(), n = z({}, this.spec, t.spec); return t.spec = n, t._typeError || (t._typeError = this._typeError), t._whitelistError || (t._whitelistError = this._whitelistError), t._blacklistError || (t._blacklistError = this._blacklistError), t._whitelist = this._whitelist.merge(e._whitelist, e._blacklist), t._blacklist = this._blacklist.merge(e._blacklist, e._whitelist), t.tests = this.tests, t.exclusiveTests = this.exclusiveTests, t.withMutation(t => { e.tests.forEach(e => { t.test(e.OPTIONS) }) }), t.transforms = [...this.transforms, ...t.transforms], t } isType(e) { return !!this.spec.nullable && null === e || this._typeCheck(e) } resolve(e) { let t = this; if (t.conditions.length) { let n = t.conditions; (t = t.clone()).conditions = [], t = (t = n.reduce((t, n) => n.resolve(t, e), t)).resolve(e) } return t } cast(e, t = {}) { + let n = this.resolve(z({ value: e }, t)), r = n._cast(e, t); if (void 0 !== e && !1 !== t.assert && !0 !== n.isType(r)) { + let i = d(e), o = d(r); throw TypeError(`The value of ${t.path || "field"} could not be cast to a value that satisfies the schema type: "${n._type}". -attempted value: ${i} -`+(o!==i?`result of cast: ${o}`:""))}return r}_cast(e,t){let n=void 0===e?e:this.transforms.reduce((t,n)=>n.call(this,t,e,this),e);return void 0===n&&(n=this.getDefault()),n}_validate(e,t={},n){let{sync:r,path:i,from:o=[],originalValue:a=e,strict:s=this.spec.strict,abortEarly:l=this.spec.abortEarly}=t,u=e;s||(u=this._cast(u,z({assert:!1},t)));let c={value:u,path:i,options:t,originalValue:a,schema:this,label:this.spec.label,sync:r,from:o},f=[];this._typeError&&f.push(this._typeError);let d=[];this._whitelistError&&d.push(this._whitelistError),this._blacklistError&&d.push(this._blacklistError),A({args:c,value:u,path:i,sync:r,tests:f,endEarly:l},e=>{if(e)return void n(e,u);A({tests:this.tests.concat(d),args:c,path:i,sync:r,value:u,endEarly:l},n)})}validate(e,t,n){let r=this.resolve(z({},t,{value:e}));return"function"==typeof n?r._validate(e,t,n):new Promise((n,i)=>r._validate(e,t,(e,t)=>{e?i(e):n(t)}))}validateSync(e,t){let n;return this.resolve(z({},t,{value:e}))._validate(e,z({},t,{sync:!0}),(e,t)=>{if(e)throw e;n=t}),n}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(O.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(O.isError(n))return!1;throw n}}_getDefault(){let e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):o(e)}getDefault(e){return this.resolve(e||{})._getDefault()}default(e){return 0==arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){let t=this.clone();return t.spec.strict=e,t}_isPresent(e){return null!=e}defined(e=h.defined){return this.test({message:e,name:"defined",exclusive:!0,test:e=>void 0!==e})}required(e=h.required){return this.clone({presence:"required"}).withMutation(t=>t.test({message:e,name:"required",exclusive:!0,test(e){return this.schema._isPresent(e)}}))}notRequired(){let e=this.clone({presence:"optional"});return e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e}nullable(e=!0){return this.clone({nullable:!1!==e})}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(void 0===(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]}).message&&(t.message=h.default),"function"!=typeof t.test)throw TypeError("`test` is a required parameters");let n=this.clone(),r=L(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter(e=>e.OPTIONS.name!==t.name||!i&&e.OPTIONS.test!==r.OPTIONS.test),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=k(e).map(e=>new R(e));return r.forEach(e=>{e.isSibling&&n.deps.push(e.key)}),n.conditions.push(new E(r,t)),n}typeError(e){let t=this.clone();return t._typeError=L({message:e,name:"typeError",test(e){return!!(void 0===e||this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}oneOf(e,t=h.oneOf){let n=this.clone();return e.forEach(e=>{n._whitelist.add(e),n._blacklist.delete(e)}),n._whitelistError=L({message:t,name:"oneOf",test(e){if(void 0===e)return!0;let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}notOneOf(e,t=h.notOneOf){let n=this.clone();return e.forEach(e=>{n._blacklist.add(e),n._whitelist.delete(e)}),n._blacklistError=L({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(){let e=this.clone(),{label:t,meta:n}=e.spec,r={meta:n,label:t,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,n)=>n.findIndex(t=>t.name===e.name)===t)};return r}}for(let B of(V.prototype.__isYupSchema__=!0,["validate","validateSync"]))V.prototype[`${B}At`]=function(e,t,n={}){let{parent:r,parentPath:i,schema:o}=function(e,t,n,r=n){let i,o,a;return t?((0,P.forEach)(t,(s,l,u)=>{let c=l?F(s):s;if((e=e.resolve({context:r,parent:i,value:n})).innerType){let f=u?parseInt(c,10):0;if(n&&f>=n.length)throw Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[f],e=e.innerType}if(!u){if(!e.fields||!e.fields[c])throw Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e._type}")`);i=n,n=n&&n[c],e=e.fields[c]}o=c,a=l?"["+s+"]":"."+s}),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}(this,e,t,n.context);return o[B](r&&r[i],z({},n,{parent:r,path:e}))};for(let Z of["equals","is"])V.prototype[Z]=V.prototype.oneOf;for(let U of["not","nope"])V.prototype[U]=V.prototype.notOneOf;V.prototype.optional=V.prototype.notRequired,V.prototype;var H=e=>null==e;let W=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,q=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,$=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Y=e=>H(e)||e===e.trim(),G=({}).toString();function K(){return new X}class X extends V{constructor(){super({type:"string"}),this.withMutation(()=>{this.transform(function(e){if(this.isType(e)||Array.isArray(e))return e;let t=null!=e&&e.toString?e.toString():e;return t===G?e:t})})}_typeCheck(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}_isPresent(e){return super._isPresent(e)&&!!e.length}length(e,t=p.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return H(t)||t.length===this.resolve(e)}})}min(e,t=p.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return H(t)||t.length>=this.resolve(e)}})}max(e,t=p.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test(t){return H(t)||t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?{excludeEmptyString:i=!1,message:n,name:r}=t:n=t),this.test({name:r||"matches",message:n||p.matches,params:{regex:e},test:t=>H(t)||""===t&&i||-1!==t.search(e)})}email(e=p.email){return this.matches(W,{name:"email",message:e,excludeEmptyString:!0})}url(e=p.url){return this.matches(q,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=p.uuid){return this.matches($,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=p.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:Y})}lowercase(e=p.lowercase){return this.transform(e=>H(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,test:e=>H(e)||e===e.toLowerCase()})}uppercase(e=p.uppercase){return this.transform(e=>H(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,test:e=>H(e)||e===e.toUpperCase()})}}K.prototype=X.prototype;let Q=e=>e!=+e;function J(){return new ee}class ee extends V{constructor(){super({type:"number"}),this.withMutation(()=>{this.transform(function(e){let t=e;if("string"==typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)})})}_typeCheck(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!Q(e)}min(e,t=v.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return H(t)||t>=this.resolve(e)}})}max(e,t=v.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return H(t)||t<=this.resolve(e)}})}lessThan(e,t=v.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test(t){return H(t)||tthis.resolve(e)}})}positive(e=v.positive){return this.moreThan(0,e)}negative(e=v.negative){return this.lessThan(0,e)}integer(e=v.integer){return this.test({name:"integer",message:e,test:e=>H(e)||Number.isInteger(e)})}truncate(){return this.transform(e=>H(e)?e:0|e)}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw TypeError("Only valid options for round() are: "+n.join(", "));return this.transform(t=>H(t)?t:Math[e](t))}}J.prototype=ee.prototype;var et=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let en=new Date(""),er=e=>"[object Date]"===Object.prototype.toString.call(e);function ei(){return new eo}class eo extends V{constructor(){super({type:"date"}),this.withMutation(()=>{this.transform(function(e){return this.isType(e)?e:isNaN(e=function(e){var t,n,r=[1,4,5,6,7,10,11],i=0;if(n=et.exec(e)){for(var o,a=0;o=r[a];++a)n[o]=+n[o]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,(void 0===n[8]||""===n[8])&&(void 0===n[9]||""===n[9])?t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7]):("Z"!==n[8]&&void 0!==n[9]&&(i=60*n[10]+n[11],"+"===n[9]&&(i=0-i)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+i,n[6],n[7]))}else t=Date.parse?Date.parse(e):NaN;return t}(e))?en:new Date(e)})})}_typeCheck(e){return er(e)&&!isNaN(e.getTime())}prepareParam(e,t){let n;if(R.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=m.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(e){return H(e)||e>=this.resolve(n)}})}max(e,t=m.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(e){return H(e)||e<=this.resolve(n)}})}}eo.INVALID_DATE=en,ei.prototype=eo.prototype,ei.INVALID_DATE=en;var ea=n(57370),es=n.n(ea),el=n(96009),eu=n.n(el),ec=n(19950),ef=n.n(ec),ed=n(95159),eh=n.n(ed);function ep(e,t){let n=1/0;return e.some((e,r)=>{var i;if((null==(i=t.path)?void 0:i.indexOf(e))!==-1)return n=r,!0}),n}function ev(e){return(t,n)=>ep(e,t)-ep(e,n)}function em(){return(em=Object.assign||function(e){for(var t=1;t"[object Object]"===Object.prototype.toString.call(e),ey=ev([]);class eb extends V{constructor(e){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=ey,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{this.transform(function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null}),e&&this.shape(e)})}_typeCheck(e){return eg(e)||"function"==typeof e}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault();if(!this._typeCheck(r))return r;let i=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=this._nodes.concat(Object.keys(r).filter(e=>-1===this._nodes.indexOf(e))),s={},l=em({},t,{parent:s,__validating:t.__validating||!1}),u=!1;for(let c of a){let f=i[c],d=w()(r,c);if(f){let h;let p=r[c];l.path=(t.path?`${t.path}.`:"")+c;let v="spec"in(f=f.resolve({value:p,context:t.context,parent:s}))?f.spec:void 0,m=null==v?void 0:v.strict;if(null==v?void 0:v.strip){u=u||c in r;continue}void 0!==(h=t.__validating&&m?r[c]:f.cast(r[c],l))&&(s[c]=h)}else d&&!o&&(s[c]=r[c]);s[c]!==r[c]&&(u=!0)}return u?s:r}_validate(e,t={},n){let r=[],{sync:i,from:o=[],originalValue:a=e,abortEarly:s=this.spec.abortEarly,recursive:l=this.spec.recursive}=t;o=[{schema:this,value:a},...o],t.__validating=!0,t.originalValue=a,t.from=o,super._validate(e,t,(e,u)=>{if(e){if(!O.isError(e)||s)return void n(e,u);r.push(e)}if(!l||!eg(u)){n(r[0]||null,u);return}a=a||u;let c=this._nodes.map(e=>(n,r)=>{let i=-1===e.indexOf(".")?(t.path?`${t.path}.`:"")+e:`${t.path||""}["${e}"]`,s=this.fields[e];if(s&&"validate"in s){s.validate(u[e],em({},t,{path:i,from:o,strict:!0,parent:u,originalValue:a[e]}),r);return}r(null)});A({sync:i,tests:c,value:u,errors:r,endEarly:s,sort:this._sortErrors,path:t.path},n)})}clone(e){let t=super.clone(e);return t.fields=em({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,i]of Object.entries(this.fields)){let o=n[r];void 0===o?n[r]=i:o instanceof V&&i instanceof V&&(n[r]=i.concat(o))}return t.withMutation(()=>t.shape(n,this._excludedEdges))}getDefaultFromShape(){let e={};return this._nodes.forEach(t=>{let n=this.fields[t];e[t]="default"in n?n.getDefault():void 0}),e}_getDefault(){return"default"in this.spec?super._getDefault():this._nodes.length?this.getDefaultFromShape():void 0}shape(e,t=[]){let n=this.clone(),r=Object.assign(n.fields,e);return n.fields=r,n._sortErrors=ev(Object.keys(r)),t.length&&(Array.isArray(t[0])||(t=[t]),n._excludedEdges=[...n._excludedEdges,...t]),n._nodes=function(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([e,t])=>`${e}-${t}`));function o(e,t){let o=(0,P.split)(e)[0];r.add(o),i.has(`${t}-${o}`)||n.push([t,o])}for(let a in e)if(w()(e,a)){let s=e[a];r.add(a),R.isRef(s)&&s.isSibling?o(s.path,a):_(s)&&"deps"in s&&s.deps.forEach(e=>o(e,a))}return eh().array(Array.from(r),n).reverse()}(r,n._excludedEdges),n}pick(e){let t={};for(let n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.clone().withMutation(e=>(e.fields={},e.shape(t)))}omit(e){let t=this.clone(),n=t.fields;for(let r of(t.fields={},e))delete n[r];return t.withMutation(()=>t.shape(n))}from(e,t,n){let r=(0,P.getter)(e,!0);return this.transform(i=>{if(null==i)return i;let o=i;return w()(i,e)&&(o=em({},i),n||delete o[e],o[t]=r(i)),o})}noUnknown(e=!0,t=g.noUnknown){"string"==typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){let n;if(null==t)return!0;let r=(n=Object.keys(this.schema.fields),Object.keys(t).filter(e=>-1===n.indexOf(e)));return!e||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=g.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>t&&ef()(t,(t,n)=>e(n)))}camelCase(){return this.transformKeys(eu())}snakeCase(){return this.transformKeys(es())}constantCase(){return this.transformKeys(e=>es()(e).toUpperCase())}describe(){let e=super.describe();return e.fields=M()(this.fields,e=>e.describe()),e}}function ex(e){return new eb(e)}ex.prototype=eb.prototype},44868:function(e,t,n){"use strict";var r,i,o=Object.create,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,f=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))c.call(e,i)||i===n||a(e,i,{get:()=>t[i],enumerable:!(r=s(t,i))||r.enumerable});return e},d={};((e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})})(d,{Animated:()=>b,AnimatedArray:()=>C,AnimatedObject:()=>O,AnimatedString:()=>E,AnimatedValue:()=>w,createHost:()=>z,getAnimated:()=>m,getAnimatedType:()=>M,getPayload:()=>y,isAnimated:()=>v,setAnimated:()=>g}),e.exports=f(a({},"__esModule",{value:!0}),d);var h=n(6901),p=Symbol.for("Animated:node"),v=e=>!!e&&e[p]===e,m=e=>e&&e[p],g=(e,t)=>(0,h.defineHidden)(e,p,t),y=e=>e&&e[p]&&e[p].getPayload(),b=class{constructor(){g(this,this)}getPayload(){return this.payload||[]}},x=n(6901),w=class extends b{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,x.is.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new w(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return x.is.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,x.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},_=n(6901),E=class extends w{constructor(e){super(0),this._string=null,this._toString=(0,_.createInterpolator)({output:[e,e]})}static create(e){return new E(e)}getValue(){return this._string??(this._string=this._toString(this._value))}setValue(e){if(_.is.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=(0,_.createInterpolator)({output:[this.getValue(),e]})),this._value=0,super.reset()}},k=n(6901),j=n(6901),S={dependencies:null},O=class extends b{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return(0,j.eachProp)(this.source,(n,r)=>{v(n)?t[r]=n.getValue(e):(0,j.hasFluidValue)(n)?t[r]=(0,j.getFluidValue)(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&(0,j.each)(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return(0,j.eachProp)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){S.dependencies&&(0,j.hasFluidValue)(e)&&S.dependencies.add(e);let t=y(e);t&&(0,j.each)(t,e=>this.add(e))}},C=class extends O{constructor(e){super(e)}static create(e){return new C(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(A)),!0)}};function A(e){return((0,k.isAnimatedString)(e)?E:w).create(e)}var T=n(6901);function M(e){let t=m(e);return t?t.constructor:T.is.arr(e)?C:(0,T.isAnimatedString)(e)?E:w}var P=n(6901),N=(i=null!=(r=n(2784))?o(u(r)):{},f(r&&r.__esModule?i:a(i,"default",{value:r,enumerable:!0}),r)),R=n(2784),D=n(6901),L=(e,t)=>{let n=!D.is.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,R.forwardRef)((r,i)=>{var o;let a;let s=(0,R.useRef)(null),l=n&&(0,R.useCallback)(e=>{var t;s.current=((t=i)&&(D.is.fun(t)?t(e):t.current=e),e)},[i]),[u,c]=(o=r,a=new Set,S.dependencies=a,o.style&&(o={...o,style:t.createAnimatedStyle(o.style)}),o=new O(o),S.dependencies=null,[o,a]),f=(0,D.useForceUpdate)(),d=()=>{let e=s.current;(!n||e)&&(!!e&&t.applyAnimatedValues(e,u.getValue(!0)))===!1&&f()},h=new F(d,c),p=(0,R.useRef)();(0,D.useIsomorphicLayoutEffect)(()=>(p.current=h,(0,D.each)(c,e=>(0,D.addFluidObserver)(e,h)),()=>{p.current&&((0,D.each)(p.current.deps,e=>(0,D.removeFluidObserver)(e,p.current)),D.raf.cancel(p.current.update))})),(0,R.useEffect)(d,[]),(0,D.useOnce)(()=>()=>{let e=p.current;(0,D.each)(e.deps,t=>(0,D.removeFluidObserver)(t,e))});let v=t.getComponentProps(u.getValue());return N.createElement(e,{...v,ref:l})})},F=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&D.raf.write(this.update)}},I=Symbol.for("AnimatedComponent"),z=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new O(e),getComponentProps:r=e=>e}={})=>{let i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{let t=V(e)||"Anonymous";return(e=P.is.str(e)?o[e]||(o[e]=L(e,i)):e[I]||(e[I]=L(e,i))).displayName=`Animated(${t})`,e};return(0,P.eachProp)(e,(t,n)=>{P.is.arr(e)&&(n=V(t)),o[n]=o(t)}),{animated:o}},V=e=>P.is.str(e)?e:e&&P.is.str(e.displayName)?e.displayName:P.is.fun(e)&&e.name||null},22360:function(e,t,n){"use strict";var r,i,o,a=Object.create,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of u(t))f.call(e,i)||i===n||s(e,i,{get:()=>t[i],enumerable:!(r=l(t,i))||r.enumerable});return e},h=(e,t,n)=>(n=null!=e?a(c(e)):{},d(!t&&e&&e.__esModule?n:s(n,"default",{value:e,enumerable:!0}),e)),p={};((e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})})(p,{BailSignal:()=>J,Controller:()=>eE,FrameValue:()=>eo,Globals:()=>tu.Globals,Interpolation:()=>tr,Spring:()=>e6,SpringContext:()=>eR,SpringRef:()=>eF,SpringValue:()=>ed,Trail:()=>e7,Transition:()=>e9,config:()=>I,createInterpolator:()=>tf.createInterpolator,easings:()=>tf.easings,inferTo:()=>j,interpolate:()=>tl,to:()=>ts,update:()=>tc,useChain:()=>M,useInView:()=>e5,useIsomorphicLayoutEffect:()=>tf.useIsomorphicLayoutEffect,useReducedMotion:()=>tf.useReducedMotion,useResize:()=>e1,useScroll:()=>eJ,useSpring:()=>ez,useSpringRef:()=>eZ,useSpringValue:()=>eH,useSprings:()=>eI,useTrail:()=>eq,useTransition:()=>eK}),e.exports=d(s({},"__esModule",{value:!0}),p);var v=n(6901),m=n(6901);function g(e,...t){return m.is.fun(e)?e(...t):e}var y=(e,t)=>!0===e||!!(t&&e&&(m.is.fun(e)?e(t):(0,m.toArray)(e).includes(t))),b=(e,t)=>m.is.obj(e)?t&&e[t]:e,x=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,w=e=>e,_=(e,t=w)=>{let n=E;e.default&&!0!==e.default&&(n=Object.keys(e=e.default));let r={};for(let i of n){let o=t(e[i],i);m.is.und(o)||(r[i]=o)}return r},E=["config","onProps","onStart","onChange","onPause","onResume","onRest"],k={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function j(e){let t=function(e){let t={},n=0;if((0,m.eachProp)(e,(e,r)=>{k[r]||(t[r]=e,n++)}),n)return t}(e);if(t){let n={to:t};return(0,m.eachProp)(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function S(e){return e=(0,m.getFluidValue)(e),m.is.arr(e)?e.map(S):(0,m.isAnimatedString)(e)?m.Globals.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function O(e){for(let t in e)return!0;return!1}function C(e){return m.is.fun(e)||m.is.arr(e)&&m.is.obj(e[0])}function A(e,t){e.ref?.delete(e),t?.delete(e)}function T(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}function M(e,t,n=1e3){(0,v.useIsomorphicLayoutEffect)(()=>{if(t){let r=0;(0,v.each)(e,(e,i)=>{let o=e.current;if(o.length){let a=n*t[i];isNaN(a)?a=r:r=a,(0,v.each)(o,e=>{(0,v.each)(e.queue,e=>{let t=e.delay;e.delay=e=>a+g(t||0,e)})}),e.start()}})}else{let i=Promise.resolve();(0,v.each)(e,e=>{let t=e.current;if(t.length){let n=t.map(e=>{let t=e.queue;return e.queue=[],t});i=i.then(()=>((0,v.each)(t,(e,t)=>(0,v.each)(n[t]||[],t=>e.queue.push(t))),Promise.all(e.start())))}})}})}var P=n(6901),N=n(2784),R=n(6901),D=n(6901),L=n(25447),F=n(6901),I={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},z={...I.default,mass:1,damping:1,easing:F.easings.linear,clamp:!1},V=class{constructor(){this.velocity=0,Object.assign(this,z)}};function B(e,t){if(F.is.und(t.decay)){let n=!F.is.und(t.tension)||!F.is.und(t.friction);!n&&F.is.und(t.frequency)&&F.is.und(t.damping)&&F.is.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var Z=[],U=class{constructor(){this.changed=!1,this.values=Z,this.toValues=null,this.fromValues=Z,this.config=new V,this.immediate=!1}},H=n(6901);function W(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((a,s)=>{let l,u,c=y(n.cancel??r?.cancel,t);if(c)p();else{H.is.und(n.pause)||(i.paused=y(n.pause,t));let f=r?.pause;!0!==f&&(f=i.paused||y(f,t)),l=g(n.delay||0,t),f?(i.resumeQueue.add(h),o.pause()):(o.resume(),h())}function d(){i.resumeQueue.add(h),i.timeouts.delete(u),u.cancel(),l=u.time-H.raf.now()}function h(){l>0&&!H.Globals.skipAnimation?(i.delayed=!0,u=H.raf.setTimeout(p,l),i.pauseQueue.add(d),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(u),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},a)}catch(t){s(t)}}})}var q=n(6901),$=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?K(e.get()):t.every(e=>e.noop)?Y(e.get()):G(e.get(),t.every(e=>e.finished)),Y=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),G=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),K=e=>({value:e,cancelled:!0,finished:!1});function X(e,t,n,r){let{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;let u=_(t,(e,t)=>"onRest"===t?void 0:e),c,f,d=new Promise((e,t)=>(c=e,f=t)),h=e=>{let t=i<=(n.cancelId||0)&&K(r)||i!==n.asyncId&&G(r,!1);if(t)throw e.result=t,f(e),e},p=(e,t)=>{let o=new J,a=new ee;return(async()=>{if(q.Globals.skipAnimation)throw Q(n),a.result=G(r,!1),f(a),a;h(o);let s=q.is.obj(e)?{...e}:{...t,to:e};s.parentId=i,(0,q.eachProp)(u,(e,t)=>{q.is.und(s[t])&&(s[t]=e)});let l=await r.start(s);return h(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),l})()},v;if(q.Globals.skipAnimation)return Q(n),G(r,!1);try{await Promise.all([(q.is.arr(e)?(async e=>{for(let t of e)await p(t)})(e):Promise.resolve(e(p,r.stop.bind(r)))).then(c),d]),v=G(r.get(),!0,!1)}catch(m){if(m instanceof J)v=m.result;else if(m instanceof ee)v=m.result;else throw m}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return q.is.fun(a)&&q.raf.batchedUpdates(()=>{a(v,r,r.item)}),v})():l}function Q(e,t){(0,q.flush)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var J=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},ee=class extends Error{constructor(){super("SkipAnimationSignal")}},et=n(6901),en=n(25447),er=e=>e instanceof eo,ei=1,eo=class extends et.FluidValue{constructor(){super(...arguments),this.id=ei++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=(0,en.getAnimated)(this);return e&&e.getValue()}to(...e){return et.Globals.to(this,e)}interpolate(...e){return(0,et.deprecateInterpolate)(),et.Globals.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){(0,et.callFluidObservers)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||et.frameLoop.sort(this),(0,et.callFluidObservers)(this,{type:"priority",parent:this,priority:e})}},ea=Symbol.for("SpringPhase"),es=e=>(1&e[ea])>0,el=e=>(2&e[ea])>0,eu=e=>(4&e[ea])>0,ec=(e,t)=>t?e[ea]|=3:e[ea]&=-3,ef=(e,t)=>t?e[ea]|=4:e[ea]&=-5,ed=class extends eo{constructor(e,t){if(super(),this.animation=new U,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!D.is.und(e)||!D.is.und(t)){let n=D.is.obj(e)?{...e}:{...t,from:e};D.is.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(el(this)||this._state.asyncTo)||eu(this)}get goal(){return(0,D.getFluidValue)(this.animation.to)}get velocity(){let e=(0,L.getAnimated)(this);return e instanceof L.AnimatedValue?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return es(this)}get isAnimating(){return el(this)}get isPaused(){return eu(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,r=this.animation,{toValues:i}=r,{config:o}=r,a=(0,L.getPayload)(r.to);!a&&(0,D.hasFluidValue)(r.to)&&(i=(0,D.toArray)((0,D.getFluidValue)(r.to))),r.values.forEach((s,l)=>{if(s.done)return;let u=s.constructor==L.AnimatedString?1:a?a[l].lastPosition:i[l],c=r.immediate,f=u;if(!c){if(f=s.lastPosition,o.tension<=0){s.done=!0;return}let d=s.elapsedTime+=e,h=r.fromValues[l],p=null!=s.v0?s.v0:s.v0=D.is.arr(o.velocity)?o.velocity[l]:o.velocity,v,m=o.precision||(h==u?.005:Math.min(1,.001*Math.abs(u-h)));if(D.is.und(o.duration)){if(o.decay){let g=!0===o.decay?.998:o.decay,y=Math.exp(-(1-g)*d);f=h+p/(1-g)*(1-y),c=Math.abs(s.lastPosition-f)<=m,v=p*y}else{v=null==s.lastVelocity?p:s.lastVelocity;let b=o.restVelocity||m/10,x=o.clamp?0:o.bounce,w=!D.is.und(x),_=h==u?s.v0>0:hb)&&(c=Math.abs(u-f)<=m));++k){w&&(f==u||f>u==_)&&(v=-v*x,f=u);let j=(-(1e-6*o.tension)*(f-u)+-(.001*o.friction)*v)/o.mass;v+=1*j,f+=1*v}}}else{let S=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,d=s.elapsedTime+=e)),S=(S=(o.progress||0)+d/this._memoizedDuration)>1?1:S<0?0:S,s.durationProgress=S),v=((f=h+o.easing(S)*(u-h))-s.lastPosition)/e,c=1==S}s.lastVelocity=v,Number.isNaN(f)&&(console.warn("Got NaN while animating:",this),c=!0)}a&&!a[l].done&&(c=!1),c?s.done=!0:t=!1,s.setValue(f,o.round)&&(n=!0)});let s=(0,L.getAnimated)(this),l=s.getValue();if(t){let u=(0,D.getFluidValue)(r.to);(l!==u||n)&&!o.decay?(s.setValue(u),this._onChange(u)):n&&o.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return D.raf.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(el(this)){let{to:e,config:t}=this.animation;D.raf.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return D.is.und(e)?(n=this.queue||[],this.queue=[]):n=[D.is.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>$(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),Q(this._state,e&&this._lastCallId),D.raf.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:r}=e;(null==(n=D.is.obj(n)?n[t]:n)||C(n))&&(n=void 0),null==(r=D.is.obj(r)?r[t]:r)&&(r=void 0);let i={to:n,from:r};return es(this)||(e.reverse&&([n,r]=[r,n]),r=(0,D.getFluidValue)(r),D.is.und(r)?(0,L.getAnimated)(this)||this._set(n):this._set(r)),i}_update({...e},t){let{key:n,defaultProps:r}=this;e.default&&Object.assign(r,_(e,(e,t)=>/^on/.test(t)?b(e,n):e)),ey(this,e,"onProps"),eb(this,"onProps",e,this);let i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let o=this._state;return W(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{eu(this)||(ef(this,!0),(0,D.flushCalls)(o.pauseQueue),eb(this,"onPause",G(this,eh(this,this.animation.to)),this))},resume:()=>{eu(this)&&(ef(this,!1),el(this)&&this._resume(),(0,D.flushCalls)(o.resumeQueue),eb(this,"onResume",G(this,eh(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&!(t&&n.noop)){let r=ep(e);if(r)return this._update(r,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(K(this));let r=!D.is.und(e.to),i=!D.is.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(K(this));this._lastToId=t.callId}let{key:o,defaultProps:a,animation:s}=this,{to:l,from:u}=s,{to:c=l,from:f=u}=e;i&&!r&&(!t.default||D.is.und(c))&&(c=f),t.reverse&&([c,f]=[f,c]);let d=!(0,D.isEqual)(f,u);d&&(s.from=f),f=(0,D.getFluidValue)(f);let h=!(0,D.isEqual)(c,l);h&&this._focus(c);let p=C(t.to),{config:v}=s,{decay:m,velocity:b}=v;(r||i)&&(v.velocity=0),t.config&&!p&&function(e,t,n){for(let r in n&&(B(n={...n},t),t={...n,...t}),B(e,t),Object.assign(e,t),z)null==e[r]&&(e[r]=z[r]);let{frequency:i,damping:o}=e,{mass:a}=e;F.is.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*a,e.friction=4*Math.PI*o*a/i)}(v,g(t.config,o),t.config!==a.config?g(a.config,o):void 0);let x=(0,L.getAnimated)(this);if(!x||D.is.und(c))return n(G(this,!0));let w=D.is.und(t.reset)?i&&!t.default:!D.is.und(f)&&y(t.reset,o),_=w?f:this.get(),E=S(c),k=D.is.num(E)||D.is.arr(E)||(0,D.isAnimatedString)(E),j=!p&&(!k||y(a.immediate||t.immediate,o));if(h){let O=(0,L.getAnimatedType)(c);if(O!==x.constructor){if(j)x=this._set(E);else throw Error(`Cannot animate between ${x.constructor.name} and ${O.name}, as the "to" prop suggests`)}}let A=x.constructor,T=(0,D.hasFluidValue)(c),M=!1;if(!T){let P=w||!es(this)&&d;(h||P)&&(T=!(M=(0,D.isEqual)(S(_),E))),((0,D.isEqual)(s.immediate,j)||j)&&(0,D.isEqual)(v.decay,m)&&(0,D.isEqual)(v.velocity,b)||(T=!0)}if(M&&el(this)&&(s.changed&&!w?T=!0:T||this._stop(l)),!p&&((T||(0,D.hasFluidValue)(l))&&(s.values=x.getPayload(),s.toValues=(0,D.hasFluidValue)(c)?null:A==L.AnimatedString?[1]:(0,D.toArray)(E)),s.immediate==j||(s.immediate=j,j||w||this._set(l)),T)){let{onRest:N}=s;(0,D.each)(eg,e=>ey(this,t,e));let R=G(this,eh(this,l));(0,D.flushCalls)(this._pendingCalls,R),this._pendingCalls.add(n),s.changed&&D.raf.batchedUpdates(()=>{s.changed=!w,N?.(R,this),w?g(a.onRest,R):s.onStart?.(R,this)})}w&&this._set(_),p?n(X(t.to,t,this._state,this)):T?this._start():el(this)&&!h?this._pendingCalls.add(n):n(Y(_))}_focus(e){let t=this.animation;e!==t.to&&((0,D.getFluidObservers)(this)&&this._detach(),t.to=e,(0,D.getFluidObservers)(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;(0,D.hasFluidValue)(t)&&((0,D.addFluidObserver)(t,this),er(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;(0,D.hasFluidValue)(e)&&(0,D.removeFluidObserver)(e,this)}_set(e,t=!0){let n=(0,D.getFluidValue)(e);if(!D.is.und(n)){let r=(0,L.getAnimated)(this);if(!r||!(0,D.isEqual)(n,r.getValue())){let i=(0,L.getAnimatedType)(n);r&&r.constructor==i?r.setValue(n):(0,L.setAnimated)(this,i.create(n)),r&&D.raf.batchedUpdates(()=>{this._onChange(n,t)})}}return(0,L.getAnimated)(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,eb(this,"onStart",G(this,eh(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),g(this.animation.onChange,e,this)),g(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;(0,L.getAnimated)(this).reset((0,D.getFluidValue)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),el(this)||(ec(this,!0),eu(this)||this._resume())}_resume(){D.Globals.skipAnimation?this.finish():D.frameLoop.start(this)}_stop(e,t){if(el(this)){ec(this,!1);let n=this.animation;(0,D.each)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),(0,D.callFluidObservers)(this,{type:"idle",parent:this});let r=t?K(this.get()):G(this.get(),eh(this,e??n.to));(0,D.flushCalls)(this._pendingCalls,r),n.changed&&(n.changed=!1,eb(this,"onRest",r,this))}}};function eh(e,t){let n=S(t),r=S(e.get());return(0,D.isEqual)(r,n)}function ep(e,t=e.loop,n=e.to){let r=g(t);if(r){let i=!0!==r&&j(r),o=(i||e).reverse,a=!i||i.reset;return ev({...e,loop:t,default:!1,pause:void 0,to:!o||C(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function ev(e){let{to:t,from:n}=e=j(e),r=new Set;return D.is.obj(t)&&em(t,r),D.is.obj(n)&&em(n,r),e.keys=r.size?Array.from(r):null,e}function em(e,t){(0,D.eachProp)(e,(e,n)=>null!=e&&t.add(n))}var eg=["onStart","onRest","onChange","onPause","onResume"];function ey(e,t,n){e.animation[n]=t[n]!==x(t,n)?b(t[n],e.key):void 0}function eb(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var ex=n(6901),ew=["onStart","onChange","onRest"],e_=1,eE=class{constructor(e,t){this.id=e_++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(let t in e){let n=e[t];ex.is.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(ev(e)),this}start(e){let{queue:t}=this;return e?t=(0,ex.toArray)(e).map(ev):this.queue=[],this._flush?this._flush(this,t):(eT(this,t),ek(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let n=this.springs;(0,ex.each)((0,ex.toArray)(t),t=>n[t].stop(!!e))}else Q(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(ex.is.und(e))this.start({pause:!0});else{let t=this.springs;(0,ex.each)((0,ex.toArray)(e),e=>t[e].pause())}return this}resume(e){if(ex.is.und(e))this.start({pause:!1});else{let t=this.springs;(0,ex.each)((0,ex.toArray)(e),e=>t[e].resume())}return this}each(e){(0,ex.eachProp)(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,(0,ex.flush)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&(0,ex.flush)(t,([e,t])=>{t.value=a,e(t,this,this._item)}),o&&(this._started=!1,(0,ex.flush)(n,([e,t])=>{t.value=a,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}ex.raf.onFrame(this._onFrame)}};function ek(e,t){return Promise.all(t.map(t=>ej(e,t))).then(t=>$(e,t))}async function ej(e,t,n){let{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,u=ex.is.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);let c=ex.is.arr(i)||ex.is.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):(0,ex.each)(ew,n=>{let r=t[n];if(ex.is.fun(r)){let i=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}});let f=e._state;!f.paused===t.pause?(f.paused=t.pause,(0,ex.flushCalls)(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let d=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),h=!0===t.cancel||!0===x(t,"cancel");(c||h&&f.asyncId)&&d.push(W(++e._lastAsyncId,{props:t,state:f,actions:{pause:ex.noop,resume:ex.noop,start(t,n){h?(Q(f,e._lastAsyncId),n(K(e))):(t.onRest=s,n(X(c,t,f,e)))}}})),f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});let p=$(e,await Promise.all(d));if(a&&p.finished&&!(n&&p.noop)){let v=ep(t,a,i);if(v)return eT(e,[v]),ej(e,v,!0)}return l&&ex.raf.batchedUpdates(()=>l(p,e,e.item)),p}function eS(e,t){let n={...e.springs};return t&&(0,ex.each)((0,ex.toArray)(t),e=>{ex.is.und(e.keys)&&(e=ev(e)),ex.is.obj(e.to)||(e={...e,to:void 0}),eA(n,e,e=>eC(e))}),eO(e,n),n}function eO(e,t){(0,ex.eachProp)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,(0,ex.addFluidObserver)(t,e))})}function eC(e,t){let n=new ed;return n.key=e,t&&(0,ex.addFluidObserver)(n,t),n}function eA(e,t,n){t.keys&&(0,ex.each)(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function eT(e,t){(0,ex.each)(t,t=>{eA(e.springs,t,t=>eC(t,e))})}var eM=h(n(2784)),eP=n(2784),eN=n(6901),eR=({children:e,...t})=>{let n=(0,eP.useContext)(eD),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=(0,eN.useMemoOne)(()=>({pause:r,immediate:i}),[r,i]);let{Provider:o}=eD;return eM.createElement(o,{value:t},e)},eD=(Object.assign(r=eR,eM.createContext({})),r.Provider._context=r,r.Consumer._context=r,r);eR.Provider=eD.Provider,eR.Consumer=eD.Consumer;var eL=n(6901),eF=()=>{let e=[],t=function(t){(0,eL.deprecateDirectCall)();let r=[];return(0,eL.each)(e,(e,i)=>{if(eL.is.und(t))r.push(e.start());else{let o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return(0,eL.each)(e,e=>e.pause(...arguments)),this},t.resume=function(){return(0,eL.each)(e,e=>e.resume(...arguments)),this},t.set=function(t){(0,eL.each)(e,(e,n)=>{let r=eL.is.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){let n=[];return(0,eL.each)(e,(e,r)=>{if(eL.is.und(t))n.push(e.start());else{let i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return(0,eL.each)(e,e=>e.stop(...arguments)),this},t.update=function(t){return(0,eL.each)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};let n=function(e,t,n){return eL.is.fun(e)?e(n,t):e};return t._getProps=n,t};function eI(e,t,n){let r=R.is.fun(t)&&t;r&&!n&&(n=[]);let i=(0,N.useMemo)(()=>r||3==arguments.length?eF():void 0,[]),o=(0,N.useRef)(0),a=(0,R.useForceUpdate)(),s=(0,N.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let n=eS(e,t);return!(o.current>0)||s.queue.length||Object.keys(n).some(t=>!e.springs[t])?new Promise(r=>{eO(e,n),s.queue.push(()=>{r(ek(e,t))}),a()}):ek(e,t)}}),[]),l=(0,N.useRef)([...s.ctrls]),u=[],c=(0,R.usePrev)(e)||0;function f(e,n){for(let i=e;i{(0,R.each)(l.current.slice(e,c),e=>{A(e,i),e.stop(!0)}),l.current.length=e,f(c,e)},[e]),(0,N.useMemo)(()=>{f(0,Math.min(c,e))},n);let d=l.current.map((e,t)=>eS(e,u[t])),h=(0,N.useContext)(eR),p=(0,R.usePrev)(h),v=h!==p&&O(h);(0,R.useIsomorphicLayoutEffect)(()=>{o.current++,s.ctrls=l.current;let{queue:e}=s;e.length&&(s.queue=[],(0,R.each)(e,e=>e())),(0,R.each)(l.current,(e,t)=>{i?.add(e),v&&e.start({default:h});let n=u[t];n&&(T(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),(0,R.useOnce)(()=>()=>{(0,R.each)(s.ctrls,e=>e.stop(!0))});let m=d.map(e=>({...e}));return i?[m,i]:m}function ez(e,t){let n=P.is.fun(e),[[r],i]=eI(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}var eV=n(2784),eB=()=>eF(),eZ=()=>(0,eV.useState)(eB)[0],eU=n(6901),eH=(e,t)=>{let n=(0,eU.useConstant)(()=>new ed(e,t));return(0,eU.useOnce)(()=>()=>{n.stop()}),n},eW=n(6901);function eq(e,t,n){let r=eW.is.fun(t)&&t;r&&!n&&(n=[]);let i=!0,o,a=eI(e,(e,n)=>{let a=r?r(e,n):t;return o=a.ref,i=i&&a.reverse,a},n||[{}]);if((0,eW.useIsomorphicLayoutEffect)(()=>{(0,eW.each)(a[1].current,(e,t)=>{let n=a[1].current[t+(i?1:-1)];if(T(e,o),e.ref){n&&e.update({to:n.springs});return}n?e.start({to:n.springs}):e.start()})},n),r||3==arguments.length){let s=o??a[1];return s._getProps=(e,t,n)=>{let r=eW.is.fun(e)?e(n,t):e;if(r){let i=s.current[n+(r.reverse?1:-1)];return i&&(r.to=i.springs),r}},a}return a[0]}var e$=h(n(2784)),eY=n(2784),eG=n(6901);function eK(e,t,n){let r=eG.is.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:c,config:f}=r?r():t,d=(0,eY.useMemo)(()=>r||3==arguments.length?eF():void 0,[]),h=(0,eG.toArray)(e),p=[],v=(0,eY.useRef)(null),m=i?null:v.current;(0,eG.useIsomorphicLayoutEffect)(()=>{v.current=p}),(0,eG.useOnce)(()=>((0,eG.each)(p,e=>{d?.add(e.ctrl),e.ctrl.ref=d}),()=>{(0,eG.each)(v.current,e=>{e.expired&&clearTimeout(e.expirationId),A(e.ctrl,d),e.ctrl.stop(!0)})}));let y=function(e,{key:t,keys:n=t},r){if(null===n){let i=new Set;return e.map(e=>{let t=r&&r.find(t=>t.item===e&&"leave"!==t.phase&&!i.has(t));return t?(i.add(t),t.key):eX++})}return eG.is.und(n)?e:eG.is.fun(n)?e.map(n):(0,eG.toArray)(n)}(h,r?r():t,m),b=i&&v.current||[];(0,eG.useIsomorphicLayoutEffect)(()=>(0,eG.each)(b,({ctrl:e,item:t,key:n})=>{A(e,d),g(u,t,n)}));let x=[];if(m&&(0,eG.each)(m,(e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=x[t]=y.indexOf(e.key))&&(p[t]=e)}),(0,eG.each)(h,(e,t)=>{p[t]||(p[t]={key:y[t],item:e,phase:"mount",ctrl:new eE},p[t].ctrl.item=e)}),x.length){let w=-1,{leave:E}=r?r():t;(0,eG.each)(x,(e,t)=>{let n=m[t];~e?(w=p.indexOf(n),p[w]={...n,item:h[e]}):E&&p.splice(++w,0,n)})}eG.is.fun(o)&&p.sort((e,t)=>o(e.item,t.item));let k=-a,S=(0,eG.useForceUpdate)(),C=_(t),M=new Map,P=(0,eY.useRef)(new Map),N=(0,eY.useRef)(!1);(0,eG.each)(p,(e,n)=>{let i=e.key,o=e.phase,u=r?r():t,d,h,p=g(u.delay||0,i);if("mount"==o)d=u.enter,h="enter";else{let b=0>y.indexOf(i);if("leave"!=o){if(b)d=u.leave,h="leave";else{if(!(d=u.update))return;h="update"}}else{if(b)return;d=u.enter,h="enter"}}if(d=g(d,e.item,n),!(d=eG.is.obj(d)?j(d):{to:d}).config){let x=f||C.config;d.config=g(x,e.item,n,h)}k+=a;let w={...C,delay:p+k,ref:c,immediate:u.immediate,reset:!1,...d};if("enter"==h&&eG.is.und(w.from)){let _=r?r():t,E=eG.is.und(_.initial)||m?_.from:_.initial;w.from=g(E,e.item,n)}let{onResolve:O}=w;w.onResolve=e=>{g(O,e);let t=v.current,n=t.find(e=>e.key===i);if(n&&!(e.cancelled&&"update"!=n.phase)&&n.ctrl.idle){let r=t.every(e=>e.ctrl.idle);if("leave"==n.phase){let o=g(s,n.item);if(!1!==o){let a=!0===o?0:o;if(n.expired=!0,!r&&a>0){a<=2147483647&&(n.expirationId=setTimeout(S,a));return}}}r&&t.some(e=>e.expired)&&(P.current.delete(n),l&&(N.current=!0),S())}};let A=eS(e.ctrl,w);"leave"===h&&l?P.current.set(e,{phase:h,springs:A,payload:w}):M.set(e,{phase:h,springs:A,payload:w})});let R=(0,eY.useContext)(eR),D=(0,eG.usePrev)(R),L=R!==D&&O(R);(0,eG.useIsomorphicLayoutEffect)(()=>{L&&(0,eG.each)(p,e=>{e.ctrl.start({default:R})})},[R]),(0,eG.each)(M,(e,t)=>{if(P.current.size){let n=p.findIndex(e=>e.key===t.key);p.splice(n,1)}}),(0,eG.useIsomorphicLayoutEffect)(()=>{(0,eG.each)(P.current.size?P.current:M,({phase:e,payload:t},n)=>{let{ctrl:r}=n;n.phase=e,d?.add(r),L&&"enter"==e&&r.start({default:R}),t&&(T(r,t.ref),(r.ref||d)&&!N.current?r.update(t):(r.start(t),N.current&&(N.current=!1)))})},i?void 0:n);let F=e=>e$.createElement(e$.Fragment,null,p.map((t,n)=>{let{springs:r}=M.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?e$.createElement(i.type,{...i.props,key:eG.is.str(t.key)||eG.is.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i}));return d?[F,d]:F}var eX=1,eQ=n(6901),eJ=({container:e,...t}={})=>{let[n,r]=ez(()=>({scrollX:0,scrollY:0,scrollXProgress:0,scrollYProgress:0,...t}),[]);return(0,eQ.useIsomorphicLayoutEffect)(()=>{let t=(0,eQ.onScroll)(({x:e,y:t})=>{r.start({scrollX:e.current,scrollXProgress:e.progress,scrollY:t.current,scrollYProgress:t.progress})},{container:e?.current||void 0});return()=>{(0,eQ.each)(Object.values(n),e=>e.stop()),t()}},[]),n},e0=n(6901),e1=({container:e,...t})=>{let[n,r]=ez(()=>({width:0,height:0,...t}),[]);return(0,e0.useIsomorphicLayoutEffect)(()=>{let t=(0,e0.onResize)(({width:e,height:t})=>{r.start({width:e,height:t,immediate:0===n.width.get()||0===n.height.get()})},{container:e?.current||void 0});return()=>{(0,e0.each)(Object.values(n),e=>e.stop()),t()}},[]),n},e2=n(2784),e4=n(6901),e3={any:0,all:1};function e5(e,t){let[n,r]=(0,e2.useState)(!1),i=(0,e2.useRef)(),o=e4.is.fun(e)&&e,{to:a={},from:s={},...l}=o?o():{},u=o?t:e,[c,f]=ez(()=>({from:s,...l}),[]);return(0,e4.useIsomorphicLayoutEffect)(()=>{let e=i.current,{root:t,once:o,amount:l="any",...c}=u??{};if(!e||o&&n||typeof IntersectionObserver>"u")return;let d=new WeakMap,h=()=>(a&&f.start(a),r(!0),o?void 0:()=>{s&&f.start(s),r(!1)}),p=e=>{e.forEach(e=>{let t=d.get(e.target);if(!!t!==e.isIntersecting){if(e.isIntersecting){let n=h();e4.is.fun(n)?d.set(e.target,n):v.unobserve(e.target)}else t&&(t(),d.delete(e.target))}})},v=new IntersectionObserver(p,{root:t&&t.current||void 0,threshold:"number"==typeof l||Array.isArray(l)?l:e3[l],...c});return v.observe(e),()=>v.unobserve(e)},[u]),o?[i,c]:[i,n]}function e6({children:e,...t}){return e(ez(t))}var e8=n(6901);function e7({items:e,children:t,...n}){let r=eq(e.length,n);return e.map((e,n)=>{let i=t(e,n);return e8.is.fun(i)?i(r[n]):i})}function e9({items:e,children:t,...n}){return eK(e,n)(t)}var te=n(6901),tt=n(6901),tn=n(25447),tr=class extends eo{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=(0,tt.createInterpolator)(...t);let n=this._get(),r=(0,tn.getAnimatedType)(n);(0,tn.setAnimated)(this,r.create(n))}advance(e){let t=this._get(),n=this.get();(0,tt.isEqual)(t,n)||((0,tn.getAnimated)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&to(this._active)&&ta(this)}_get(){let e=tt.is.arr(this.source)?this.source.map(tt.getFluidValue):(0,tt.toArray)((0,tt.getFluidValue)(this.source));return this.calc(...e)}_start(){this.idle&&!to(this._active)&&(this.idle=!1,(0,tt.each)((0,tn.getPayload)(this),e=>{e.done=!1}),tt.Globals.skipAnimation?(tt.raf.batchedUpdates(()=>this.advance()),ta(this)):tt.frameLoop.start(this))}_attach(){let e=1;(0,tt.each)((0,tt.toArray)(this.source),t=>{(0,tt.hasFluidValue)(t)&&(0,tt.addFluidObserver)(t,this),er(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){(0,tt.each)((0,tt.toArray)(this.source),e=>{(0,tt.hasFluidValue)(e)&&(0,tt.removeFluidObserver)(e,this)}),this._active.clear(),ta(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=(0,tt.toArray)(this.source).reduce((e,t)=>Math.max(e,(er(t)?t.priority:0)+1),0))}};function ti(e){return!1!==e.idle}function to(e){return!e.size||Array.from(e).every(ti)}function ta(e){e.idle||(e.idle=!0,(0,tt.each)((0,tn.getPayload)(e),e=>{e.done=!0}),(0,tt.callFluidObservers)(e,{type:"idle",parent:e}))}var ts=(e,...t)=>new tr(e,t),tl=(e,...t)=>((0,te.deprecateInterpolate)(),new tr(e,t)),tu=n(6901);tu.Globals.assign({createStringInterpolator:tu.createStringInterpolator,to:(e,t)=>new tr(e,t)});var tc=tu.frameLoop.advance,tf=n(6901);i=n(8669),o=e.exports,d(p,i,"default"),o&&d(o,i,"default")},78476:function(e,t,n){"use strict";var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l={};s(l,{FluidValue:()=>eM,Globals:()=>u,addFluidObserver:()=>eN,callFluidObserver:()=>eA,callFluidObservers:()=>eT,clamp:()=>J,colorToRgba:()=>ey,colors:()=>ee,createInterpolator:()=>eb,createStringInterpolator:()=>eW,defineHidden:()=>A,deprecateDirectCall:()=>eX,deprecateInterpolate:()=>eG,each:()=>P,eachProp:()=>N,easings:()=>eE,flush:()=>D,flushCalls:()=>I,frameLoop:()=>Y,getFluidObservers:()=>eC,getFluidValue:()=>eO,hasFluidValue:()=>eS,hex3:()=>el,hex4:()=>eu,hex6:()=>ec,hex8:()=>ef,hsl:()=>ea,hsla:()=>es,is:()=>T,isAnimatedString:()=>eQ,isEqual:()=>M,isSSR:()=>z,noop:()=>C,onResize:()=>e6,onScroll:()=>ti,once:()=>e$,prefix:()=>eq,raf:()=>f,removeFluidObserver:()=>eR,rgb:()=>ei,rgba:()=>eo,setFluidGetter:()=>eP,toArray:()=>R,useConstant:()=>ta,useForceUpdate:()=>td,useIsomorphicLayoutEffect:()=>tc,useMemoOne:()=>tp,useOnce:()=>tm,usePrev:()=>tb,useReducedMotion:()=>tw}),e.exports=((e,t,n,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))a.call(e,l)||void 0===l||r(e,l,{get:()=>t[l],enumerable:!(s=i(t,l))||s.enumerable});return e})(r({},"__esModule",{value:!0}),l);var u={};s(u,{assign:()=>U,colors:()=>V,createStringInterpolator:()=>L,skipAnimation:()=>B,to:()=>F,willAdvance:()=>Z});var c=S(),f=e=>_(e,c),d=S();f.write=e=>_(e,d);var h=S();f.onStart=e=>_(e,h);var p=S();f.onFrame=e=>_(e,p);var v=S();f.onFinish=e=>_(e,v);var m=[];f.setTimeout=(e,t)=>{let n=f.now()+t,r=()=>{let e=m.findIndex(e=>e.cancel==r);~e&&m.splice(e,1),x-=~e?1:0},i={time:n,handler:e,cancel:r};return m.splice(g(n),0,i),x+=1,E(),i};var g=e=>~(~m.findIndex(t=>t.time>e)||~m.length);f.cancel=e=>{h.delete(e),p.delete(e),v.delete(e),c.delete(e),d.delete(e)},f.sync=e=>{w=!0,f.batchedUpdates(e),w=!1},f.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,f.onStart(n)}return r.handler=e,r.cancel=()=>{h.delete(n),t=null},r};var y="u">typeof window?window.requestAnimationFrame:()=>{};f.use=e=>y=e,f.now="u">typeof performance?()=>performance.now():Date.now,f.batchedUpdates=e=>e(),f.catch=console.error,f.frameLoop="always",f.advance=()=>{"demand"!==f.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):j()};var b=-1,x=0,w=!1;function _(e,t){w?(t.delete(e),e(0)):(t.add(e),E())}function E(){b<0&&(b=0,"demand"!==f.frameLoop&&y(k))}function k(){~b&&(y(k),f.batchedUpdates(j))}function j(){let e=b;b=f.now();let t=g(b);if(t&&(O(m.splice(0,t),e=>e.handler()),x-=t),!x){b=-1;return}h.flush(),c.flush(e?Math.min(64,b-e):16.667),p.flush(),d.flush(),v.flush()}function S(){let e=new Set,t=e;return{add(n){x+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(x-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,x-=t.size,O(t,t=>t(n)&&e.add(t)),x+=e.size,t=e)}}}function O(e,t){e.forEach(e=>{try{t(e)}catch(n){f.catch(n)}})}function C(){}var A=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),T={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function M(e,t){if(T.arr(e)){if(!T.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function N(e,t,n){if(T.arr(e)){for(let r=0;rT.und(e)?[]:T.arr(e)?e:[e];function D(e,t){if(e.size){let n=Array.from(e);e.clear(),P(n,t)}}var L,F,I=(e,...t)=>D(e,e=>e(...t)),z=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),V=null,B=!1,Z=C,U=e=>{e.to&&(F=e.to),e.now&&(f.now=e.now),void 0!==e.colors&&(V=e.colors),null!=e.skipAnimation&&(B=e.skipAnimation),e.createStringInterpolator&&(L=e.createStringInterpolator),e.requestAnimationFrame&&f.use(e.requestAnimationFrame),e.batchedUpdates&&(f.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Z=e.willAdvance),e.frameLoop&&(f.frameLoop=e.frameLoop)},H=new Set,W=[],q=[],$=0,Y={get idle(){return!H.size&&!W.length},start(e){$>e.priority?(H.add(e),f.onStart(G)):(K(e),f(Q))},advance:Q,sort(e){if($)f.onFrame(()=>Y.sort(e));else{let t=W.indexOf(e);~t&&(W.splice(t,1),X(e))}},clear(){W=[],H.clear()}};function G(){H.forEach(K),H.clear(),f(Q)}function K(e){W.includes(e)||X(e)}function X(e){var t;let n;W.splice((n=(t=W).findIndex(t=>t.priority>e.priority))<0?t.length:n,0,e)}function Q(e){let t=q;for(let n=0;n0}var J=(e,t,n)=>Math.min(Math.max(n,e),t),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},et="[-+]?\\d*\\.?\\d+",en=et+"%";function er(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ei=RegExp("rgb"+er(et,et,et)),eo=RegExp("rgba"+er(et,et,et,et)),ea=RegExp("hsl"+er(et,en,en)),es=RegExp("hsla"+er(et,en,en,et)),el=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,eu=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ec=/^#([0-9a-fA-F]{6})$/,ef=/^#([0-9a-fA-F]{8})$/;function ed(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function eh(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;return Math.round(255*ed(i,r,e+1/3))<<24|Math.round(255*ed(i,r,e))<<16|Math.round(255*ed(i,r,e-1/3))<<8}function ep(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function ev(e){return(parseFloat(e)%360+360)%360/360}function em(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function eg(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function ey(e){let t;let n="number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ec.exec(e))?parseInt(t[1]+"ff",16)>>>0:V&&void 0!==V[e]?V[e]:(t=ei.exec(e))?(ep(t[1])<<24|ep(t[2])<<16|ep(t[3])<<8|255)>>>0:(t=eo.exec(e))?(ep(t[1])<<24|ep(t[2])<<16|ep(t[3])<<8|em(t[4]))>>>0:(t=el.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ef.exec(e))?parseInt(t[1],16)>>>0:(t=eu.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ea.exec(e))?(255|eh(ev(t[1]),eg(t[2]),eg(t[3])))>>>0:(t=es.exec(e))?(eh(ev(t[1]),eg(t[2]),eg(t[3]))|em(t[4]))>>>0:null;return null===n?e:`rgba(${(4278190080&(n=n||0))>>>24}, ${(16711680&n)>>>16}, ${(65280&n)>>>8}, ${(255&n)/255})`}var eb=(e,t,n)=>{if(T.fun(e))return e;if(T.arr(e))return eb({range:e,output:t,extrapolate:n});if(T.str(e.output[0]))return L(e);let r=e.output,i=e.range||[0,1],o=e.extrapolateLeft||e.extrapolate||"extend",a=e.extrapolateRight||e.extrapolate||"extend",s=e.easing||(e=>e);return t=>{let n=function(e,t){for(var n=1;n=e);++n);return n-1}(t,i);return function(e,t,n,r,i,o,a,s,l){let u=l?l(e):e;if(un){if("identity"===s)return u;"clamp"===s&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r,u)}(t,i[n],i[n+1],r[n],r[n+1],s,o,a,e.map)}},ex=2*Math.PI/3,ew=2*Math.PI/4.5,e_=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,eE={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-1.70158*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(3.5949095*2*e-2.5949095)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+2.5949095)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*ex),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*ex)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*ew))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*ew)/2+1,easeInBounce:e=>1-e_(1-e),easeOutBounce:e_,easeInOutBounce:e=>e<.5?(1-e_(1-2*e))/2:(1+e_(2*e-1))/2,steps:(e,t="end")=>n=>{let r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return J(0,1,("end"===t?Math.floor(r):Math.ceil(r))/e)}},ek=Symbol.for("FluidValue.get"),ej=Symbol.for("FluidValue.observers"),eS=e=>!!(e&&e[ek]),eO=e=>e&&e[ek]?e[ek]():e,eC=e=>e[ej]||null;function eA(e,t){e.eventObserved?e.eventObserved(t):e(t)}function eT(e,t){let n=e[ej];n&&n.forEach(e=>{eA(e,t)})}var eM=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");eP(this,e)}},eP=(e,t)=>eL(e,ek,t);function eN(e,t){if(e[ek]){let n=e[ej];n||eL(e,ej,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function eR(e,t){let n=e[ej];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[ej]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var eD,eL=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),eF=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,eI=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ez=RegExp(`(${eF.source})(%|[a-z]+)`,"i"),eV=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,eB=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,eZ=e=>{let[t,n]=eU(e);if(!t||z())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r?r.trim():n&&n.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(n)||e:n&&eB.test(n)?eZ(n):n||e},eU=e=>{let t=eB.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},eH=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,eW=e=>{eD||(eD=V?RegExp(`(${Object.keys(V).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>eO(e).replace(eB,eZ).replace(eI,ey).replace(eD,ey)),n=t.map(e=>e.match(eF).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>eb({...e,output:t}));return e=>{let n=!ez.test(t[0])&&t.find(e=>ez.test(e))?.replace(eF,""),i=0;return t[0].replace(eF,()=>`${r[i++](e)}${n||""}`).replace(eV,eH)}},eq="react-spring: ",e$=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${eq}once requires a function parameter`);return(...n)=>{t||(e(...n),t=!0)}},eY=e$(console.warn);function eG(){eY(`${eq}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var eK=e$(console.warn);function eX(){eK(`${eq}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function eQ(e){return T.str(e)&&("#"==e[0]||/\d/.test(e)||!z()&&eB.test(e)||e in(V||{}))}var eJ,e0,e1=new WeakMap,e2=e=>e.forEach(({target:e,contentRect:t})=>e1.get(e)?.forEach(e=>e(t))),e4=new Set,e3=()=>{let e=()=>{e4.forEach(e=>e({width:window.innerWidth,height:window.innerHeight}))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},e5=e=>(e4.add(e),e0||(e0=e3()),()=>{e4.delete(e),!e4.size&&e0&&(e0(),e0=void 0)}),e6=(e,{container:t=document.documentElement}={})=>{let n;return t===document.documentElement?e5(e):(eJ||"u">typeof ResizeObserver&&(eJ=new ResizeObserver(e2)),(n=e1.get(t))||(n=new Set,e1.set(t,n)),n.add(e),eJ&&eJ.observe(t),()=>{let n=e1.get(t);n&&(n.delete(e),!n.size&&eJ&&eJ.unobserve(t))})},e8=(e,t,n)=>t-e==0?1:(n-e)/(t-e),e7={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},e9=class{constructor(e,t){this.createAxis=()=>({current:0,progress:0,scrollLength:0}),this.updateAxis=e=>{let t=this.info[e],{length:n,position:r}=e7[e];t.current=this.container[`scroll${r}`],t.scrollLength=this.container["scroll"+n]-this.container["client"+n],t.progress=e8(0,t.scrollLength,t.current)},this.update=()=>{this.updateAxis("x"),this.updateAxis("y")},this.sendEvent=()=>{this.callback(this.info)},this.advance=()=>{this.update(),this.sendEvent()},this.callback=e,this.container=t,this.info={time:0,x:this.createAxis(),y:this.createAxis()}}},te=new WeakMap,tt=new WeakMap,tn=new WeakMap,tr=e=>e===document.documentElement?window:e,ti=(e,{container:t=document.documentElement}={})=>{let n=tn.get(t);n||(n=new Set,tn.set(t,n));let r=new e9(e,t);if(n.add(r),!te.has(t)){let i=()=>(n?.forEach(e=>e.advance()),!0);te.set(t,i);let o=tr(t);window.addEventListener("resize",i,{passive:!0}),t!==document.documentElement&&tt.set(t,e6(i,{container:t})),o.addEventListener("scroll",i,{passive:!0})}let a=te.get(t);return f(a),()=>{f.cancel(a);let e=tn.get(t);if(!e||(e.delete(r),e.size))return;let n=te.get(t);te.delete(t),n&&(tr(t).removeEventListener("scroll",n),window.removeEventListener("resize",n),tt.get(t)?.())}},to=n(2784);function ta(e){let t=(0,to.useRef)(null);return null===t.current&&(t.current=e()),t.current}var ts=n(2784),tl=n(2784),tu=n(2784),tc=z()?tu.useEffect:tu.useLayoutEffect,tf=()=>{let e=(0,tl.useRef)(!1);return tc(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function td(){let e=(0,ts.useState)()[1],t=tf();return()=>{t.current&&e(Math.random())}}var th=n(2784);function tp(e,t){let[n]=(0,th.useState)(()=>({inputs:t,result:e()})),r=(0,th.useRef)(),i=r.current,o=i;return o?t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}var tv=n(2784),tm=e=>(0,tv.useEffect)(e,tg),tg=[],ty=n(2784);function tb(e){let t=(0,ty.useRef)();return(0,ty.useEffect)(()=>{t.current=e}),t.current}var tx=n(2784),tw=()=>{let[e,t]=(0,tx.useState)(null);return tc(()=>{let e=window.matchMedia("(prefers-reduced-motion)"),n=e=>{t(e.matches),U({skipAnimation:e.matches})};return n(e),e.addEventListener("change",n),()=>{e.removeEventListener("change",n)}},[]),e}},19455:function(e){"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(o,{Any:()=>a}),e.exports=((e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let l of r(o))i.call(e,l)||void 0===l||t(e,l,{get:()=>o[l],enumerable:!(s=n(o,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var a=class{}},96721:function(e,t,n){"use strict";var r,i,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},c={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(c,{a:()=>A,animated:()=>A}),e.exports=u(o({},"__esModule",{value:!0}),c);var f=n(99550),d=n(28316),h=n(6901),p=n(25447),v=/^--/,m={},g={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},y=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),b=["Webkit","Ms","Moz","O"];g=Object.keys(g).reduce((e,t)=>(b.forEach(n=>e[y(n,t)]=e[t]),e),g);var x=n(25447),w=n(6901),_=/^(matrix|translate|scale|rotate|skew)/,E=/^(translate)/,k=/^(rotate|skew)/,j=(e,t)=>w.is.num(e)&&0!==e?e+t:e,S=(e,t)=>w.is.arr(e)?e.every(e=>S(e,t)):w.is.num(e)?e===t:parseFloat(e)===t,O=class extends x.AnimatedObject{constructor({x:e,y:t,z:n,...r}){let i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(e=>[`translate3d(${e.map(e=>j(e,"px")).join(",")})`,S(e,0)])),(0,w.eachProp)(r,(e,t)=>{if("transform"===t)i.push([e||""]),o.push(e=>[e,""===e]);else if(_.test(t)){if(delete r[t],w.is.und(e))return;let n=E.test(t)?"px":k.test(t)?"deg":"";i.push((0,w.toArray)(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${j(i,n)})`,S(i,0)]:e=>[`${t}(${e.map(e=>j(e,n)).join(",")})`,S(e,t.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new C(i,o)),super(r)}},C=class extends w.FluidValue{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return(0,w.each)(this.inputs,(n,r)=>{let i=(0,w.getFluidValue)(n[0]),[o,a]=this.transforms[r](w.is.arr(i)?i:n.map(w.getFluidValue));e+=" "+o,t=t&&a}),t?"none":e}observerAdded(e){1==e&&(0,w.each)(this.inputs,e=>(0,w.each)(e,e=>(0,w.hasFluidValue)(e)&&(0,w.addFluidObserver)(e,this)))}observerRemoved(e){0==e&&(0,w.each)(this.inputs,e=>(0,w.each)(e,e=>(0,w.hasFluidValue)(e)&&(0,w.removeFluidObserver)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),(0,w.callFluidObservers)(this,e)}};r=n(99550),i=e.exports,u(c,r,"default"),i&&u(i,r,"default"),f.Globals.assign({batchedUpdates:d.unstable_batchedUpdates,createStringInterpolator:h.createStringInterpolator,colors:h.colors});var A=(0,p.createHost)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:i,scrollTop:o,scrollLeft:a,viewBox:s,...l}=t,u=Object.values(l),c=Object.keys(l).map(t=>n||e.hasAttribute(t)?t:m[t]||(m[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let f in void 0!==i&&(e.textContent=i),r)if(r.hasOwnProperty(f)){var d,h;let p=(d=f,null==(h=r[f])||"boolean"==typeof h||""===h?"":"number"!=typeof h||0===h||v.test(d)||g.hasOwnProperty(d)&&g[d]?(""+h).trim():h+"px");v.test(f)?e.style.setProperty(f,p):e.style[f]=p}c.forEach((t,n)=>{e.setAttribute(t,u[n])}),void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==s&&e.setAttribute("viewBox",s)},createAnimatedStyle:e=>new O(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}).animated},7896:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;to(e,t),h=i.createContext(void 0),p=()=>i.useContext(h),v=i.createContext(void 0),m=()=>i.useContext(v),g=i.createContext(void 0),y=i.forwardRef((e,t)=>{let n=i.useRef(null),r=C(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),o=C(()=>new Set),p=C(()=>new Map),m=C(()=>new Map),g=C(()=>new Set),y=S(e),{label:b,children:x,value:w,onValueChange:_,filter:E,shouldFilter:k,...j}=e,T=i.useId(),M=i.useId(),R=i.useId(),D=P();O(()=>{if(void 0!==w){let e=w.trim().toLowerCase();r.current.value=e,D(6,Z),L.emit()}},[w]);let L=i.useMemo(()=>({subscribe:e=>(g.current.add(e),()=>g.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var i,o,a;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)B(),z(),D(1,V);else if("value"===e){if((null==(i=y.current)?void 0:i.value)!==void 0){null==(a=(o=y.current).onValueChange)||a.call(o,t);return}n||D(5,Z)}L.emit()}},emit:()=>{g.current.forEach(e=>e())}}),[]),F=i.useMemo(()=>({value:(e,t)=>{t!==m.current.get(e)&&(m.current.set(e,t),r.current.filtered.items.set(e,I(t)),D(2,()=>{z(),L.emit()}))},item:(e,t)=>(o.current.add(e),t&&(p.current.has(t)?p.current.get(t).add(e):p.current.set(t,new Set([e]))),D(3,()=>{B(),z(),r.current.value||V(),L.emit()}),()=>{m.current.delete(e),o.current.delete(e),r.current.filtered.items.delete(e),D(4,()=>{B(),V(),L.emit()})}),group:e=>(p.current.has(e)||p.current.set(e,new Set),()=>{m.current.delete(e),p.current.delete(e)}),filter:()=>y.current.shouldFilter,label:b||e["aria-label"],listId:T,inputId:R,labelId:M}),[]);function I(e){var t;let n=(null==(t=y.current)?void 0:t.filter)??d;return e?n(e,r.current.search):0}function z(){if(!n.current||!r.current.search||!1===y.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(n=>{let r=p.current.get(n),i=0;r.forEach(t=>{i=Math.max(e.get(t),i)}),t.push([n,i])});let i=n.current.querySelector('[cmdk-list-sizer=""]');H().sort((t,n)=>{let r=t.getAttribute(f),i=n.getAttribute(f);return(e.get(i)??0)-(e.get(r)??0)}).forEach(e=>{let t=e.closest(s);t?t.appendChild(e.parentElement===t?e:e.closest(`${s} > *`)):i.appendChild(e.parentElement===i?e:e.closest(`${s} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{let t=n.current.querySelector(`${a}[${f}="${e[0]}"]`);null==t||t.parentElement.appendChild(t)})}function V(){let e=H().find(e=>!e.ariaDisabled),t=null==e?void 0:e.getAttribute(f);L.setState("value",t||void 0)}function B(){if(!r.current.search||!1===y.current.shouldFilter){r.current.filtered.count=o.current.size;return}r.current.filtered.groups=new Set;let e=0;for(let t of o.current){let n=I(m.current.get(t));r.current.filtered.items.set(t,n),n>0&&e++}for(let[i,a]of p.current)for(let s of a)if(r.current.filtered.items.get(s)>0){r.current.filtered.groups.add(i);break}r.current.filtered.count=e}function Z(){var e,t,n;let r=U();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(a))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function U(){return n.current.querySelector(`${l}[aria-selected="true"]`)}function H(){return Array.from(n.current.querySelectorAll(u))}function W(e){let t=H()[e];t&&L.setState("value",t.getAttribute(f))}function q(e){var t;let n=U(),r=H(),i=r.findIndex(e=>e===n),o=r[i+e];null!=(t=y.current)&&t.loop&&(o=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),o&&L.setState("value",o.getAttribute(f))}function $(e){let t=U(),n=null==t?void 0:t.closest(a),r;for(;n&&!r;)r=null==(n=e>0?function(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}(n,a):function(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}(n,a))?void 0:n.querySelector(u);r?L.setState("value",r.getAttribute(f)):q(e)}let Y=()=>W(H().length-1),G=e=>{e.preventDefault(),e.metaKey?Y():e.altKey?$(1):q(1)},K=e=>{e.preventDefault(),e.metaKey?W(0):e.altKey?$(-1):q(-1)};return i.createElement("div",{ref:A([n,t]),...j,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=j.onKeyDown)||t.call(j,e),!e.defaultPrevented)switch(e.key){case"n":case"j":e.ctrlKey&&G(e);break;case"ArrowDown":G(e);break;case"p":case"k":e.ctrlKey&&K(e);break;case"ArrowUp":K(e);break;case"Home":e.preventDefault(),W(0);break;case"End":e.preventDefault(),Y();break;case"Enter":{e.preventDefault();let n=U();if(n){let r=new Event(c);n.dispatchEvent(r)}}}}},i.createElement("label",{"cmdk-label":"",htmlFor:F.inputId,id:F.labelId,style:N},b),i.createElement(v.Provider,{value:L},i.createElement(h.Provider,{value:F},x)))}),b=i.forwardRef((e,t)=>{let n=i.useId(),r=i.useRef(null),o=i.useContext(g),a=p(),s=S(e);O(()=>a.item(n,o),[]);let l=M(n,r,[e.value,e.children,r]),u=m(),f=T(e=>e.value&&e.value===l.current),d=T(e=>!1===a.filter()||!e.search||e.filtered.items.get(n)>0);function h(){var e,t;null==(t=(e=s.current).onSelect)||t.call(e,l.current)}if(i.useEffect(()=>{let t=r.current;if(!(!t||e.disabled))return t.addEventListener(c,h),()=>t.removeEventListener(c,h)},[d,e.onSelect,e.disabled]),!d)return null;let{disabled:v,value:y,onSelect:b,...x}=e;return i.createElement("div",{ref:A([r,t]),...x,"cmdk-item":"",role:"option","aria-disabled":v||void 0,"aria-selected":f||void 0,"data-selected":f||void 0,onPointerMove:v?void 0:function(){u.setState("value",l.current,!0)},onClick:v?void 0:h},e.children)}),x=i.forwardRef((e,t)=>{let{heading:n,children:r,...o}=e,a=i.useId(),s=i.useRef(null),l=i.useRef(null),u=i.useId(),c=p(),f=T(e=>!1===c.filter()||!e.search||e.filtered.groups.has(a));O(()=>c.group(a),[]),M(a,s,[e.value,e.heading,l]);let d=i.createElement(g.Provider,{value:a},r);return i.createElement("div",{ref:A([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!f||void 0},n&&i.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:u},n),i.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?u:void 0},d))}),w=i.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,o=i.useRef(null),a=T(e=>!e.search);return n||a?i.createElement("div",{ref:A([o,t]),...r,"cmdk-separator":"",role:"separator"}):null}),_=i.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,o=null!=e.value,a=m(),s=T(e=>e.search),l=p();return i.useEffect(()=>{null!=e.value&&a.setState("search",e.value)},[e.value]),i.createElement("input",{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,id:l.inputId,type:"text",value:o?e.value:s,onChange:e=>{o||a.setState("search",e.target.value),null==n||n(e.target.value)}})}),E=i.forwardRef((e,t)=>{let{children:n,...r}=e,o=i.useRef(null),a=i.useRef(null),s=p();return i.useEffect(()=>{if(a.current&&o.current){let e=a.current,t=o.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.getBoundingClientRect().height;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),i.createElement("div",{ref:A([o,t]),...r,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:s.listId,"aria-labelledby":s.inputId},i.createElement("div",{ref:a,"cmdk-list-sizer":""},n))}),k=i.forwardRef((e,t)=>{let{open:n,onOpenChange:o,container:a,...s}=e;return i.createElement(r.fC,{open:n,onOpenChange:o},i.createElement(r.h_,{container:a},i.createElement(r.aV,{"cmdk-overlay":""}),i.createElement(r.VY,{"aria-label":e.label,"cmdk-dialog":""},i.createElement(y,{ref:t,...s}))))}),j=Object.assign(y,{List:E,Item:b,Input:_,Group:x,Separator:w,Dialog:k,Empty:i.forwardRef((e,t)=>{let n=i.useRef(!0),r=T(e=>0===e.filtered.count);return i.useEffect(()=>{n.current=!1},[]),n.current||!r?null:i.createElement("div",{ref:t,...e,"cmdk-empty":"",role:"presentation"})}),Loading:i.forwardRef((e,t)=>{let{progress:n,children:r,...o}=e;return i.createElement("div",{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},i.createElement("div",{"aria-hidden":!0},r))})});function S(e){let t=i.useRef(e);return O(()=>{t.current=e}),t}var O=typeof window>"u"?i.useEffect:i.useLayoutEffect;function C(e){let t=i.useRef();return void 0===t.current&&(t.current=e()),t}function A(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}function T(e){let t=m(),n=()=>e(t.snapshot());return i.useSyncExternalStore(t.subscribe,n,n)}function M(e,t,n){let r=i.useRef(),o=p();return O(()=>{var i;let a=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim().toLowerCase();if("object"==typeof t&&"current"in t&&t.current)return null==(e=t.current.textContent)?void 0:e.trim().toLowerCase()}})();o.value(e,a),null==(i=t.current)||i.setAttribute(f,a),r.current=a}),r}var P=()=>{let[e,t]=i.useState(),n=C(()=>new Map);return O(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}},N={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},63955:function(e,t,n){"use strict";n.d(t,{cI:function(){return ev}});var r=n(2784),i=e=>"checkbox"===e.type,o=e=>e instanceof Date,a=e=>null==e;let s=e=>"object"==typeof e;var l=e=>!a(e)&&!Array.isArray(e)&&s(e)&&!o(e),u=e=>l(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,f=(e,t)=>e.has(c(t)),d=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(h&&(e instanceof Blob||e instanceof FileList))&&(n||l(e))))return e;else if(t=n?[]:{},Array.isArray(e)||d(e))for(let r in e)t[r]=p(e[r]);else t=e;return t}var v=e=>Array.isArray(e)?e.filter(Boolean):[],m=e=>void 0===e,g=(e,t,n)=>{if(!t||!l(e))return n;let r=v(t.split(/[,[\].]+?/)).reduce((e,t)=>a(e)?e:e[t],e);return m(r)||r===e?m(e[t])?n:e[t]:r};let y={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},b={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},x={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};r.createContext(null);var w=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(i,o,{get:()=>{let i=o;return t._proxyFormState[i]!==b.all&&(t._proxyFormState[i]=!r||b.all),n&&(n[i]=!0),e[i]}});return i},_=e=>l(e)&&!Object.keys(e).length,E=(e,t,n,r)=>{n(e);let{name:i,...o}=e;return _(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||b.all))},k=e=>Array.isArray(e)?e:[e],j=e=>"string"==typeof e,S=(e,t,n,r,i)=>j(e)?(r&&t.watch.add(e),g(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),g(n,e))):(r&&(t.watchAll=!0),n),O=e=>/^\w*$/.test(e),C=e=>v(e.replace(/["|']|\]/g,"").split(/\.|\[/));function A(e,t,n){let r=-1,i=O(t)?[t]:C(t),o=i.length,a=o-1;for(;++rt?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{};let M=(e,t,n)=>{for(let r of n||Object.keys(e)){let i=g(e,r);if(i){let{_f:o,...a}=i;if(o&&t(o.name)){if(o.ref.focus){o.ref.focus();break}if(o.refs&&o.refs[0].focus){o.refs[0].focus();break}}else l(a)&&M(a,t)}}};var P=e=>({isOnSubmit:!e||e===b.onSubmit,isOnBlur:e===b.onBlur,isOnChange:e===b.onChange,isOnAll:e===b.all,isOnTouch:e===b.onTouched}),N=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),R=(e,t,n)=>{let r=v(g(e,n));return A(r,"root",t[n]),A(e,n,r),e},D=e=>"boolean"==typeof e,L=e=>"file"===e.type,F=e=>"function"==typeof e,I=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},z=e=>j(e),V=e=>"radio"===e.type,B=e=>e instanceof RegExp;let Z={value:!1,isValid:!1},U={value:!0,isValid:!0};var H=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?U:{value:e[0].value,isValid:!0}:U:Z}return Z};let W={isValid:!1,value:null};var q=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,W):W;function $(e,t,n="validate"){if(z(e)||Array.isArray(e)&&e.every(z)||D(e)&&!e)return{type:n,message:z(e)?e:"",ref:t}}var Y=e=>l(e)&&!B(e)?e:{value:e,message:""},G=async(e,t,n,r,o)=>{let{ref:s,refs:u,required:c,maxLength:f,minLength:d,min:h,max:p,pattern:v,validate:y,name:b,valueAsNumber:w,mount:E,disabled:k}=e._f,S=g(t,b);if(!E||k)return{};let O=u?u[0]:s,C=e=>{r&&O.reportValidity&&(O.setCustomValidity(D(e)?"":e||""),O.reportValidity())},A={},M=V(s),P=i(s),N=(w||L(s))&&m(s.value)&&m(S)||I(s)&&""===s.value||""===S||Array.isArray(S)&&!S.length,R=T.bind(null,b,n,A),Z=(e,t,n,r=x.maxLength,i=x.minLength)=>{let o=e?t:n;A[b]={type:e?r:i,message:o,ref:s,...R(e?r:i,o)}};if(o?!Array.isArray(S)||!S.length:c&&(!(M||P)&&(N||a(S))||D(S)&&!S||P&&!H(u).isValid||M&&!q(u).isValid)){let{value:U,message:W}=z(c)?{value:!!c,message:c}:Y(c);if(U&&(A[b]={type:x.required,message:W,ref:O,...R(x.required,W)},!n))return C(W),A}if(!N&&(!a(h)||!a(p))){let G,K;let X=Y(p),Q=Y(h);if(a(S)||isNaN(S)){let J=s.valueAsDate||new Date(S),ee=e=>new Date(new Date().toDateString()+" "+e),et="time"==s.type,en="week"==s.type;j(X.value)&&S&&(G=et?ee(S)>ee(X.value):en?S>X.value:J>new Date(X.value)),j(Q.value)&&S&&(K=et?ee(S)X.value),a(Q.value)||(K=er+ei.value,es=!a(eo.value)&&S.length<+eo.value;if((ea||es)&&(Z(ea,ei.message,eo.message),!n))return C(A[b].message),A}if(v&&!N&&j(S)){let{value:el,message:eu}=Y(v);if(B(el)&&!S.match(el)&&(A[b]={type:x.pattern,message:eu,ref:s,...R(x.pattern,eu)},!n))return C(eu),A}if(y){if(F(y)){let ec=await y(S,t),ef=$(ec,O);if(ef&&(A[b]={...ef,...R(x.validate,ef.message)},!n))return C(ef.message),A}else if(l(y)){let ed={};for(let eh in y){if(!_(ed)&&!n)break;let ep=$(await y[eh](S,t),O,eh);ep&&(ed={...ep,...R(eh,ep.message)},C(ep.message),n&&(A[b]=ed))}if(!_(ed)&&(A[b]={ref:O,...ed},!n))return A}}return C(!0),A};function K(e,t){let n=Array.isArray(t)?t:O(t)?[t]:C(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r{for(let n of e)n.next&&n.next(t)},n=t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),r=()=>{e=[]};return{get observers(){return e},next:t,subscribe:n,unsubscribe:r}}var Q=e=>a(e)||!s(e);function J(e,t){if(Q(e)||Q(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n){let a=e[i];if(!r.includes(i))return!1;if("ref"!==i){let s=t[i];if(o(a)&&o(s)||l(a)&&l(s)||Array.isArray(a)&&Array.isArray(s)?!J(a,s):a!==s)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>V(e)||i(e),en=e=>I(e)&&e.isConnected,er=e=>{for(let t in e)if(F(e[t]))return!0;return!1};function ei(e,t={}){let n=Array.isArray(e);if(l(e)||n)for(let r in e)Array.isArray(e[r])||l(e[r])&&!er(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ei(e[r],t[r])):a(e[r])||(t[r]=!0);return t}var eo=(e,t)=>(function e(t,n,r){let i=Array.isArray(t);if(l(t)||i)for(let o in t)Array.isArray(t[o])||l(t[o])&&!er(t[o])?m(n)||Q(r[o])?r[o]=Array.isArray(t[o])?ei(t[o],[]):{...ei(t[o])}:e(t[o],a(n)?{}:n[o],r[o]):r[o]=!J(t[o],n[o]);return r})(e,t,ei(t)),ea=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>m(e)?e:t?""===e?NaN:e?+e:e:n&&j(e)?new Date(e):r?r(e):e;function es(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:L(t)?t.files:V(t)?q(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?H(e.refs).value:ea(m(t.value)?e.ref.value:t.value,e)}var el=(e,t,n,r)=>{let i={};for(let o of e){let a=g(t,o);a&&A(i,o,a._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},eu=e=>m(e)?e:B(e)?e.source:l(e)?B(e.value)?e.value.source:e.value:e,ec=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ef(e,t,n){let r=g(e,n);if(r||O(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let o=i.join("."),a=g(t,o),s=g(e,o);if(a&&!Array.isArray(a)&&n!==o)break;if(s&&s.type)return{name:o,error:s};i.pop()}return{name:n}}var ed=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),eh=(e,t)=>!v(g(e,t)).length&&K(e,t);let ep={mode:b.onSubmit,reValidateMode:b.onChange,shouldFocusError:!0};function ev(e={}){let t=r.useRef(),[n,s]=r.useState({isDirty:!1,isValidating:!1,isLoading:F(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:F(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let n,r={...ep,...e},s={submitCount:0,isDirty:!1,isLoading:F(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},c={},d=(l(r.defaultValues)||l(r.values))&&p(r.defaultValues||r.values)||{},x=r.shouldUnregister?{}:p(d),w={action:!1,mount:!1,watch:!1},E={mount:new Set,unMount:new Set,array:new Set,watch:new Set},O=0,C={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},T={values:X(),array:X(),state:X()},z=e.resetOptions&&e.resetOptions.keepDirtyValues,V=P(r.mode),B=P(r.reValidateMode),Z=r.criteriaMode===b.all,U=e=>t=>{clearTimeout(O),O=setTimeout(e,t)},H=async e=>{if(C.isValid||e){let t=r.resolver?_((await ev()).errors):await eg(c,!0);t!==s.isValid&&T.state.next({isValid:t})}},W=e=>C.isValidating&&T.state.next({isValidating:e}),q=(e,t=[],n,r,i=!0,o=!0)=>{if(r&&n){if(w.action=!0,o&&Array.isArray(g(c,e))){let a=n(g(c,e),r.argA,r.argB);i&&A(c,e,a)}if(o&&Array.isArray(g(s.errors,e))){let l=n(g(s.errors,e),r.argA,r.argB);i&&A(s.errors,e,l),eh(s.errors,e)}if(C.touchedFields&&o&&Array.isArray(g(s.touchedFields,e))){let u=n(g(s.touchedFields,e),r.argA,r.argB);i&&A(s.touchedFields,e,u)}C.dirtyFields&&(s.dirtyFields=eo(d,x)),T.state.next({name:e,isDirty:eb(e,t),dirtyFields:s.dirtyFields,errors:s.errors,isValid:s.isValid})}else A(x,e,t)},$=(e,t)=>{A(s.errors,e,t),T.state.next({errors:s.errors})},Y=(e,t,n,r)=>{let i=g(c,e);if(i){let o=g(x,e,m(n)?g(d,e):n);m(o)||r&&r.defaultChecked||t?A(x,e,t?o:es(i._f)):e_(e,o),w.mount&&H()}},er=(e,t,n,r,i)=>{let o=!1,a=!1,l={name:e};if(!n||r){C.isDirty&&(a=s.isDirty,s.isDirty=l.isDirty=eb(),o=a!==l.isDirty);let u=J(g(d,e),t);a=g(s.dirtyFields,e),u?K(s.dirtyFields,e):A(s.dirtyFields,e,!0),l.dirtyFields=s.dirtyFields,o=o||C.dirtyFields&&!u!==a}if(n){let c=g(s.touchedFields,e);c||(A(s.touchedFields,e,n),l.touchedFields=s.touchedFields,o=o||C.touchedFields&&c!==n)}return o&&i&&T.state.next(l),o?l:{}},ei=(t,r,i,o)=>{let a=g(s.errors,t),l=C.isValid&&D(r)&&s.isValid!==r;if(e.delayError&&i?(n=U(()=>$(t,i)))(e.delayError):(clearTimeout(O),n=null,i?A(s.errors,t,i):K(s.errors,t)),(i?!J(a,i):a)||!_(o)||l){let u={...o,...l&&D(r)?{isValid:r}:{},errors:s.errors,name:t};s={...s,...u},T.state.next(u)}W(!1)},ev=async e=>r.resolver(x,r.context,el(e||E.mount,c,r.criteriaMode,r.shouldUseNativeValidation)),em=async e=>{let{errors:t}=await ev();if(e)for(let n of e){let r=g(t,n);r?A(s.errors,n,r):K(s.errors,n)}else s.errors=t;return t},eg=async(e,t,n={valid:!0})=>{for(let i in e){let o=e[i];if(o){let{_f:a,...l}=o;if(a){let u=E.array.has(a.name),c=await G(o,x,Z,r.shouldUseNativeValidation&&!t,u);if(c[a.name]&&(n.valid=!1,t))break;t||(g(c,a.name)?u?R(s.errors,c,a.name):A(s.errors,a.name,c[a.name]):K(s.errors,a.name))}l&&await eg(l,t,n)}}return n.valid},ey=()=>{for(let e of E.unMount){let t=g(c,e);t&&(t._f.refs?t._f.refs.every(e=>!en(e)):!en(t._f.ref))&&eP(e)}E.unMount=new Set},eb=(e,t)=>(e&&t&&A(x,e,t),!J(eO(),d)),ex=(e,t,n)=>S(e,E,{...w.mount?x:m(t)?d:j(e)?{[e]:t}:t},n,t),ew=t=>v(g(w.mount?x:d,t,e.shouldUnregister?g(d,t,[]):[])),e_=(e,t,n={})=>{let r=g(c,e),o=t;if(r){let s=r._f;s&&(s.disabled||A(x,e,ea(t,s)),o=I(s.ref)&&a(t)?"":t,ee(s.ref)?[...s.ref.options].forEach(e=>e.selected=o.includes(e.value)):s.refs?i(s.ref)?s.refs.length>1?s.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value)):s.refs[0]&&(s.refs[0].checked=!!o):s.refs.forEach(e=>e.checked=e.value===o):L(s.ref)?s.ref.value="":(s.ref.value=o,s.ref.type||T.values.next({name:e,values:{...x}})))}(n.shouldDirty||n.shouldTouch)&&er(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&eS(e)},eE=(e,t,n)=>{for(let r in t){let i=t[r],a=`${e}.${r}`,s=g(c,a);!E.array.has(e)&&Q(i)&&(!s||s._f)||o(i)?e_(a,i,n):eE(a,i,n)}},ek=(e,n,r={})=>{let i=g(c,e),o=E.array.has(e),l=p(n);A(x,e,l),o?(T.array.next({name:e,values:{...x}}),(C.isDirty||C.dirtyFields)&&r.shouldDirty&&T.state.next({name:e,dirtyFields:eo(d,x),isDirty:eb(e,l)})):!i||i._f||a(l)?e_(e,l,r):eE(e,l,r),N(e,E)&&T.state.next({...s}),T.values.next({name:e,values:{...x}}),w.mount||t()},ej=async e=>{let t=e.target,i=t.name,o=!0,a=g(c,i);if(a){let l,f;let d=t.type?es(a._f):u(e),h=e.type===y.BLUR||e.type===y.FOCUS_OUT,p=!ec(a._f)&&!r.resolver&&!g(s.errors,i)&&!a._f.deps||ed(h,g(s.touchedFields,i),s.isSubmitted,B,V),v=N(i,E,h);A(x,i,d),h?(a._f.onBlur&&a._f.onBlur(e),n&&n(0)):a._f.onChange&&a._f.onChange(e);let m=er(i,d,h,!1),b=!_(m)||v;if(h||T.values.next({name:i,type:e.type,values:{...x}}),p)return C.isValid&&H(),b&&T.state.next({name:i,...v?{}:m});if(!h&&v&&T.state.next({...s}),W(!0),r.resolver){let{errors:w}=await ev([i]),k=ef(s.errors,c,i),j=ef(w,c,k.name||i);l=j.error,i=j.name,f=_(w)}else l=(await G(a,x,Z,r.shouldUseNativeValidation))[i],(o=isNaN(d)||d===g(x,i,d))&&(l?f=!1:C.isValid&&(f=await eg(c,!0)));o&&(a._f.deps&&eS(a._f.deps),ei(i,f,l,m))}},eS=async(e,t={})=>{let n,i;let o=k(e);if(W(!0),r.resolver){let a=await em(m(e)?e:o);n=_(a),i=e?!o.some(e=>g(a,e)):n}else e?((i=(await Promise.all(o.map(async e=>{let t=g(c,e);return await eg(t&&t._f?{[e]:t}:t)}))).every(Boolean))||s.isValid)&&H():i=n=await eg(c);return T.state.next({...!j(e)||C.isValid&&n!==s.isValid?{}:{name:e},...r.resolver||!e?{isValid:n}:{},errors:s.errors,isValidating:!1}),t.shouldFocus&&!i&&M(c,e=>e&&g(s.errors,e),e?o:E.mount),i},eO=e=>{let t={...d,...w.mount?x:{}};return m(e)?t:j(e)?g(t,e):e.map(e=>g(t,e))},eC=(e,t)=>({invalid:!!g((t||s).errors,e),isDirty:!!g((t||s).dirtyFields,e),isTouched:!!g((t||s).touchedFields,e),error:g((t||s).errors,e)}),eA=e=>{e&&k(e).forEach(e=>K(s.errors,e)),T.state.next({errors:e?s.errors:{}})},eT=(e,t,n)=>{let r=(g(c,e,{_f:{}})._f||{}).ref;A(s.errors,e,{...t,ref:r}),T.state.next({name:e,errors:s.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},eM=(e,t)=>F(e)?T.values.subscribe({next:n=>e(ex(void 0,t),n)}):ex(e,t,!0),eP=(e,t={})=>{for(let n of e?k(e):E.mount)E.mount.delete(n),E.array.delete(n),t.keepValue||(K(c,n),K(x,n)),t.keepError||K(s.errors,n),t.keepDirty||K(s.dirtyFields,n),t.keepTouched||K(s.touchedFields,n),r.shouldUnregister||t.keepDefaultValue||K(d,n);T.values.next({values:{...x}}),T.state.next({...s,...t.keepDirty?{isDirty:eb()}:{}}),t.keepIsValid||H()},eN=(e,t={})=>{let n=g(c,e),i=D(t.disabled);return A(c,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),E.mount.add(e),n?i&&A(x,e,t.disabled?void 0:g(x,e,es(n._f))):Y(e,!0,t.value),{...i?{disabled:t.disabled}:{},...r.shouldUseNativeValidation?{required:!!t.required,min:eu(t.min),max:eu(t.max),minLength:eu(t.minLength),maxLength:eu(t.maxLength),pattern:eu(t.pattern)}:{},name:e,onChange:ej,onBlur:ej,ref:i=>{if(i){eN(e,t),n=g(c,e);let o=m(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=et(o),s=n._f.refs||[];(a?s.find(e=>e===o):o===n._f.ref)||(A(c,e,{_f:{...n._f,...a?{refs:[...s.filter(en),o,...Array.isArray(g(d,e))?[{}]:[]],ref:{type:o.type,name:e}}:{ref:o}}}),Y(e,!1,void 0,o))}else(n=g(c,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(f(E.array,e)&&w.action)&&E.unMount.add(e)}}},eR=()=>r.shouldFocusError&&M(c,e=>e&&g(s.errors,e),E.mount),eD=(e,t)=>async n=>{n&&(n.preventDefault&&n.preventDefault(),n.persist&&n.persist());let i=p(x);if(T.state.next({isSubmitting:!0}),r.resolver){let{errors:o,values:a}=await ev();s.errors=o,i=a}else await eg(c);K(s.errors,"root"),_(s.errors)?(T.state.next({errors:{}}),await e(i,n)):(t&&await t({...s.errors},n),eR(),setTimeout(eR)),T.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:_(s.errors),submitCount:s.submitCount+1,errors:s.errors})},eL=(e,t={})=>{g(c,e)&&(m(t.defaultValue)?ek(e,g(d,e)):(ek(e,t.defaultValue),A(d,e,t.defaultValue)),t.keepTouched||K(s.touchedFields,e),t.keepDirty||(K(s.dirtyFields,e),s.isDirty=t.defaultValue?eb(e,g(d,e)):eb()),!t.keepError&&(K(s.errors,e),C.isValid&&H()),T.state.next({...s}))},eF=(n,r={})=>{let i=n||d,o=p(i),a=n&&!_(n)?o:d;if(r.keepDefaultValues||(d=i),!r.keepValues){if(r.keepDirtyValues||z)for(let l of E.mount)g(s.dirtyFields,l)?A(a,l,g(x,l)):ek(l,g(a,l));else{if(h&&m(n))for(let u of E.mount){let f=g(c,u);if(f&&f._f){let v=Array.isArray(f._f.refs)?f._f.refs[0]:f._f.ref;if(I(v)){let y=v.closest("form");if(y){y.reset();break}}}}c={}}x=e.shouldUnregister?r.keepDefaultValues?p(d):{}:o,T.array.next({values:{...a}}),T.values.next({values:{...a}})}E={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},w.mount||t(),w.mount=!C.isValid||!!r.keepIsValid,w.watch=!!e.shouldUnregister,T.state.next({submitCount:r.keepSubmitCount?s.submitCount:0,isDirty:r.keepDirty?s.isDirty:!!(r.keepDefaultValues&&!J(n,d)),isSubmitted:!!r.keepIsSubmitted&&s.isSubmitted,dirtyFields:r.keepDirtyValues?s.dirtyFields:r.keepDefaultValues&&n?eo(d,n):{},touchedFields:r.keepTouched?s.touchedFields:{},errors:r.keepErrors?s.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},eI=(e,t)=>eF(F(e)?e(x):e,t),ez=(e,t={})=>{let n=g(c,e),r=n&&n._f;if(r){let i=r.refs?r.refs[0]:r.ref;i.focus&&(i.focus(),t.shouldSelect&&i.select())}},eV=e=>{s={...s,...e}},eB=()=>F(r.defaultValues)&&r.defaultValues().then(e=>{eI(e,r.resetOptions),T.state.next({isLoading:!1})});return{control:{register:eN,unregister:eP,getFieldState:eC,_executeSchema:ev,_getWatch:ex,_getDirty:eb,_updateValid:H,_removeUnmounted:ey,_updateFieldArray:q,_getFieldArray:ew,_reset:eF,_resetDefaultValues:eB,_updateFormState:eV,_subjects:T,_proxyFormState:C,get _fields(){return c},get _formValues(){return x},get _state(){return w},set _state(value){w=value},get _defaultValues(){return d},get _names(){return E},set _names(value){E=value},get _formState(){return s},set _formState(value){s=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:eS,register:eN,handleSubmit:eD,watch:eM,setValue:ek,getValues:eO,reset:eI,resetField:eL,clearErrors:eA,unregister:eP,setError:eT,setFocus:ez,getFieldState:eC}}(e,()=>s(e=>({...e}))),formState:n});let c=t.current.control;return c._options=e,!function(e){let t=r.useRef(e);t.current=e,r.useEffect(()=>{let n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}({subject:c._subjects.state,next:e=>{E(e,c._proxyFormState,c._updateFormState,!0)&&s({...c._formState})}}),r.useEffect(()=>{e.values&&!J(e.values,c._defaultValues)?c._reset(e.values,c._options.resetOptions):c._resetDefaultValues()},[e.values,c]),r.useEffect(()=>{c._state.mount||(c._updateValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),t.current.formState=w(n,c),t.current}},79381:function(e,t,n){"use strict";n.d(t,{J$:function(){return eo},ZP:function(){return ea},JG:function(){return W},kY:function(){return J}});var r=n(2784),i=n(43100);let o=new WeakMap,a={},s={},l=()=>{},u=l(),c=Object,f=e=>e===u,d=e=>"function"==typeof e,h=(e,t)=>({...e,...t}),p="undefined",v=typeof window!=p,m=typeof document!=p,g=()=>v&&typeof window.requestAnimationFrame!=p,y=(e,t)=>{let n=o.get(e);return[()=>e.get(t)||a,r=>{if(!f(t)){let i=e.get(t);t in s||(s[t]=i),n[5](t,h(i,r),i||a)}},n[6],()=>!f(t)&&t in s?s[t]:e.get(t)||a]},b=new WeakMap,x=0,w=e=>{let t,n;let r=typeof e,i=e&&e.constructor,o=i==Date;if(c(e)!==e||o||i==RegExp)t=o?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=b.get(e))return t;if(t=++x+"~",b.set(e,t),i==Array){for(n=0,t="@";n{let e=m&&document.visibilityState;return f(e)||"hidden"!==e},S=e=>(m&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{m&&document.removeEventListener("visibilitychange",e),k("focus",e)}),O=e=>{let t=()=>{_=!0,e()},n=()=>{_=!1};return E("online",t),E("offline",n),()=>{k("online",t),k("offline",n)}},C={initFocus:S,initReconnect:O},A=!r.useId,T=!v||"Deno"in window,M=e=>g()?window.requestAnimationFrame(e):setTimeout(e,1),P=T?r.useEffect:r.useLayoutEffect,N="undefined"!=typeof navigator&&navigator.connection,R=!T&&N&&(["slow-2g","2g"].includes(N.effectiveType)||N.saveData),D=e=>{if(d(e))try{e=e()}catch(t){e=""}let n=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?w(e):"",n]},L=0,F=()=>++L;var I={__proto__:null,FOCUS_EVENT:0,RECONNECT_EVENT:1,MUTATE_EVENT:2,ERROR_REVALIDATE_EVENT:3};async function z(...e){let[t,n,r,i]=e,a=h({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),s=a.populateCache,l=a.rollbackOnError,c=a.optimisticData,p=!1!==a.revalidate,v=e=>"function"==typeof l?l(e):!1!==l,m=a.throwOnError;if(d(n)){let g=[],b=t.keys();for(let x=b.next();!x.done;x=b.next()){let w=x.value;!/^\$(inf|sub)\$/.test(w)&&n(t.get(w)._k)&&g.push(w)}return Promise.all(g.map(_))}return _(n);async function _(n){let i;let[a]=D(n);if(!a)return;let[l,h]=y(t,a),[g,b,x]=o.get(t),w=g[a],_=()=>p&&(delete x[a],w&&w[0])?w[0](2).then(()=>l().data):l().data;if(e.length<3)return _();let E=r,k=F();b[a]=[k,0];let j=!f(c),S=l(),O=S.data,C=S._c,A=f(C)?O:C;if(j&&h({data:c=d(c)?c(A):c,_c:A}),d(E))try{E=E(A)}catch(T){i=T}if(E&&d(E.then)){if(E=await E.catch(e=>{i=e}),k!==b[a][0]){if(i)throw i;return E}i&&j&&v(i)&&(s=!0,E=A,h({data:E,_c:u}))}s&&!i&&(d(s)&&(E=s(E,A)),h({data:E,_c:u})),b[a][1]=F();let M=await _();if(h({_c:u}),i){if(m)throw i;return}return s?M:E}}let V=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},B=(e,t)=>{if(!o.has(e)){let n=h(C,t),r={},i=z.bind(u,e),a=l,s={},c=(e,t)=>{let n=s[e]||[];return s[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);let i=s[t];if(i)for(let o of i)o(n,r)},d=()=>{if(!o.has(e)&&(o.set(e,[r,{},{},{},i,f,c]),!T)){let t=n.initFocus(setTimeout.bind(u,V.bind(u,r,0))),s=n.initReconnect(setTimeout.bind(u,V.bind(u,r,1)));a=()=>{t&&t(),s&&s(),o.delete(e)}}};return d(),[e,i,d,a]}return[e,o.get(e)[4]]},Z=(e,t,n,r,i)=>{let o=n.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;(f(o)||!(a>o))&&setTimeout(r,s,i)},U=(e,t)=>w(e)==w(t),[H,W]=B(new Map),q=h({onLoadingSlow:l,onSuccess:l,onError:l,onErrorRetry:Z,onDiscarded:l,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:R?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:R?5e3:3e3,compare:U,isPaused:()=>!1,cache:H,mutate:W,fallback:{}},{isOnline:()=>_,isVisible:j}),$=(e,t)=>{let n=h(e,t);if(t){let{use:r,fallback:i}=e,{use:o,fallback:a}=t;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=h(i,a))}return n},Y=(0,r.createContext)({}),G=e=>{let{value:t}=e,n=(0,r.useContext)(Y),i=d(t),o=(0,r.useMemo)(()=>i?t(n):t,[i,n,t]),a=(0,r.useMemo)(()=>i?o:$(n,o),[i,n,o]),s=o&&o.provider,l=(0,r.useRef)(u);s&&!l.current&&(l.current=B(s(a.cache||H),o));let c=l.current;return c&&(a.cache=c[0],a.mutate=c[1]),P(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,r.createElement)(Y.Provider,h(e,{value:a}))},K=v&&window.__SWR_DEVTOOLS_USE__,X=K?window.__SWR_DEVTOOLS_USE__:[],Q=e=>d(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],J=()=>h(q,(0,r.useContext)(Y)),ee=e=>(t,n,r)=>{let i=n&&((...e)=>{let r=D(t)[0],[,,,i]=o.get(H),a=i[r];return a?(delete i[r],a):n(...e)});return e(t,i,r)},et=X.concat(ee),en=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}};K&&(window.__SWR_DEVTOOLS_REACT__=r);let er={dedupe:!0},ei=(e,t,n)=>{let{cache:a,compare:s,suspense:l,fallbackData:c,revalidateOnMount:p,revalidateIfStale:v,refreshInterval:m,refreshWhenHidden:g,refreshWhenOffline:b,keepPreviousData:x}=n,[w,_,E]=o.get(a),[k,j]=D(e),S=(0,r.useRef)(!1),O=(0,r.useRef)(!1),C=(0,r.useRef)(k),N=(0,r.useRef)(t),R=(0,r.useRef)(n),L=()=>R.current,V=()=>L().isVisible()&&L().isOnline(),[B,Z,U,H]=y(a,k),W=(0,r.useRef)({}).current,q=f(c)?n.fallback[k]:c,$=(e,t)=>{let n=!0;for(let r in W){let i=r;"data"===i?s(t[i],e[i])||f(e[i])&&s(t[i],ei)||(n=!1):t[i]!==e[i]&&(n=!1)}return n},Y=(0,r.useMemo)(()=>{let e=!!k&&!!t&&(f(p)?!L().isPaused()&&!l&&(!!f(v)||v):p),n=t=>{let n=h(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=B(),i=H(),o=n(r),a=r===i?o:n(i),s=o;return[()=>{let e=n(B());return $(e,s)?s:s=e},()=>a]},[a,k]),G=(0,i.useSyncExternalStore)((0,r.useCallback)(e=>U(k,(t,n)=>{$(n,t)||e()}),[a,k]),Y[0],Y[1]),K=!S.current,X=w[k]&&w[k].length>0,Q=G.data,J=f(Q)?q:Q,ee=G.error,et=(0,r.useRef)(J),ei=x?f(Q)?et.current:Q:J,eo=(!X||!!f(ee))&&(K&&!f(p)?p:!L().isPaused()&&(l?!f(J)&&v:f(J)||v)),ea=!!(k&&t&&K&&eo),es=f(G.isValidating)?ea:G.isValidating,el=f(G.isLoading)?ea:G.isLoading,eu=(0,r.useCallback)(async e=>{let t,r;let i=N.current;if(!k||!i||O.current||L().isPaused())return!1;let o=!0,a=e||{},l=!E[k]||!a.dedupe,c=()=>A?!O.current&&k===C.current&&S.current:k===C.current,h={isValidating:!1,isLoading:!1},p=()=>{Z(h)},v=()=>{let e=E[k];e&&e[1]===r&&delete E[k]},m={isValidating:!0};f(B().data)&&(m.isLoading=!0);try{if(l&&(Z(m),n.loadingTimeout&&f(B().data)&&setTimeout(()=>{o&&c()&&L().onLoadingSlow(k,n)},n.loadingTimeout),E[k]=[i(j),F()]),[t,r]=E[k],t=await t,l&&setTimeout(v,n.dedupingInterval),!E[k]||E[k][1]!==r)return l&&c()&&L().onDiscarded(k),!1;h.error=u;let g=_[k];if(!f(g)&&(r<=g[0]||r<=g[1]||0===g[1]))return p(),l&&c()&&L().onDiscarded(k),!1;let y=B().data;h.data=s(y,t)?y:t,l&&c()&&L().onSuccess(t,k,n)}catch(T){v();let b=L(),{shouldRetryOnError:x}=b;!b.isPaused()&&(h.error=T,l&&c()&&(b.onError(T,k,b),(!0===x||d(x)&&x(T))&&V()&&b.onErrorRetry(T,k,b,e=>{let t=w[k];t&&t[0]&&t[0](I.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return o=!1,p(),!0},[k,a]),ec=(0,r.useCallback)((...e)=>z(a,C.current,...e),[]);if(P(()=>{N.current=t,R.current=n,f(Q)||(et.current=Q)}),P(()=>{if(!k)return;let e=eu.bind(u,er),t=0,n=(n,r={})=>{if(n==I.FOCUS_EVENT){let i=Date.now();L().revalidateOnFocus&&i>t&&V()&&(t=i+L().focusThrottleInterval,e())}else if(n==I.RECONNECT_EVENT)L().revalidateOnReconnect&&V()&&e();else if(n==I.MUTATE_EVENT)return eu();else if(n==I.ERROR_REVALIDATE_EVENT)return eu(r)},r=en(k,w,n);return O.current=!1,C.current=k,S.current=!0,Z({_k:j}),eo&&(f(J)||T?e():M(e)),()=>{O.current=!0,r()}},[k]),P(()=>{let e;function t(){let t=d(m)?m(J):m;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!B().error&&(g||L().isVisible())&&(b||L().isOnline())?eu(er).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[m,g,b,k]),(0,r.useDebugValue)(ei),l&&f(J)&&k){if(!A&&T)throw Error("Fallback data is required when using suspense in SSR.");throw N.current=t,R.current=n,O.current=!1,f(ee)?eu(er):ee}return{mutate:ec,get data(){return W.data=!0,ei},get error(){return W.error=!0,ee},get isValidating(){return W.isValidating=!0,es},get isLoading(){return W.isLoading=!0,el}}},eo=c.defineProperty(G,"defaultValue",{value:q});var ea=function(...e){let t=J(),[n,r,i]=Q(e),o=$(t,i),a=ei,{use:s}=o,l=(s||[]).concat(et);for(let u=l.length;u--;)a=l[u](a);return a(n,r||o.fetcher||null,o)}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(86570),t(92203)}),_N_E=e.O()}]); \ No newline at end of file +attempted value: ${i} +`+ (o !== i ? `result of cast: ${o}` : "")) + } return r + } _cast(e, t) { let n = void 0 === e ? e : this.transforms.reduce((t, n) => n.call(this, t, e, this), e); return void 0 === n && (n = this.getDefault()), n } _validate(e, t = {}, n) { let { sync: r, path: i, from: o = [], originalValue: a = e, strict: s = this.spec.strict, abortEarly: l = this.spec.abortEarly } = t, u = e; s || (u = this._cast(u, z({ assert: !1 }, t))); let c = { value: u, path: i, options: t, originalValue: a, schema: this, label: this.spec.label, sync: r, from: o }, f = []; this._typeError && f.push(this._typeError); let d = []; this._whitelistError && d.push(this._whitelistError), this._blacklistError && d.push(this._blacklistError), A({ args: c, value: u, path: i, sync: r, tests: f, endEarly: l }, e => { if (e) return void n(e, u); A({ tests: this.tests.concat(d), args: c, path: i, sync: r, value: u, endEarly: l }, n) }) } validate(e, t, n) { let r = this.resolve(z({}, t, { value: e })); return "function" == typeof n ? r._validate(e, t, n) : new Promise((n, i) => r._validate(e, t, (e, t) => { e ? i(e) : n(t) })) } validateSync(e, t) { let n; return this.resolve(z({}, t, { value: e }))._validate(e, z({}, t, { sync: !0 }), (e, t) => { if (e) throw e; n = t }), n } isValid(e, t) { return this.validate(e, t).then(() => !0, e => { if (O.isError(e)) return !1; throw e }) } isValidSync(e, t) { try { return this.validateSync(e, t), !0 } catch (n) { if (O.isError(n)) return !1; throw n } } _getDefault() { let e = this.spec.default; return null == e ? e : "function" == typeof e ? e.call(this) : o(e) } getDefault(e) { return this.resolve(e || {})._getDefault() } default(e) { return 0 == arguments.length ? this._getDefault() : this.clone({ default: e }) } strict(e = !0) { let t = this.clone(); return t.spec.strict = e, t } _isPresent(e) { return null != e } defined(e = h.defined) { return this.test({ message: e, name: "defined", exclusive: !0, test: e => void 0 !== e }) } required(e = h.required) { return this.clone({ presence: "required" }).withMutation(t => t.test({ message: e, name: "required", exclusive: !0, test(e) { return this.schema._isPresent(e) } })) } notRequired() { let e = this.clone({ presence: "optional" }); return e.tests = e.tests.filter(e => "required" !== e.OPTIONS.name), e } nullable(e = !0) { return this.clone({ nullable: !1 !== e }) } transform(e) { let t = this.clone(); return t.transforms.push(e), t } test(...e) { let t; if (void 0 === (t = 1 === e.length ? "function" == typeof e[0] ? { test: e[0] } : e[0] : 2 === e.length ? { name: e[0], test: e[1] } : { name: e[0], message: e[1], test: e[2] }).message && (t.message = h.default), "function" != typeof t.test) throw TypeError("`test` is a required parameters"); let n = this.clone(), r = L(t), i = t.exclusive || t.name && !0 === n.exclusiveTests[t.name]; if (t.exclusive && !t.name) throw TypeError("Exclusive tests must provide a unique `name` identifying the test"); return t.name && (n.exclusiveTests[t.name] = !!t.exclusive), n.tests = n.tests.filter(e => e.OPTIONS.name !== t.name || !i && e.OPTIONS.test !== r.OPTIONS.test), n.tests.push(r), n } when(e, t) { Array.isArray(e) || "string" == typeof e || (t = e, e = "."); let n = this.clone(), r = k(e).map(e => new R(e)); return r.forEach(e => { e.isSibling && n.deps.push(e.key) }), n.conditions.push(new E(r, t)), n } typeError(e) { let t = this.clone(); return t._typeError = L({ message: e, name: "typeError", test(e) { return !!(void 0 === e || this.schema.isType(e)) || this.createError({ params: { type: this.schema._type } }) } }), t } oneOf(e, t = h.oneOf) { let n = this.clone(); return e.forEach(e => { n._whitelist.add(e), n._blacklist.delete(e) }), n._whitelistError = L({ message: t, name: "oneOf", test(e) { if (void 0 === e) return !0; let t = this.schema._whitelist, n = t.resolveAll(this.resolve); return !!n.includes(e) || this.createError({ params: { values: t.toArray().join(", "), resolved: n } }) } }), n } notOneOf(e, t = h.notOneOf) { let n = this.clone(); return e.forEach(e => { n._blacklist.add(e), n._whitelist.delete(e) }), n._blacklistError = L({ message: t, name: "notOneOf", test(e) { let t = this.schema._blacklist, n = t.resolveAll(this.resolve); return !n.includes(e) || this.createError({ params: { values: t.toArray().join(", "), resolved: n } }) } }), n } strip(e = !0) { let t = this.clone(); return t.spec.strip = e, t } describe() { let e = this.clone(), { label: t, meta: n } = e.spec, r = { meta: n, label: t, type: e.type, oneOf: e._whitelist.describe(), notOneOf: e._blacklist.describe(), tests: e.tests.map(e => ({ name: e.OPTIONS.name, params: e.OPTIONS.params })).filter((e, t, n) => n.findIndex(t => t.name === e.name) === t) }; return r } + } for (let B of (V.prototype.__isYupSchema__ = !0, ["validate", "validateSync"])) V.prototype[`${B}At`] = function(e, t, n = {}) { let { parent: r, parentPath: i, schema: o } = function(e, t, n, r = n) { let i, o, a; return t ? ((0, P.forEach)(t, (s, l, u) => { let c = l ? F(s) : s; if ((e = e.resolve({ context: r, parent: i, value: n })).innerType) { let f = u ? parseInt(c, 10) : 0; if (n && f >= n.length) throw Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `); i = n, n = n && n[f], e = e.innerType } if (!u) { if (!e.fields || !e.fields[c]) throw Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e._type}")`); i = n, n = n && n[c], e = e.fields[c] } o = c, a = l ? "[" + s + "]" : "." + s }), { schema: e, parent: i, parentPath: o }) : { parent: i, parentPath: t, schema: e } }(this, e, t, n.context); return o[B](r && r[i], z({}, n, { parent: r, path: e })) }; for (let Z of ["equals", "is"]) V.prototype[Z] = V.prototype.oneOf; for (let U of ["not", "nope"]) V.prototype[U] = V.prototype.notOneOf; V.prototype.optional = V.prototype.notRequired, V.prototype; var H = e => null == e; let W = /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i, q = /^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i, $ = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, Y = e => H(e) || e === e.trim(), G = ({}).toString(); function K() { return new X } class X extends V { constructor() { super({ type: "string" }), this.withMutation(() => { this.transform(function(e) { if (this.isType(e) || Array.isArray(e)) return e; let t = null != e && e.toString ? e.toString() : e; return t === G ? e : t }) }) } _typeCheck(e) { return e instanceof String && (e = e.valueOf()), "string" == typeof e } _isPresent(e) { return super._isPresent(e) && !!e.length } length(e, t = p.length) { return this.test({ message: t, name: "length", exclusive: !0, params: { length: e }, test(t) { return H(t) || t.length === this.resolve(e) } }) } min(e, t = p.min) { return this.test({ message: t, name: "min", exclusive: !0, params: { min: e }, test(t) { return H(t) || t.length >= this.resolve(e) } }) } max(e, t = p.max) { return this.test({ name: "max", exclusive: !0, message: t, params: { max: e }, test(t) { return H(t) || t.length <= this.resolve(e) } }) } matches(e, t) { let n, r, i = !1; return t && ("object" == typeof t ? { excludeEmptyString: i = !1, message: n, name: r } = t : n = t), this.test({ name: r || "matches", message: n || p.matches, params: { regex: e }, test: t => H(t) || "" === t && i || -1 !== t.search(e) }) } email(e = p.email) { return this.matches(W, { name: "email", message: e, excludeEmptyString: !0 }) } url(e = p.url) { return this.matches(q, { name: "url", message: e, excludeEmptyString: !0 }) } uuid(e = p.uuid) { return this.matches($, { name: "uuid", message: e, excludeEmptyString: !1 }) } ensure() { return this.default("").transform(e => null === e ? "" : e) } trim(e = p.trim) { return this.transform(e => null != e ? e.trim() : e).test({ message: e, name: "trim", test: Y }) } lowercase(e = p.lowercase) { return this.transform(e => H(e) ? e : e.toLowerCase()).test({ message: e, name: "string_case", exclusive: !0, test: e => H(e) || e === e.toLowerCase() }) } uppercase(e = p.uppercase) { return this.transform(e => H(e) ? e : e.toUpperCase()).test({ message: e, name: "string_case", exclusive: !0, test: e => H(e) || e === e.toUpperCase() }) } } K.prototype = X.prototype; let Q = e => e != +e; function J() { return new ee } class ee extends V { constructor() { super({ type: "number" }), this.withMutation(() => { this.transform(function(e) { let t = e; if ("string" == typeof t) { if ("" === (t = t.replace(/\s/g, ""))) return NaN; t = +t } return this.isType(t) ? t : parseFloat(t) }) }) } _typeCheck(e) { return e instanceof Number && (e = e.valueOf()), "number" == typeof e && !Q(e) } min(e, t = v.min) { return this.test({ message: t, name: "min", exclusive: !0, params: { min: e }, test(t) { return H(t) || t >= this.resolve(e) } }) } max(e, t = v.max) { return this.test({ message: t, name: "max", exclusive: !0, params: { max: e }, test(t) { return H(t) || t <= this.resolve(e) } }) } lessThan(e, t = v.lessThan) { return this.test({ message: t, name: "max", exclusive: !0, params: { less: e }, test(t) { return H(t) || t < this.resolve(e) } }) } moreThan(e, t = v.moreThan) { return this.test({ message: t, name: "min", exclusive: !0, params: { more: e }, test(t) { return H(t) || t > this.resolve(e) } }) } positive(e = v.positive) { return this.moreThan(0, e) } negative(e = v.negative) { return this.lessThan(0, e) } integer(e = v.integer) { return this.test({ name: "integer", message: e, test: e => H(e) || Number.isInteger(e) }) } truncate() { return this.transform(e => H(e) ? e : 0 | e) } round(e) { var t; let n = ["ceil", "floor", "round", "trunc"]; if ("trunc" === (e = (null == (t = e) ? void 0 : t.toLowerCase()) || "round")) return this.truncate(); if (-1 === n.indexOf(e.toLowerCase())) throw TypeError("Only valid options for round() are: " + n.join(", ")); return this.transform(t => H(t) ? t : Math[e](t)) } } J.prototype = ee.prototype; var et = /^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/; let en = new Date(""), er = e => "[object Date]" === Object.prototype.toString.call(e); function ei() { return new eo } class eo extends V { constructor() { super({ type: "date" }), this.withMutation(() => { this.transform(function(e) { return this.isType(e) ? e : isNaN(e = function(e) { var t, n, r = [1, 4, 5, 6, 7, 10, 11], i = 0; if (n = et.exec(e)) { for (var o, a = 0; o = r[a]; ++a)n[o] = +n[o] || 0; n[2] = (+n[2] || 1) - 1, n[3] = +n[3] || 1, n[7] = n[7] ? String(n[7]).substr(0, 3) : 0, (void 0 === n[8] || "" === n[8]) && (void 0 === n[9] || "" === n[9]) ? t = +new Date(n[1], n[2], n[3], n[4], n[5], n[6], n[7]) : ("Z" !== n[8] && void 0 !== n[9] && (i = 60 * n[10] + n[11], "+" === n[9] && (i = 0 - i)), t = Date.UTC(n[1], n[2], n[3], n[4], n[5] + i, n[6], n[7])) } else t = Date.parse ? Date.parse(e) : NaN; return t }(e)) ? en : new Date(e) }) }) } _typeCheck(e) { return er(e) && !isNaN(e.getTime()) } prepareParam(e, t) { let n; if (R.isRef(e)) n = e; else { let r = this.cast(e); if (!this._typeCheck(r)) throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`); n = r } return n } min(e, t = m.min) { let n = this.prepareParam(e, "min"); return this.test({ message: t, name: "min", exclusive: !0, params: { min: e }, test(e) { return H(e) || e >= this.resolve(n) } }) } max(e, t = m.max) { let n = this.prepareParam(e, "max"); return this.test({ message: t, name: "max", exclusive: !0, params: { max: e }, test(e) { return H(e) || e <= this.resolve(n) } }) } } eo.INVALID_DATE = en, ei.prototype = eo.prototype, ei.INVALID_DATE = en; var ea = n(57370), es = n.n(ea), el = n(96009), eu = n.n(el), ec = n(19950), ef = n.n(ec), ed = n(95159), eh = n.n(ed); function ep(e, t) { let n = 1 / 0; return e.some((e, r) => { var i; if ((null == (i = t.path) ? void 0 : i.indexOf(e)) !== -1) return n = r, !0 }), n } function ev(e) { return (t, n) => ep(e, t) - ep(e, n) } function em() { return (em = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } let eg = e => "[object Object]" === Object.prototype.toString.call(e), ey = ev([]); class eb extends V { constructor(e) { super({ type: "object" }), this.fields = Object.create(null), this._sortErrors = ey, this._nodes = [], this._excludedEdges = [], this.withMutation(() => { this.transform(function(e) { if ("string" == typeof e) try { e = JSON.parse(e) } catch (t) { e = null } return this.isType(e) ? e : null }), e && this.shape(e) }) } _typeCheck(e) { return eg(e) || "function" == typeof e } _cast(e, t = {}) { var n; let r = super._cast(e, t); if (void 0 === r) return this.getDefault(); if (!this._typeCheck(r)) return r; let i = this.fields, o = null != (n = t.stripUnknown) ? n : this.spec.noUnknown, a = this._nodes.concat(Object.keys(r).filter(e => -1 === this._nodes.indexOf(e))), s = {}, l = em({}, t, { parent: s, __validating: t.__validating || !1 }), u = !1; for (let c of a) { let f = i[c], d = w()(r, c); if (f) { let h; let p = r[c]; l.path = (t.path ? `${t.path}.` : "") + c; let v = "spec" in (f = f.resolve({ value: p, context: t.context, parent: s })) ? f.spec : void 0, m = null == v ? void 0 : v.strict; if (null == v ? void 0 : v.strip) { u = u || c in r; continue } void 0 !== (h = t.__validating && m ? r[c] : f.cast(r[c], l)) && (s[c] = h) } else d && !o && (s[c] = r[c]); s[c] !== r[c] && (u = !0) } return u ? s : r } _validate(e, t = {}, n) { let r = [], { sync: i, from: o = [], originalValue: a = e, abortEarly: s = this.spec.abortEarly, recursive: l = this.spec.recursive } = t; o = [{ schema: this, value: a }, ...o], t.__validating = !0, t.originalValue = a, t.from = o, super._validate(e, t, (e, u) => { if (e) { if (!O.isError(e) || s) return void n(e, u); r.push(e) } if (!l || !eg(u)) { n(r[0] || null, u); return } a = a || u; let c = this._nodes.map(e => (n, r) => { let i = -1 === e.indexOf(".") ? (t.path ? `${t.path}.` : "") + e : `${t.path || ""}["${e}"]`, s = this.fields[e]; if (s && "validate" in s) { s.validate(u[e], em({}, t, { path: i, from: o, strict: !0, parent: u, originalValue: a[e] }), r); return } r(null) }); A({ sync: i, tests: c, value: u, errors: r, endEarly: s, sort: this._sortErrors, path: t.path }, n) }) } clone(e) { let t = super.clone(e); return t.fields = em({}, this.fields), t._nodes = this._nodes, t._excludedEdges = this._excludedEdges, t._sortErrors = this._sortErrors, t } concat(e) { let t = super.concat(e), n = t.fields; for (let [r, i] of Object.entries(this.fields)) { let o = n[r]; void 0 === o ? n[r] = i : o instanceof V && i instanceof V && (n[r] = i.concat(o)) } return t.withMutation(() => t.shape(n, this._excludedEdges)) } getDefaultFromShape() { let e = {}; return this._nodes.forEach(t => { let n = this.fields[t]; e[t] = "default" in n ? n.getDefault() : void 0 }), e } _getDefault() { return "default" in this.spec ? super._getDefault() : this._nodes.length ? this.getDefaultFromShape() : void 0 } shape(e, t = []) { let n = this.clone(), r = Object.assign(n.fields, e); return n.fields = r, n._sortErrors = ev(Object.keys(r)), t.length && (Array.isArray(t[0]) || (t = [t]), n._excludedEdges = [...n._excludedEdges, ...t]), n._nodes = function(e, t = []) { let n = [], r = new Set, i = new Set(t.map(([e, t]) => `${e}-${t}`)); function o(e, t) { let o = (0, P.split)(e)[0]; r.add(o), i.has(`${t}-${o}`) || n.push([t, o]) } for (let a in e) if (w()(e, a)) { let s = e[a]; r.add(a), R.isRef(s) && s.isSibling ? o(s.path, a) : _(s) && "deps" in s && s.deps.forEach(e => o(e, a)) } return eh().array(Array.from(r), n).reverse() }(r, n._excludedEdges), n } pick(e) { let t = {}; for (let n of e) this.fields[n] && (t[n] = this.fields[n]); return this.clone().withMutation(e => (e.fields = {}, e.shape(t))) } omit(e) { let t = this.clone(), n = t.fields; for (let r of (t.fields = {}, e)) delete n[r]; return t.withMutation(() => t.shape(n)) } from(e, t, n) { let r = (0, P.getter)(e, !0); return this.transform(i => { if (null == i) return i; let o = i; return w()(i, e) && (o = em({}, i), n || delete o[e], o[t] = r(i)), o }) } noUnknown(e = !0, t = g.noUnknown) { "string" == typeof e && (t = e, e = !0); let n = this.test({ name: "noUnknown", exclusive: !0, message: t, test(t) { let n; if (null == t) return !0; let r = (n = Object.keys(this.schema.fields), Object.keys(t).filter(e => -1 === n.indexOf(e))); return !e || 0 === r.length || this.createError({ params: { unknown: r.join(", ") } }) } }); return n.spec.noUnknown = e, n } unknown(e = !0, t = g.noUnknown) { return this.noUnknown(!e, t) } transformKeys(e) { return this.transform(t => t && ef()(t, (t, n) => e(n))) } camelCase() { return this.transformKeys(eu()) } snakeCase() { return this.transformKeys(es()) } constantCase() { return this.transformKeys(e => es()(e).toUpperCase()) } describe() { let e = super.describe(); return e.fields = M()(this.fields, e => e.describe()), e } } function ex(e) { return new eb(e) } ex.prototype = eb.prototype + }, 44868: function(e, t, n) { "use strict"; var r, i, o = Object.create, a = Object.defineProperty, s = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, u = Object.getPrototypeOf, c = Object.prototype.hasOwnProperty, f = (e, t, n, r) => { if (t && "object" == typeof t || "function" == typeof t) for (let i of l(t)) c.call(e, i) || i === n || a(e, i, { get: () => t[i], enumerable: !(r = s(t, i)) || r.enumerable }); return e }, d = {}; ((e, t) => { for (var n in t) a(e, n, { get: t[n], enumerable: !0 }) })(d, { Animated: () => b, AnimatedArray: () => C, AnimatedObject: () => O, AnimatedString: () => E, AnimatedValue: () => w, createHost: () => z, getAnimated: () => m, getAnimatedType: () => M, getPayload: () => y, isAnimated: () => v, setAnimated: () => g }), e.exports = f(a({}, "__esModule", { value: !0 }), d); var h = n(6901), p = Symbol.for("Animated:node"), v = e => !!e && e[p] === e, m = e => e && e[p], g = (e, t) => (0, h.defineHidden)(e, p, t), y = e => e && e[p] && e[p].getPayload(), b = class { constructor() { g(this, this) } getPayload() { return this.payload || [] } }, x = n(6901), w = class extends b { constructor(e) { super(), this._value = e, this.done = !0, this.durationProgress = 0, x.is.num(this._value) && (this.lastPosition = this._value) } static create(e) { return new w(e) } getPayload() { return [this] } getValue() { return this._value } setValue(e, t) { return x.is.num(e) && (this.lastPosition = e, t && (e = Math.round(e / t) * t, this.done && (this.lastPosition = e))), this._value !== e && (this._value = e, !0) } reset() { let { done: e } = this; this.done = !1, x.is.num(this._value) && (this.elapsedTime = 0, this.durationProgress = 0, this.lastPosition = this._value, e && (this.lastVelocity = null), this.v0 = null) } }, _ = n(6901), E = class extends w { constructor(e) { super(0), this._string = null, this._toString = (0, _.createInterpolator)({ output: [e, e] }) } static create(e) { return new E(e) } getValue() { return this._string ?? (this._string = this._toString(this._value)) } setValue(e) { if (_.is.str(e)) { if (e == this._string) return !1; this._string = e, this._value = 1 } else { if (!super.setValue(e)) return !1; this._string = null } return !0 } reset(e) { e && (this._toString = (0, _.createInterpolator)({ output: [this.getValue(), e] })), this._value = 0, super.reset() } }, k = n(6901), j = n(6901), S = { dependencies: null }, O = class extends b { constructor(e) { super(), this.source = e, this.setValue(e) } getValue(e) { let t = {}; return (0, j.eachProp)(this.source, (n, r) => { v(n) ? t[r] = n.getValue(e) : (0, j.hasFluidValue)(n) ? t[r] = (0, j.getFluidValue)(n) : e || (t[r] = n) }), t } setValue(e) { this.source = e, this.payload = this._makePayload(e) } reset() { this.payload && (0, j.each)(this.payload, e => e.reset()) } _makePayload(e) { if (e) { let t = new Set; return (0, j.eachProp)(e, this._addToPayload, t), Array.from(t) } } _addToPayload(e) { S.dependencies && (0, j.hasFluidValue)(e) && S.dependencies.add(e); let t = y(e); t && (0, j.each)(t, e => this.add(e)) } }, C = class extends O { constructor(e) { super(e) } static create(e) { return new C(e) } getValue() { return this.source.map(e => e.getValue()) } setValue(e) { let t = this.getPayload(); return e.length == t.length ? t.map((t, n) => t.setValue(e[n])).some(Boolean) : (super.setValue(e.map(A)), !0) } }; function A(e) { return ((0, k.isAnimatedString)(e) ? E : w).create(e) } var T = n(6901); function M(e) { let t = m(e); return t ? t.constructor : T.is.arr(e) ? C : (0, T.isAnimatedString)(e) ? E : w } var P = n(6901), N = (i = null != (r = n(2784)) ? o(u(r)) : {}, f(r && r.__esModule ? i : a(i, "default", { value: r, enumerable: !0 }), r)), R = n(2784), D = n(6901), L = (e, t) => { let n = !D.is.fun(e) || e.prototype && e.prototype.isReactComponent; return (0, R.forwardRef)((r, i) => { var o; let a; let s = (0, R.useRef)(null), l = n && (0, R.useCallback)(e => { var t; s.current = ((t = i) && (D.is.fun(t) ? t(e) : t.current = e), e) }, [i]), [u, c] = (o = r, a = new Set, S.dependencies = a, o.style && (o = { ...o, style: t.createAnimatedStyle(o.style) }), o = new O(o), S.dependencies = null, [o, a]), f = (0, D.useForceUpdate)(), d = () => { let e = s.current; (!n || e) && (!!e && t.applyAnimatedValues(e, u.getValue(!0))) === !1 && f() }, h = new F(d, c), p = (0, R.useRef)(); (0, D.useIsomorphicLayoutEffect)(() => (p.current = h, (0, D.each)(c, e => (0, D.addFluidObserver)(e, h)), () => { p.current && ((0, D.each)(p.current.deps, e => (0, D.removeFluidObserver)(e, p.current)), D.raf.cancel(p.current.update)) })), (0, R.useEffect)(d, []), (0, D.useOnce)(() => () => { let e = p.current; (0, D.each)(e.deps, t => (0, D.removeFluidObserver)(t, e)) }); let v = t.getComponentProps(u.getValue()); return N.createElement(e, { ...v, ref: l }) }) }, F = class { constructor(e, t) { this.update = e, this.deps = t } eventObserved(e) { "change" == e.type && D.raf.write(this.update) } }, I = Symbol.for("AnimatedComponent"), z = (e, { applyAnimatedValues: t = () => !1, createAnimatedStyle: n = e => new O(e), getComponentProps: r = e => e } = {}) => { let i = { applyAnimatedValues: t, createAnimatedStyle: n, getComponentProps: r }, o = e => { let t = V(e) || "Anonymous"; return (e = P.is.str(e) ? o[e] || (o[e] = L(e, i)) : e[I] || (e[I] = L(e, i))).displayName = `Animated(${t})`, e }; return (0, P.eachProp)(e, (t, n) => { P.is.arr(e) && (n = V(t)), o[n] = o(t) }), { animated: o } }, V = e => P.is.str(e) ? e : e && P.is.str(e.displayName) ? e.displayName : P.is.fun(e) && e.name || null }, 22360: function(e, t, n) { "use strict"; var r, i, o, a = Object.create, s = Object.defineProperty, l = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyNames, c = Object.getPrototypeOf, f = Object.prototype.hasOwnProperty, d = (e, t, n, r) => { if (t && "object" == typeof t || "function" == typeof t) for (let i of u(t)) f.call(e, i) || i === n || s(e, i, { get: () => t[i], enumerable: !(r = l(t, i)) || r.enumerable }); return e }, h = (e, t, n) => (n = null != e ? a(c(e)) : {}, d(!t && e && e.__esModule ? n : s(n, "default", { value: e, enumerable: !0 }), e)), p = {}; ((e, t) => { for (var n in t) s(e, n, { get: t[n], enumerable: !0 }) })(p, { BailSignal: () => J, Controller: () => eE, FrameValue: () => eo, Globals: () => tu.Globals, Interpolation: () => tr, Spring: () => e6, SpringContext: () => eR, SpringRef: () => eF, SpringValue: () => ed, Trail: () => e7, Transition: () => e9, config: () => I, createInterpolator: () => tf.createInterpolator, easings: () => tf.easings, inferTo: () => j, interpolate: () => tl, to: () => ts, update: () => tc, useChain: () => M, useInView: () => e5, useIsomorphicLayoutEffect: () => tf.useIsomorphicLayoutEffect, useReducedMotion: () => tf.useReducedMotion, useResize: () => e1, useScroll: () => eJ, useSpring: () => ez, useSpringRef: () => eZ, useSpringValue: () => eH, useSprings: () => eI, useTrail: () => eq, useTransition: () => eK }), e.exports = d(s({}, "__esModule", { value: !0 }), p); var v = n(6901), m = n(6901); function g(e, ...t) { return m.is.fun(e) ? e(...t) : e } var y = (e, t) => !0 === e || !!(t && e && (m.is.fun(e) ? e(t) : (0, m.toArray)(e).includes(t))), b = (e, t) => m.is.obj(e) ? t && e[t] : e, x = (e, t) => !0 === e.default ? e[t] : e.default ? e.default[t] : void 0, w = e => e, _ = (e, t = w) => { let n = E; e.default && !0 !== e.default && (n = Object.keys(e = e.default)); let r = {}; for (let i of n) { let o = t(e[i], i); m.is.und(o) || (r[i] = o) } return r }, E = ["config", "onProps", "onStart", "onChange", "onPause", "onResume", "onRest"], k = { config: 1, from: 1, to: 1, ref: 1, loop: 1, reset: 1, pause: 1, cancel: 1, reverse: 1, immediate: 1, default: 1, delay: 1, onProps: 1, onStart: 1, onChange: 1, onPause: 1, onResume: 1, onRest: 1, onResolve: 1, items: 1, trail: 1, sort: 1, expires: 1, initial: 1, enter: 1, update: 1, leave: 1, children: 1, onDestroyed: 1, keys: 1, callId: 1, parentId: 1 }; function j(e) { let t = function(e) { let t = {}, n = 0; if ((0, m.eachProp)(e, (e, r) => { k[r] || (t[r] = e, n++) }), n) return t }(e); if (t) { let n = { to: t }; return (0, m.eachProp)(e, (e, r) => r in t || (n[r] = e)), n } return { ...e } } function S(e) { return e = (0, m.getFluidValue)(e), m.is.arr(e) ? e.map(S) : (0, m.isAnimatedString)(e) ? m.Globals.createStringInterpolator({ range: [0, 1], output: [e, e] })(1) : e } function O(e) { for (let t in e) return !0; return !1 } function C(e) { return m.is.fun(e) || m.is.arr(e) && m.is.obj(e[0]) } function A(e, t) { e.ref?.delete(e), t?.delete(e) } function T(e, t) { t && e.ref !== t && (e.ref?.delete(e), t.add(e), e.ref = t) } function M(e, t, n = 1e3) { (0, v.useIsomorphicLayoutEffect)(() => { if (t) { let r = 0; (0, v.each)(e, (e, i) => { let o = e.current; if (o.length) { let a = n * t[i]; isNaN(a) ? a = r : r = a, (0, v.each)(o, e => { (0, v.each)(e.queue, e => { let t = e.delay; e.delay = e => a + g(t || 0, e) }) }), e.start() } }) } else { let i = Promise.resolve(); (0, v.each)(e, e => { let t = e.current; if (t.length) { let n = t.map(e => { let t = e.queue; return e.queue = [], t }); i = i.then(() => ((0, v.each)(t, (e, t) => (0, v.each)(n[t] || [], t => e.queue.push(t))), Promise.all(e.start()))) } }) } }) } var P = n(6901), N = n(2784), R = n(6901), D = n(6901), L = n(25447), F = n(6901), I = { default: { tension: 170, friction: 26 }, gentle: { tension: 120, friction: 14 }, wobbly: { tension: 180, friction: 12 }, stiff: { tension: 210, friction: 20 }, slow: { tension: 280, friction: 60 }, molasses: { tension: 280, friction: 120 } }, z = { ...I.default, mass: 1, damping: 1, easing: F.easings.linear, clamp: !1 }, V = class { constructor() { this.velocity = 0, Object.assign(this, z) } }; function B(e, t) { if (F.is.und(t.decay)) { let n = !F.is.und(t.tension) || !F.is.und(t.friction); !n && F.is.und(t.frequency) && F.is.und(t.damping) && F.is.und(t.mass) || (e.duration = void 0, e.decay = void 0), n && (e.frequency = void 0) } else e.duration = void 0 } var Z = [], U = class { constructor() { this.changed = !1, this.values = Z, this.toValues = null, this.fromValues = Z, this.config = new V, this.immediate = !1 } }, H = n(6901); function W(e, { key: t, props: n, defaultProps: r, state: i, actions: o }) { return new Promise((a, s) => { let l, u, c = y(n.cancel ?? r?.cancel, t); if (c) p(); else { H.is.und(n.pause) || (i.paused = y(n.pause, t)); let f = r?.pause; !0 !== f && (f = i.paused || y(f, t)), l = g(n.delay || 0, t), f ? (i.resumeQueue.add(h), o.pause()) : (o.resume(), h()) } function d() { i.resumeQueue.add(h), i.timeouts.delete(u), u.cancel(), l = u.time - H.raf.now() } function h() { l > 0 && !H.Globals.skipAnimation ? (i.delayed = !0, u = H.raf.setTimeout(p, l), i.pauseQueue.add(d), i.timeouts.add(u)) : p() } function p() { i.delayed && (i.delayed = !1), i.pauseQueue.delete(d), i.timeouts.delete(u), e <= (i.cancelId || 0) && (c = !0); try { o.start({ ...n, callId: e, cancel: c }, a) } catch (t) { s(t) } } }) } var q = n(6901), $ = (e, t) => 1 == t.length ? t[0] : t.some(e => e.cancelled) ? K(e.get()) : t.every(e => e.noop) ? Y(e.get()) : G(e.get(), t.every(e => e.finished)), Y = e => ({ value: e, noop: !0, finished: !0, cancelled: !1 }), G = (e, t, n = !1) => ({ value: e, finished: t, cancelled: n }), K = e => ({ value: e, cancelled: !0, finished: !1 }); function X(e, t, n, r) { let { callId: i, parentId: o, onRest: a } = t, { asyncTo: s, promise: l } = n; return o || e !== s || t.reset ? n.promise = (async () => { n.asyncId = i, n.asyncTo = e; let u = _(t, (e, t) => "onRest" === t ? void 0 : e), c, f, d = new Promise((e, t) => (c = e, f = t)), h = e => { let t = i <= (n.cancelId || 0) && K(r) || i !== n.asyncId && G(r, !1); if (t) throw e.result = t, f(e), e }, p = (e, t) => { let o = new J, a = new ee; return (async () => { if (q.Globals.skipAnimation) throw Q(n), a.result = G(r, !1), f(a), a; h(o); let s = q.is.obj(e) ? { ...e } : { ...t, to: e }; s.parentId = i, (0, q.eachProp)(u, (e, t) => { q.is.und(s[t]) && (s[t] = e) }); let l = await r.start(s); return h(o), n.paused && await new Promise(e => { n.resumeQueue.add(e) }), l })() }, v; if (q.Globals.skipAnimation) return Q(n), G(r, !1); try { await Promise.all([(q.is.arr(e) ? (async e => { for (let t of e) await p(t) })(e) : Promise.resolve(e(p, r.stop.bind(r)))).then(c), d]), v = G(r.get(), !0, !1) } catch (m) { if (m instanceof J) v = m.result; else if (m instanceof ee) v = m.result; else throw m } finally { i == n.asyncId && (n.asyncId = o, n.asyncTo = o ? s : void 0, n.promise = o ? l : void 0) } return q.is.fun(a) && q.raf.batchedUpdates(() => { a(v, r, r.item) }), v })() : l } function Q(e, t) { (0, q.flush)(e.timeouts, e => e.cancel()), e.pauseQueue.clear(), e.resumeQueue.clear(), e.asyncId = e.asyncTo = e.promise = void 0, t && (e.cancelId = t) } var J = class extends Error { constructor() { super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.") } }, ee = class extends Error { constructor() { super("SkipAnimationSignal") } }, et = n(6901), en = n(25447), er = e => e instanceof eo, ei = 1, eo = class extends et.FluidValue { constructor() { super(...arguments), this.id = ei++, this._priority = 0 } get priority() { return this._priority } set priority(e) { this._priority != e && (this._priority = e, this._onPriorityChange(e)) } get() { let e = (0, en.getAnimated)(this); return e && e.getValue() } to(...e) { return et.Globals.to(this, e) } interpolate(...e) { return (0, et.deprecateInterpolate)(), et.Globals.to(this, e) } toJSON() { return this.get() } observerAdded(e) { 1 == e && this._attach() } observerRemoved(e) { 0 == e && this._detach() } _attach() { } _detach() { } _onChange(e, t = !1) { (0, et.callFluidObservers)(this, { type: "change", parent: this, value: e, idle: t }) } _onPriorityChange(e) { this.idle || et.frameLoop.sort(this), (0, et.callFluidObservers)(this, { type: "priority", parent: this, priority: e }) } }, ea = Symbol.for("SpringPhase"), es = e => (1 & e[ea]) > 0, el = e => (2 & e[ea]) > 0, eu = e => (4 & e[ea]) > 0, ec = (e, t) => t ? e[ea] |= 3 : e[ea] &= -3, ef = (e, t) => t ? e[ea] |= 4 : e[ea] &= -5, ed = class extends eo { constructor(e, t) { if (super(), this.animation = new U, this.defaultProps = {}, this._state = { paused: !1, delayed: !1, pauseQueue: new Set, resumeQueue: new Set, timeouts: new Set }, this._pendingCalls = new Set, this._lastCallId = 0, this._lastToId = 0, this._memoizedDuration = 0, !D.is.und(e) || !D.is.und(t)) { let n = D.is.obj(e) ? { ...e } : { ...t, from: e }; D.is.und(n.default) && (n.default = !0), this.start(n) } } get idle() { return !(el(this) || this._state.asyncTo) || eu(this) } get goal() { return (0, D.getFluidValue)(this.animation.to) } get velocity() { let e = (0, L.getAnimated)(this); return e instanceof L.AnimatedValue ? e.lastVelocity || 0 : e.getPayload().map(e => e.lastVelocity || 0) } get hasAnimated() { return es(this) } get isAnimating() { return el(this) } get isPaused() { return eu(this) } get isDelayed() { return this._state.delayed } advance(e) { let t = !0, n = !1, r = this.animation, { toValues: i } = r, { config: o } = r, a = (0, L.getPayload)(r.to); !a && (0, D.hasFluidValue)(r.to) && (i = (0, D.toArray)((0, D.getFluidValue)(r.to))), r.values.forEach((s, l) => { if (s.done) return; let u = s.constructor == L.AnimatedString ? 1 : a ? a[l].lastPosition : i[l], c = r.immediate, f = u; if (!c) { if (f = s.lastPosition, o.tension <= 0) { s.done = !0; return } let d = s.elapsedTime += e, h = r.fromValues[l], p = null != s.v0 ? s.v0 : s.v0 = D.is.arr(o.velocity) ? o.velocity[l] : o.velocity, v, m = o.precision || (h == u ? .005 : Math.min(1, .001 * Math.abs(u - h))); if (D.is.und(o.duration)) { if (o.decay) { let g = !0 === o.decay ? .998 : o.decay, y = Math.exp(-(1 - g) * d); f = h + p / (1 - g) * (1 - y), c = Math.abs(s.lastPosition - f) <= m, v = p * y } else { v = null == s.lastVelocity ? p : s.lastVelocity; let b = o.restVelocity || m / 10, x = o.clamp ? 0 : o.bounce, w = !D.is.und(x), _ = h == u ? s.v0 > 0 : h < u, E = Math.ceil(e / 1); for (let k = 0; k < E && !(!(Math.abs(v) > b) && (c = Math.abs(u - f) <= m)); ++k) { w && (f == u || f > u == _) && (v = -v * x, f = u); let j = (-(1e-6 * o.tension) * (f - u) + -(.001 * o.friction) * v) / o.mass; v += 1 * j, f += 1 * v } } } else { let S = 1; o.duration > 0 && (this._memoizedDuration !== o.duration && (this._memoizedDuration = o.duration, s.durationProgress > 0 && (s.elapsedTime = o.duration * s.durationProgress, d = s.elapsedTime += e)), S = (S = (o.progress || 0) + d / this._memoizedDuration) > 1 ? 1 : S < 0 ? 0 : S, s.durationProgress = S), v = ((f = h + o.easing(S) * (u - h)) - s.lastPosition) / e, c = 1 == S } s.lastVelocity = v, Number.isNaN(f) && (console.warn("Got NaN while animating:", this), c = !0) } a && !a[l].done && (c = !1), c ? s.done = !0 : t = !1, s.setValue(f, o.round) && (n = !0) }); let s = (0, L.getAnimated)(this), l = s.getValue(); if (t) { let u = (0, D.getFluidValue)(r.to); (l !== u || n) && !o.decay ? (s.setValue(u), this._onChange(u)) : n && o.decay && this._onChange(l), this._stop() } else n && this._onChange(l) } set(e) { return D.raf.batchedUpdates(() => { this._stop(), this._focus(e), this._set(e) }), this } pause() { this._update({ pause: !0 }) } resume() { this._update({ pause: !1 }) } finish() { if (el(this)) { let { to: e, config: t } = this.animation; D.raf.batchedUpdates(() => { this._onStart(), t.decay || this._set(e, !1), this._stop() }) } return this } update(e) { return (this.queue || (this.queue = [])).push(e), this } start(e, t) { let n; return D.is.und(e) ? (n = this.queue || [], this.queue = []) : n = [D.is.obj(e) ? e : { ...t, to: e }], Promise.all(n.map(e => this._update(e))).then(e => $(this, e)) } stop(e) { let { to: t } = this.animation; return this._focus(this.get()), Q(this._state, e && this._lastCallId), D.raf.batchedUpdates(() => this._stop(t, e)), this } reset() { this._update({ reset: !0 }) } eventObserved(e) { "change" == e.type ? this._start() : "priority" == e.type && (this.priority = e.priority + 1) } _prepareNode(e) { let t = this.key || "", { to: n, from: r } = e; (null == (n = D.is.obj(n) ? n[t] : n) || C(n)) && (n = void 0), null == (r = D.is.obj(r) ? r[t] : r) && (r = void 0); let i = { to: n, from: r }; return es(this) || (e.reverse && ([n, r] = [r, n]), r = (0, D.getFluidValue)(r), D.is.und(r) ? (0, L.getAnimated)(this) || this._set(n) : this._set(r)), i } _update({ ...e }, t) { let { key: n, defaultProps: r } = this; e.default && Object.assign(r, _(e, (e, t) => /^on/.test(t) ? b(e, n) : e)), ey(this, e, "onProps"), eb(this, "onProps", e, this); let i = this._prepareNode(e); if (Object.isFrozen(this)) throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"); let o = this._state; return W(++this._lastCallId, { key: n, props: e, defaultProps: r, state: o, actions: { pause: () => { eu(this) || (ef(this, !0), (0, D.flushCalls)(o.pauseQueue), eb(this, "onPause", G(this, eh(this, this.animation.to)), this)) }, resume: () => { eu(this) && (ef(this, !1), el(this) && this._resume(), (0, D.flushCalls)(o.resumeQueue), eb(this, "onResume", G(this, eh(this, this.animation.to)), this)) }, start: this._merge.bind(this, i) } }).then(n => { if (e.loop && n.finished && !(t && n.noop)) { let r = ep(e); if (r) return this._update(r, !0) } return n }) } _merge(e, t, n) { if (t.cancel) return this.stop(!0), n(K(this)); let r = !D.is.und(e.to), i = !D.is.und(e.from); if (r || i) { if (!(t.callId > this._lastToId)) return n(K(this)); this._lastToId = t.callId } let { key: o, defaultProps: a, animation: s } = this, { to: l, from: u } = s, { to: c = l, from: f = u } = e; i && !r && (!t.default || D.is.und(c)) && (c = f), t.reverse && ([c, f] = [f, c]); let d = !(0, D.isEqual)(f, u); d && (s.from = f), f = (0, D.getFluidValue)(f); let h = !(0, D.isEqual)(c, l); h && this._focus(c); let p = C(t.to), { config: v } = s, { decay: m, velocity: b } = v; (r || i) && (v.velocity = 0), t.config && !p && function(e, t, n) { for (let r in n && (B(n = { ...n }, t), t = { ...n, ...t }), B(e, t), Object.assign(e, t), z) null == e[r] && (e[r] = z[r]); let { frequency: i, damping: o } = e, { mass: a } = e; F.is.und(i) || (i < .01 && (i = .01), o < 0 && (o = 0), e.tension = Math.pow(2 * Math.PI / i, 2) * a, e.friction = 4 * Math.PI * o * a / i) }(v, g(t.config, o), t.config !== a.config ? g(a.config, o) : void 0); let x = (0, L.getAnimated)(this); if (!x || D.is.und(c)) return n(G(this, !0)); let w = D.is.und(t.reset) ? i && !t.default : !D.is.und(f) && y(t.reset, o), _ = w ? f : this.get(), E = S(c), k = D.is.num(E) || D.is.arr(E) || (0, D.isAnimatedString)(E), j = !p && (!k || y(a.immediate || t.immediate, o)); if (h) { let O = (0, L.getAnimatedType)(c); if (O !== x.constructor) { if (j) x = this._set(E); else throw Error(`Cannot animate between ${x.constructor.name} and ${O.name}, as the "to" prop suggests`) } } let A = x.constructor, T = (0, D.hasFluidValue)(c), M = !1; if (!T) { let P = w || !es(this) && d; (h || P) && (T = !(M = (0, D.isEqual)(S(_), E))), ((0, D.isEqual)(s.immediate, j) || j) && (0, D.isEqual)(v.decay, m) && (0, D.isEqual)(v.velocity, b) || (T = !0) } if (M && el(this) && (s.changed && !w ? T = !0 : T || this._stop(l)), !p && ((T || (0, D.hasFluidValue)(l)) && (s.values = x.getPayload(), s.toValues = (0, D.hasFluidValue)(c) ? null : A == L.AnimatedString ? [1] : (0, D.toArray)(E)), s.immediate == j || (s.immediate = j, j || w || this._set(l)), T)) { let { onRest: N } = s; (0, D.each)(eg, e => ey(this, t, e)); let R = G(this, eh(this, l)); (0, D.flushCalls)(this._pendingCalls, R), this._pendingCalls.add(n), s.changed && D.raf.batchedUpdates(() => { s.changed = !w, N?.(R, this), w ? g(a.onRest, R) : s.onStart?.(R, this) }) } w && this._set(_), p ? n(X(t.to, t, this._state, this)) : T ? this._start() : el(this) && !h ? this._pendingCalls.add(n) : n(Y(_)) } _focus(e) { let t = this.animation; e !== t.to && ((0, D.getFluidObservers)(this) && this._detach(), t.to = e, (0, D.getFluidObservers)(this) && this._attach()) } _attach() { let e = 0, { to: t } = this.animation; (0, D.hasFluidValue)(t) && ((0, D.addFluidObserver)(t, this), er(t) && (e = t.priority + 1)), this.priority = e } _detach() { let { to: e } = this.animation; (0, D.hasFluidValue)(e) && (0, D.removeFluidObserver)(e, this) } _set(e, t = !0) { let n = (0, D.getFluidValue)(e); if (!D.is.und(n)) { let r = (0, L.getAnimated)(this); if (!r || !(0, D.isEqual)(n, r.getValue())) { let i = (0, L.getAnimatedType)(n); r && r.constructor == i ? r.setValue(n) : (0, L.setAnimated)(this, i.create(n)), r && D.raf.batchedUpdates(() => { this._onChange(n, t) }) } } return (0, L.getAnimated)(this) } _onStart() { let e = this.animation; e.changed || (e.changed = !0, eb(this, "onStart", G(this, eh(this, e.to)), this)) } _onChange(e, t) { t || (this._onStart(), g(this.animation.onChange, e, this)), g(this.defaultProps.onChange, e, this), super._onChange(e, t) } _start() { let e = this.animation; (0, L.getAnimated)(this).reset((0, D.getFluidValue)(e.to)), e.immediate || (e.fromValues = e.values.map(e => e.lastPosition)), el(this) || (ec(this, !0), eu(this) || this._resume()) } _resume() { D.Globals.skipAnimation ? this.finish() : D.frameLoop.start(this) } _stop(e, t) { if (el(this)) { ec(this, !1); let n = this.animation; (0, D.each)(n.values, e => { e.done = !0 }), n.toValues && (n.onChange = n.onPause = n.onResume = void 0), (0, D.callFluidObservers)(this, { type: "idle", parent: this }); let r = t ? K(this.get()) : G(this.get(), eh(this, e ?? n.to)); (0, D.flushCalls)(this._pendingCalls, r), n.changed && (n.changed = !1, eb(this, "onRest", r, this)) } } }; function eh(e, t) { let n = S(t), r = S(e.get()); return (0, D.isEqual)(r, n) } function ep(e, t = e.loop, n = e.to) { let r = g(t); if (r) { let i = !0 !== r && j(r), o = (i || e).reverse, a = !i || i.reset; return ev({ ...e, loop: t, default: !1, pause: void 0, to: !o || C(n) ? n : void 0, from: a ? e.from : void 0, reset: a, ...i }) } } function ev(e) { let { to: t, from: n } = e = j(e), r = new Set; return D.is.obj(t) && em(t, r), D.is.obj(n) && em(n, r), e.keys = r.size ? Array.from(r) : null, e } function em(e, t) { (0, D.eachProp)(e, (e, n) => null != e && t.add(n)) } var eg = ["onStart", "onRest", "onChange", "onPause", "onResume"]; function ey(e, t, n) { e.animation[n] = t[n] !== x(t, n) ? b(t[n], e.key) : void 0 } function eb(e, t, ...n) { e.animation[t]?.(...n), e.defaultProps[t]?.(...n) } var ex = n(6901), ew = ["onStart", "onChange", "onRest"], e_ = 1, eE = class { constructor(e, t) { this.id = e_++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = new Set, this._changed = new Set, this._started = !1, this._state = { paused: !1, pauseQueue: new Set, resumeQueue: new Set, timeouts: new Set }, this._events = { onStart: new Map, onChange: new Map, onRest: new Map }, this._onFrame = this._onFrame.bind(this), t && (this._flush = t), e && this.start({ default: !0, ...e }) } get idle() { return !this._state.asyncTo && Object.values(this.springs).every(e => e.idle && !e.isDelayed && !e.isPaused) } get item() { return this._item } set item(e) { this._item = e } get() { let e = {}; return this.each((t, n) => e[n] = t.get()), e } set(e) { for (let t in e) { let n = e[t]; ex.is.und(n) || this.springs[t].set(n) } } update(e) { return e && this.queue.push(ev(e)), this } start(e) { let { queue: t } = this; return e ? t = (0, ex.toArray)(e).map(ev) : this.queue = [], this._flush ? this._flush(this, t) : (eT(this, t), ek(this, t)) } stop(e, t) { if (!!e !== e && (t = e), t) { let n = this.springs; (0, ex.each)((0, ex.toArray)(t), t => n[t].stop(!!e)) } else Q(this._state, this._lastAsyncId), this.each(t => t.stop(!!e)); return this } pause(e) { if (ex.is.und(e)) this.start({ pause: !0 }); else { let t = this.springs; (0, ex.each)((0, ex.toArray)(e), e => t[e].pause()) } return this } resume(e) { if (ex.is.und(e)) this.start({ pause: !1 }); else { let t = this.springs; (0, ex.each)((0, ex.toArray)(e), e => t[e].resume()) } return this } each(e) { (0, ex.eachProp)(this.springs, e) } _onFrame() { let { onStart: e, onChange: t, onRest: n } = this._events, r = this._active.size > 0, i = this._changed.size > 0; (r && !this._started || i && !this._started) && (this._started = !0, (0, ex.flush)(e, ([e, t]) => { t.value = this.get(), e(t, this, this._item) })); let o = !r && this._started, a = i || o && n.size ? this.get() : null; i && t.size && (0, ex.flush)(t, ([e, t]) => { t.value = a, e(t, this, this._item) }), o && (this._started = !1, (0, ex.flush)(n, ([e, t]) => { t.value = a, e(t, this, this._item) })) } eventObserved(e) { if ("change" == e.type) this._changed.add(e.parent), e.idle || this._active.add(e.parent); else { if ("idle" != e.type) return; this._active.delete(e.parent) } ex.raf.onFrame(this._onFrame) } }; function ek(e, t) { return Promise.all(t.map(t => ej(e, t))).then(t => $(e, t)) } async function ej(e, t, n) { let { keys: r, to: i, from: o, loop: a, onRest: s, onResolve: l } = t, u = ex.is.obj(t.default) && t.default; a && (t.loop = !1), !1 === i && (t.to = null), !1 === o && (t.from = null); let c = ex.is.arr(i) || ex.is.fun(i) ? i : void 0; c ? (t.to = void 0, t.onRest = void 0, u && (u.onRest = void 0)) : (0, ex.each)(ew, n => { let r = t[n]; if (ex.is.fun(r)) { let i = e._events[n]; t[n] = ({ finished: e, cancelled: t }) => { let n = i.get(r); n ? (e || (n.finished = !1), t && (n.cancelled = !0)) : i.set(r, { value: null, finished: e || !1, cancelled: t || !1 }) }, u && (u[n] = t[n]) } }); let f = e._state; !f.paused === t.pause ? (f.paused = t.pause, (0, ex.flushCalls)(t.pause ? f.pauseQueue : f.resumeQueue)) : f.paused && (t.pause = !0); let d = (r || Object.keys(e.springs)).map(n => e.springs[n].start(t)), h = !0 === t.cancel || !0 === x(t, "cancel"); (c || h && f.asyncId) && d.push(W(++e._lastAsyncId, { props: t, state: f, actions: { pause: ex.noop, resume: ex.noop, start(t, n) { h ? (Q(f, e._lastAsyncId), n(K(e))) : (t.onRest = s, n(X(c, t, f, e))) } } })), f.paused && await new Promise(e => { f.resumeQueue.add(e) }); let p = $(e, await Promise.all(d)); if (a && p.finished && !(n && p.noop)) { let v = ep(t, a, i); if (v) return eT(e, [v]), ej(e, v, !0) } return l && ex.raf.batchedUpdates(() => l(p, e, e.item)), p } function eS(e, t) { let n = { ...e.springs }; return t && (0, ex.each)((0, ex.toArray)(t), e => { ex.is.und(e.keys) && (e = ev(e)), ex.is.obj(e.to) || (e = { ...e, to: void 0 }), eA(n, e, e => eC(e)) }), eO(e, n), n } function eO(e, t) { (0, ex.eachProp)(t, (t, n) => { e.springs[n] || (e.springs[n] = t, (0, ex.addFluidObserver)(t, e)) }) } function eC(e, t) { let n = new ed; return n.key = e, t && (0, ex.addFluidObserver)(n, t), n } function eA(e, t, n) { t.keys && (0, ex.each)(t.keys, r => { (e[r] || (e[r] = n(r)))._prepareNode(t) }) } function eT(e, t) { (0, ex.each)(t, t => { eA(e.springs, t, t => eC(t, e)) }) } var eM = h(n(2784)), eP = n(2784), eN = n(6901), eR = ({ children: e, ...t }) => { let n = (0, eP.useContext)(eD), r = t.pause || !!n.pause, i = t.immediate || !!n.immediate; t = (0, eN.useMemoOne)(() => ({ pause: r, immediate: i }), [r, i]); let { Provider: o } = eD; return eM.createElement(o, { value: t }, e) }, eD = (Object.assign(r = eR, eM.createContext({})), r.Provider._context = r, r.Consumer._context = r, r); eR.Provider = eD.Provider, eR.Consumer = eD.Consumer; var eL = n(6901), eF = () => { let e = [], t = function(t) { (0, eL.deprecateDirectCall)(); let r = []; return (0, eL.each)(e, (e, i) => { if (eL.is.und(t)) r.push(e.start()); else { let o = n(t, e, i); o && r.push(e.start(o)) } }), r }; t.current = e, t.add = function(t) { e.includes(t) || e.push(t) }, t.delete = function(t) { let n = e.indexOf(t); ~n && e.splice(n, 1) }, t.pause = function() { return (0, eL.each)(e, e => e.pause(...arguments)), this }, t.resume = function() { return (0, eL.each)(e, e => e.resume(...arguments)), this }, t.set = function(t) { (0, eL.each)(e, (e, n) => { let r = eL.is.fun(t) ? t(n, e) : t; r && e.set(r) }) }, t.start = function(t) { let n = []; return (0, eL.each)(e, (e, r) => { if (eL.is.und(t)) n.push(e.start()); else { let i = this._getProps(t, e, r); i && n.push(e.start(i)) } }), n }, t.stop = function() { return (0, eL.each)(e, e => e.stop(...arguments)), this }, t.update = function(t) { return (0, eL.each)(e, (e, n) => e.update(this._getProps(t, e, n))), this }; let n = function(e, t, n) { return eL.is.fun(e) ? e(n, t) : e }; return t._getProps = n, t }; function eI(e, t, n) { let r = R.is.fun(t) && t; r && !n && (n = []); let i = (0, N.useMemo)(() => r || 3 == arguments.length ? eF() : void 0, []), o = (0, N.useRef)(0), a = (0, R.useForceUpdate)(), s = (0, N.useMemo)(() => ({ ctrls: [], queue: [], flush(e, t) { let n = eS(e, t); return !(o.current > 0) || s.queue.length || Object.keys(n).some(t => !e.springs[t]) ? new Promise(r => { eO(e, n), s.queue.push(() => { r(ek(e, t)) }), a() }) : ek(e, t) } }), []), l = (0, N.useRef)([...s.ctrls]), u = [], c = (0, R.usePrev)(e) || 0; function f(e, n) { for (let i = e; i < n; i++) { let o = l.current[i] || (l.current[i] = new eE(null, s.flush)), a = r ? r(i, o) : t[i]; a && (u[i] = function(e) { let t = ev(e); return D.is.und(t.default) && (t.default = _(t)), t }(a)) } } (0, N.useMemo)(() => { (0, R.each)(l.current.slice(e, c), e => { A(e, i), e.stop(!0) }), l.current.length = e, f(c, e) }, [e]), (0, N.useMemo)(() => { f(0, Math.min(c, e)) }, n); let d = l.current.map((e, t) => eS(e, u[t])), h = (0, N.useContext)(eR), p = (0, R.usePrev)(h), v = h !== p && O(h); (0, R.useIsomorphicLayoutEffect)(() => { o.current++, s.ctrls = l.current; let { queue: e } = s; e.length && (s.queue = [], (0, R.each)(e, e => e())), (0, R.each)(l.current, (e, t) => { i?.add(e), v && e.start({ default: h }); let n = u[t]; n && (T(e, n.ref), e.ref ? e.queue.push(n) : e.start(n)) }) }), (0, R.useOnce)(() => () => { (0, R.each)(s.ctrls, e => e.stop(!0)) }); let m = d.map(e => ({ ...e })); return i ? [m, i] : m } function ez(e, t) { let n = P.is.fun(e), [[r], i] = eI(1, n ? e : [e], n ? t || [] : t); return n || 2 == arguments.length ? [r, i] : r } var eV = n(2784), eB = () => eF(), eZ = () => (0, eV.useState)(eB)[0], eU = n(6901), eH = (e, t) => { let n = (0, eU.useConstant)(() => new ed(e, t)); return (0, eU.useOnce)(() => () => { n.stop() }), n }, eW = n(6901); function eq(e, t, n) { let r = eW.is.fun(t) && t; r && !n && (n = []); let i = !0, o, a = eI(e, (e, n) => { let a = r ? r(e, n) : t; return o = a.ref, i = i && a.reverse, a }, n || [{}]); if ((0, eW.useIsomorphicLayoutEffect)(() => { (0, eW.each)(a[1].current, (e, t) => { let n = a[1].current[t + (i ? 1 : -1)]; if (T(e, o), e.ref) { n && e.update({ to: n.springs }); return } n ? e.start({ to: n.springs }) : e.start() }) }, n), r || 3 == arguments.length) { let s = o ?? a[1]; return s._getProps = (e, t, n) => { let r = eW.is.fun(e) ? e(n, t) : e; if (r) { let i = s.current[n + (r.reverse ? 1 : -1)]; return i && (r.to = i.springs), r } }, a } return a[0] } var e$ = h(n(2784)), eY = n(2784), eG = n(6901); function eK(e, t, n) { let r = eG.is.fun(t) && t, { reset: i, sort: o, trail: a = 0, expires: s = !0, exitBeforeEnter: l = !1, onDestroyed: u, ref: c, config: f } = r ? r() : t, d = (0, eY.useMemo)(() => r || 3 == arguments.length ? eF() : void 0, []), h = (0, eG.toArray)(e), p = [], v = (0, eY.useRef)(null), m = i ? null : v.current; (0, eG.useIsomorphicLayoutEffect)(() => { v.current = p }), (0, eG.useOnce)(() => ((0, eG.each)(p, e => { d?.add(e.ctrl), e.ctrl.ref = d }), () => { (0, eG.each)(v.current, e => { e.expired && clearTimeout(e.expirationId), A(e.ctrl, d), e.ctrl.stop(!0) }) })); let y = function(e, { key: t, keys: n = t }, r) { if (null === n) { let i = new Set; return e.map(e => { let t = r && r.find(t => t.item === e && "leave" !== t.phase && !i.has(t)); return t ? (i.add(t), t.key) : eX++ }) } return eG.is.und(n) ? e : eG.is.fun(n) ? e.map(n) : (0, eG.toArray)(n) }(h, r ? r() : t, m), b = i && v.current || []; (0, eG.useIsomorphicLayoutEffect)(() => (0, eG.each)(b, ({ ctrl: e, item: t, key: n }) => { A(e, d), g(u, t, n) })); let x = []; if (m && (0, eG.each)(m, (e, t) => { e.expired ? (clearTimeout(e.expirationId), b.push(e)) : ~(t = x[t] = y.indexOf(e.key)) && (p[t] = e) }), (0, eG.each)(h, (e, t) => { p[t] || (p[t] = { key: y[t], item: e, phase: "mount", ctrl: new eE }, p[t].ctrl.item = e) }), x.length) { let w = -1, { leave: E } = r ? r() : t; (0, eG.each)(x, (e, t) => { let n = m[t]; ~e ? (w = p.indexOf(n), p[w] = { ...n, item: h[e] }) : E && p.splice(++w, 0, n) }) } eG.is.fun(o) && p.sort((e, t) => o(e.item, t.item)); let k = -a, S = (0, eG.useForceUpdate)(), C = _(t), M = new Map, P = (0, eY.useRef)(new Map), N = (0, eY.useRef)(!1); (0, eG.each)(p, (e, n) => { let i = e.key, o = e.phase, u = r ? r() : t, d, h, p = g(u.delay || 0, i); if ("mount" == o) d = u.enter, h = "enter"; else { let b = 0 > y.indexOf(i); if ("leave" != o) { if (b) d = u.leave, h = "leave"; else { if (!(d = u.update)) return; h = "update" } } else { if (b) return; d = u.enter, h = "enter" } } if (d = g(d, e.item, n), !(d = eG.is.obj(d) ? j(d) : { to: d }).config) { let x = f || C.config; d.config = g(x, e.item, n, h) } k += a; let w = { ...C, delay: p + k, ref: c, immediate: u.immediate, reset: !1, ...d }; if ("enter" == h && eG.is.und(w.from)) { let _ = r ? r() : t, E = eG.is.und(_.initial) || m ? _.from : _.initial; w.from = g(E, e.item, n) } let { onResolve: O } = w; w.onResolve = e => { g(O, e); let t = v.current, n = t.find(e => e.key === i); if (n && !(e.cancelled && "update" != n.phase) && n.ctrl.idle) { let r = t.every(e => e.ctrl.idle); if ("leave" == n.phase) { let o = g(s, n.item); if (!1 !== o) { let a = !0 === o ? 0 : o; if (n.expired = !0, !r && a > 0) { a <= 2147483647 && (n.expirationId = setTimeout(S, a)); return } } } r && t.some(e => e.expired) && (P.current.delete(n), l && (N.current = !0), S()) } }; let A = eS(e.ctrl, w); "leave" === h && l ? P.current.set(e, { phase: h, springs: A, payload: w }) : M.set(e, { phase: h, springs: A, payload: w }) }); let R = (0, eY.useContext)(eR), D = (0, eG.usePrev)(R), L = R !== D && O(R); (0, eG.useIsomorphicLayoutEffect)(() => { L && (0, eG.each)(p, e => { e.ctrl.start({ default: R }) }) }, [R]), (0, eG.each)(M, (e, t) => { if (P.current.size) { let n = p.findIndex(e => e.key === t.key); p.splice(n, 1) } }), (0, eG.useIsomorphicLayoutEffect)(() => { (0, eG.each)(P.current.size ? P.current : M, ({ phase: e, payload: t }, n) => { let { ctrl: r } = n; n.phase = e, d?.add(r), L && "enter" == e && r.start({ default: R }), t && (T(r, t.ref), (r.ref || d) && !N.current ? r.update(t) : (r.start(t), N.current && (N.current = !1))) }) }, i ? void 0 : n); let F = e => e$.createElement(e$.Fragment, null, p.map((t, n) => { let { springs: r } = M.get(t) || t.ctrl, i = e({ ...r }, t.item, t, n); return i && i.type ? e$.createElement(i.type, { ...i.props, key: eG.is.str(t.key) || eG.is.num(t.key) ? t.key : t.ctrl.id, ref: i.ref }) : i })); return d ? [F, d] : F } var eX = 1, eQ = n(6901), eJ = ({ container: e, ...t } = {}) => { let [n, r] = ez(() => ({ scrollX: 0, scrollY: 0, scrollXProgress: 0, scrollYProgress: 0, ...t }), []); return (0, eQ.useIsomorphicLayoutEffect)(() => { let t = (0, eQ.onScroll)(({ x: e, y: t }) => { r.start({ scrollX: e.current, scrollXProgress: e.progress, scrollY: t.current, scrollYProgress: t.progress }) }, { container: e?.current || void 0 }); return () => { (0, eQ.each)(Object.values(n), e => e.stop()), t() } }, []), n }, e0 = n(6901), e1 = ({ container: e, ...t }) => { let [n, r] = ez(() => ({ width: 0, height: 0, ...t }), []); return (0, e0.useIsomorphicLayoutEffect)(() => { let t = (0, e0.onResize)(({ width: e, height: t }) => { r.start({ width: e, height: t, immediate: 0 === n.width.get() || 0 === n.height.get() }) }, { container: e?.current || void 0 }); return () => { (0, e0.each)(Object.values(n), e => e.stop()), t() } }, []), n }, e2 = n(2784), e4 = n(6901), e3 = { any: 0, all: 1 }; function e5(e, t) { let [n, r] = (0, e2.useState)(!1), i = (0, e2.useRef)(), o = e4.is.fun(e) && e, { to: a = {}, from: s = {}, ...l } = o ? o() : {}, u = o ? t : e, [c, f] = ez(() => ({ from: s, ...l }), []); return (0, e4.useIsomorphicLayoutEffect)(() => { let e = i.current, { root: t, once: o, amount: l = "any", ...c } = u ?? {}; if (!e || o && n || typeof IntersectionObserver > "u") return; let d = new WeakMap, h = () => (a && f.start(a), r(!0), o ? void 0 : () => { s && f.start(s), r(!1) }), p = e => { e.forEach(e => { let t = d.get(e.target); if (!!t !== e.isIntersecting) { if (e.isIntersecting) { let n = h(); e4.is.fun(n) ? d.set(e.target, n) : v.unobserve(e.target) } else t && (t(), d.delete(e.target)) } }) }, v = new IntersectionObserver(p, { root: t && t.current || void 0, threshold: "number" == typeof l || Array.isArray(l) ? l : e3[l], ...c }); return v.observe(e), () => v.unobserve(e) }, [u]), o ? [i, c] : [i, n] } function e6({ children: e, ...t }) { return e(ez(t)) } var e8 = n(6901); function e7({ items: e, children: t, ...n }) { let r = eq(e.length, n); return e.map((e, n) => { let i = t(e, n); return e8.is.fun(i) ? i(r[n]) : i }) } function e9({ items: e, children: t, ...n }) { return eK(e, n)(t) } var te = n(6901), tt = n(6901), tn = n(25447), tr = class extends eo { constructor(e, t) { super(), this.source = e, this.idle = !0, this._active = new Set, this.calc = (0, tt.createInterpolator)(...t); let n = this._get(), r = (0, tn.getAnimatedType)(n); (0, tn.setAnimated)(this, r.create(n)) } advance(e) { let t = this._get(), n = this.get(); (0, tt.isEqual)(t, n) || ((0, tn.getAnimated)(this).setValue(t), this._onChange(t, this.idle)), !this.idle && to(this._active) && ta(this) } _get() { let e = tt.is.arr(this.source) ? this.source.map(tt.getFluidValue) : (0, tt.toArray)((0, tt.getFluidValue)(this.source)); return this.calc(...e) } _start() { this.idle && !to(this._active) && (this.idle = !1, (0, tt.each)((0, tn.getPayload)(this), e => { e.done = !1 }), tt.Globals.skipAnimation ? (tt.raf.batchedUpdates(() => this.advance()), ta(this)) : tt.frameLoop.start(this)) } _attach() { let e = 1; (0, tt.each)((0, tt.toArray)(this.source), t => { (0, tt.hasFluidValue)(t) && (0, tt.addFluidObserver)(t, this), er(t) && (t.idle || this._active.add(t), e = Math.max(e, t.priority + 1)) }), this.priority = e, this._start() } _detach() { (0, tt.each)((0, tt.toArray)(this.source), e => { (0, tt.hasFluidValue)(e) && (0, tt.removeFluidObserver)(e, this) }), this._active.clear(), ta(this) } eventObserved(e) { "change" == e.type ? e.idle ? this.advance() : (this._active.add(e.parent), this._start()) : "idle" == e.type ? this._active.delete(e.parent) : "priority" == e.type && (this.priority = (0, tt.toArray)(this.source).reduce((e, t) => Math.max(e, (er(t) ? t.priority : 0) + 1), 0)) } }; function ti(e) { return !1 !== e.idle } function to(e) { return !e.size || Array.from(e).every(ti) } function ta(e) { e.idle || (e.idle = !0, (0, tt.each)((0, tn.getPayload)(e), e => { e.done = !0 }), (0, tt.callFluidObservers)(e, { type: "idle", parent: e })) } var ts = (e, ...t) => new tr(e, t), tl = (e, ...t) => ((0, te.deprecateInterpolate)(), new tr(e, t)), tu = n(6901); tu.Globals.assign({ createStringInterpolator: tu.createStringInterpolator, to: (e, t) => new tr(e, t) }); var tc = tu.frameLoop.advance, tf = n(6901); i = n(8669), o = e.exports, d(p, i, "default"), o && d(o, i, "default") }, 78476: function(e, t, n) { "use strict"; var r = Object.defineProperty, i = Object.getOwnPropertyDescriptor, o = Object.getOwnPropertyNames, a = Object.prototype.hasOwnProperty, s = (e, t) => { for (var n in t) r(e, n, { get: t[n], enumerable: !0 }) }, l = {}; s(l, { FluidValue: () => eM, Globals: () => u, addFluidObserver: () => eN, callFluidObserver: () => eA, callFluidObservers: () => eT, clamp: () => J, colorToRgba: () => ey, colors: () => ee, createInterpolator: () => eb, createStringInterpolator: () => eW, defineHidden: () => A, deprecateDirectCall: () => eX, deprecateInterpolate: () => eG, each: () => P, eachProp: () => N, easings: () => eE, flush: () => D, flushCalls: () => I, frameLoop: () => Y, getFluidObservers: () => eC, getFluidValue: () => eO, hasFluidValue: () => eS, hex3: () => el, hex4: () => eu, hex6: () => ec, hex8: () => ef, hsl: () => ea, hsla: () => es, is: () => T, isAnimatedString: () => eQ, isEqual: () => M, isSSR: () => z, noop: () => C, onResize: () => e6, onScroll: () => ti, once: () => e$, prefix: () => eq, raf: () => f, removeFluidObserver: () => eR, rgb: () => ei, rgba: () => eo, setFluidGetter: () => eP, toArray: () => R, useConstant: () => ta, useForceUpdate: () => td, useIsomorphicLayoutEffect: () => tc, useMemoOne: () => tp, useOnce: () => tm, usePrev: () => tb, useReducedMotion: () => tw }), e.exports = ((e, t, n, s) => { if (t && "object" == typeof t || "function" == typeof t) for (let l of o(t)) a.call(e, l) || void 0 === l || r(e, l, { get: () => t[l], enumerable: !(s = i(t, l)) || s.enumerable }); return e })(r({}, "__esModule", { value: !0 }), l); var u = {}; s(u, { assign: () => U, colors: () => V, createStringInterpolator: () => L, skipAnimation: () => B, to: () => F, willAdvance: () => Z }); var c = S(), f = e => _(e, c), d = S(); f.write = e => _(e, d); var h = S(); f.onStart = e => _(e, h); var p = S(); f.onFrame = e => _(e, p); var v = S(); f.onFinish = e => _(e, v); var m = []; f.setTimeout = (e, t) => { let n = f.now() + t, r = () => { let e = m.findIndex(e => e.cancel == r); ~e && m.splice(e, 1), x -= ~e ? 1 : 0 }, i = { time: n, handler: e, cancel: r }; return m.splice(g(n), 0, i), x += 1, E(), i }; var g = e => ~(~m.findIndex(t => t.time > e) || ~m.length); f.cancel = e => { h.delete(e), p.delete(e), v.delete(e), c.delete(e), d.delete(e) }, f.sync = e => { w = !0, f.batchedUpdates(e), w = !1 }, f.throttle = e => { let t; function n() { try { e(...t) } finally { t = null } } function r(...e) { t = e, f.onStart(n) } return r.handler = e, r.cancel = () => { h.delete(n), t = null }, r }; var y = "u" > typeof window ? window.requestAnimationFrame : () => { }; f.use = e => y = e, f.now = "u" > typeof performance ? () => performance.now() : Date.now, f.batchedUpdates = e => e(), f.catch = console.error, f.frameLoop = "always", f.advance = () => { "demand" !== f.frameLoop ? console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand") : j() }; var b = -1, x = 0, w = !1; function _(e, t) { w ? (t.delete(e), e(0)) : (t.add(e), E()) } function E() { b < 0 && (b = 0, "demand" !== f.frameLoop && y(k)) } function k() { ~b && (y(k), f.batchedUpdates(j)) } function j() { let e = b; b = f.now(); let t = g(b); if (t && (O(m.splice(0, t), e => e.handler()), x -= t), !x) { b = -1; return } h.flush(), c.flush(e ? Math.min(64, b - e) : 16.667), p.flush(), d.flush(), v.flush() } function S() { let e = new Set, t = e; return { add(n) { x += t != e || e.has(n) ? 0 : 1, e.add(n) }, delete: n => (x -= t == e && e.has(n) ? 1 : 0, e.delete(n)), flush(n) { t.size && (e = new Set, x -= t.size, O(t, t => t(n) && e.add(t)), x += e.size, t = e) } } } function O(e, t) { e.forEach(e => { try { t(e) } catch (n) { f.catch(n) } }) } function C() { } var A = (e, t, n) => Object.defineProperty(e, t, { value: n, writable: !0, configurable: !0 }), T = { arr: Array.isArray, obj: e => !!e && "Object" === e.constructor.name, fun: e => "function" == typeof e, str: e => "string" == typeof e, num: e => "number" == typeof e, und: e => void 0 === e }; function M(e, t) { if (T.arr(e)) { if (!T.arr(t) || e.length !== t.length) return !1; for (let n = 0; n < e.length; n++)if (e[n] !== t[n]) return !1; return !0 } return e === t } var P = (e, t) => e.forEach(t); function N(e, t, n) { if (T.arr(e)) { for (let r = 0; r < e.length; r++)t.call(n, e[r], `${r}`); return } for (let i in e) e.hasOwnProperty(i) && t.call(n, e[i], i) } var R = e => T.und(e) ? [] : T.arr(e) ? e : [e]; function D(e, t) { if (e.size) { let n = Array.from(e); e.clear(), P(n, t) } } var L, F, I = (e, ...t) => D(e, e => e(...t)), z = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), V = null, B = !1, Z = C, U = e => { e.to && (F = e.to), e.now && (f.now = e.now), void 0 !== e.colors && (V = e.colors), null != e.skipAnimation && (B = e.skipAnimation), e.createStringInterpolator && (L = e.createStringInterpolator), e.requestAnimationFrame && f.use(e.requestAnimationFrame), e.batchedUpdates && (f.batchedUpdates = e.batchedUpdates), e.willAdvance && (Z = e.willAdvance), e.frameLoop && (f.frameLoop = e.frameLoop) }, H = new Set, W = [], q = [], $ = 0, Y = { get idle() { return !H.size && !W.length }, start(e) { $ > e.priority ? (H.add(e), f.onStart(G)) : (K(e), f(Q)) }, advance: Q, sort(e) { if ($) f.onFrame(() => Y.sort(e)); else { let t = W.indexOf(e); ~t && (W.splice(t, 1), X(e)) } }, clear() { W = [], H.clear() } }; function G() { H.forEach(K), H.clear(), f(Q) } function K(e) { W.includes(e) || X(e) } function X(e) { var t; let n; W.splice((n = (t = W).findIndex(t => t.priority > e.priority)) < 0 ? t.length : n, 0, e) } function Q(e) { let t = q; for (let n = 0; n < W.length; n++) { let r = W[n]; $ = r.priority, r.idle || (Z(r), r.advance(e), r.idle || t.push(r)) } return $ = 0, (q = W).length = 0, (W = t).length > 0 } var J = (e, t, n) => Math.min(Math.max(n, e), t), ee = { transparent: 0, aliceblue: 4042850303, antiquewhite: 4209760255, aqua: 16777215, aquamarine: 2147472639, azure: 4043309055, beige: 4126530815, bisque: 4293182719, black: 255, blanchedalmond: 4293643775, blue: 65535, blueviolet: 2318131967, brown: 2771004159, burlywood: 3736635391, burntsienna: 3934150143, cadetblue: 1604231423, chartreuse: 2147418367, chocolate: 3530104575, coral: 4286533887, cornflowerblue: 1687547391, cornsilk: 4294499583, crimson: 3692313855, cyan: 16777215, darkblue: 35839, darkcyan: 9145343, darkgoldenrod: 3095792639, darkgray: 2846468607, darkgreen: 6553855, darkgrey: 2846468607, darkkhaki: 3182914559, darkmagenta: 2332068863, darkolivegreen: 1433087999, darkorange: 4287365375, darkorchid: 2570243327, darkred: 2332033279, darksalmon: 3918953215, darkseagreen: 2411499519, darkslateblue: 1211993087, darkslategray: 793726975, darkslategrey: 793726975, darkturquoise: 13554175, darkviolet: 2483082239, deeppink: 4279538687, deepskyblue: 12582911, dimgray: 1768516095, dimgrey: 1768516095, dodgerblue: 512819199, firebrick: 2988581631, floralwhite: 4294635775, forestgreen: 579543807, fuchsia: 4278255615, gainsboro: 3705462015, ghostwhite: 4177068031, gold: 4292280575, goldenrod: 3668254975, gray: 2155905279, green: 8388863, greenyellow: 2919182335, grey: 2155905279, honeydew: 4043305215, hotpink: 4285117695, indianred: 3445382399, indigo: 1258324735, ivory: 4294963455, khaki: 4041641215, lavender: 3873897215, lavenderblush: 4293981695, lawngreen: 2096890111, lemonchiffon: 4294626815, lightblue: 2916673279, lightcoral: 4034953471, lightcyan: 3774873599, lightgoldenrodyellow: 4210742015, lightgray: 3553874943, lightgreen: 2431553791, lightgrey: 3553874943, lightpink: 4290167295, lightsalmon: 4288707327, lightseagreen: 548580095, lightskyblue: 2278488831, lightslategray: 2005441023, lightslategrey: 2005441023, lightsteelblue: 2965692159, lightyellow: 4294959359, lime: 16711935, limegreen: 852308735, linen: 4210091775, magenta: 4278255615, maroon: 2147483903, mediumaquamarine: 1724754687, mediumblue: 52735, mediumorchid: 3126187007, mediumpurple: 2473647103, mediumseagreen: 1018393087, mediumslateblue: 2070474495, mediumspringgreen: 16423679, mediumturquoise: 1221709055, mediumvioletred: 3340076543, midnightblue: 421097727, mintcream: 4127193855, mistyrose: 4293190143, moccasin: 4293178879, navajowhite: 4292783615, navy: 33023, oldlace: 4260751103, olive: 2155872511, olivedrab: 1804477439, orange: 4289003775, orangered: 4282712319, orchid: 3664828159, palegoldenrod: 4008225535, palegreen: 2566625535, paleturquoise: 2951671551, palevioletred: 3681588223, papayawhip: 4293907967, peachpuff: 4292524543, peru: 3448061951, pink: 4290825215, plum: 3718307327, powderblue: 2967529215, purple: 2147516671, rebeccapurple: 1714657791, red: 4278190335, rosybrown: 3163525119, royalblue: 1097458175, saddlebrown: 2336560127, salmon: 4202722047, sandybrown: 4104413439, seagreen: 780883967, seashell: 4294307583, sienna: 2689740287, silver: 3233857791, skyblue: 2278484991, slateblue: 1784335871, slategray: 1887473919, slategrey: 1887473919, snow: 4294638335, springgreen: 16744447, steelblue: 1182971135, tan: 3535047935, teal: 8421631, thistle: 3636451583, tomato: 4284696575, turquoise: 1088475391, violet: 4001558271, wheat: 4125012991, white: 4294967295, whitesmoke: 4126537215, yellow: 4294902015, yellowgreen: 2597139199 }, et = "[-+]?\\d*\\.?\\d+", en = et + "%"; function er(...e) { return "\\(\\s*(" + e.join(")\\s*,\\s*(") + ")\\s*\\)" } var ei = RegExp("rgb" + er(et, et, et)), eo = RegExp("rgba" + er(et, et, et, et)), ea = RegExp("hsl" + er(et, en, en)), es = RegExp("hsla" + er(et, en, en, et)), el = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, eu = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, ec = /^#([0-9a-fA-F]{6})$/, ef = /^#([0-9a-fA-F]{8})$/; function ed(e, t, n) { return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < .5 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e } function eh(e, t, n) { let r = n < .5 ? n * (1 + t) : n + t - n * t, i = 2 * n - r; return Math.round(255 * ed(i, r, e + 1 / 3)) << 24 | Math.round(255 * ed(i, r, e)) << 16 | Math.round(255 * ed(i, r, e - 1 / 3)) << 8 } function ep(e) { let t = parseInt(e, 10); return t < 0 ? 0 : t > 255 ? 255 : t } function ev(e) { return (parseFloat(e) % 360 + 360) % 360 / 360 } function em(e) { let t = parseFloat(e); return t < 0 ? 0 : t > 1 ? 255 : Math.round(255 * t) } function eg(e) { let t = parseFloat(e); return t < 0 ? 0 : t > 100 ? 1 : t / 100 } function ey(e) { let t; let n = "number" == typeof e ? e >>> 0 === e && e >= 0 && e <= 4294967295 ? e : null : (t = ec.exec(e)) ? parseInt(t[1] + "ff", 16) >>> 0 : V && void 0 !== V[e] ? V[e] : (t = ei.exec(e)) ? (ep(t[1]) << 24 | ep(t[2]) << 16 | ep(t[3]) << 8 | 255) >>> 0 : (t = eo.exec(e)) ? (ep(t[1]) << 24 | ep(t[2]) << 16 | ep(t[3]) << 8 | em(t[4])) >>> 0 : (t = el.exec(e)) ? parseInt(t[1] + t[1] + t[2] + t[2] + t[3] + t[3] + "ff", 16) >>> 0 : (t = ef.exec(e)) ? parseInt(t[1], 16) >>> 0 : (t = eu.exec(e)) ? parseInt(t[1] + t[1] + t[2] + t[2] + t[3] + t[3] + t[4] + t[4], 16) >>> 0 : (t = ea.exec(e)) ? (255 | eh(ev(t[1]), eg(t[2]), eg(t[3]))) >>> 0 : (t = es.exec(e)) ? (eh(ev(t[1]), eg(t[2]), eg(t[3])) | em(t[4])) >>> 0 : null; return null === n ? e : `rgba(${(4278190080 & (n = n || 0)) >>> 24}, ${(16711680 & n) >>> 16}, ${(65280 & n) >>> 8}, ${(255 & n) / 255})` } var eb = (e, t, n) => { if (T.fun(e)) return e; if (T.arr(e)) return eb({ range: e, output: t, extrapolate: n }); if (T.str(e.output[0])) return L(e); let r = e.output, i = e.range || [0, 1], o = e.extrapolateLeft || e.extrapolate || "extend", a = e.extrapolateRight || e.extrapolate || "extend", s = e.easing || (e => e); return t => { let n = function(e, t) { for (var n = 1; n < t.length - 1 && !(t[n] >= e); ++n); return n - 1 }(t, i); return function(e, t, n, r, i, o, a, s, l) { let u = l ? l(e) : e; if (u < t) { if ("identity" === a) return u; "clamp" === a && (u = t) } if (u > n) { if ("identity" === s) return u; "clamp" === s && (u = n) } return r === i ? r : t === n ? e <= t ? r : i : (t === -1 / 0 ? u = -u : n === 1 / 0 ? u -= t : u = (u - t) / (n - t), u = o(u), r === -1 / 0 ? u = -u : i === 1 / 0 ? u += r : u = u * (i - r) + r, u) }(t, i[n], i[n + 1], r[n], r[n + 1], s, o, a, e.map) } }, ex = 2 * Math.PI / 3, ew = 2 * Math.PI / 4.5, e_ = e => e < 1 / 2.75 ? 7.5625 * e * e : e < 2 / 2.75 ? 7.5625 * (e -= 1.5 / 2.75) * e + .75 : e < 2.5 / 2.75 ? 7.5625 * (e -= 2.25 / 2.75) * e + .9375 : 7.5625 * (e -= 2.625 / 2.75) * e + .984375, eE = { linear: e => e, easeInQuad: e => e * e, easeOutQuad: e => 1 - (1 - e) * (1 - e), easeInOutQuad: e => e < .5 ? 2 * e * e : 1 - Math.pow(-2 * e + 2, 2) / 2, easeInCubic: e => e * e * e, easeOutCubic: e => 1 - Math.pow(1 - e, 3), easeInOutCubic: e => e < .5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2, easeInQuart: e => e * e * e * e, easeOutQuart: e => 1 - Math.pow(1 - e, 4), easeInOutQuart: e => e < .5 ? 8 * e * e * e * e : 1 - Math.pow(-2 * e + 2, 4) / 2, easeInQuint: e => e * e * e * e * e, easeOutQuint: e => 1 - Math.pow(1 - e, 5), easeInOutQuint: e => e < .5 ? 16 * e * e * e * e * e : 1 - Math.pow(-2 * e + 2, 5) / 2, easeInSine: e => 1 - Math.cos(e * Math.PI / 2), easeOutSine: e => Math.sin(e * Math.PI / 2), easeInOutSine: e => -(Math.cos(Math.PI * e) - 1) / 2, easeInExpo: e => 0 === e ? 0 : Math.pow(2, 10 * e - 10), easeOutExpo: e => 1 === e ? 1 : 1 - Math.pow(2, -10 * e), easeInOutExpo: e => 0 === e ? 0 : 1 === e ? 1 : e < .5 ? Math.pow(2, 20 * e - 10) / 2 : (2 - Math.pow(2, -20 * e + 10)) / 2, easeInCirc: e => 1 - Math.sqrt(1 - Math.pow(e, 2)), easeOutCirc: e => Math.sqrt(1 - Math.pow(e - 1, 2)), easeInOutCirc: e => e < .5 ? (1 - Math.sqrt(1 - Math.pow(2 * e, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * e + 2, 2)) + 1) / 2, easeInBack: e => 2.70158 * e * e * e - 1.70158 * e * e, easeOutBack: e => 1 + 2.70158 * Math.pow(e - 1, 3) + 1.70158 * Math.pow(e - 1, 2), easeInOutBack: e => e < .5 ? Math.pow(2 * e, 2) * (3.5949095 * 2 * e - 2.5949095) / 2 : (Math.pow(2 * e - 2, 2) * (3.5949095 * (2 * e - 2) + 2.5949095) + 2) / 2, easeInElastic: e => 0 === e ? 0 : 1 === e ? 1 : -Math.pow(2, 10 * e - 10) * Math.sin((10 * e - 10.75) * ex), easeOutElastic: e => 0 === e ? 0 : 1 === e ? 1 : Math.pow(2, -10 * e) * Math.sin((10 * e - .75) * ex) + 1, easeInOutElastic: e => 0 === e ? 0 : 1 === e ? 1 : e < .5 ? -(Math.pow(2, 20 * e - 10) * Math.sin((20 * e - 11.125) * ew)) / 2 : Math.pow(2, -20 * e + 10) * Math.sin((20 * e - 11.125) * ew) / 2 + 1, easeInBounce: e => 1 - e_(1 - e), easeOutBounce: e_, easeInOutBounce: e => e < .5 ? (1 - e_(1 - 2 * e)) / 2 : (1 + e_(2 * e - 1)) / 2, steps: (e, t = "end") => n => { let r = (n = "end" === t ? Math.min(n, .999) : Math.max(n, .001)) * e; return J(0, 1, ("end" === t ? Math.floor(r) : Math.ceil(r)) / e) } }, ek = Symbol.for("FluidValue.get"), ej = Symbol.for("FluidValue.observers"), eS = e => !!(e && e[ek]), eO = e => e && e[ek] ? e[ek]() : e, eC = e => e[ej] || null; function eA(e, t) { e.eventObserved ? e.eventObserved(t) : e(t) } function eT(e, t) { let n = e[ej]; n && n.forEach(e => { eA(e, t) }) } var eM = class { constructor(e) { if (!e && !(e = this.get)) throw Error("Unknown getter"); eP(this, e) } }, eP = (e, t) => eL(e, ek, t); function eN(e, t) { if (e[ek]) { let n = e[ej]; n || eL(e, ej, n = new Set), n.has(t) || (n.add(t), e.observerAdded && e.observerAdded(n.size, t)) } return t } function eR(e, t) { let n = e[ej]; if (n && n.has(t)) { let r = n.size - 1; r ? n.delete(t) : e[ej] = null, e.observerRemoved && e.observerRemoved(r, t) } } var eD, eL = (e, t, n) => Object.defineProperty(e, t, { value: n, writable: !0, configurable: !0 }), eF = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, eI = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, ez = RegExp(`(${eF.source})(%|[a-z]+)`, "i"), eV = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, eB = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, eZ = e => { let [t, n] = eU(e); if (!t || z()) return e; let r = window.getComputedStyle(document.documentElement).getPropertyValue(t); return r ? r.trim() : n && n.startsWith("--") ? window.getComputedStyle(document.documentElement).getPropertyValue(n) || e : n && eB.test(n) ? eZ(n) : n || e }, eU = e => { let t = eB.exec(e); if (!t) return [,]; let [, n, r] = t; return [n, r] }, eH = (e, t, n, r, i) => `rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`, eW = e => { eD || (eD = V ? RegExp(`(${Object.keys(V).join("|")})(?!\\w)`, "g") : /^\b$/); let t = e.output.map(e => eO(e).replace(eB, eZ).replace(eI, ey).replace(eD, ey)), n = t.map(e => e.match(eF).map(Number)), r = n[0].map((e, t) => n.map(e => { if (!(t in e)) throw Error('The arity of each "output" value must be equal'); return e[t] })).map(t => eb({ ...e, output: t })); return e => { let n = !ez.test(t[0]) && t.find(e => ez.test(e))?.replace(eF, ""), i = 0; return t[0].replace(eF, () => `${r[i++](e)}${n || ""}`).replace(eV, eH) } }, eq = "react-spring: ", e$ = e => { let t = !1; if ("function" != typeof e) throw TypeError(`${eq}once requires a function parameter`); return (...n) => { t || (e(...n), t = !0) } }, eY = e$(console.warn); function eG() { eY(`${eq}The "interpolate" function is deprecated in v9 (use "to" instead)`) } var eK = e$(console.warn); function eX() { eK(`${eq}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`) } function eQ(e) { return T.str(e) && ("#" == e[0] || /\d/.test(e) || !z() && eB.test(e) || e in (V || {})) } var eJ, e0, e1 = new WeakMap, e2 = e => e.forEach(({ target: e, contentRect: t }) => e1.get(e)?.forEach(e => e(t))), e4 = new Set, e3 = () => { let e = () => { e4.forEach(e => e({ width: window.innerWidth, height: window.innerHeight })) }; return window.addEventListener("resize", e), () => { window.removeEventListener("resize", e) } }, e5 = e => (e4.add(e), e0 || (e0 = e3()), () => { e4.delete(e), !e4.size && e0 && (e0(), e0 = void 0) }), e6 = (e, { container: t = document.documentElement } = {}) => { let n; return t === document.documentElement ? e5(e) : (eJ || "u" > typeof ResizeObserver && (eJ = new ResizeObserver(e2)), (n = e1.get(t)) || (n = new Set, e1.set(t, n)), n.add(e), eJ && eJ.observe(t), () => { let n = e1.get(t); n && (n.delete(e), !n.size && eJ && eJ.unobserve(t)) }) }, e8 = (e, t, n) => t - e == 0 ? 1 : (n - e) / (t - e), e7 = { x: { length: "Width", position: "Left" }, y: { length: "Height", position: "Top" } }, e9 = class { constructor(e, t) { this.createAxis = () => ({ current: 0, progress: 0, scrollLength: 0 }), this.updateAxis = e => { let t = this.info[e], { length: n, position: r } = e7[e]; t.current = this.container[`scroll${r}`], t.scrollLength = this.container["scroll" + n] - this.container["client" + n], t.progress = e8(0, t.scrollLength, t.current) }, this.update = () => { this.updateAxis("x"), this.updateAxis("y") }, this.sendEvent = () => { this.callback(this.info) }, this.advance = () => { this.update(), this.sendEvent() }, this.callback = e, this.container = t, this.info = { time: 0, x: this.createAxis(), y: this.createAxis() } } }, te = new WeakMap, tt = new WeakMap, tn = new WeakMap, tr = e => e === document.documentElement ? window : e, ti = (e, { container: t = document.documentElement } = {}) => { let n = tn.get(t); n || (n = new Set, tn.set(t, n)); let r = new e9(e, t); if (n.add(r), !te.has(t)) { let i = () => (n?.forEach(e => e.advance()), !0); te.set(t, i); let o = tr(t); window.addEventListener("resize", i, { passive: !0 }), t !== document.documentElement && tt.set(t, e6(i, { container: t })), o.addEventListener("scroll", i, { passive: !0 }) } let a = te.get(t); return f(a), () => { f.cancel(a); let e = tn.get(t); if (!e || (e.delete(r), e.size)) return; let n = te.get(t); te.delete(t), n && (tr(t).removeEventListener("scroll", n), window.removeEventListener("resize", n), tt.get(t)?.()) } }, to = n(2784); function ta(e) { let t = (0, to.useRef)(null); return null === t.current && (t.current = e()), t.current } var ts = n(2784), tl = n(2784), tu = n(2784), tc = z() ? tu.useEffect : tu.useLayoutEffect, tf = () => { let e = (0, tl.useRef)(!1); return tc(() => (e.current = !0, () => { e.current = !1 }), []), e }; function td() { let e = (0, ts.useState)()[1], t = tf(); return () => { t.current && e(Math.random()) } } var th = n(2784); function tp(e, t) { let [n] = (0, th.useState)(() => ({ inputs: t, result: e() })), r = (0, th.useRef)(), i = r.current, o = i; return o ? t && o.inputs && function(e, t) { if (e.length !== t.length) return !1; for (let n = 0; n < e.length; n++)if (e[n] !== t[n]) return !1; return !0 }(t, o.inputs) || (o = { inputs: t, result: e() }) : o = n, (0, th.useEffect)(() => { r.current = o, i == n && (n.inputs = n.result = void 0) }, [o]), o.result } var tv = n(2784), tm = e => (0, tv.useEffect)(e, tg), tg = [], ty = n(2784); function tb(e) { let t = (0, ty.useRef)(); return (0, ty.useEffect)(() => { t.current = e }), t.current } var tx = n(2784), tw = () => { let [e, t] = (0, tx.useState)(null); return tc(() => { let e = window.matchMedia("(prefers-reduced-motion)"), n = e => { t(e.matches), U({ skipAnimation: e.matches }) }; return n(e), e.addEventListener("change", n), () => { e.removeEventListener("change", n) } }, []), e } }, 19455: function(e) { "use strict"; var t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.prototype.hasOwnProperty, o = {}; ((e, n) => { for (var r in n) t(e, r, { get: n[r], enumerable: !0 }) })(o, { Any: () => a }), e.exports = ((e, o, a, s) => { if (o && "object" == typeof o || "function" == typeof o) for (let l of r(o)) i.call(e, l) || void 0 === l || t(e, l, { get: () => o[l], enumerable: !(s = n(o, l)) || s.enumerable }); return e })(t({}, "__esModule", { value: !0 }), o); var a = class { } }, 96721: function(e, t, n) { "use strict"; var r, i, o = Object.defineProperty, a = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, l = Object.prototype.hasOwnProperty, u = (e, t, n, r) => { if (t && "object" == typeof t || "function" == typeof t) for (let i of s(t)) l.call(e, i) || i === n || o(e, i, { get: () => t[i], enumerable: !(r = a(t, i)) || r.enumerable }); return e }, c = {}; ((e, t) => { for (var n in t) o(e, n, { get: t[n], enumerable: !0 }) })(c, { a: () => A, animated: () => A }), e.exports = u(o({}, "__esModule", { value: !0 }), c); var f = n(99550), d = n(28316), h = n(6901), p = n(25447), v = /^--/, m = {}, g = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, y = (e, t) => e + t.charAt(0).toUpperCase() + t.substring(1), b = ["Webkit", "Ms", "Moz", "O"]; g = Object.keys(g).reduce((e, t) => (b.forEach(n => e[y(n, t)] = e[t]), e), g); var x = n(25447), w = n(6901), _ = /^(matrix|translate|scale|rotate|skew)/, E = /^(translate)/, k = /^(rotate|skew)/, j = (e, t) => w.is.num(e) && 0 !== e ? e + t : e, S = (e, t) => w.is.arr(e) ? e.every(e => S(e, t)) : w.is.num(e) ? e === t : parseFloat(e) === t, O = class extends x.AnimatedObject { constructor({ x: e, y: t, z: n, ...r }) { let i = [], o = []; (e || t || n) && (i.push([e || 0, t || 0, n || 0]), o.push(e => [`translate3d(${e.map(e => j(e, "px")).join(",")})`, S(e, 0)])), (0, w.eachProp)(r, (e, t) => { if ("transform" === t) i.push([e || ""]), o.push(e => [e, "" === e]); else if (_.test(t)) { if (delete r[t], w.is.und(e)) return; let n = E.test(t) ? "px" : k.test(t) ? "deg" : ""; i.push((0, w.toArray)(e)), o.push("rotate3d" === t ? ([e, t, r, i]) => [`rotate3d(${e},${t},${r},${j(i, n)})`, S(i, 0)] : e => [`${t}(${e.map(e => j(e, n)).join(",")})`, S(e, t.startsWith("scale") ? 1 : 0)]) } }), i.length && (r.transform = new C(i, o)), super(r) } }, C = class extends w.FluidValue { constructor(e, t) { super(), this.inputs = e, this.transforms = t, this._value = null } get() { return this._value || (this._value = this._get()) } _get() { let e = "", t = !0; return (0, w.each)(this.inputs, (n, r) => { let i = (0, w.getFluidValue)(n[0]), [o, a] = this.transforms[r](w.is.arr(i) ? i : n.map(w.getFluidValue)); e += " " + o, t = t && a }), t ? "none" : e } observerAdded(e) { 1 == e && (0, w.each)(this.inputs, e => (0, w.each)(e, e => (0, w.hasFluidValue)(e) && (0, w.addFluidObserver)(e, this))) } observerRemoved(e) { 0 == e && (0, w.each)(this.inputs, e => (0, w.each)(e, e => (0, w.hasFluidValue)(e) && (0, w.removeFluidObserver)(e, this))) } eventObserved(e) { "change" == e.type && (this._value = null), (0, w.callFluidObservers)(this, e) } }; r = n(99550), i = e.exports, u(c, r, "default"), i && u(i, r, "default"), f.Globals.assign({ batchedUpdates: d.unstable_batchedUpdates, createStringInterpolator: h.createStringInterpolator, colors: h.colors }); var A = (0, p.createHost)(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"], { applyAnimatedValues: function(e, t) { if (!e.nodeType || !e.setAttribute) return !1; let n = "filter" === e.nodeName || e.parentNode && "filter" === e.parentNode.nodeName, { style: r, children: i, scrollTop: o, scrollLeft: a, viewBox: s, ...l } = t, u = Object.values(l), c = Object.keys(l).map(t => n || e.hasAttribute(t) ? t : m[t] || (m[t] = t.replace(/([A-Z])/g, e => "-" + e.toLowerCase()))); for (let f in void 0 !== i && (e.textContent = i), r) if (r.hasOwnProperty(f)) { var d, h; let p = (d = f, null == (h = r[f]) || "boolean" == typeof h || "" === h ? "" : "number" != typeof h || 0 === h || v.test(d) || g.hasOwnProperty(d) && g[d] ? ("" + h).trim() : h + "px"); v.test(f) ? e.style.setProperty(f, p) : e.style[f] = p } c.forEach((t, n) => { e.setAttribute(t, u[n]) }), void 0 !== o && (e.scrollTop = o), void 0 !== a && (e.scrollLeft = a), void 0 !== s && e.setAttribute("viewBox", s) }, createAnimatedStyle: e => new O(e), getComponentProps: ({ scrollTop: e, scrollLeft: t, ...n }) => n }).animated }, 7896: function(e, t, n) { "use strict"; function r() { return (r = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) } return e }).apply(this, arguments) } n.d(t, { Z: function() { return r } }) }, 99182: function(e, t, n) { "use strict"; n.d(t, { U8: function() { return T }, mY: function() { return j } }); var r = n(72331), i = n(2784), o = n(40844), a = '[cmdk-group=""]', s = '[cmdk-group-items=""]', l = '[cmdk-item=""]', u = `${l}:not([aria-disabled="true"])`, c = "cmdk-item-select", f = "data-value", d = (e, t) => o(e, t), h = i.createContext(void 0), p = () => i.useContext(h), v = i.createContext(void 0), m = () => i.useContext(v), g = i.createContext(void 0), y = i.forwardRef((e, t) => { let n = i.useRef(null), r = C(() => ({ search: "", value: "", filtered: { count: 0, items: new Map, groups: new Set } })), o = C(() => new Set), p = C(() => new Map), m = C(() => new Map), g = C(() => new Set), y = S(e), { label: b, children: x, value: w, onValueChange: _, filter: E, shouldFilter: k, ...j } = e, T = i.useId(), M = i.useId(), R = i.useId(), D = P(); O(() => { if (void 0 !== w) { let e = w.trim().toLowerCase(); r.current.value = e, D(6, Z), L.emit() } }, [w]); let L = i.useMemo(() => ({ subscribe: e => (g.current.add(e), () => g.current.delete(e)), snapshot: () => r.current, setState: (e, t, n) => { var i, o, a; if (!Object.is(r.current[e], t)) { if (r.current[e] = t, "search" === e) B(), z(), D(1, V); else if ("value" === e) { if ((null == (i = y.current) ? void 0 : i.value) !== void 0) { null == (a = (o = y.current).onValueChange) || a.call(o, t); return } n || D(5, Z) } L.emit() } }, emit: () => { g.current.forEach(e => e()) } }), []), F = i.useMemo(() => ({ value: (e, t) => { t !== m.current.get(e) && (m.current.set(e, t), r.current.filtered.items.set(e, I(t)), D(2, () => { z(), L.emit() })) }, item: (e, t) => (o.current.add(e), t && (p.current.has(t) ? p.current.get(t).add(e) : p.current.set(t, new Set([e]))), D(3, () => { B(), z(), r.current.value || V(), L.emit() }), () => { m.current.delete(e), o.current.delete(e), r.current.filtered.items.delete(e), D(4, () => { B(), V(), L.emit() }) }), group: e => (p.current.has(e) || p.current.set(e, new Set), () => { m.current.delete(e), p.current.delete(e) }), filter: () => y.current.shouldFilter, label: b || e["aria-label"], listId: T, inputId: R, labelId: M }), []); function I(e) { var t; let n = (null == (t = y.current) ? void 0 : t.filter) ?? d; return e ? n(e, r.current.search) : 0 } function z() { if (!n.current || !r.current.search || !1 === y.current.shouldFilter) return; let e = r.current.filtered.items, t = []; r.current.filtered.groups.forEach(n => { let r = p.current.get(n), i = 0; r.forEach(t => { i = Math.max(e.get(t), i) }), t.push([n, i]) }); let i = n.current.querySelector('[cmdk-list-sizer=""]'); H().sort((t, n) => { let r = t.getAttribute(f), i = n.getAttribute(f); return (e.get(i) ?? 0) - (e.get(r) ?? 0) }).forEach(e => { let t = e.closest(s); t ? t.appendChild(e.parentElement === t ? e : e.closest(`${s} > *`)) : i.appendChild(e.parentElement === i ? e : e.closest(`${s} > *`)) }), t.sort((e, t) => t[1] - e[1]).forEach(e => { let t = n.current.querySelector(`${a}[${f}="${e[0]}"]`); null == t || t.parentElement.appendChild(t) }) } function V() { let e = H().find(e => !e.ariaDisabled), t = null == e ? void 0 : e.getAttribute(f); L.setState("value", t || void 0) } function B() { if (!r.current.search || !1 === y.current.shouldFilter) { r.current.filtered.count = o.current.size; return } r.current.filtered.groups = new Set; let e = 0; for (let t of o.current) { let n = I(m.current.get(t)); r.current.filtered.items.set(t, n), n > 0 && e++ } for (let [i, a] of p.current) for (let s of a) if (r.current.filtered.items.get(s) > 0) { r.current.filtered.groups.add(i); break } r.current.filtered.count = e } function Z() { var e, t, n; let r = U(); r && ((null == (e = r.parentElement) ? void 0 : e.firstChild) === r && (null == (n = null == (t = r.closest(a)) ? void 0 : t.querySelector('[cmdk-group-heading=""]')) || n.scrollIntoView({ block: "nearest" })), r.scrollIntoView({ block: "nearest" })) } function U() { return n.current.querySelector(`${l}[aria-selected="true"]`) } function H() { return Array.from(n.current.querySelectorAll(u)) } function W(e) { let t = H()[e]; t && L.setState("value", t.getAttribute(f)) } function q(e) { var t; let n = U(), r = H(), i = r.findIndex(e => e === n), o = r[i + e]; null != (t = y.current) && t.loop && (o = i + e < 0 ? r[r.length - 1] : i + e === r.length ? r[0] : r[i + e]), o && L.setState("value", o.getAttribute(f)) } function $(e) { let t = U(), n = null == t ? void 0 : t.closest(a), r; for (; n && !r;)r = null == (n = e > 0 ? function(e, t) { let n = e.nextElementSibling; for (; n;) { if (n.matches(t)) return n; n = n.nextElementSibling } }(n, a) : function(e, t) { let n = e.previousElementSibling; for (; n;) { if (n.matches(t)) return n; n = n.previousElementSibling } }(n, a)) ? void 0 : n.querySelector(u); r ? L.setState("value", r.getAttribute(f)) : q(e) } let Y = () => W(H().length - 1), G = e => { e.preventDefault(), e.metaKey ? Y() : e.altKey ? $(1) : q(1) }, K = e => { e.preventDefault(), e.metaKey ? W(0) : e.altKey ? $(-1) : q(-1) }; return i.createElement("div", { ref: A([n, t]), ...j, "cmdk-root": "", onKeyDown: e => { var t; if (null == (t = j.onKeyDown) || t.call(j, e), !e.defaultPrevented) switch (e.key) { case "n": case "j": e.ctrlKey && G(e); break; case "ArrowDown": G(e); break; case "p": case "k": e.ctrlKey && K(e); break; case "ArrowUp": K(e); break; case "Home": e.preventDefault(), W(0); break; case "End": e.preventDefault(), Y(); break; case "Enter": { e.preventDefault(); let n = U(); if (n) { let r = new Event(c); n.dispatchEvent(r) } } } } }, i.createElement("label", { "cmdk-label": "", htmlFor: F.inputId, id: F.labelId, style: N }, b), i.createElement(v.Provider, { value: L }, i.createElement(h.Provider, { value: F }, x))) }), b = i.forwardRef((e, t) => { let n = i.useId(), r = i.useRef(null), o = i.useContext(g), a = p(), s = S(e); O(() => a.item(n, o), []); let l = M(n, r, [e.value, e.children, r]), u = m(), f = T(e => e.value && e.value === l.current), d = T(e => !1 === a.filter() || !e.search || e.filtered.items.get(n) > 0); function h() { var e, t; null == (t = (e = s.current).onSelect) || t.call(e, l.current) } if (i.useEffect(() => { let t = r.current; if (!(!t || e.disabled)) return t.addEventListener(c, h), () => t.removeEventListener(c, h) }, [d, e.onSelect, e.disabled]), !d) return null; let { disabled: v, value: y, onSelect: b, ...x } = e; return i.createElement("div", { ref: A([r, t]), ...x, "cmdk-item": "", role: "option", "aria-disabled": v || void 0, "aria-selected": f || void 0, "data-selected": f || void 0, onPointerMove: v ? void 0 : function() { u.setState("value", l.current, !0) }, onClick: v ? void 0 : h }, e.children) }), x = i.forwardRef((e, t) => { let { heading: n, children: r, ...o } = e, a = i.useId(), s = i.useRef(null), l = i.useRef(null), u = i.useId(), c = p(), f = T(e => !1 === c.filter() || !e.search || e.filtered.groups.has(a)); O(() => c.group(a), []), M(a, s, [e.value, e.heading, l]); let d = i.createElement(g.Provider, { value: a }, r); return i.createElement("div", { ref: A([s, t]), ...o, "cmdk-group": "", role: "presentation", hidden: !f || void 0 }, n && i.createElement("div", { ref: l, "cmdk-group-heading": "", "aria-hidden": !0, id: u }, n), i.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? u : void 0 }, d)) }), w = i.forwardRef((e, t) => { let { alwaysRender: n, ...r } = e, o = i.useRef(null), a = T(e => !e.search); return n || a ? i.createElement("div", { ref: A([o, t]), ...r, "cmdk-separator": "", role: "separator" }) : null }), _ = i.forwardRef((e, t) => { let { onValueChange: n, ...r } = e, o = null != e.value, a = m(), s = T(e => e.search), l = p(); return i.useEffect(() => { null != e.value && a.setState("search", e.value) }, [e.value]), i.createElement("input", { ref: t, ...r, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": l.listId, "aria-labelledby": l.labelId, id: l.inputId, type: "text", value: o ? e.value : s, onChange: e => { o || a.setState("search", e.target.value), null == n || n(e.target.value) } }) }), E = i.forwardRef((e, t) => { let { children: n, ...r } = e, o = i.useRef(null), a = i.useRef(null), s = p(); return i.useEffect(() => { if (a.current && o.current) { let e = a.current, t = o.current, n, r = new ResizeObserver(() => { n = requestAnimationFrame(() => { let n = e.getBoundingClientRect().height; t.style.setProperty("--cmdk-list-height", n.toFixed(1) + "px") }) }); return r.observe(e), () => { cancelAnimationFrame(n), r.unobserve(e) } } }, []), i.createElement("div", { ref: A([o, t]), ...r, "cmdk-list": "", role: "listbox", "aria-label": "Suggestions", id: s.listId, "aria-labelledby": s.inputId }, i.createElement("div", { ref: a, "cmdk-list-sizer": "" }, n)) }), k = i.forwardRef((e, t) => { let { open: n, onOpenChange: o, container: a, ...s } = e; return i.createElement(r.fC, { open: n, onOpenChange: o }, i.createElement(r.h_, { container: a }, i.createElement(r.aV, { "cmdk-overlay": "" }), i.createElement(r.VY, { "aria-label": e.label, "cmdk-dialog": "" }, i.createElement(y, { ref: t, ...s })))) }), j = Object.assign(y, { List: E, Item: b, Input: _, Group: x, Separator: w, Dialog: k, Empty: i.forwardRef((e, t) => { let n = i.useRef(!0), r = T(e => 0 === e.filtered.count); return i.useEffect(() => { n.current = !1 }, []), n.current || !r ? null : i.createElement("div", { ref: t, ...e, "cmdk-empty": "", role: "presentation" }) }), Loading: i.forwardRef((e, t) => { let { progress: n, children: r, ...o } = e; return i.createElement("div", { ref: t, ...o, "cmdk-loading": "", role: "progressbar", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "Loading..." }, i.createElement("div", { "aria-hidden": !0 }, r)) }) }); function S(e) { let t = i.useRef(e); return O(() => { t.current = e }), t } var O = typeof window > "u" ? i.useEffect : i.useLayoutEffect; function C(e) { let t = i.useRef(); return void 0 === t.current && (t.current = e()), t } function A(e) { return t => { e.forEach(e => { "function" == typeof e ? e(t) : null != e && (e.current = t) }) } } function T(e) { let t = m(), n = () => e(t.snapshot()); return i.useSyncExternalStore(t.subscribe, n, n) } function M(e, t, n) { let r = i.useRef(), o = p(); return O(() => { var i; let a = (() => { var e; for (let t of n) { if ("string" == typeof t) return t.trim().toLowerCase(); if ("object" == typeof t && "current" in t && t.current) return null == (e = t.current.textContent) ? void 0 : e.trim().toLowerCase() } })(); o.value(e, a), null == (i = t.current) || i.setAttribute(f, a), r.current = a }), r } var P = () => { let [e, t] = i.useState(), n = C(() => new Map); return O(() => { n.current.forEach(e => e()), n.current = new Map }, [e]), (e, r) => { n.current.set(e, r), t({}) } }, N = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" } }, 63955: function(e, t, n) { "use strict"; n.d(t, { cI: function() { return ev } }); var r = n(2784), i = e => "checkbox" === e.type, o = e => e instanceof Date, a = e => null == e; let s = e => "object" == typeof e; var l = e => !a(e) && !Array.isArray(e) && s(e) && !o(e), u = e => l(e) && e.target ? i(e.target) ? e.target.checked : e.target.value : e, c = e => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, f = (e, t) => e.has(c(t)), d = e => { let t = e.constructor && e.constructor.prototype; return l(t) && t.hasOwnProperty("isPrototypeOf") }, h = "undefined" != typeof window && void 0 !== window.HTMLElement && "undefined" != typeof document; function p(e) { let t; let n = Array.isArray(e); if (e instanceof Date) t = new Date(e); else if (e instanceof Set) t = new Set(e); else if (!(!(h && (e instanceof Blob || e instanceof FileList)) && (n || l(e)))) return e; else if (t = n ? [] : {}, Array.isArray(e) || d(e)) for (let r in e) t[r] = p(e[r]); else t = e; return t } var v = e => Array.isArray(e) ? e.filter(Boolean) : [], m = e => void 0 === e, g = (e, t, n) => { if (!t || !l(e)) return n; let r = v(t.split(/[,[\].]+?/)).reduce((e, t) => a(e) ? e : e[t], e); return m(r) || r === e ? m(e[t]) ? n : e[t] : r }; let y = { BLUR: "blur", FOCUS_OUT: "focusout", CHANGE: "change" }, b = { onBlur: "onBlur", onChange: "onChange", onSubmit: "onSubmit", onTouched: "onTouched", all: "all" }, x = { max: "max", min: "min", maxLength: "maxLength", minLength: "minLength", pattern: "pattern", required: "required", validate: "validate" }; r.createContext(null); var w = (e, t, n, r = !0) => { let i = { defaultValues: t._defaultValues }; for (let o in e) Object.defineProperty(i, o, { get: () => { let i = o; return t._proxyFormState[i] !== b.all && (t._proxyFormState[i] = !r || b.all), n && (n[i] = !0), e[i] } }); return i }, _ = e => l(e) && !Object.keys(e).length, E = (e, t, n, r) => { n(e); let { name: i, ...o } = e; return _(o) || Object.keys(o).length >= Object.keys(t).length || Object.keys(o).find(e => t[e] === (!r || b.all)) }, k = e => Array.isArray(e) ? e : [e], j = e => "string" == typeof e, S = (e, t, n, r, i) => j(e) ? (r && t.watch.add(e), g(n, e, i)) : Array.isArray(e) ? e.map(e => (r && t.watch.add(e), g(n, e))) : (r && (t.watchAll = !0), n), O = e => /^\w*$/.test(e), C = e => v(e.replace(/["|']|\]/g, "").split(/\.|\[/)); function A(e, t, n) { let r = -1, i = O(t) ? [t] : C(t), o = i.length, a = o - 1; for (; ++r < o;) { let s = i[r], u = n; if (r !== a) { let c = e[s]; u = l(c) || Array.isArray(c) ? c : isNaN(+i[r + 1]) ? {} : [] } e[s] = u, e = e[s] } return e } var T = (e, t, n, r, i) => t ? { ...n[e], types: { ...n[e] && n[e].types ? n[e].types : {}, [r]: i || !0 } } : {}; let M = (e, t, n) => { for (let r of n || Object.keys(e)) { let i = g(e, r); if (i) { let { _f: o, ...a } = i; if (o && t(o.name)) { if (o.ref.focus) { o.ref.focus(); break } if (o.refs && o.refs[0].focus) { o.refs[0].focus(); break } } else l(a) && M(a, t) } } }; var P = e => ({ isOnSubmit: !e || e === b.onSubmit, isOnBlur: e === b.onBlur, isOnChange: e === b.onChange, isOnAll: e === b.all, isOnTouch: e === b.onTouched }), N = (e, t, n) => !n && (t.watchAll || t.watch.has(e) || [...t.watch].some(t => e.startsWith(t) && /^\.\w+/.test(e.slice(t.length)))), R = (e, t, n) => { let r = v(g(e, n)); return A(r, "root", t[n]), A(e, n, r), e }, D = e => "boolean" == typeof e, L = e => "file" === e.type, F = e => "function" == typeof e, I = e => { if (!h) return !1; let t = e ? e.ownerDocument : 0; return e instanceof (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement) }, z = e => j(e), V = e => "radio" === e.type, B = e => e instanceof RegExp; let Z = { value: !1, isValid: !1 }, U = { value: !0, isValid: !0 }; var H = e => { if (Array.isArray(e)) { if (e.length > 1) { let t = e.filter(e => e && e.checked && !e.disabled).map(e => e.value); return { value: t, isValid: !!t.length } } return e[0].checked && !e[0].disabled ? e[0].attributes && !m(e[0].attributes.value) ? m(e[0].value) || "" === e[0].value ? U : { value: e[0].value, isValid: !0 } : U : Z } return Z }; let W = { isValid: !1, value: null }; var q = e => Array.isArray(e) ? e.reduce((e, t) => t && t.checked && !t.disabled ? { isValid: !0, value: t.value } : e, W) : W; function $(e, t, n = "validate") { if (z(e) || Array.isArray(e) && e.every(z) || D(e) && !e) return { type: n, message: z(e) ? e : "", ref: t } } var Y = e => l(e) && !B(e) ? e : { value: e, message: "" }, G = async (e, t, n, r, o) => { let { ref: s, refs: u, required: c, maxLength: f, minLength: d, min: h, max: p, pattern: v, validate: y, name: b, valueAsNumber: w, mount: E, disabled: k } = e._f, S = g(t, b); if (!E || k) return {}; let O = u ? u[0] : s, C = e => { r && O.reportValidity && (O.setCustomValidity(D(e) ? "" : e || ""), O.reportValidity()) }, A = {}, M = V(s), P = i(s), N = (w || L(s)) && m(s.value) && m(S) || I(s) && "" === s.value || "" === S || Array.isArray(S) && !S.length, R = T.bind(null, b, n, A), Z = (e, t, n, r = x.maxLength, i = x.minLength) => { let o = e ? t : n; A[b] = { type: e ? r : i, message: o, ref: s, ...R(e ? r : i, o) } }; if (o ? !Array.isArray(S) || !S.length : c && (!(M || P) && (N || a(S)) || D(S) && !S || P && !H(u).isValid || M && !q(u).isValid)) { let { value: U, message: W } = z(c) ? { value: !!c, message: c } : Y(c); if (U && (A[b] = { type: x.required, message: W, ref: O, ...R(x.required, W) }, !n)) return C(W), A } if (!N && (!a(h) || !a(p))) { let G, K; let X = Y(p), Q = Y(h); if (a(S) || isNaN(S)) { let J = s.valueAsDate || new Date(S), ee = e => new Date(new Date().toDateString() + " " + e), et = "time" == s.type, en = "week" == s.type; j(X.value) && S && (G = et ? ee(S) > ee(X.value) : en ? S > X.value : J > new Date(X.value)), j(Q.value) && S && (K = et ? ee(S) < ee(Q.value) : en ? S < Q.value : J < new Date(Q.value)) } else { let er = s.valueAsNumber || (S ? +S : S); a(X.value) || (G = er > X.value), a(Q.value) || (K = er < Q.value) } if ((G || K) && (Z(!!G, X.message, Q.message, x.max, x.min), !n)) return C(A[b].message), A } if ((f || d) && !N && (j(S) || o && Array.isArray(S))) { let ei = Y(f), eo = Y(d), ea = !a(ei.value) && S.length > +ei.value, es = !a(eo.value) && S.length < +eo.value; if ((ea || es) && (Z(ea, ei.message, eo.message), !n)) return C(A[b].message), A } if (v && !N && j(S)) { let { value: el, message: eu } = Y(v); if (B(el) && !S.match(el) && (A[b] = { type: x.pattern, message: eu, ref: s, ...R(x.pattern, eu) }, !n)) return C(eu), A } if (y) { if (F(y)) { let ec = await y(S, t), ef = $(ec, O); if (ef && (A[b] = { ...ef, ...R(x.validate, ef.message) }, !n)) return C(ef.message), A } else if (l(y)) { let ed = {}; for (let eh in y) { if (!_(ed) && !n) break; let ep = $(await y[eh](S, t), O, eh); ep && (ed = { ...ep, ...R(eh, ep.message) }, C(ep.message), n && (A[b] = ed)) } if (!_(ed) && (A[b] = { ref: O, ...ed }, !n)) return A } } return C(!0), A }; function K(e, t) { let n = Array.isArray(t) ? t : O(t) ? [t] : C(t), r = 1 === n.length ? e : function(e, t) { let n = t.slice(0, -1).length, r = 0; for (; r < n;)e = m(e) ? r++ : e[t[r++]]; return e }(e, n), i = n.length - 1, o = n[i]; return r && delete r[o], 0 !== i && (l(r) && _(r) || Array.isArray(r) && function(e) { for (let t in e) if (!m(e[t])) return !1; return !0 }(r)) && K(e, n.slice(0, -1)), e } function X() { let e = [], t = t => { for (let n of e) n.next && n.next(t) }, n = t => (e.push(t), { unsubscribe: () => { e = e.filter(e => e !== t) } }), r = () => { e = [] }; return { get observers() { return e }, next: t, subscribe: n, unsubscribe: r } } var Q = e => a(e) || !s(e); function J(e, t) { if (Q(e) || Q(t)) return e === t; if (o(e) && o(t)) return e.getTime() === t.getTime(); let n = Object.keys(e), r = Object.keys(t); if (n.length !== r.length) return !1; for (let i of n) { let a = e[i]; if (!r.includes(i)) return !1; if ("ref" !== i) { let s = t[i]; if (o(a) && o(s) || l(a) && l(s) || Array.isArray(a) && Array.isArray(s) ? !J(a, s) : a !== s) return !1 } } return !0 } var ee = e => "select-multiple" === e.type, et = e => V(e) || i(e), en = e => I(e) && e.isConnected, er = e => { for (let t in e) if (F(e[t])) return !0; return !1 }; function ei(e, t = {}) { let n = Array.isArray(e); if (l(e) || n) for (let r in e) Array.isArray(e[r]) || l(e[r]) && !er(e[r]) ? (t[r] = Array.isArray(e[r]) ? [] : {}, ei(e[r], t[r])) : a(e[r]) || (t[r] = !0); return t } var eo = (e, t) => (function e(t, n, r) { let i = Array.isArray(t); if (l(t) || i) for (let o in t) Array.isArray(t[o]) || l(t[o]) && !er(t[o]) ? m(n) || Q(r[o]) ? r[o] = Array.isArray(t[o]) ? ei(t[o], []) : { ...ei(t[o]) } : e(t[o], a(n) ? {} : n[o], r[o]) : r[o] = !J(t[o], n[o]); return r })(e, t, ei(t)), ea = (e, { valueAsNumber: t, valueAsDate: n, setValueAs: r }) => m(e) ? e : t ? "" === e ? NaN : e ? +e : e : n && j(e) ? new Date(e) : r ? r(e) : e; function es(e) { let t = e.ref; return (e.refs ? e.refs.every(e => e.disabled) : t.disabled) ? void 0 : L(t) ? t.files : V(t) ? q(e.refs).value : ee(t) ? [...t.selectedOptions].map(({ value: e }) => e) : i(t) ? H(e.refs).value : ea(m(t.value) ? e.ref.value : t.value, e) } var el = (e, t, n, r) => { let i = {}; for (let o of e) { let a = g(t, o); a && A(i, o, a._f) } return { criteriaMode: n, names: [...e], fields: i, shouldUseNativeValidation: r } }, eu = e => m(e) ? e : B(e) ? e.source : l(e) ? B(e.value) ? e.value.source : e.value : e, ec = e => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate); function ef(e, t, n) { let r = g(e, n); if (r || O(n)) return { error: r, name: n }; let i = n.split("."); for (; i.length;) { let o = i.join("."), a = g(t, o), s = g(e, o); if (a && !Array.isArray(a) && n !== o) break; if (s && s.type) return { name: o, error: s }; i.pop() } return { name: n } } var ed = (e, t, n, r, i) => !i.isOnAll && (!n && i.isOnTouch ? !(t || e) : (n ? r.isOnBlur : i.isOnBlur) ? !e : (n ? !r.isOnChange : !i.isOnChange) || e), eh = (e, t) => !v(g(e, t)).length && K(e, t); let ep = { mode: b.onSubmit, reValidateMode: b.onChange, shouldFocusError: !0 }; function ev(e = {}) { let t = r.useRef(), [n, s] = r.useState({ isDirty: !1, isValidating: !1, isLoading: F(e.defaultValues), isSubmitted: !1, isSubmitting: !1, isSubmitSuccessful: !1, isValid: !1, submitCount: 0, dirtyFields: {}, touchedFields: {}, errors: {}, defaultValues: F(e.defaultValues) ? void 0 : e.defaultValues }); t.current || (t.current = { ...function(e = {}, t) { let n, r = { ...ep, ...e }, s = { submitCount: 0, isDirty: !1, isLoading: F(r.defaultValues), isValidating: !1, isSubmitted: !1, isSubmitting: !1, isSubmitSuccessful: !1, isValid: !1, touchedFields: {}, dirtyFields: {}, errors: {} }, c = {}, d = (l(r.defaultValues) || l(r.values)) && p(r.defaultValues || r.values) || {}, x = r.shouldUnregister ? {} : p(d), w = { action: !1, mount: !1, watch: !1 }, E = { mount: new Set, unMount: new Set, array: new Set, watch: new Set }, O = 0, C = { isDirty: !1, dirtyFields: !1, touchedFields: !1, isValidating: !1, isValid: !1, errors: !1 }, T = { values: X(), array: X(), state: X() }, z = e.resetOptions && e.resetOptions.keepDirtyValues, V = P(r.mode), B = P(r.reValidateMode), Z = r.criteriaMode === b.all, U = e => t => { clearTimeout(O), O = setTimeout(e, t) }, H = async e => { if (C.isValid || e) { let t = r.resolver ? _((await ev()).errors) : await eg(c, !0); t !== s.isValid && T.state.next({ isValid: t }) } }, W = e => C.isValidating && T.state.next({ isValidating: e }), q = (e, t = [], n, r, i = !0, o = !0) => { if (r && n) { if (w.action = !0, o && Array.isArray(g(c, e))) { let a = n(g(c, e), r.argA, r.argB); i && A(c, e, a) } if (o && Array.isArray(g(s.errors, e))) { let l = n(g(s.errors, e), r.argA, r.argB); i && A(s.errors, e, l), eh(s.errors, e) } if (C.touchedFields && o && Array.isArray(g(s.touchedFields, e))) { let u = n(g(s.touchedFields, e), r.argA, r.argB); i && A(s.touchedFields, e, u) } C.dirtyFields && (s.dirtyFields = eo(d, x)), T.state.next({ name: e, isDirty: eb(e, t), dirtyFields: s.dirtyFields, errors: s.errors, isValid: s.isValid }) } else A(x, e, t) }, $ = (e, t) => { A(s.errors, e, t), T.state.next({ errors: s.errors }) }, Y = (e, t, n, r) => { let i = g(c, e); if (i) { let o = g(x, e, m(n) ? g(d, e) : n); m(o) || r && r.defaultChecked || t ? A(x, e, t ? o : es(i._f)) : e_(e, o), w.mount && H() } }, er = (e, t, n, r, i) => { let o = !1, a = !1, l = { name: e }; if (!n || r) { C.isDirty && (a = s.isDirty, s.isDirty = l.isDirty = eb(), o = a !== l.isDirty); let u = J(g(d, e), t); a = g(s.dirtyFields, e), u ? K(s.dirtyFields, e) : A(s.dirtyFields, e, !0), l.dirtyFields = s.dirtyFields, o = o || C.dirtyFields && !u !== a } if (n) { let c = g(s.touchedFields, e); c || (A(s.touchedFields, e, n), l.touchedFields = s.touchedFields, o = o || C.touchedFields && c !== n) } return o && i && T.state.next(l), o ? l : {} }, ei = (t, r, i, o) => { let a = g(s.errors, t), l = C.isValid && D(r) && s.isValid !== r; if (e.delayError && i ? (n = U(() => $(t, i)))(e.delayError) : (clearTimeout(O), n = null, i ? A(s.errors, t, i) : K(s.errors, t)), (i ? !J(a, i) : a) || !_(o) || l) { let u = { ...o, ...l && D(r) ? { isValid: r } : {}, errors: s.errors, name: t }; s = { ...s, ...u }, T.state.next(u) } W(!1) }, ev = async e => r.resolver(x, r.context, el(e || E.mount, c, r.criteriaMode, r.shouldUseNativeValidation)), em = async e => { let { errors: t } = await ev(); if (e) for (let n of e) { let r = g(t, n); r ? A(s.errors, n, r) : K(s.errors, n) } else s.errors = t; return t }, eg = async (e, t, n = { valid: !0 }) => { for (let i in e) { let o = e[i]; if (o) { let { _f: a, ...l } = o; if (a) { let u = E.array.has(a.name), c = await G(o, x, Z, r.shouldUseNativeValidation && !t, u); if (c[a.name] && (n.valid = !1, t)) break; t || (g(c, a.name) ? u ? R(s.errors, c, a.name) : A(s.errors, a.name, c[a.name]) : K(s.errors, a.name)) } l && await eg(l, t, n) } } return n.valid }, ey = () => { for (let e of E.unMount) { let t = g(c, e); t && (t._f.refs ? t._f.refs.every(e => !en(e)) : !en(t._f.ref)) && eP(e) } E.unMount = new Set }, eb = (e, t) => (e && t && A(x, e, t), !J(eO(), d)), ex = (e, t, n) => S(e, E, { ...w.mount ? x : m(t) ? d : j(e) ? { [e]: t } : t }, n, t), ew = t => v(g(w.mount ? x : d, t, e.shouldUnregister ? g(d, t, []) : [])), e_ = (e, t, n = {}) => { let r = g(c, e), o = t; if (r) { let s = r._f; s && (s.disabled || A(x, e, ea(t, s)), o = I(s.ref) && a(t) ? "" : t, ee(s.ref) ? [...s.ref.options].forEach(e => e.selected = o.includes(e.value)) : s.refs ? i(s.ref) ? s.refs.length > 1 ? s.refs.forEach(e => (!e.defaultChecked || !e.disabled) && (e.checked = Array.isArray(o) ? !!o.find(t => t === e.value) : o === e.value)) : s.refs[0] && (s.refs[0].checked = !!o) : s.refs.forEach(e => e.checked = e.value === o) : L(s.ref) ? s.ref.value = "" : (s.ref.value = o, s.ref.type || T.values.next({ name: e, values: { ...x } }))) } (n.shouldDirty || n.shouldTouch) && er(e, o, n.shouldTouch, n.shouldDirty, !0), n.shouldValidate && eS(e) }, eE = (e, t, n) => { for (let r in t) { let i = t[r], a = `${e}.${r}`, s = g(c, a); !E.array.has(e) && Q(i) && (!s || s._f) || o(i) ? e_(a, i, n) : eE(a, i, n) } }, ek = (e, n, r = {}) => { let i = g(c, e), o = E.array.has(e), l = p(n); A(x, e, l), o ? (T.array.next({ name: e, values: { ...x } }), (C.isDirty || C.dirtyFields) && r.shouldDirty && T.state.next({ name: e, dirtyFields: eo(d, x), isDirty: eb(e, l) })) : !i || i._f || a(l) ? e_(e, l, r) : eE(e, l, r), N(e, E) && T.state.next({ ...s }), T.values.next({ name: e, values: { ...x } }), w.mount || t() }, ej = async e => { let t = e.target, i = t.name, o = !0, a = g(c, i); if (a) { let l, f; let d = t.type ? es(a._f) : u(e), h = e.type === y.BLUR || e.type === y.FOCUS_OUT, p = !ec(a._f) && !r.resolver && !g(s.errors, i) && !a._f.deps || ed(h, g(s.touchedFields, i), s.isSubmitted, B, V), v = N(i, E, h); A(x, i, d), h ? (a._f.onBlur && a._f.onBlur(e), n && n(0)) : a._f.onChange && a._f.onChange(e); let m = er(i, d, h, !1), b = !_(m) || v; if (h || T.values.next({ name: i, type: e.type, values: { ...x } }), p) return C.isValid && H(), b && T.state.next({ name: i, ...v ? {} : m }); if (!h && v && T.state.next({ ...s }), W(!0), r.resolver) { let { errors: w } = await ev([i]), k = ef(s.errors, c, i), j = ef(w, c, k.name || i); l = j.error, i = j.name, f = _(w) } else l = (await G(a, x, Z, r.shouldUseNativeValidation))[i], (o = isNaN(d) || d === g(x, i, d)) && (l ? f = !1 : C.isValid && (f = await eg(c, !0))); o && (a._f.deps && eS(a._f.deps), ei(i, f, l, m)) } }, eS = async (e, t = {}) => { let n, i; let o = k(e); if (W(!0), r.resolver) { let a = await em(m(e) ? e : o); n = _(a), i = e ? !o.some(e => g(a, e)) : n } else e ? ((i = (await Promise.all(o.map(async e => { let t = g(c, e); return await eg(t && t._f ? { [e]: t } : t) }))).every(Boolean)) || s.isValid) && H() : i = n = await eg(c); return T.state.next({ ...!j(e) || C.isValid && n !== s.isValid ? {} : { name: e }, ...r.resolver || !e ? { isValid: n } : {}, errors: s.errors, isValidating: !1 }), t.shouldFocus && !i && M(c, e => e && g(s.errors, e), e ? o : E.mount), i }, eO = e => { let t = { ...d, ...w.mount ? x : {} }; return m(e) ? t : j(e) ? g(t, e) : e.map(e => g(t, e)) }, eC = (e, t) => ({ invalid: !!g((t || s).errors, e), isDirty: !!g((t || s).dirtyFields, e), isTouched: !!g((t || s).touchedFields, e), error: g((t || s).errors, e) }), eA = e => { e && k(e).forEach(e => K(s.errors, e)), T.state.next({ errors: e ? s.errors : {} }) }, eT = (e, t, n) => { let r = (g(c, e, { _f: {} })._f || {}).ref; A(s.errors, e, { ...t, ref: r }), T.state.next({ name: e, errors: s.errors, isValid: !1 }), n && n.shouldFocus && r && r.focus && r.focus() }, eM = (e, t) => F(e) ? T.values.subscribe({ next: n => e(ex(void 0, t), n) }) : ex(e, t, !0), eP = (e, t = {}) => { for (let n of e ? k(e) : E.mount) E.mount.delete(n), E.array.delete(n), t.keepValue || (K(c, n), K(x, n)), t.keepError || K(s.errors, n), t.keepDirty || K(s.dirtyFields, n), t.keepTouched || K(s.touchedFields, n), r.shouldUnregister || t.keepDefaultValue || K(d, n); T.values.next({ values: { ...x } }), T.state.next({ ...s, ...t.keepDirty ? { isDirty: eb() } : {} }), t.keepIsValid || H() }, eN = (e, t = {}) => { let n = g(c, e), i = D(t.disabled); return A(c, e, { ...n || {}, _f: { ...n && n._f ? n._f : { ref: { name: e } }, name: e, mount: !0, ...t } }), E.mount.add(e), n ? i && A(x, e, t.disabled ? void 0 : g(x, e, es(n._f))) : Y(e, !0, t.value), { ...i ? { disabled: t.disabled } : {}, ...r.shouldUseNativeValidation ? { required: !!t.required, min: eu(t.min), max: eu(t.max), minLength: eu(t.minLength), maxLength: eu(t.maxLength), pattern: eu(t.pattern) } : {}, name: e, onChange: ej, onBlur: ej, ref: i => { if (i) { eN(e, t), n = g(c, e); let o = m(i.value) && i.querySelectorAll && i.querySelectorAll("input,select,textarea")[0] || i, a = et(o), s = n._f.refs || []; (a ? s.find(e => e === o) : o === n._f.ref) || (A(c, e, { _f: { ...n._f, ...a ? { refs: [...s.filter(en), o, ...Array.isArray(g(d, e)) ? [{}] : []], ref: { type: o.type, name: e } } : { ref: o } } }), Y(e, !1, void 0, o)) } else (n = g(c, e, {}))._f && (n._f.mount = !1), (r.shouldUnregister || t.shouldUnregister) && !(f(E.array, e) && w.action) && E.unMount.add(e) } } }, eR = () => r.shouldFocusError && M(c, e => e && g(s.errors, e), E.mount), eD = (e, t) => async n => { n && (n.preventDefault && n.preventDefault(), n.persist && n.persist()); let i = p(x); if (T.state.next({ isSubmitting: !0 }), r.resolver) { let { errors: o, values: a } = await ev(); s.errors = o, i = a } else await eg(c); K(s.errors, "root"), _(s.errors) ? (T.state.next({ errors: {} }), await e(i, n)) : (t && await t({ ...s.errors }, n), eR(), setTimeout(eR)), T.state.next({ isSubmitted: !0, isSubmitting: !1, isSubmitSuccessful: _(s.errors), submitCount: s.submitCount + 1, errors: s.errors }) }, eL = (e, t = {}) => { g(c, e) && (m(t.defaultValue) ? ek(e, g(d, e)) : (ek(e, t.defaultValue), A(d, e, t.defaultValue)), t.keepTouched || K(s.touchedFields, e), t.keepDirty || (K(s.dirtyFields, e), s.isDirty = t.defaultValue ? eb(e, g(d, e)) : eb()), !t.keepError && (K(s.errors, e), C.isValid && H()), T.state.next({ ...s })) }, eF = (n, r = {}) => { let i = n || d, o = p(i), a = n && !_(n) ? o : d; if (r.keepDefaultValues || (d = i), !r.keepValues) { if (r.keepDirtyValues || z) for (let l of E.mount) g(s.dirtyFields, l) ? A(a, l, g(x, l)) : ek(l, g(a, l)); else { if (h && m(n)) for (let u of E.mount) { let f = g(c, u); if (f && f._f) { let v = Array.isArray(f._f.refs) ? f._f.refs[0] : f._f.ref; if (I(v)) { let y = v.closest("form"); if (y) { y.reset(); break } } } } c = {} } x = e.shouldUnregister ? r.keepDefaultValues ? p(d) : {} : o, T.array.next({ values: { ...a } }), T.values.next({ values: { ...a } }) } E = { mount: new Set, unMount: new Set, array: new Set, watch: new Set, watchAll: !1, focus: "" }, w.mount || t(), w.mount = !C.isValid || !!r.keepIsValid, w.watch = !!e.shouldUnregister, T.state.next({ submitCount: r.keepSubmitCount ? s.submitCount : 0, isDirty: r.keepDirty ? s.isDirty : !!(r.keepDefaultValues && !J(n, d)), isSubmitted: !!r.keepIsSubmitted && s.isSubmitted, dirtyFields: r.keepDirtyValues ? s.dirtyFields : r.keepDefaultValues && n ? eo(d, n) : {}, touchedFields: r.keepTouched ? s.touchedFields : {}, errors: r.keepErrors ? s.errors : {}, isSubmitting: !1, isSubmitSuccessful: !1 }) }, eI = (e, t) => eF(F(e) ? e(x) : e, t), ez = (e, t = {}) => { let n = g(c, e), r = n && n._f; if (r) { let i = r.refs ? r.refs[0] : r.ref; i.focus && (i.focus(), t.shouldSelect && i.select()) } }, eV = e => { s = { ...s, ...e } }, eB = () => F(r.defaultValues) && r.defaultValues().then(e => { eI(e, r.resetOptions), T.state.next({ isLoading: !1 }) }); return { control: { register: eN, unregister: eP, getFieldState: eC, _executeSchema: ev, _getWatch: ex, _getDirty: eb, _updateValid: H, _removeUnmounted: ey, _updateFieldArray: q, _getFieldArray: ew, _reset: eF, _resetDefaultValues: eB, _updateFormState: eV, _subjects: T, _proxyFormState: C, get _fields() { return c }, get _formValues() { return x }, get _state() { return w }, set _state(value) { w = value }, get _defaultValues() { return d }, get _names() { return E }, set _names(value) { E = value }, get _formState() { return s }, set _formState(value) { s = value }, get _options() { return r }, set _options(value) { r = { ...r, ...value } } }, trigger: eS, register: eN, handleSubmit: eD, watch: eM, setValue: ek, getValues: eO, reset: eI, resetField: eL, clearErrors: eA, unregister: eP, setError: eT, setFocus: ez, getFieldState: eC } }(e, () => s(e => ({ ...e }))), formState: n }); let c = t.current.control; return c._options = e, !function(e) { let t = r.useRef(e); t.current = e, r.useEffect(() => { let n = !e.disabled && t.current.subject && t.current.subject.subscribe({ next: t.current.next }); return () => { n && n.unsubscribe() } }, [e.disabled]) }({ subject: c._subjects.state, next: e => { E(e, c._proxyFormState, c._updateFormState, !0) && s({ ...c._formState }) } }), r.useEffect(() => { e.values && !J(e.values, c._defaultValues) ? c._reset(e.values, c._options.resetOptions) : c._resetDefaultValues() }, [e.values, c]), r.useEffect(() => { c._state.mount || (c._updateValid(), c._state.mount = !0), c._state.watch && (c._state.watch = !1, c._subjects.state.next({ ...c._formState })), c._removeUnmounted() }), t.current.formState = w(n, c), t.current } }, 79381: function(e, t, n) { "use strict"; n.d(t, { J$: function() { return eo }, ZP: function() { return ea }, JG: function() { return W }, kY: function() { return J } }); var r = n(2784), i = n(43100); let o = new WeakMap, a = {}, s = {}, l = () => { }, u = l(), c = Object, f = e => e === u, d = e => "function" == typeof e, h = (e, t) => ({ ...e, ...t }), p = "undefined", v = typeof window != p, m = typeof document != p, g = () => v && typeof window.requestAnimationFrame != p, y = (e, t) => { let n = o.get(e); return [() => e.get(t) || a, r => { if (!f(t)) { let i = e.get(t); t in s || (s[t] = i), n[5](t, h(i, r), i || a) } }, n[6], () => !f(t) && t in s ? s[t] : e.get(t) || a] }, b = new WeakMap, x = 0, w = e => { let t, n; let r = typeof e, i = e && e.constructor, o = i == Date; if (c(e) !== e || o || i == RegExp) t = o ? e.toJSON() : "symbol" == r ? e.toString() : "string" == r ? JSON.stringify(e) : "" + e; else { if (t = b.get(e)) return t; if (t = ++x + "~", b.set(e, t), i == Array) { for (n = 0, t = "@"; n < e.length; n++)t += w(e[n]) + ","; b.set(e, t) } if (i == c) { t = "#"; let a = c.keys(e).sort(); for (; !f(n = a.pop());)f(e[n]) || (t += n + ":" + w(e[n]) + ","); b.set(e, t) } } return t }, _ = !0, [E, k] = v && window.addEventListener ? [window.addEventListener.bind(window), window.removeEventListener.bind(window)] : [l, l], j = () => { let e = m && document.visibilityState; return f(e) || "hidden" !== e }, S = e => (m && document.addEventListener("visibilitychange", e), E("focus", e), () => { m && document.removeEventListener("visibilitychange", e), k("focus", e) }), O = e => { let t = () => { _ = !0, e() }, n = () => { _ = !1 }; return E("online", t), E("offline", n), () => { k("online", t), k("offline", n) } }, C = { initFocus: S, initReconnect: O }, A = !r.useId, T = !v || "Deno" in window, M = e => g() ? window.requestAnimationFrame(e) : setTimeout(e, 1), P = T ? r.useEffect : r.useLayoutEffect, N = "undefined" != typeof navigator && navigator.connection, R = !T && N && (["slow-2g", "2g"].includes(N.effectiveType) || N.saveData), D = e => { if (d(e)) try { e = e() } catch (t) { e = "" } let n = e; return [e = "string" == typeof e ? e : (Array.isArray(e) ? e.length : e) ? w(e) : "", n] }, L = 0, F = () => ++L; var I = { __proto__: null, FOCUS_EVENT: 0, RECONNECT_EVENT: 1, MUTATE_EVENT: 2, ERROR_REVALIDATE_EVENT: 3 }; async function z(...e) { let [t, n, r, i] = e, a = h({ populateCache: !0, throwOnError: !0 }, "boolean" == typeof i ? { revalidate: i } : i || {}), s = a.populateCache, l = a.rollbackOnError, c = a.optimisticData, p = !1 !== a.revalidate, v = e => "function" == typeof l ? l(e) : !1 !== l, m = a.throwOnError; if (d(n)) { let g = [], b = t.keys(); for (let x = b.next(); !x.done; x = b.next()) { let w = x.value; !/^\$(inf|sub)\$/.test(w) && n(t.get(w)._k) && g.push(w) } return Promise.all(g.map(_)) } return _(n); async function _(n) { let i; let [a] = D(n); if (!a) return; let [l, h] = y(t, a), [g, b, x] = o.get(t), w = g[a], _ = () => p && (delete x[a], w && w[0]) ? w[0](2).then(() => l().data) : l().data; if (e.length < 3) return _(); let E = r, k = F(); b[a] = [k, 0]; let j = !f(c), S = l(), O = S.data, C = S._c, A = f(C) ? O : C; if (j && h({ data: c = d(c) ? c(A) : c, _c: A }), d(E)) try { E = E(A) } catch (T) { i = T } if (E && d(E.then)) { if (E = await E.catch(e => { i = e }), k !== b[a][0]) { if (i) throw i; return E } i && j && v(i) && (s = !0, E = A, h({ data: E, _c: u })) } s && !i && (d(s) && (E = s(E, A)), h({ data: E, _c: u })), b[a][1] = F(); let M = await _(); if (h({ _c: u }), i) { if (m) throw i; return } return s ? M : E } } let V = (e, t) => { for (let n in e) e[n][0] && e[n][0](t) }, B = (e, t) => { if (!o.has(e)) { let n = h(C, t), r = {}, i = z.bind(u, e), a = l, s = {}, c = (e, t) => { let n = s[e] || []; return s[e] = n, n.push(t), () => n.splice(n.indexOf(t), 1) }, f = (t, n, r) => { e.set(t, n); let i = s[t]; if (i) for (let o of i) o(n, r) }, d = () => { if (!o.has(e) && (o.set(e, [r, {}, {}, {}, i, f, c]), !T)) { let t = n.initFocus(setTimeout.bind(u, V.bind(u, r, 0))), s = n.initReconnect(setTimeout.bind(u, V.bind(u, r, 1))); a = () => { t && t(), s && s(), o.delete(e) } } }; return d(), [e, i, d, a] } return [e, o.get(e)[4]] }, Z = (e, t, n, r, i) => { let o = n.errorRetryCount, a = i.retryCount, s = ~~((Math.random() + .5) * (1 << (a < 8 ? a : 8))) * n.errorRetryInterval; (f(o) || !(a > o)) && setTimeout(r, s, i) }, U = (e, t) => w(e) == w(t), [H, W] = B(new Map), q = h({ onLoadingSlow: l, onSuccess: l, onError: l, onErrorRetry: Z, onDiscarded: l, revalidateOnFocus: !0, revalidateOnReconnect: !0, revalidateIfStale: !0, shouldRetryOnError: !0, errorRetryInterval: R ? 1e4 : 5e3, focusThrottleInterval: 5e3, dedupingInterval: 2e3, loadingTimeout: R ? 5e3 : 3e3, compare: U, isPaused: () => !1, cache: H, mutate: W, fallback: {} }, { isOnline: () => _, isVisible: j }), $ = (e, t) => { let n = h(e, t); if (t) { let { use: r, fallback: i } = e, { use: o, fallback: a } = t; r && o && (n.use = r.concat(o)), i && a && (n.fallback = h(i, a)) } return n }, Y = (0, r.createContext)({}), G = e => { let { value: t } = e, n = (0, r.useContext)(Y), i = d(t), o = (0, r.useMemo)(() => i ? t(n) : t, [i, n, t]), a = (0, r.useMemo)(() => i ? o : $(n, o), [i, n, o]), s = o && o.provider, l = (0, r.useRef)(u); s && !l.current && (l.current = B(s(a.cache || H), o)); let c = l.current; return c && (a.cache = c[0], a.mutate = c[1]), P(() => { if (c) return c[2] && c[2](), c[3] }, []), (0, r.createElement)(Y.Provider, h(e, { value: a })) }, K = v && window.__SWR_DEVTOOLS_USE__, X = K ? window.__SWR_DEVTOOLS_USE__ : [], Q = e => d(e[1]) ? [e[0], e[1], e[2] || {}] : [e[0], null, (null === e[1] ? e[2] : e[1]) || {}], J = () => h(q, (0, r.useContext)(Y)), ee = e => (t, n, r) => { let i = n && ((...e) => { let r = D(t)[0], [, , , i] = o.get(H), a = i[r]; return a ? (delete i[r], a) : n(...e) }); return e(t, i, r) }, et = X.concat(ee), en = (e, t, n) => { let r = t[e] || (t[e] = []); return r.push(n), () => { let e = r.indexOf(n); e >= 0 && (r[e] = r[r.length - 1], r.pop()) } }; K && (window.__SWR_DEVTOOLS_REACT__ = r); let er = { dedupe: !0 }, ei = (e, t, n) => { let { cache: a, compare: s, suspense: l, fallbackData: c, revalidateOnMount: p, revalidateIfStale: v, refreshInterval: m, refreshWhenHidden: g, refreshWhenOffline: b, keepPreviousData: x } = n, [w, _, E] = o.get(a), [k, j] = D(e), S = (0, r.useRef)(!1), O = (0, r.useRef)(!1), C = (0, r.useRef)(k), N = (0, r.useRef)(t), R = (0, r.useRef)(n), L = () => R.current, V = () => L().isVisible() && L().isOnline(), [B, Z, U, H] = y(a, k), W = (0, r.useRef)({}).current, q = f(c) ? n.fallback[k] : c, $ = (e, t) => { let n = !0; for (let r in W) { let i = r; "data" === i ? s(t[i], e[i]) || f(e[i]) && s(t[i], ei) || (n = !1) : t[i] !== e[i] && (n = !1) } return n }, Y = (0, r.useMemo)(() => { let e = !!k && !!t && (f(p) ? !L().isPaused() && !l && (!!f(v) || v) : p), n = t => { let n = h(t); return (delete n._k, e) ? { isValidating: !0, isLoading: !0, ...n } : n }, r = B(), i = H(), o = n(r), a = r === i ? o : n(i), s = o; return [() => { let e = n(B()); return $(e, s) ? s : s = e }, () => a] }, [a, k]), G = (0, i.useSyncExternalStore)((0, r.useCallback)(e => U(k, (t, n) => { $(n, t) || e() }), [a, k]), Y[0], Y[1]), K = !S.current, X = w[k] && w[k].length > 0, Q = G.data, J = f(Q) ? q : Q, ee = G.error, et = (0, r.useRef)(J), ei = x ? f(Q) ? et.current : Q : J, eo = (!X || !!f(ee)) && (K && !f(p) ? p : !L().isPaused() && (l ? !f(J) && v : f(J) || v)), ea = !!(k && t && K && eo), es = f(G.isValidating) ? ea : G.isValidating, el = f(G.isLoading) ? ea : G.isLoading, eu = (0, r.useCallback)(async e => { let t, r; let i = N.current; if (!k || !i || O.current || L().isPaused()) return !1; let o = !0, a = e || {}, l = !E[k] || !a.dedupe, c = () => A ? !O.current && k === C.current && S.current : k === C.current, h = { isValidating: !1, isLoading: !1 }, p = () => { Z(h) }, v = () => { let e = E[k]; e && e[1] === r && delete E[k] }, m = { isValidating: !0 }; f(B().data) && (m.isLoading = !0); try { if (l && (Z(m), n.loadingTimeout && f(B().data) && setTimeout(() => { o && c() && L().onLoadingSlow(k, n) }, n.loadingTimeout), E[k] = [i(j), F()]), [t, r] = E[k], t = await t, l && setTimeout(v, n.dedupingInterval), !E[k] || E[k][1] !== r) return l && c() && L().onDiscarded(k), !1; h.error = u; let g = _[k]; if (!f(g) && (r <= g[0] || r <= g[1] || 0 === g[1])) return p(), l && c() && L().onDiscarded(k), !1; let y = B().data; h.data = s(y, t) ? y : t, l && c() && L().onSuccess(t, k, n) } catch (T) { v(); let b = L(), { shouldRetryOnError: x } = b; !b.isPaused() && (h.error = T, l && c() && (b.onError(T, k, b), (!0 === x || d(x) && x(T)) && V() && b.onErrorRetry(T, k, b, e => { let t = w[k]; t && t[0] && t[0](I.ERROR_REVALIDATE_EVENT, e) }, { retryCount: (a.retryCount || 0) + 1, dedupe: !0 }))) } return o = !1, p(), !0 }, [k, a]), ec = (0, r.useCallback)((...e) => z(a, C.current, ...e), []); if (P(() => { N.current = t, R.current = n, f(Q) || (et.current = Q) }), P(() => { if (!k) return; let e = eu.bind(u, er), t = 0, n = (n, r = {}) => { if (n == I.FOCUS_EVENT) { let i = Date.now(); L().revalidateOnFocus && i > t && V() && (t = i + L().focusThrottleInterval, e()) } else if (n == I.RECONNECT_EVENT) L().revalidateOnReconnect && V() && e(); else if (n == I.MUTATE_EVENT) return eu(); else if (n == I.ERROR_REVALIDATE_EVENT) return eu(r) }, r = en(k, w, n); return O.current = !1, C.current = k, S.current = !0, Z({ _k: j }), eo && (f(J) || T ? e() : M(e)), () => { O.current = !0, r() } }, [k]), P(() => { let e; function t() { let t = d(m) ? m(J) : m; t && -1 !== e && (e = setTimeout(n, t)) } function n() { !B().error && (g || L().isVisible()) && (b || L().isOnline()) ? eu(er).then(t) : t() } return t(), () => { e && (clearTimeout(e), e = -1) } }, [m, g, b, k]), (0, r.useDebugValue)(ei), l && f(J) && k) { if (!A && T) throw Error("Fallback data is required when using suspense in SSR."); throw N.current = t, R.current = n, O.current = !1, f(ee) ? eu(er) : ee } return { mutate: ec, get data() { return W.data = !0, ei }, get error() { return W.error = !0, ee }, get isValidating() { return W.isValidating = !0, es }, get isLoading() { return W.isLoading = !0, el } } }, eo = c.defineProperty(G, "defaultValue", { value: q }); var ea = function(...e) { let t = J(), [n, r, i] = Q(e), o = $(t, i), a = ei, { use: s } = o, l = (s || []).concat(et); for (let u = l.length; u--;)a = l[u](a); return a(n, r || o.fetcher || null, o) } } +}, function(e) { var t = function(t) { return e(e.s = t) }; e.O(0, [774, 179], function() { return t(86570), t(92203) }), _N_E = e.O() }]); diff --git a/hostd/assets/_next/static/css/effd804cc4b2e976.css b/hostd/assets/_next/static/css/effd804cc4b2e976.css index 28e01c513..51660d3a7 100644 --- a/hostd/assets/_next/static/css/effd804cc4b2e976.css +++ b/hostd/assets/_next/static/css/effd804cc4b2e976.css @@ -1,3 +1,5536 @@ /* ! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #f1f3f5}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--font-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#e6e8eb}input::placeholder,textarea::placeholder{opacity:1;color:#e6e8eb}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:auto;scrollbar-width:auto}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.\!absolute{position:absolute!important}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-right-\[2px\]{right:-2px}.top-px{top:1px}.-right-\[9px\]{right:-9px}.-top-1{top:-.25rem}.top-\[200px\]{top:200px}.bottom-5{bottom:1.25rem}.right-5{right:1.25rem}.-top-px{top:-1px}.top-0{top:0}.left-0{left:0}.right-0{right:0}.bottom-0{bottom:0}.top-\[-50px\]{top:-50px}.-top-0\.5{top:-.125rem}.-top-0{top:0}.top-\[-30px\]{top:-30px}.top-0\.5{top:.125rem}.right-2{right:.5rem}.right-3{right:.75rem}.top-3\.5{top:.875rem}.top-3{top:.75rem}.-top-\[100px\]{top:-100px}.top-1{top:.25rem}.-left-7{left:-1.75rem}.top-\[-4px\]{top:-4px}.-top-\[5px\]{top:-5px}.bottom-\[100\%\]{bottom:100%}.left-1\.5{left:.375rem}.left-1{left:.25rem}.top-\[100\%\]{top:100%}.left-2{left:.5rem}.-bottom-2\.5{bottom:-.625rem}.-bottom-2{bottom:-.5rem}.top-\[-0\.5px\]{top:-.5px}.right-4{right:1rem}.left-4{left:1rem}.z-10{z-index:10}.z-0{z-index:0}.z-20{z-index:20}.-z-10{z-index:-10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-4{margin:-1rem}.m-0{margin:0}.m-px{margin:1px}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-1{margin-top:.25rem}.mb-1,.my-1{margin-bottom:.25rem}.mt-5{margin-top:1.25rem}.mb-3{margin-bottom:.75rem}.mt-2{margin-top:.5rem}.mt-8{margin-top:2rem}.mb-2{margin-bottom:.5rem}.mt-1{margin-top:.25rem}.ml-1{margin-left:.25rem}.ml-px{margin-left:1px}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mb-5{margin-bottom:1.25rem}.mt-1\.5{margin-top:.375rem}.mb-0\.5{margin-bottom:.125rem}.mb-0{margin-bottom:0}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-\[100px\]{height:100px}.h-\[20px\]{height:20px}.h-\[120px\]{height:120px}.h-4{height:1rem}.h-\[400px\]{height:400px}.h-\[200px\]{height:200px}.h-5{height:1.25rem}.h-\[200vh\]{height:200vh}.h-full{height:100%}.h-14{height:3.5rem}.h-2{height:.5rem}.h-\[210px\]{height:210px}.h-7{height:1.75rem}.h-6{height:1.5rem}.h-12{height:3rem}.h-10{height:2.5rem}.h-\[50px\]{height:50px}.h-\[14px\]{height:14px}.h-16{height:4rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-8{height:2rem}.h-px{height:1px}.h-3{height:.75rem}.h-\[30px\]{height:30px}.h-screen{height:100vh}.h-1\.5{height:.375rem}.max-h-\[400px\]{max-height:400px}.max-h-\[70vh\]{max-height:70vh}.min-h-\[80px\]{min-height:80px}.w-1{width:.25rem}.w-\[500px\]{width:500px}.w-full{width:100%}.w-\[160px\]{width:160px}.w-\[100px\]{width:100px}.w-\[400px\]{width:400px}.w-\[450px\]{width:450px}.w-\[50px\]{width:50px}.w-\[120px\]{width:120px}.w-\[200vw\]{width:200vw}.w-\[300px\]{width:300px}.w-fit{width:-moz-fit-content;width:fit-content}.w-2{width:.5rem}.w-\[800px\]{width:800px}.w-\[210px\]{width:210px}.w-\[150px\]{width:150px}.w-\[200px\]{width:200px}.w-\[60px\]{width:60px}.w-\[90\%\]{width:90%}.w-\[140px\]{width:140px}.w-6{width:1.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-4{width:1rem}.w-1\.5{width:.375rem}.w-3{width:.75rem}.w-5{width:1.25rem}.w-11{width:2.75rem}.w-\[220px\]{width:220px}.w-\[75px\]{width:75px}.w-px{width:1px}.w-\[250px\]{width:250px}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-\[200px\]{min-width:200px}.min-w-\[250px\]{min-width:250px}.max-w-\[200px\]{max-width:200px}.max-w-\[400px\]{max-width:400px}.max-w-screen-xl{max-width:1280px}.max-w-\[300px\]{max-width:300px}.max-w-\[500px\]{max-width:500px}.max-w-\[600px\]{max-width:600px}.max-w-screen-sm{max-width:640px}.max-w-screen-md{max-width:768px}.max-w-\[1145px\]{max-width:1145px}.max-w-screen-2xl{max-width:1536px}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.max-w-\[800px\]{max-width:800px}.\!max-w-none{max-width:none!important}.flex-1{flex:1 1 0%}.\!flex-none{flex:none!important}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.table-auto{table-layout:auto}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-px{--tw-translate-x:1px}.translate-x-0\.5,.translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0\.5{--tw-translate-x:0.125rem}.translate-x-0{--tw-translate-x:0px}.scale-\[200\%\],.translate-x-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[200\%\]{--tw-scale-x:200%;--tw-scale-y:200%}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.scale-50,.scale-75{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-50{--tw-scale-x:.5;--tw-scale-y:.5}.scale-\[0\.65\]{--tw-scale-x:0.65;--tw-scale-y:0.65}.scale-90,.scale-\[0\.65\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x:.9;--tw-scale-y:.9}.scale-150{--tw-scale-x:1.5;--tw-scale-y:1.5}.scale-150,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pingslow{0%{transform:scale(1);opacity:1}60%{transform:scale(1);opacity:1}90%{transform:scale(2);opacity:0}to{transform:scale(2);opacity:0}}.animate-pingslow{animation:pingslow 3s infinite}@keyframes pulselight{30%{opacity:1}50%{opacity:.2}70%{opacity:1}}.animate-pulselight{animation:pulselight 3s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-text{cursor:text}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-y{resize:vertical}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-16{gap:4rem}.gap-10{gap:2.5rem}.gap-14{gap:3.5rem}.gap-5{gap:1.25rem}.gap-7{gap:1.75rem}.gap-6{gap:1.5rem}.gap-1\.5{gap:.375rem}.gap-0\.5{gap:.125rem}.gap-0{gap:0}.gap-8{gap:2rem}.gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.gap-y-4{row-gap:1rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-10{row-gap:2.5rem}.gap-y-12{row-gap:3rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-1{row-gap:.25rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.\!rounded-none{border-radius:0!important}.rounded-sm{border-radius:.125rem}.rounded-md{border-radius:.375rem}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-y-0{border-top-width:0;border-bottom-width:0}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-b-3{border-bottom-width:3px}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-none{border-style:none}.border-gray-200{--tw-border-opacity:1;border-color:hsl(209 13.3% 95.3%/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:hsl(208 11.3% 88.9%/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:hsl(209 12.2% 93.2%/var(--tw-border-opacity))}.border-accent-900{--tw-border-opacity:1;border-color:rgb(5 107 36/var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:hsl(207 11.1% 85.9%/var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:hsl(208 11.7% 91.1%/var(--tw-border-opacity))}.border-gray-200\/50{border-color:rgba(241,243,245,.5)}.border-gray-900{--tw-border-opacity:1;border-color:hsl(206 5.8% 52.3%/var(--tw-border-opacity))}.border-green-800\/30{border-color:rgba(22,101,52,.3)}.border-red-800\/30{border-color:rgba(153,27,27,.3)}.border-amber-800\/30{border-color:rgba(146,64,14,.3)}.border-gray-400\/70{border-color:rgba(230,232,235,.7)}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:hsl(210 16.7% 97.6%/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-blue-500\/50{border-color:rgba(59,130,246,.5)}.border-green-500\/50{border-color:rgba(34,197,94,.5)}.border-amber-500\/50{border-color:rgba(245,158,11,.5)}.bg-gray-1000{--tw-bg-opacity:1;background-color:hsl(206 6% 43.5%/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:hsl(209 12.2% 93.2%/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:hsl(205 10.7% 78%/var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:hsl(206 30% 98.8%/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:hsl(208 11.3% 88.9%/var(--tw-bg-opacity))}.bg-accent-800{--tw-bg-opacity:1;background-color:rgb(5 135 45/var(--tw-bg-opacity))}.bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity))}.bg-green-100\/20{background-color:rgba(220,252,231,.2)}.bg-slate-400{--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:hsl(210 16.7% 97.6%/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-gray-900{--tw-bg-opacity:1;background-color:hsl(206 5.8% 52.3%/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:hsl(206 6% 56.1%/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-amber-700{--tw-bg-opacity:1;background-color:rgb(180 83 9/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:hsl(209 13.3% 95.3%/var(--tw-bg-opacity))}.bg-accent-200{--tw-bg-opacity:1;background-color:rgb(213 242 222/var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-black\/70{background-color:rgba(0,0,0,.7)}.bg-blue-300{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity:1;background-color:rgb(134 239 172/var(--tw-bg-opacity))}.bg-amber-300{--tw-bg-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-white{--tw-gradient-from:#fff;--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-white\/95{--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.95),var(--tw-gradient-to)}.to-white{--tw-gradient-to:#fff}.fill-white{fill:#fff}.fill-gray-1100{fill:#11181c}.fill-gray-600{fill:#d7dbdf}.object-cover{-o-object-fit:cover;object-fit:cover}.p-4{padding:1rem}.p-3\.5{padding:.875rem}.p-3{padding:.75rem}.\!p-1{padding:.25rem!important}.p-6{padding:1.5rem}.p-1{padding:.25rem}.p-2\.5{padding:.625rem}.p-2{padding:.5rem}.p-\[5px\]{padding:5px}.p-0{padding:0}.p-px{padding:1px}.py-px{padding-top:1px;padding-bottom:1px}.px-\[5px\]{padding-left:5px;padding-right:5px}.\!px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-0{padding-top:0;padding-bottom:0}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pl-1{padding-left:.25rem}.pr-2{padding-right:.5rem}.\!pl-2{padding-left:.5rem!important}.\!pr-4{padding-right:1rem!important}.pt-\[10px\]{padding-top:10px}.\!pl-0{padding-left:0!important}.pb-10{padding-bottom:2.5rem}.pl-2{padding-left:.5rem}.pr-3{padding-right:.75rem}.pl-6{padding-left:1.5rem}.pl-4{padding-left:1rem}.pr-6{padding-right:1.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.pb-3{padding-bottom:.75rem}.pr-9{padding-right:2.25rem}.pt-4{padding-top:1rem}.pb-2{padding-bottom:.5rem}.pl-5{padding-left:1.25rem}.pl-0{padding-left:0}.pr-1{padding-right:.25rem}.pt-6{padding-top:1.5rem}.pt-40{padding-top:10rem}.pr-5{padding-right:1.25rem}.pb-6{padding-bottom:1.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-xxs{font-size:.625rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.uppercase{text-transform:uppercase}.proportional-nums{--tw-numeric-spacing:proportional-nums}.proportional-nums,.tabular-nums{font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing:tabular-nums}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.text-gray-1100{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:hsl(206 5.8% 52.3%/var(--tw-text-opacity))}.text-gray-1100\/30{color:rgba(17,24,28,.3)}.\!text-gray-700{--tw-text-opacity:1!important;color:hsl(205 10.7% 78%/var(--tw-text-opacity))!important}.\!text-gray-1000{--tw-text-opacity:1!important;color:hsl(206 6% 43.5%/var(--tw-text-opacity))!important}.\!text-gray-1100{--tw-text-opacity:1!important;color:hsl(206 24% 9%/var(--tw-text-opacity))!important}.\!text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.\!text-accent-1100{--tw-text-opacity:1!important;color:rgb(1 31 10/var(--tw-text-opacity))!important}.\!text-red-700{--tw-text-opacity:1!important;color:rgb(185 28 28/var(--tw-text-opacity))!important}.\!text-emerald-700{--tw-text-opacity:1!important;color:rgb(4 120 87/var(--tw-text-opacity))!important}.\!text-amber-600{--tw-text-opacity:1!important;color:rgb(217 119 6/var(--tw-text-opacity))!important}.text-accent-1100{--tw-text-opacity:1;color:rgb(1 31 10/var(--tw-text-opacity))}.text-gray-1000{--tw-text-opacity:1;color:hsl(206 6% 43.5%/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity))}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.decoration-accentdark-900{text-decoration-color:#069f35}.decoration-accent-900{text-decoration-color:#056b24}.decoration-gray-1100{text-decoration-color:#11181c}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.underline-offset-2{text-underline-offset:2px}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-30{opacity:.3}.opacity-95{opacity:.95}.opacity-0{opacity:0}.opacity-70{opacity:.7}.opacity-\[10\%\]{opacity:10%}.mix-blend-difference{mix-blend-mode:difference}.shadow-border-b{--tw-shadow:inset 0 -1px rgba(0,0,0,.3);--tw-shadow-colored:inset 0 -1px var(--tw-shadow-color)}.shadow,.shadow-border-b{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow-border-y{--tw-shadow:inset 0 1px 0 0 rgba(0,0,0,.3),inset 0 -1px 0 0 rgba(0,0,0,.3);--tw-shadow-colored:inset 0 1px 0 0 var(--tw-shadow-color),inset 0 -1px 0 0 var(--tw-shadow-color)}.shadow-border-y,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-gray-400{--tw-shadow-color:#e6e8eb;--tw-shadow:var(--tw-shadow-colored)}.\!shadow-blue-900{--tw-shadow-color:#1e3a8a!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-blue-500{--tw-shadow-color:#3b82f6!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-red-500{--tw-shadow-color:#ef4444!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-amber-500{--tw-shadow-color:#f59e0b!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-green-500{--tw-shadow-color:#22c55e!important;--tw-shadow:var(--tw-shadow-colored)!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-blue-500{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.blur{--tw-blur:blur(8px)}.blur,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-75{transition-duration:75ms}.duration-300{transition-duration:.3s}.duration-1000{transition-duration:1s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.scrollbar-thin.overflow-x-hidden,.scrollbar.overflow-x-hidden{overflow-x:hidden}#__next,#root,body,html{height:100vh;overflow:hidden}.placeholder\:text-gray-600::-moz-placeholder{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.placeholder\:text-gray-600::placeholder{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.placeholder\:text-gray-700::-moz-placeholder{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.placeholder\:text-gray-700::placeholder{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:top-1\/2:before{content:var(--tw-content);top:50%}.before\:left-1\/2:before{content:var(--tw-content);left:50%}.after\:block:after{content:var(--tw-content);display:block}.after\:h-2:after{content:var(--tw-content);height:.5rem}.after\:h-4:after{content:var(--tw-content);height:1rem}.after\:w-2:after{content:var(--tw-content);width:.5rem}.after\:w-4:after{content:var(--tw-content);width:1rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:bg-green-600:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.after\:content-\[\"\"\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-none:first-child{border-style:none}.first\:shadow-border-tlb:first-child{--tw-shadow:inset 0 1px 0 0 rgba(0,0,0,.3),inset 1px 0 0 0 rgba(0,0,0,.3),inset 0 -1px 0 0 rgba(0,0,0,.3);--tw-shadow-colored:inset 0 1px 0 0 var(--tw-shadow-color),inset 1px 0 0 0 var(--tw-shadow-color),inset 0 -1px 0 0 var(--tw-shadow-color)}.first\:shadow-border-tlb:first-child,.last\:shadow-border-trb:last-child{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.last\:shadow-border-trb:last-child{--tw-shadow:inset 0 1px 0 0 rgba(0,0,0,.3),inset -1px 0 0 0 rgba(0,0,0,.3),inset 0 -1px 0 0 rgba(0,0,0,.3);--tw-shadow-colored:inset 0 1px 0 0 var(--tw-shadow-color),inset -1px 0 0 0 var(--tw-shadow-color),inset 0 -1px 0 0 var(--tw-shadow-color)}.only\:left-0:only-child{left:0}.last-of-type\:border-b:last-of-type{border-bottom-width:1px}.autofill\:bg-blue-100:-webkit-autofill{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.autofill\:bg-blue-100:autofill{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.autofill\:bg-white:-webkit-autofill{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.autofill\:bg-white:autofill{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.autofill\:text-fill-gray-1100:-webkit-autofill{-webkit-text-fill-color:#11181c}.autofill\:text-fill-gray-1100:autofill{-webkit-text-fill-color:#11181c}.autofill\:shadow-fill-white:-webkit-autofill{--tw-shadow:0 0 0 9999px #fff inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.autofill\:shadow-fill-white:autofill{--tw-shadow:0 0 0 9999px #fff inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.autofill\:placeholder\:text-fill-gray-700:autofill::-moz-placeholder{-webkit-text-fill-color:#c1c8cd}.autofill\:placeholder\:text-fill-gray-700:-webkit-autofill::placeholder{-webkit-text-fill-color:#c1c8cd}.autofill\:placeholder\:text-fill-gray-700:autofill::placeholder{-webkit-text-fill-color:#c1c8cd}.focus-within\:z-10:focus-within{z-index:10}.focus-within\:ring:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:z-10:focus{z-index:10}.focus\:bg-gray-300:focus{--tw-bg-opacity:1;background-color:hsl(209 12.2% 93.2%/var(--tw-bg-opacity))}.focus\:text-gray-900:focus{--tw-text-opacity:1;color:hsl(206 5.8% 52.3%/var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.enabled\:border-green-800\/30:enabled{border-color:rgba(22,101,52,.3)}.enabled\:bg-green-700:enabled{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-auto:disabled{cursor:auto}.disabled\:cursor-default:disabled{cursor:default}.disabled\:border-green-600\/50:disabled{border-color:rgba(22,163,74,.5)}.disabled\:border-red-600\/50:disabled{border-color:rgba(220,38,38,.5)}.disabled\:border-amber-600\/50:disabled{border-color:rgba(217,119,6,.5)}.disabled\:bg-green-700\/70:disabled{background-color:rgba(21,128,61,.7)}.disabled\:bg-red-700\/70:disabled{background-color:rgba(185,28,28,.7)}.disabled\:bg-amber-700\/70:disabled{background-color:rgba(180,83,9,.7)}.disabled\:bg-gray-200:disabled{--tw-bg-opacity:1;background-color:hsl(209 13.3% 95.3%/var(--tw-bg-opacity))}.disabled\:text-white\/50:disabled{color:hsla(0,0%,100%,.5)}.disabled\:text-gray-600:disabled{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.disabled\:text-gray-400:disabled{--tw-text-opacity:1;color:hsl(208 11.7% 91.1%/var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:flex{display:flex}.group\/segments:hover .group-hover\/segments\:hidden{display:none}.group:hover .group-hover\:bg-blue-500\/10{background-color:rgba(59,130,246,.1)}.group:hover .group-hover\:bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-800{--tw-bg-opacity:1;background-color:hsl(206 6% 56.1%/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-blue-400{--tw-bg-opacity:1;background-color:rgb(96 165 250/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.aria-selected\:bg-gray-400[aria-selected=true]{--tw-bg-opacity:1;background-color:hsl(208 11.7% 91.1%/var(--tw-bg-opacity))}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=top\]\:bottom-1[data-side=top]{bottom:.25rem}.data-\[side\=bottom\]\:top-1[data-side=bottom]{top:.25rem}.data-\[side\=left\]\:right-1[data-side=left]{right:.25rem}.data-\[side\=right\]\:left-1[data-side=right]{left:.25rem}.data-\[side\=top\]\:origin-bottom[data-side=top]{transform-origin:bottom}.data-\[side\=left\]\:origin-right[data-side=left]{transform-origin:right}.data-\[side\=right\]\:origin-left[data-side=right]{transform-origin:left}.data-\[side\=bottom\]\:origin-top[data-side=bottom]{transform-origin:top}.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked]{--tw-translate-x:9px}.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked],.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked]{--tw-translate-x:20px}@keyframes enterFromLeft{0%{opacity:0;transform:translateX(-200px)}to{opacity:1;transform:translateX(0)}}.data-\[motion\=from-start\]\:animate-enterFromLeft[data-motion=from-start]{animation:enterFromLeft .25s ease}@keyframes enterFromRight{0%{opacity:0;transform:translateX(200px)}to{opacity:1;transform:translateX(0)}}.data-\[motion\=from-end\]\:animate-enterFromRight[data-motion=from-end]{animation:enterFromRight .25s ease}@keyframes exitToLeft{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-200px)}}.data-\[motion\=to-start\]\:animate-exitToLeft[data-motion=to-start]{animation:exitToLeft .25s ease}@keyframes exitToRight{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(200px)}}.data-\[motion\=to-end\]\:animate-exitToRight[data-motion=to-end]{animation:exitToRight .25s ease}.data-\[state\=active\]\:border-green-600[data-state=active]{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.data-\[state\=checked\]\:text-gray-1100[data-state=checked]{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.data-\[disabled\]\:text-gray-700[data-disabled]{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.data-\[state\=active\]\:text-accent-1100[data-state=active]{--tw-text-opacity:1;color:rgb(1 31 10/var(--tw-text-opacity))}.enabled\:data-\[state\=checked\]\:bg-green-600[data-state=checked]:enabled{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.enabled\:data-\[state\=checked\]\:ring[data-state=checked]:enabled{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.enabled\:data-\[state\=checked\]\:ring-green-600[data-state=checked]:enabled{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.disabled\:data-\[state\=checked\]\:bg-green-600\/50[data-state=checked]:disabled{background-color:rgba(22,163,74,.5)}.disabled\:data-\[state\=checked\]\:ring-green-600\/50[data-state=checked]:disabled{--tw-ring-color:rgba(22,163,74,.5)}.group[data-selected=true] .group-data-\[selected\=true\]\:text-gray-1000{--tw-text-opacity:1;color:hsl(206 6% 43.5%/var(--tw-text-opacity))}.open\:text-gray-1100[data-state=open]{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.open\:opacity-10[data-state=open]{opacity:.1}.hover\:z-10:hover{z-index:10}.hover\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-green-700:hover{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.hover\:border-green-500:hover{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.hover\:border-green-800\/50:hover{border-color:rgba(22,101,52,.5)}.hover\:border-red-800\/50:hover{border-color:rgba(153,27,27,.5)}.hover\:border-amber-800\/50:hover{border-color:rgba(146,64,14,.5)}.hover\:border-gray-500:hover{--tw-border-opacity:1;border-color:hsl(208 11.3% 88.9%/var(--tw-border-opacity))}.hover\:bg-green-100\/20:hover{background-color:rgba(220,252,231,.2)}.hover\:bg-green-800\/90:hover{background-color:rgba(22,101,52,.9)}.hover\:bg-red-800\/90:hover{background-color:rgba(153,27,27,.9)}.hover\:bg-amber-800\/90:hover{background-color:rgba(146,64,14,.9)}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:hsl(206 30% 98.8%/var(--tw-bg-opacity))}.hover\:bg-black\/20:hover{background-color:rgba(0,0,0,.2)}.hover\:text-gray-1100\/50:hover{color:rgba(17,24,28,.5)}.hover\:text-gray-1000:hover{--tw-text-opacity:1;color:hsl(206 6% 43.5%/var(--tw-text-opacity))}.hover\:text-gray-1100:hover{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-90:hover{opacity:.9}.hover\:opacity-60:hover{opacity:.6}.hover\:shadow:hover{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.enabled\:hover\:border-green-800\/50:hover:enabled{border-color:rgba(22,101,52,.5)}.enabled\:hover\:border-red-800\/50:hover:enabled{border-color:rgba(153,27,27,.5)}.enabled\:hover\:border-amber-800\/50:hover:enabled{border-color:rgba(146,64,14,.5)}.enabled\:hover\:border-gray-500:hover:enabled{--tw-border-opacity:1;border-color:hsl(208 11.3% 88.9%/var(--tw-border-opacity))}.enabled\:hover\:border-gray-700:hover:enabled{--tw-border-opacity:1;border-color:hsl(205 10.7% 78%/var(--tw-border-opacity))}.enabled\:hover\:bg-green-800\/90:hover:enabled{background-color:rgba(22,101,52,.9)}.enabled\:hover\:bg-red-800\/90:hover:enabled{background-color:rgba(153,27,27,.9)}.enabled\:hover\:bg-amber-800\/90:hover:enabled{background-color:rgba(146,64,14,.9)}.enabled\:hover\:bg-gray-50:hover:enabled{--tw-bg-opacity:1;background-color:hsl(206 30% 98.8%/var(--tw-bg-opacity))}.enabled\:hover\:text-gray-1100:hover:enabled{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}@media (prefers-reduced-motion:reduce){.motion-reduce\:hidden{display:none}}.dark .dark\:border-graydark-300{--tw-border-opacity:1;border-color:hsl(198 6.6% 15.8%/var(--tw-border-opacity))}.dark .dark\:border-graydark-500{--tw-border-opacity:1;border-color:hsl(201 6.2% 20.5%/var(--tw-border-opacity))}.dark .dark\:border-accentdark-900{--tw-border-opacity:1;border-color:rgb(6 159 53/var(--tw-border-opacity))}.dark .dark\:border-graydark-600{--tw-border-opacity:1;border-color:hsl(203 6% 24.3%/var(--tw-border-opacity))}.dark .dark\:border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.dark .dark\:border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.dark .dark\:border-graydark-400{--tw-border-opacity:1;border-color:hsl(199 6.4% 17.9%/var(--tw-border-opacity))}.dark .dark\:border-graydark-200{--tw-border-opacity:1;border-color:hsl(197 6.8% 13.6%/var(--tw-border-opacity))}.dark .dark\:border-graydark-100{--tw-border-opacity:1;border-color:hsl(195 7.1% 11%/var(--tw-border-opacity))}.dark .dark\:border-white\/10{border-color:hsla(0,0%,100%,.1)}.dark .dark\:border-green-600\/70{border-color:rgba(22,163,74,.7)}.dark .dark\:border-red-600\/70{border-color:rgba(220,38,38,.7)}.dark .dark\:border-amber-600\/70{border-color:rgba(217,119,6,.7)}.dark .dark\:border-graydark-400\/70{border-color:rgba(43,47,49,.7)}.dark .dark\:border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.dark .dark\:border-green-400{--tw-border-opacity:1;border-color:rgb(74 222 128/var(--tw-border-opacity))}.dark .dark\:border-graydark-400\/50{border-color:rgba(43,47,49,.5)}.dark .dark\:border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.dark .dark\:border-blue-500\/50{border-color:rgba(59,130,246,.5)}.dark .dark\:border-green-500\/50{border-color:rgba(34,197,94,.5)}.dark .dark\:border-amber-500\/50{border-color:rgba(245,158,11,.5)}.dark .dark\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.dark .dark\:bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-300{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-800{--tw-bg-opacity:1;background-color:hsl(206 6% 43.9%/var(--tw-bg-opacity))}.dark .dark\:bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity))}.dark .dark\:bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-50{--tw-bg-opacity:1;background-color:hsl(200 7% 8.8%/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-500{--tw-bg-opacity:1;background-color:hsl(201 6.2% 20.5%/var(--tw-bg-opacity))}.dark .dark\:bg-accentdark-800{--tw-bg-opacity:1;background-color:rgb(5 135 45/var(--tw-bg-opacity))}.dark .dark\:bg-green-100\/20{background-color:rgba(220,252,231,.2)}.dark .dark\:bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-100{--tw-bg-opacity:1;background-color:hsl(195 7.1% 11%/var(--tw-bg-opacity))}.dark .dark\:bg-gray-800{--tw-bg-opacity:1;background-color:hsl(206 6% 56.1%/var(--tw-bg-opacity))}.dark .dark\:bg-transparent{background-color:transparent}.dark .dark\:bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.dark .dark\:bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.dark .dark\:bg-amber-700{--tw-bg-opacity:1;background-color:rgb(180 83 9/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-200{--tw-bg-opacity:1;background-color:hsl(197 6.8% 13.6%/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-400{--tw-bg-opacity:1;background-color:hsl(199 6.4% 17.9%/var(--tw-bg-opacity))}.dark .dark\:bg-accentdark-200{--tw-bg-opacity:1;background-color:rgb(6 40 17/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-700{--tw-bg-opacity:1;background-color:hsl(207 5.6% 31.6%/var(--tw-bg-opacity))}.dark .dark\:bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}.dark .dark\:bg-amber-200{--tw-bg-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-900{--tw-bg-opacity:1;background-color:hsl(206 5.2% 49.5%/var(--tw-bg-opacity))}.dark .dark\:bg-blue-300{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity))}.dark .dark\:bg-green-300{--tw-bg-opacity:1;background-color:rgb(134 239 172/var(--tw-bg-opacity))}.dark .dark\:bg-amber-300{--tw-bg-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity))}.dark .dark\:from-graydark-50{--tw-gradient-from:#151718;--tw-gradient-to:rgba(21,23,24,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark .dark\:via-graydark-100\/95{--tw-gradient-to:rgba(26,29,30,0);--tw-gradient-stops:var(--tw-gradient-from),rgba(26,29,30,.95),var(--tw-gradient-to)}.dark .dark\:to-graydark-50{--tw-gradient-to:#151718}.dark .dark\:fill-graydark-50{fill:#151718}.dark .dark\:fill-white{fill:#fff}.dark .dark\:fill-graydark-600{fill:#3a3f42}.dark .dark\:text-graydark-700{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .dark\:text-gray-1100{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.dark .dark\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\:text-white\/30{color:hsla(0,0%,100%,.3)}.dark .dark\:text-gray-300{--tw-text-opacity:1;color:hsl(209 12.2% 93.2%/var(--tw-text-opacity))}.dark .dark\:text-graydark-800{--tw-text-opacity:1;color:hsl(206 6% 43.9%/var(--tw-text-opacity))}.dark .dark\:\!text-graydark-700{--tw-text-opacity:1!important;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))!important}.dark .dark\:\!text-graydark-1000{--tw-text-opacity:1!important;color:hsl(206 6% 63%/var(--tw-text-opacity))!important}.dark .dark\:\!text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.dark .dark\:\!text-graydark-50{--tw-text-opacity:1!important;color:hsl(200 7% 8.8%/var(--tw-text-opacity))!important}.dark .dark\:\!text-accentdark-1100{--tw-text-opacity:1!important;color:rgb(217 244 225/var(--tw-text-opacity))!important}.dark .dark\:\!text-red-400{--tw-text-opacity:1!important;color:rgb(248 113 113/var(--tw-text-opacity))!important}.dark .dark\:\!text-emerald-500{--tw-text-opacity:1!important;color:rgb(16 185 129/var(--tw-text-opacity))!important}.dark .dark\:\!text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.dark .dark\:text-graydark-1100{--tw-text-opacity:1;color:hsl(210 6% 93%/var(--tw-text-opacity))}.dark .dark\:text-accentdark-1100{--tw-text-opacity:1;color:rgb(217 244 225/var(--tw-text-opacity))}.dark .dark\:text-graydark-1000{--tw-text-opacity:1;color:hsl(206 6% 63%/var(--tw-text-opacity))}.dark .dark\:text-graydark-50{--tw-text-opacity:1;color:hsl(200 7% 8.8%/var(--tw-text-opacity))}.dark .dark\:text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark .dark\:text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.dark .dark\:text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.dark .dark\:decoration-accentdark-900{text-decoration-color:#069f35}.dark .dark\:decoration-gray-500{text-decoration-color:#dfe3e6}.dark .dark\:opacity-10{opacity:.1}.dark .dark\:opacity-50{opacity:.5}.dark .dark\:mix-blend-difference{mix-blend-mode:difference}.dark .dark\:shadow-graydark-300{--tw-shadow-color:#26292b;--tw-shadow:var(--tw-shadow-colored)}.dark .dark\:\!shadow-blue-200{--tw-shadow-color:#bfdbfe!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-blue-400{--tw-shadow-color:#60a5fa!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-red-400{--tw-shadow-color:#f87171!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-amber-500{--tw-shadow-color:#f59e0b!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-green-400{--tw-shadow-color:#4ade80!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:ring-blue-200{--tw-ring-opacity:1;--tw-ring-color:rgb(191 219 254/var(--tw-ring-opacity))}.dark .dark\:brightness-0{--tw-brightness:brightness(0)}.dark .dark\:brightness-0,.dark .dark\:invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark .dark\:invert{--tw-invert:invert(100%)}.dark .dark\:invert-\[0\.9\]{--tw-invert:invert(0.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark .placeholder\:dark\:text-graydark-500::-moz-placeholder{--tw-text-opacity:1;color:hsl(201 6.2% 20.5%/var(--tw-text-opacity))}.dark .placeholder\:dark\:text-graydark-500::placeholder{--tw-text-opacity:1;color:hsl(201 6.2% 20.5%/var(--tw-text-opacity))}.dark .placeholder\:dark\:text-graydark-700::-moz-placeholder{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .placeholder\:dark\:text-graydark-700::placeholder{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .after\:dark\:bg-green-500:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-blue-800:-webkit-autofill{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-blue-800:autofill{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-graydark-50:-webkit-autofill{--tw-bg-opacity:1;background-color:hsl(200 7% 8.8%/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-graydark-50:autofill{--tw-bg-opacity:1;background-color:hsl(200 7% 8.8%/var(--tw-bg-opacity))}.dark .autofill\:dark\:text-fill-white:-webkit-autofill{-webkit-text-fill-color:#fff}.dark .autofill\:dark\:text-fill-white:autofill{-webkit-text-fill-color:#fff}.dark .autofill\:dark\:shadow-fill-graydark-50:-webkit-autofill{--tw-shadow:0 0 0 9999px #151718 inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark .autofill\:dark\:shadow-fill-graydark-50:autofill{--tw-shadow:0 0 0 9999px #151718 inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::-moz-placeholder{-webkit-text-fill-color:#4c5155}.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:-webkit-autofill::placeholder{-webkit-text-fill-color:#4c5155}.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::placeholder{-webkit-text-fill-color:#4c5155}.dark .dark\:focus\:bg-graydark-300:focus{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .dark\:focus\:text-white:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .enabled\:dark\:border-green-600\/70:enabled{border-color:rgba(22,163,74,.7)}.dark .enabled\:dark\:bg-green-700:enabled{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.dark .disabled\:dark\:border-green-500\/30:disabled{border-color:rgba(34,197,94,.3)}.dark .disabled\:dark\:border-red-500\/30:disabled{border-color:rgba(239,68,68,.3)}.dark .disabled\:dark\:border-amber-500\/30:disabled{border-color:rgba(245,158,11,.3)}.dark .disabled\:dark\:bg-green-600\/70:disabled{background-color:rgba(22,163,74,.7)}.dark .disabled\:dark\:bg-red-600\/70:disabled{background-color:rgba(220,38,38,.7)}.dark .disabled\:dark\:bg-amber-600\/70:disabled{background-color:rgba(217,119,6,.7)}.dark .disabled\:dark\:bg-graydark-200:disabled{--tw-bg-opacity:1;background-color:hsl(197 6.8% 13.6%/var(--tw-bg-opacity))}.dark .disabled\:dark\:text-white\/50:disabled{color:hsla(0,0%,100%,.5)}.dark .disabled\:dark\:text-graydark-700:disabled{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .disabled\:dark\:text-graydark-400:disabled{--tw-text-opacity:1;color:hsl(199 6.4% 17.9%/var(--tw-text-opacity))}.dark .group:hover .dark\:group-hover\:bg-blue-200\/10{background-color:rgba(191,219,254,.1)}.dark .group:hover .dark\:group-hover\:bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-graydark-800{--tw-bg-opacity:1;background-color:hsl(206 6% 43.9%/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-blue-400{--tw-bg-opacity:1;background-color:rgb(96 165 250/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity))}.dark .aria-selected\:dark\:bg-graydark-500[aria-selected=true]{--tw-bg-opacity:1;background-color:hsl(201 6.2% 20.5%/var(--tw-bg-opacity))}.dark .data-\[state\=active\]\:dark\:border-green-500[data-state=active]{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.dark .data-\[state\=checked\]\:dark\:text-white[data-state=checked]{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\:data-\[disabled\]\:text-graydark-700[data-disabled]{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .data-\[state\=active\]\:dark\:text-accentdark-1100[data-state=active]{--tw-text-opacity:1;color:rgb(217 244 225/var(--tw-text-opacity))}.dark .dark\:enabled\:data-\[state\=checked\]\:bg-green-500[data-state=checked]:enabled{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.dark .dark\:enabled\:data-\[state\=checked\]\:ring-green-500[data-state=checked]:enabled{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.dark .dark\:disabled\:data-\[state\=checked\]\:bg-green-500\/50[data-state=checked]:disabled{background-color:rgba(34,197,94,.5)}.dark .dark\:disabled\:data-\[state\=checked\]\:ring-green-500\/50[data-state=checked]:disabled{--tw-ring-color:rgba(34,197,94,.5)}.dark .group[data-selected=true] .dark\:group-data-\[selected\=true\]\:text-graydark-1000{--tw-text-opacity:1;color:hsl(206 6% 63%/var(--tw-text-opacity))}.dark .open\:dark\:text-white[data-state=open]{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\:open\:opacity-20[data-state=open]{opacity:.2}.dark .hover\:dark\:border-green-500:hover{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.dark .hover\:dark\:border-green-600:hover{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.dark .hover\:dark\:border-red-600:hover{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.dark .hover\:dark\:border-amber-600:hover{--tw-border-opacity:1;border-color:rgb(217 119 6/var(--tw-border-opacity))}.dark .hover\:dark\:border-graydark-500:hover{--tw-border-opacity:1;border-color:hsl(201 6.2% 20.5%/var(--tw-border-opacity))}.dark .hover\:dark\:bg-green-100\/20:hover{background-color:rgba(220,252,231,.2)}.dark .dark\:hover\:bg-green-700\/90:hover{background-color:rgba(21,128,61,.9)}.dark .dark\:hover\:bg-red-700\/90:hover{background-color:rgba(185,28,28,.9)}.dark .dark\:hover\:bg-amber-700\/90:hover{background-color:rgba(180,83,9,.9)}.dark .dark\:hover\:bg-graydark-300:hover{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .hover\:dark\:text-white\/50:hover{color:hsla(0,0%,100%,.5)}.dark .hover\:dark\:text-graydark-1000:hover{--tw-text-opacity:1;color:hsl(206 6% 63%/var(--tw-text-opacity))}.dark .hover\:dark\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .enabled\:hover\:dark\:border-green-600:hover:enabled{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-red-600:hover:enabled{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-amber-600:hover:enabled{--tw-border-opacity:1;border-color:rgb(217 119 6/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-graydark-500:hover:enabled{--tw-border-opacity:1;border-color:hsl(201 6.2% 20.5%/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-graydark-600:hover:enabled{--tw-border-opacity:1;border-color:hsl(203 6% 24.3%/var(--tw-border-opacity))}.dark .dark\:enabled\:hover\:bg-green-700\/90:hover:enabled{background-color:rgba(21,128,61,.9)}.dark .dark\:enabled\:hover\:bg-red-700\/90:hover:enabled{background-color:rgba(185,28,28,.9)}.dark .dark\:enabled\:hover\:bg-amber-700\/90:hover:enabled{background-color:rgba(180,83,9,.9)}.dark .dark\:enabled\:hover\:bg-graydark-300:hover:enabled{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .enabled\:hover\:dark\:text-white:hover:enabled{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}@media (min-width:640px){.sm\:flex{display:flex}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:768px){.md\:top-\[-2px\]{top:-2px}.md\:block{display:block}.md\:h-\[50px\]{height:50px}.md\:items-start{align-items:flex-start}.md\:gap-3{gap:.75rem}.md\:gap-y-14{row-gap:3.5rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-xs{font-size:.75rem;line-height:1rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:leading-relaxed{line-height:1.625}}@media (min-width:1024px){.lg\:block{display:block}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:px-16{padding-left:4rem;padding-right:4rem}}@media (min-width:1280px){.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}.\[\&\+\*\]\:\!pl-0+*{padding-left:0!important}.\[\&\:nth-child\(2\)\]\:animation-delay-500:nth-child(2){animation-delay:.5s}.\[\&\:nth-child\(3\)\]\:animation-delay-1000:nth-child(3){animation-delay:1s}.\[\&\>svg\]\:-mx-0\.5>svg{margin-left:-.125rem;margin-right:-.125rem}.\[\&\>svg\]\:opacity-50>svg{opacity:.5}.hover\:\[\&\>svg\]\:opacity-100>svg:hover{opacity:1}.\[\&\[href\]\]\:border-green-800\/30[href]{border-color:rgba(22,101,52,.3)}.\[\&\[href\]\]\:bg-green-700[href]{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.\[\&\[href\]\]\:hover\:border-green-800\/50:hover[href]{border-color:rgba(22,101,52,.5)}.\[\&\[href\]\]\:hover\:bg-green-800\/90:hover[href]{background-color:rgba(22,101,52,.9)}.dark .\[\&\[href\]\]\:dark\:border-green-600\/70[href]{border-color:rgba(22,163,74,.7)}.dark .\[\&\[href\]\]\:dark\:bg-green-700[href]{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.dark .dark\:\[\&\[href\]\]\:hover\:bg-green-700\/90:hover[href]{background-color:rgba(21,128,61,.9)}.\[\&\>\*\]\:rounded-none>*{border-radius:0}.\[\&\>\*\]\:border-r-0>*{border-right-width:0}.\[\&\>\*\]\:border-l>*{border-left-width:1px}.\[\&\>\*\:last-child\]\:rounded-r>:last-child{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.\[\&\>\*\:last-child\]\:border-r>:last-child{border-right-width:1px}.\[\&\>\*\:first-child\]\:rounded-l>:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.\[\&\>\*\:first-child\]\:border-l>:first-child{border-left-width:1px}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>div\]\:\!h-full>div{height:100%!important}.\[\&\>div\]\:flex-1>div{flex:1 1 0%}.\[\&\>div\]\:overflow-hidden>div{overflow:hidden}.\[\&\>select\:disabled\]\:text-gray-600>select:disabled{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.dark .\[\&\>select\:disabled\]\:dark\:text-graydark-700>select:disabled{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/1eff7769948a8c71.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/7a86083759ce0787.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/1fece7a471d60ffe.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/94e828afa3939314.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/dcb90225ac4215b0.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/21379288e5de0162.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/20a0263cfae743ff.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/a06cddabfd904d07.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/c05280b20c19cff6.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/ab3a7057d2c303a3.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/e7a1d48695380088.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/7a514966b24fa042.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/f34054e2970d3793.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/ee809f9c8637ac35.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/416dffb3eaba61b5.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/b2613c7882fb9dad.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/00b652cd5acf4d1a.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/318cd1ba86719051.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/26570e7eecd756a7.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/6ad357e49f846140.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/c1dadd6c99c0900a.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/9fb8e434756a520e.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/b83e9714dba3a7b2.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/7729f7b3bc7fa987.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/69dc0d8a22bc572a.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/d752111844abddfa.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/7fe39de114f984a0.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/6c817bbad1cfd130.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/bc7cd6cbdb8771c6.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/1b708ab38c59f94d.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/ed08f0e693ce6a65.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/0be44b380099e057.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/f4ebea4f2ece3dbe.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/f7e3cefe6d9fda21.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/26d0ad28b444f0fb.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/d704a8fea67672dc.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/3ce4c920cddd7002.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/1027f57de01c0b24.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/23313877d5d6ff1b.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/00417edf5e44282b.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/228a95c965c5f90b.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/97c8a55b2cb1421c.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/86d6d32ab6c2e21d.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/07304b90e9b5ca40.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/54f3953b28e50f98.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/a40ccebe730e6b34.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/01ec6e01ff4830ae.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/34d8d58b783ee6bb.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/3763ada0a9bb1988.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/787b0654beea4191.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/2c3c1f0838a71cfb.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/47bcda1e7b1ac8be.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/bed76354f405346d.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/c70aa70a01eaecff.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/24cfcc12c15b03b9.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/29ffcd3df3f1cb91.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/3cef106cd115e360.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/a0c95037dd5c9387.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/e889cd181219a83f.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/6d6d0e4a023f9f33.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/0148c4ca3456ea72.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/4184cf5f191b83db.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/28cea0425961ab58.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/b4c759cba7a5f011.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/de555e6bc944c11a.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/791334aa8b2b679f.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/a2411df190893074.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/60d74363e715829c.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/eb37c9fe4776ea97.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/bc381c5935034aa5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/f565fad065ab4cf3.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/f9946f06d70a1b5b.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/d1f5f89450ecd78c.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ebcf93a611f94ec0.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ec50b434b597bc61.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/6be22a85bef54f08.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/9491f41002d34397.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/afba6ba6bf9157e8.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/be843c5b0882ad66.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/67aea609c6135b3b.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/09b62d668edb05d1.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/10446295ae7f2657.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/b6ecfd81ed9f83c9.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/08404bcfb1dae67a.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_Fallback_f3b0db;src:local("Arial");ascent-override:101.35%;descent-override:27.19%;line-gap-override:0.00%;size-adjust:101.13%}.__className_f3b0db{font-family:__IBM_Plex_Sans_f3b0db,__IBM_Plex_Sans_Fallback_f3b0db}.__variable_f3b0db{--font-sans:"__IBM_Plex_Sans_f3b0db","__IBM_Plex_Sans_Fallback_f3b0db"}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/43f58290d48b3e4f.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/f7b042c81aa9dac9.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/5f52e8aafa6d55e1.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/7c8d3f8a7910b37f.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/c91ca22957702d7a.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/e31631a967fe3515.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/e46a860e09e79916.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/2d1700372dfaaa94.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/27834a3ea5568a72.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/ba1ff977fd46651f.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/aa5329918e5352b7.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/3546445dbedfe8e0.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/a329a67c917d0d83.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/32ef35af86a1df18.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/42c2d543c4ca0ff8.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/4acd96e66b7a15d8.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/c00fdcaa534cf51c.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/a9b64de7575b01f6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/e05a5a1d4048d7df.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/a9387c470a117487.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/5b5f10d1030076fd.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/66b34bbb56a523d8.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/62e8d71f5f62d0a9.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/4f5bd398699bdcf0.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/5873ad5359ff35c9.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/a08baca5e17c57be.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/b8347de82b1bd9a8.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/99163ae90df46b27.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/b9432a067aca8720.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/c3f479ae50d16e35.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/d4eddeab410cd094.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/1674d377433d7de6.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/f65f080f6ad9aa76.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/7a44530bd17b4a4c.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/37e85b36581a02ab.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/1e0eb4a7325b5d14.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/136ae42764b7e0db.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/b17f4305e2f0c22a.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/a7f64a09f7737545.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/98bcafdc59ee6d65.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/ce562f20499ad585.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/57699fff66d5761c.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/e490b1ecb6589d48.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/524be5e37a616f9b.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/c690761783507ad4.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/5a7dbca54c2fc4dd.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/d4e99c199dab3055.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/9ae1ac821a4debaf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/ec1b1cbc512bc43e.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/463cef7d4672ba68.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/ebec2867f40f78ec.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/d607327a37a507c7.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/2e1b830192b7974a.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/3aa27b2eb5f698f7.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/3478b6abef19b3b3.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/b6f2eee8808a2bb4.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/bc2003170c651d45.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/d43ef4503e5571d0.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/3281a323710833ec.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/684e5662d94c69e1.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/97b12f7b815cdf76.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/19fc70611c7ee6d5.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/01721b474504e7d6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/3ccf24bed29cbb82.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/be2416cbb012c256.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/7524e759b2d52ce2.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/83feb047e42e457a.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/40bfb1458eaec497.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/8ea51a27e153ec43.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/035951aefad7b653.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_Fallback_5c2ce5;src:local("Arial");ascent-override:77.95%;descent-override:20.91%;line-gap-override:0.00%;size-adjust:131.49%}.__className_5c2ce5{font-family:__IBM_Plex_Mono_5c2ce5,__IBM_Plex_Mono_Fallback_5c2ce5}.__variable_5c2ce5{--font-mono:"__IBM_Plex_Mono_5c2ce5","__IBM_Plex_Mono_Fallback_5c2ce5"} \ No newline at end of file +*/ +*, +:after, +:before { + box-sizing: border-box; + border: 0 solid #f1f3f5 +} + +:after, +:before { + --tw-content: "" +} + +html { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + font-family: var(--font-sans), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-feature-settings: normal +} + +body { + margin: 0; + line-height: inherit +} + +hr { + height: 0; + color: inherit; + border-top-width: 1px +} + +abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: inherit; + font-weight: inherit +} + +a { + color: inherit; + text-decoration: inherit +} + +b, +strong { + font-weight: bolder +} + +code, +kbd, +pre, +samp { + font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-size: 1em +} + +small { + font-size: 80% +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline +} + +sub { + bottom: -.25em +} + +sup { + top: -.5em +} + +table { + text-indent: 0; + border-color: inherit; + border-collapse: collapse +} + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + font-size: 100%; + font-weight: inherit; + line-height: inherit; + color: inherit; + margin: 0; + padding: 0 +} + +button, +select { + text-transform: none +} + +[type=button], +[type=reset], +[type=submit], +button { + -webkit-appearance: button; + background-color: transparent; + background-image: none +} + +:-moz-focusring { + outline: auto +} + +:-moz-ui-invalid { + box-shadow: none +} + +progress { + vertical-align: baseline +} + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto +} + +[type=search] { + -webkit-appearance: textfield; + outline-offset: -2px +} + +::-webkit-search-decoration { + -webkit-appearance: none +} + +::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit +} + +summary { + display: list-item +} + +blockquote, +dd, +dl, +figure, +h1, +h2, +h3, +h4, +h5, +h6, +hr, +p, +pre { + margin: 0 +} + +fieldset { + margin: 0 +} + +fieldset, +legend { + padding: 0 +} + +menu, +ol, +ul { + list-style: none; + margin: 0; + padding: 0 +} + +textarea { + resize: vertical +} + +input::-moz-placeholder, +textarea::-moz-placeholder { + opacity: 1; + color: #e6e8eb +} + +input::placeholder, +textarea::placeholder { + opacity: 1; + color: #e6e8eb +} + +[role=button], +button { + cursor: pointer +} + +:disabled { + cursor: default +} + +audio, +canvas, +embed, +iframe, +img, +object, +svg, +video { + display: block; + vertical-align: middle +} + +img, +video { + max-width: 100%; + height: auto +} + +[hidden] { + display: none +} + +* { + scrollbar-color: auto; + scrollbar-width: auto +} + +*, +:after, +:before { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgba(59, 130, 246, .5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: +} + +::backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgba(59, 130, 246, .5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: +} + +.pointer-events-none { + pointer-events: none +} + +.fixed { + position: fixed +} + +.absolute { + position: absolute +} + +.\!absolute { + position: absolute !important +} + +.relative { + position: relative +} + +.sticky { + position: sticky +} + +.inset-0 { + top: 0; + right: 0; + bottom: 0; + left: 0 +} + +.-right-\[2px\] { + right: -2px +} + +.top-px { + top: 1px +} + +.-right-\[9px\] { + right: -9px +} + +.-top-1 { + top: -.25rem +} + +.top-\[200px\] { + top: 200px +} + +.bottom-5 { + bottom: 1.25rem +} + +.right-5 { + right: 1.25rem +} + +.-top-px { + top: -1px +} + +.top-0 { + top: 0 +} + +.left-0 { + left: 0 +} + +.right-0 { + right: 0 +} + +.bottom-0 { + bottom: 0 +} + +.top-\[-50px\] { + top: -50px +} + +.-top-0\.5 { + top: -.125rem +} + +.-top-0 { + top: 0 +} + +.top-\[-30px\] { + top: -30px +} + +.top-0\.5 { + top: .125rem +} + +.right-2 { + right: .5rem +} + +.right-3 { + right: .75rem +} + +.top-3\.5 { + top: .875rem +} + +.top-3 { + top: .75rem +} + +.-top-\[100px\] { + top: -100px +} + +.top-1 { + top: .25rem +} + +.-left-7 { + left: -1.75rem +} + +.top-\[-4px\] { + top: -4px +} + +.-top-\[5px\] { + top: -5px +} + +.bottom-\[100\%\] { + bottom: 100% +} + +.left-1\.5 { + left: .375rem +} + +.left-1 { + left: .25rem +} + +.top-\[100\%\] { + top: 100% +} + +.left-2 { + left: .5rem +} + +.-bottom-2\.5 { + bottom: -.625rem +} + +.-bottom-2 { + bottom: -.5rem +} + +.top-\[-0\.5px\] { + top: -.5px +} + +.right-4 { + right: 1rem +} + +.left-4 { + left: 1rem +} + +.z-10 { + z-index: 10 +} + +.z-0 { + z-index: 0 +} + +.z-20 { + z-index: 20 +} + +.-z-10 { + z-index: -10 +} + +.z-30 { + z-index: 30 +} + +.z-40 { + z-index: 40 +} + +.z-50 { + z-index: 50 +} + +.-m-4 { + margin: -1rem +} + +.m-0 { + margin: 0 +} + +.m-px { + margin: 1px +} + +.my-2 { + margin-top: .5rem; + margin-bottom: .5rem +} + +.-mx-1 { + margin-left: -.25rem; + margin-right: -.25rem +} + +.-mx-5 { + margin-left: -1.25rem; + margin-right: -1.25rem +} + +.mx-auto { + margin-left: auto; + margin-right: auto +} + +.mx-3 { + margin-left: .75rem; + margin-right: .75rem +} + +.mx-1 { + margin-left: .25rem; + margin-right: .25rem +} + +.mx-1\.5 { + margin-left: .375rem; + margin-right: .375rem +} + +.my-3 { + margin-top: .75rem; + margin-bottom: .75rem +} + +.my-4 { + margin-top: 1rem; + margin-bottom: 1rem +} + +.my-1 { + margin-top: .25rem +} + +.mb-1, +.my-1 { + margin-bottom: .25rem +} + +.mt-5 { + margin-top: 1.25rem +} + +.mb-3 { + margin-bottom: .75rem +} + +.mt-2 { + margin-top: .5rem +} + +.mt-8 { + margin-top: 2rem +} + +.mb-2 { + margin-bottom: .5rem +} + +.mt-1 { + margin-top: .25rem +} + +.ml-1 { + margin-left: .25rem +} + +.ml-px { + margin-left: 1px +} + +.ml-auto { + margin-left: auto +} + +.mr-2 { + margin-right: .5rem +} + +.mb-5 { + margin-bottom: 1.25rem +} + +.mt-1\.5 { + margin-top: .375rem +} + +.mb-0\.5 { + margin-bottom: .125rem +} + +.mb-0 { + margin-bottom: 0 +} + +.mt-4 { + margin-top: 1rem +} + +.block { + display: block +} + +.inline-block { + display: inline-block +} + +.inline { + display: inline +} + +.flex { + display: flex +} + +.inline-flex { + display: inline-flex +} + +.table { + display: table +} + +.grid { + display: grid +} + +.hidden { + display: none +} + +.h-1 { + height: .25rem +} + +.h-\[100px\] { + height: 100px +} + +.h-\[20px\] { + height: 20px +} + +.h-\[120px\] { + height: 120px +} + +.h-4 { + height: 1rem +} + +.h-\[400px\] { + height: 400px +} + +.h-\[200px\] { + height: 200px +} + +.h-5 { + height: 1.25rem +} + +.h-\[200vh\] { + height: 200vh +} + +.h-full { + height: 100% +} + +.h-14 { + height: 3.5rem +} + +.h-2 { + height: .5rem +} + +.h-\[210px\] { + height: 210px +} + +.h-7 { + height: 1.75rem +} + +.h-6 { + height: 1.5rem +} + +.h-12 { + height: 3rem +} + +.h-10 { + height: 2.5rem +} + +.h-\[50px\] { + height: 50px +} + +.h-\[14px\] { + height: 14px +} + +.h-16 { + height: 4rem +} + +.h-fit { + height: -moz-fit-content; + height: fit-content +} + +.h-8 { + height: 2rem +} + +.h-px { + height: 1px +} + +.h-3 { + height: .75rem +} + +.h-\[30px\] { + height: 30px +} + +.h-screen { + height: 100vh +} + +.h-1\.5 { + height: .375rem +} + +.max-h-\[400px\] { + max-height: 400px +} + +.max-h-\[70vh\] { + max-height: 70vh +} + +.min-h-\[80px\] { + min-height: 80px +} + +.w-1 { + width: .25rem +} + +.w-\[500px\] { + width: 500px +} + +.w-full { + width: 100% +} + +.w-\[160px\] { + width: 160px +} + +.w-\[100px\] { + width: 100px +} + +.w-\[400px\] { + width: 400px +} + +.w-\[450px\] { + width: 450px +} + +.w-\[50px\] { + width: 50px +} + +.w-\[120px\] { + width: 120px +} + +.w-\[200vw\] { + width: 200vw +} + +.w-\[300px\] { + width: 300px +} + +.w-fit { + width: -moz-fit-content; + width: fit-content +} + +.w-2 { + width: .5rem +} + +.w-\[800px\] { + width: 800px +} + +.w-\[210px\] { + width: 210px +} + +.w-\[150px\] { + width: 150px +} + +.w-\[200px\] { + width: 200px +} + +.w-\[60px\] { + width: 60px +} + +.w-\[90\%\] { + width: 90% +} + +.w-\[140px\] { + width: 140px +} + +.w-6 { + width: 1.5rem +} + +.w-12 { + width: 3rem +} + +.w-16 { + width: 4rem +} + +.w-4 { + width: 1rem +} + +.w-1\.5 { + width: .375rem +} + +.w-3 { + width: .75rem +} + +.w-5 { + width: 1.25rem +} + +.w-11 { + width: 2.75rem +} + +.w-\[220px\] { + width: 220px +} + +.w-\[75px\] { + width: 75px +} + +.w-px { + width: 1px +} + +.w-\[250px\] { + width: 250px +} + +.min-w-fit { + min-width: -moz-fit-content; + min-width: fit-content +} + +.min-w-\[200px\] { + min-width: 200px +} + +.min-w-\[250px\] { + min-width: 250px +} + +.max-w-\[200px\] { + max-width: 200px +} + +.max-w-\[400px\] { + max-width: 400px +} + +.max-w-screen-xl { + max-width: 1280px +} + +.max-w-\[300px\] { + max-width: 300px +} + +.max-w-\[500px\] { + max-width: 500px +} + +.max-w-\[600px\] { + max-width: 600px +} + +.max-w-screen-sm { + max-width: 640px +} + +.max-w-screen-md { + max-width: 768px +} + +.max-w-\[1145px\] { + max-width: 1145px +} + +.max-w-screen-2xl { + max-width: 1536px +} + +.max-w-none { + max-width: none +} + +.max-w-sm { + max-width: 24rem +} + +.max-w-xs { + max-width: 20rem +} + +.max-w-\[800px\] { + max-width: 800px +} + +.\!max-w-none { + max-width: none !important +} + +.flex-1 { + flex: 1 1 0% +} + +.\!flex-none { + flex: none !important +} + +.flex-none { + flex: none +} + +.flex-shrink-0 { + flex-shrink: 0 +} + +.shrink { + flex-shrink: 1 +} + +.shrink-0 { + flex-shrink: 0 +} + +.table-auto { + table-layout: auto +} + +.border-collapse { + border-collapse: collapse +} + +.-translate-x-1\/2 { + --tw-translate-x: -50% +} + +.-translate-x-1\/2, +.-translate-y-1\/2 { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.-translate-y-1\/2 { + --tw-translate-y: -50% +} + +.translate-x-px { + --tw-translate-x: 1px +} + +.translate-x-0\.5, +.translate-x-px { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.translate-x-0\.5 { + --tw-translate-x: 0.125rem +} + +.translate-x-0 { + --tw-translate-x: 0px +} + +.scale-\[200\%\], +.translate-x-0 { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.scale-\[200\%\] { + --tw-scale-x: 200%; + --tw-scale-y: 200% +} + +.scale-75 { + --tw-scale-x: .75; + --tw-scale-y: .75 +} + +.scale-50, +.scale-75 { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.scale-50 { + --tw-scale-x: .5; + --tw-scale-y: .5 +} + +.scale-\[0\.65\] { + --tw-scale-x: 0.65; + --tw-scale-y: 0.65 +} + +.scale-90, +.scale-\[0\.65\] { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.scale-90 { + --tw-scale-x: .9; + --tw-scale-y: .9 +} + +.scale-150 { + --tw-scale-x: 1.5; + --tw-scale-y: 1.5 +} + +.scale-150, +.transform { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +@keyframes pingslow { + 0% { + transform: scale(1); + opacity: 1 + } + + 60% { + transform: scale(1); + opacity: 1 + } + + 90% { + transform: scale(2); + opacity: 0 + } + + to { + transform: scale(2); + opacity: 0 + } +} + +.animate-pingslow { + animation: pingslow 3s infinite +} + +@keyframes pulselight { + 30% { + opacity: 1 + } + + 50% { + opacity: .2 + } + + 70% { + opacity: 1 + } +} + +.animate-pulselight { + animation: pulselight 3s cubic-bezier(.4, 0, .6, 1) infinite +} + +@keyframes pulse { + 50% { + opacity: .5 + } +} + +.animate-pulse { + animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite +} + +.cursor-pointer { + cursor: pointer +} + +.cursor-auto { + cursor: auto +} + +.cursor-default { + cursor: default +} + +.cursor-text { + cursor: text +} + +.touch-none { + touch-action: none +} + +.select-none { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none +} + +.resize-y { + resize: vertical +} + +.resize { + resize: both +} + +.appearance-none { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none +} + +.grid-cols-1 { + grid-template-columns: repeat(1, minmax(0, 1fr)) +} + +.grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)) +} + +.flex-col { + flex-direction: column +} + +.flex-wrap { + flex-wrap: wrap +} + +.items-start { + align-items: flex-start +} + +.items-end { + align-items: flex-end +} + +.items-center { + align-items: center +} + +.items-baseline { + align-items: baseline +} + +.justify-end { + justify-content: flex-end +} + +.justify-center { + justify-content: center +} + +.justify-between { + justify-content: space-between +} + +.gap-2 { + gap: .5rem +} + +.gap-1 { + gap: .25rem +} + +.gap-3 { + gap: .75rem +} + +.gap-4 { + gap: 1rem +} + +.gap-16 { + gap: 4rem +} + +.gap-10 { + gap: 2.5rem +} + +.gap-14 { + gap: 3.5rem +} + +.gap-5 { + gap: 1.25rem +} + +.gap-7 { + gap: 1.75rem +} + +.gap-6 { + gap: 1.5rem +} + +.gap-1\.5 { + gap: .375rem +} + +.gap-0\.5 { + gap: .125rem +} + +.gap-0 { + gap: 0 +} + +.gap-8 { + gap: 2rem +} + +.gap-x-12 { + -moz-column-gap: 3rem; + column-gap: 3rem +} + +.gap-y-4 { + row-gap: 1rem +} + +.gap-x-4 { + -moz-column-gap: 1rem; + column-gap: 1rem +} + +.gap-x-6 { + -moz-column-gap: 1.5rem; + column-gap: 1.5rem +} + +.gap-y-10 { + row-gap: 2.5rem +} + +.gap-y-12 { + row-gap: 3rem +} + +.gap-x-2 { + -moz-column-gap: .5rem; + column-gap: .5rem +} + +.gap-y-1 { + row-gap: .25rem +} + +.overflow-auto { + overflow: auto +} + +.overflow-hidden { + overflow: hidden +} + +.overflow-x-hidden { + overflow-x: hidden +} + +.truncate { + overflow: hidden; + white-space: nowrap +} + +.text-ellipsis, +.truncate { + text-overflow: ellipsis +} + +.whitespace-nowrap { + white-space: nowrap +} + +.rounded-full { + border-radius: 9999px +} + +.rounded { + border-radius: .25rem +} + +.rounded-lg { + border-radius: .5rem +} + +.rounded-none { + border-radius: 0 +} + +.\!rounded-none { + border-radius: 0 !important +} + +.rounded-sm { + border-radius: .125rem +} + +.rounded-md { + border-radius: .375rem +} + +.rounded-r-none { + border-top-right-radius: 0; + border-bottom-right-radius: 0 +} + +.rounded-l-none { + border-top-left-radius: 0; + border-bottom-left-radius: 0 +} + +.rounded-l-lg { + border-top-left-radius: .5rem; + border-bottom-left-radius: .5rem +} + +.rounded-r-lg { + border-top-right-radius: .5rem; + border-bottom-right-radius: .5rem +} + +.rounded-tl-lg { + border-top-left-radius: .5rem +} + +.rounded-bl-lg { + border-bottom-left-radius: .5rem +} + +.rounded-tr-lg { + border-top-right-radius: .5rem +} + +.border { + border-width: 1px +} + +.border-2 { + border-width: 2px +} + +.border-y { + border-top-width: 1px; + border-bottom-width: 1px +} + +.border-y-0 { + border-top-width: 0; + border-bottom-width: 0 +} + +.border-t { + border-top-width: 1px +} + +.border-b { + border-bottom-width: 1px +} + +.border-l { + border-left-width: 1px +} + +.border-r { + border-right-width: 1px +} + +.border-b-3 { + border-bottom-width: 3px +} + +.border-dashed { + border-style: dashed +} + +.border-dotted { + border-style: dotted +} + +.border-none { + border-style: none +} + +.border-gray-200 { + --tw-border-opacity: 1; + border-color: hsl(209 13.3% 95.3%/var(--tw-border-opacity)) +} + +.border-gray-500 { + --tw-border-opacity: 1; + border-color: hsl(208 11.3% 88.9%/var(--tw-border-opacity)) +} + +.border-gray-300 { + --tw-border-opacity: 1; + border-color: hsl(209 12.2% 93.2%/var(--tw-border-opacity)) +} + +.border-accent-900 { + --tw-border-opacity: 1; + border-color: rgb(5 107 36/var(--tw-border-opacity)) +} + +.border-gray-600 { + --tw-border-opacity: 1; + border-color: hsl(207 11.1% 85.9%/var(--tw-border-opacity)) +} + +.border-green-600 { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.border-transparent { + border-color: transparent +} + +.border-green-500 { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.border-gray-400 { + --tw-border-opacity: 1; + border-color: hsl(208 11.7% 91.1%/var(--tw-border-opacity)) +} + +.border-gray-200\/50 { + border-color: rgba(241, 243, 245, .5) +} + +.border-gray-900 { + --tw-border-opacity: 1; + border-color: hsl(206 5.8% 52.3%/var(--tw-border-opacity)) +} + +.border-green-800\/30 { + border-color: rgba(22, 101, 52, .3) +} + +.border-red-800\/30 { + border-color: rgba(153, 27, 27, .3) +} + +.border-amber-800\/30 { + border-color: rgba(146, 64, 14, .3) +} + +.border-gray-400\/70 { + border-color: rgba(230, 232, 235, .7) +} + +.border-red-500 { + --tw-border-opacity: 1; + border-color: rgb(239 68 68/var(--tw-border-opacity)) +} + +.border-gray-100 { + --tw-border-opacity: 1; + border-color: hsl(210 16.7% 97.6%/var(--tw-border-opacity)) +} + +.border-white { + --tw-border-opacity: 1; + border-color: rgb(255 255 255/var(--tw-border-opacity)) +} + +.border-blue-500\/50 { + border-color: rgba(59, 130, 246, .5) +} + +.border-green-500\/50 { + border-color: rgba(34, 197, 94, .5) +} + +.border-amber-500\/50 { + border-color: rgba(245, 158, 11, .5) +} + +.bg-gray-1000 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 43.5%/var(--tw-bg-opacity)) +} + +.bg-red-500 { + --tw-bg-opacity: 1; + background-color: rgb(239 68 68/var(--tw-bg-opacity)) +} + +.bg-gray-300 { + --tw-bg-opacity: 1; + background-color: hsl(209 12.2% 93.2%/var(--tw-bg-opacity)) +} + +.bg-gray-700 { + --tw-bg-opacity: 1; + background-color: hsl(205 10.7% 78%/var(--tw-bg-opacity)) +} + +.bg-amber-500 { + --tw-bg-opacity: 1; + background-color: rgb(245 158 11/var(--tw-bg-opacity)) +} + +.bg-green-500 { + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.bg-gray-50 { + --tw-bg-opacity: 1; + background-color: hsl(206 30% 98.8%/var(--tw-bg-opacity)) +} + +.bg-gray-500 { + --tw-bg-opacity: 1; + background-color: hsl(208 11.3% 88.9%/var(--tw-bg-opacity)) +} + +.bg-accent-800 { + --tw-bg-opacity: 1; + background-color: rgb(5 135 45/var(--tw-bg-opacity)) +} + +.bg-amber-600 { + --tw-bg-opacity: 1; + background-color: rgb(217 119 6/var(--tw-bg-opacity)) +} + +.bg-green-100\/20 { + background-color: rgba(220, 252, 231, .2) +} + +.bg-slate-400 { + --tw-bg-opacity: 1; + background-color: rgb(148 163 184/var(--tw-bg-opacity)) +} + +.bg-gray-100 { + --tw-bg-opacity: 1; + background-color: hsl(210 16.7% 97.6%/var(--tw-bg-opacity)) +} + +.bg-transparent { + background-color: transparent +} + +.bg-gray-900 { + --tw-bg-opacity: 1; + background-color: hsl(206 5.8% 52.3%/var(--tw-bg-opacity)) +} + +.bg-gray-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 56.1%/var(--tw-bg-opacity)) +} + +.bg-green-700 { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.bg-red-700 { + --tw-bg-opacity: 1; + background-color: rgb(185 28 28/var(--tw-bg-opacity)) +} + +.bg-amber-700 { + --tw-bg-opacity: 1; + background-color: rgb(180 83 9/var(--tw-bg-opacity)) +} + +.bg-gray-200 { + --tw-bg-opacity: 1; + background-color: hsl(209 13.3% 95.3%/var(--tw-bg-opacity)) +} + +.bg-accent-200 { + --tw-bg-opacity: 1; + background-color: rgb(213 242 222/var(--tw-bg-opacity)) +} + +.bg-black { + --tw-bg-opacity: 1; + background-color: rgb(0 0 0/var(--tw-bg-opacity)) +} + +.bg-green-600 { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.bg-black\/70 { + background-color: rgba(0, 0, 0, .7) +} + +.bg-blue-300 { + --tw-bg-opacity: 1; + background-color: rgb(147 197 253/var(--tw-bg-opacity)) +} + +.bg-green-300 { + --tw-bg-opacity: 1; + background-color: rgb(134 239 172/var(--tw-bg-opacity)) +} + +.bg-amber-300 { + --tw-bg-opacity: 1; + background-color: rgb(252 211 77/var(--tw-bg-opacity)) +} + +.bg-gradient-to-b { + background-image: linear-gradient(to bottom, var(--tw-gradient-stops)) +} + +.from-white { + --tw-gradient-from: #fff; + --tw-gradient-to: hsla(0, 0%, 100%, 0); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) +} + +.via-white\/95 { + --tw-gradient-to: hsla(0, 0%, 100%, 0); + --tw-gradient-stops: var(--tw-gradient-from), hsla(0, 0%, 100%, .95), var(--tw-gradient-to) +} + +.to-white { + --tw-gradient-to: #fff +} + +.fill-white { + fill: #fff +} + +.fill-gray-1100 { + fill: #11181c +} + +.fill-gray-600 { + fill: #d7dbdf +} + +.object-cover { + -o-object-fit: cover; + object-fit: cover +} + +.p-4 { + padding: 1rem +} + +.p-3\.5 { + padding: .875rem +} + +.p-3 { + padding: .75rem +} + +.\!p-1 { + padding: .25rem !important +} + +.p-6 { + padding: 1.5rem +} + +.p-1 { + padding: .25rem +} + +.p-2\.5 { + padding: .625rem +} + +.p-2 { + padding: .5rem +} + +.p-\[5px\] { + padding: 5px +} + +.p-0 { + padding: 0 +} + +.p-px { + padding: 1px +} + +.py-px { + padding-top: 1px; + padding-bottom: 1px +} + +.px-\[5px\] { + padding-left: 5px; + padding-right: 5px +} + +.\!px-1 { + padding-left: .25rem !important; + padding-right: .25rem !important +} + +.\!py-1 { + padding-top: .25rem !important; + padding-bottom: .25rem !important +} + +.px-1 { + padding-left: .25rem; + padding-right: .25rem +} + +.px-2 { + padding-left: .5rem; + padding-right: .5rem +} + +.px-1\.5 { + padding-left: .375rem; + padding-right: .375rem +} + +.py-1 { + padding-top: .25rem; + padding-bottom: .25rem +} + +.px-6 { + padding-left: 1.5rem; + padding-right: 1.5rem +} + +.py-3 { + padding-top: .75rem; + padding-bottom: .75rem +} + +.py-4 { + padding-top: 1rem; + padding-bottom: 1rem +} + +.px-5 { + padding-left: 1.25rem; + padding-right: 1.25rem +} + +.py-2 { + padding-top: .5rem; + padding-bottom: .5rem +} + +.px-3 { + padding-left: .75rem; + padding-right: .75rem +} + +.px-4 { + padding-left: 1rem; + padding-right: 1rem +} + +.py-0\.5 { + padding-top: .125rem; + padding-bottom: .125rem +} + +.py-0 { + padding-top: 0; + padding-bottom: 0 +} + +.py-1\.5 { + padding-top: .375rem; + padding-bottom: .375rem +} + +.px-10 { + padding-left: 2.5rem; + padding-right: 2.5rem +} + +.py-14 { + padding-top: 3.5rem; + padding-bottom: 3.5rem +} + +.py-40 { + padding-top: 10rem; + padding-bottom: 10rem +} + +.py-10 { + padding-top: 2.5rem; + padding-bottom: 2.5rem +} + +.py-5 { + padding-top: 1.25rem; + padding-bottom: 1.25rem +} + +.py-6 { + padding-top: 1.5rem; + padding-bottom: 1.5rem +} + +.pl-1 { + padding-left: .25rem +} + +.pr-2 { + padding-right: .5rem +} + +.\!pl-2 { + padding-left: .5rem !important +} + +.\!pr-4 { + padding-right: 1rem !important +} + +.pt-\[10px\] { + padding-top: 10px +} + +.\!pl-0 { + padding-left: 0 !important +} + +.pb-10 { + padding-bottom: 2.5rem +} + +.pl-2 { + padding-left: .5rem +} + +.pr-3 { + padding-right: .75rem +} + +.pl-6 { + padding-left: 1.5rem +} + +.pl-4 { + padding-left: 1rem +} + +.pr-6 { + padding-right: 1.5rem +} + +.pr-4 { + padding-right: 1rem +} + +.pt-1 { + padding-top: .25rem +} + +.pb-3 { + padding-bottom: .75rem +} + +.pr-9 { + padding-right: 2.25rem +} + +.pt-4 { + padding-top: 1rem +} + +.pb-2 { + padding-bottom: .5rem +} + +.pl-5 { + padding-left: 1.25rem +} + +.pl-0 { + padding-left: 0 +} + +.pr-1 { + padding-right: .25rem +} + +.pt-6 { + padding-top: 1.5rem +} + +.pt-40 { + padding-top: 10rem +} + +.pr-5 { + padding-right: 1.25rem +} + +.pb-6 { + padding-bottom: 1.5rem +} + +.pt-2 { + padding-top: .5rem +} + +.text-left { + text-align: left +} + +.text-center { + text-align: center +} + +.text-end { + text-align: end +} + +.align-middle { + vertical-align: middle +} + +.font-mono { + font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace +} + +.font-sans { + font-family: var(--font-sans), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" +} + +.text-sm { + font-size: .875rem; + line-height: 1.25rem +} + +.text-base { + font-size: 1rem; + line-height: 1.5rem +} + +.text-lg { + font-size: 1.125rem; + line-height: 1.75rem +} + +.text-xs { + font-size: .75rem; + line-height: 1rem +} + +.text-xl { + font-size: 1.25rem; + line-height: 1.75rem +} + +.text-2xl { + font-size: 1.5rem; + line-height: 2rem +} + +.text-3xl { + font-size: 1.875rem; + line-height: 2.25rem +} + +.text-4xl { + font-size: 2.25rem; + line-height: 2.5rem +} + +.text-xxs { + font-size: .625rem +} + +.text-5xl { + font-size: 3rem; + line-height: 1 +} + +.text-6xl { + font-size: 3.75rem; + line-height: 1 +} + +.font-normal { + font-weight: 400 +} + +.font-medium { + font-weight: 500 +} + +.font-semibold { + font-weight: 600 +} + +.font-bold { + font-weight: 700 +} + +.font-extrabold { + font-weight: 800 +} + +.font-light { + font-weight: 300 +} + +.uppercase { + text-transform: uppercase +} + +.proportional-nums { + --tw-numeric-spacing: proportional-nums +} + +.proportional-nums, +.tabular-nums { + font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction) +} + +.tabular-nums { + --tw-numeric-spacing: tabular-nums +} + +.leading-normal { + line-height: 1.5 +} + +.leading-relaxed { + line-height: 1.625 +} + +.text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.text-gray-700 { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.text-gray-1100 { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.text-gray-900 { + --tw-text-opacity: 1; + color: hsl(206 5.8% 52.3%/var(--tw-text-opacity)) +} + +.text-gray-1100\/30 { + color: rgba(17, 24, 28, .3) +} + +.\!text-gray-700 { + --tw-text-opacity: 1 !important; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) !important +} + +.\!text-gray-1000 { + --tw-text-opacity: 1 !important; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) !important +} + +.\!text-gray-1100 { + --tw-text-opacity: 1 !important; + color: hsl(206 24% 9%/var(--tw-text-opacity)) !important +} + +.\!text-white { + --tw-text-opacity: 1 !important; + color: rgb(255 255 255/var(--tw-text-opacity)) !important +} + +.\!text-accent-1100 { + --tw-text-opacity: 1 !important; + color: rgb(1 31 10/var(--tw-text-opacity)) !important +} + +.\!text-red-700 { + --tw-text-opacity: 1 !important; + color: rgb(185 28 28/var(--tw-text-opacity)) !important +} + +.\!text-emerald-700 { + --tw-text-opacity: 1 !important; + color: rgb(4 120 87/var(--tw-text-opacity)) !important +} + +.\!text-amber-600 { + --tw-text-opacity: 1 !important; + color: rgb(217 119 6/var(--tw-text-opacity)) !important +} + +.text-accent-1100 { + --tw-text-opacity: 1; + color: rgb(1 31 10/var(--tw-text-opacity)) +} + +.text-gray-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) +} + +.text-red-700 { + --tw-text-opacity: 1; + color: rgb(185 28 28/var(--tw-text-opacity)) +} + +.text-emerald-700 { + --tw-text-opacity: 1; + color: rgb(4 120 87/var(--tw-text-opacity)) +} + +.text-amber-600 { + --tw-text-opacity: 1; + color: rgb(217 119 6/var(--tw-text-opacity)) +} + +.text-green-600 { + --tw-text-opacity: 1; + color: rgb(22 163 74/var(--tw-text-opacity)) +} + +.text-red-600 { + --tw-text-opacity: 1; + color: rgb(220 38 38/var(--tw-text-opacity)) +} + +.underline { + text-decoration-line: underline +} + +.no-underline { + text-decoration-line: none +} + +.decoration-accentdark-900 { + text-decoration-color: #069f35 +} + +.decoration-accent-900 { + text-decoration-color: #056b24 +} + +.decoration-gray-1100 { + text-decoration-color: #11181c +} + +.decoration-2 { + text-decoration-thickness: 2px +} + +.underline-offset-4 { + text-underline-offset: 4px +} + +.underline-offset-2 { + text-underline-offset: 2px +} + +.opacity-50 { + opacity: .5 +} + +.opacity-100 { + opacity: 1 +} + +.opacity-30 { + opacity: .3 +} + +.opacity-95 { + opacity: .95 +} + +.opacity-0 { + opacity: 0 +} + +.opacity-70 { + opacity: .7 +} + +.opacity-\[10\%\] { + opacity: 10% +} + +.mix-blend-difference { + mix-blend-mode: difference +} + +.shadow-border-b { + --tw-shadow: inset 0 -1px rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 -1px var(--tw-shadow-color) +} + +.shadow, +.shadow-border-b { + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.shadow { + --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) +} + +.shadow-border-y { + --tw-shadow: inset 0 1px 0 0 rgba(0, 0, 0, .3), inset 0 -1px 0 0 rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 1px 0 0 var(--tw-shadow-color), inset 0 -1px 0 0 var(--tw-shadow-color) +} + +.shadow-border-y, +.shadow-sm { + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.shadow-sm { + --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); + --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) +} + +.shadow-gray-400 { + --tw-shadow-color: #e6e8eb; + --tw-shadow: var(--tw-shadow-colored) +} + +.\!shadow-blue-900 { + --tw-shadow-color: #1e3a8a !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-blue-500 { + --tw-shadow-color: #3b82f6 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-red-500 { + --tw-shadow-color: #ef4444 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-amber-500 { + --tw-shadow-color: #f59e0b !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-green-500 { + --tw-shadow-color: #22c55e !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.outline-none { + outline: 2px solid transparent; + outline-offset: 2px +} + +.ring { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.ring-blue-500 { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(59 130 246/var(--tw-ring-opacity)) +} + +.blur { + --tw-blur: blur(8px) +} + +.blur, +.grayscale { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.grayscale { + --tw-grayscale: grayscale(100%) +} + +.invert { + --tw-invert: invert(100%) +} + +.filter, +.invert { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.transition-colors { + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition-opacity { + transition-property: opacity; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition { + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition-shadow { + transition-property: box-shadow; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition-transform { + transition-property: transform; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.duration-75 { + transition-duration: 75ms +} + +.duration-300 { + transition-duration: .3s +} + +.duration-1000 { + transition-duration: 1s +} + +.ease-in-out { + transition-timing-function: cubic-bezier(.4, 0, .2, 1) +} + +.scrollbar-thin.overflow-x-hidden, +.scrollbar.overflow-x-hidden { + overflow-x: hidden +} + +#__next, +#root, +body, +html { + height: 100vh; + overflow: hidden +} + +.placeholder\:text-gray-600::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.placeholder\:text-gray-600::placeholder { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.placeholder\:text-gray-700::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.placeholder\:text-gray-700::placeholder { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.before\:absolute:before { + content: var(--tw-content); + position: absolute +} + +.before\:top-1\/2:before { + content: var(--tw-content); + top: 50% +} + +.before\:left-1\/2:before { + content: var(--tw-content); + left: 50% +} + +.after\:block:after { + content: var(--tw-content); + display: block +} + +.after\:h-2:after { + content: var(--tw-content); + height: .5rem +} + +.after\:h-4:after { + content: var(--tw-content); + height: 1rem +} + +.after\:w-2:after { + content: var(--tw-content); + width: .5rem +} + +.after\:w-4:after { + content: var(--tw-content); + width: 1rem +} + +.after\:rounded-full:after { + content: var(--tw-content); + border-radius: 9999px +} + +.after\:bg-green-600:after { + content: var(--tw-content); + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.after\:content-\[\"\"\]:after { + --tw-content: ""; + content: var(--tw-content) +} + +.first\:border-none:first-child { + border-style: none +} + +.first\:shadow-border-tlb:first-child { + --tw-shadow: inset 0 1px 0 0 rgba(0, 0, 0, .3), inset 1px 0 0 0 rgba(0, 0, 0, .3), inset 0 -1px 0 0 rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 1px 0 0 var(--tw-shadow-color), inset 1px 0 0 0 var(--tw-shadow-color), inset 0 -1px 0 0 var(--tw-shadow-color) +} + +.first\:shadow-border-tlb:first-child, +.last\:shadow-border-trb:last-child { + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.last\:shadow-border-trb:last-child { + --tw-shadow: inset 0 1px 0 0 rgba(0, 0, 0, .3), inset -1px 0 0 0 rgba(0, 0, 0, .3), inset 0 -1px 0 0 rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 1px 0 0 var(--tw-shadow-color), inset -1px 0 0 0 var(--tw-shadow-color), inset 0 -1px 0 0 var(--tw-shadow-color) +} + +.only\:left-0:only-child { + left: 0 +} + +.last-of-type\:border-b:last-of-type { + border-bottom-width: 1px +} + +.autofill\:bg-blue-100:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: rgb(219 234 254/var(--tw-bg-opacity)) +} + +.autofill\:bg-blue-100:autofill { + --tw-bg-opacity: 1; + background-color: rgb(219 234 254/var(--tw-bg-opacity)) +} + +.autofill\:bg-white:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.autofill\:bg-white:autofill { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.autofill\:text-fill-gray-1100:-webkit-autofill { + -webkit-text-fill-color: #11181c +} + +.autofill\:text-fill-gray-1100:autofill { + -webkit-text-fill-color: #11181c +} + +.autofill\:shadow-fill-white:-webkit-autofill { + --tw-shadow: 0 0 0 9999px #fff inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.autofill\:shadow-fill-white:autofill { + --tw-shadow: 0 0 0 9999px #fff inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.autofill\:placeholder\:text-fill-gray-700:autofill::-moz-placeholder { + -webkit-text-fill-color: #c1c8cd +} + +.autofill\:placeholder\:text-fill-gray-700:-webkit-autofill::placeholder { + -webkit-text-fill-color: #c1c8cd +} + +.autofill\:placeholder\:text-fill-gray-700:autofill::placeholder { + -webkit-text-fill-color: #c1c8cd +} + +.focus-within\:z-10:focus-within { + z-index: 10 +} + +.focus-within\:ring:focus-within { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.focus\:z-10:focus { + z-index: 10 +} + +.focus\:bg-gray-300:focus { + --tw-bg-opacity: 1; + background-color: hsl(209 12.2% 93.2%/var(--tw-bg-opacity)) +} + +.focus\:text-gray-900:focus { + --tw-text-opacity: 1; + color: hsl(206 5.8% 52.3%/var(--tw-text-opacity)) +} + +.focus\:outline-none:focus { + outline: 2px solid transparent; + outline-offset: 2px +} + +.focus\:ring:focus { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.enabled\:border-green-800\/30:enabled { + border-color: rgba(22, 101, 52, .3) +} + +.enabled\:bg-green-700:enabled { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.disabled\:pointer-events-none:disabled { + pointer-events: none +} + +.disabled\:cursor-auto:disabled { + cursor: auto +} + +.disabled\:cursor-default:disabled { + cursor: default +} + +.disabled\:border-green-600\/50:disabled { + border-color: rgba(22, 163, 74, .5) +} + +.disabled\:border-red-600\/50:disabled { + border-color: rgba(220, 38, 38, .5) +} + +.disabled\:border-amber-600\/50:disabled { + border-color: rgba(217, 119, 6, .5) +} + +.disabled\:bg-green-700\/70:disabled { + background-color: rgba(21, 128, 61, .7) +} + +.disabled\:bg-red-700\/70:disabled { + background-color: rgba(185, 28, 28, .7) +} + +.disabled\:bg-amber-700\/70:disabled { + background-color: rgba(180, 83, 9, .7) +} + +.disabled\:bg-gray-200:disabled { + --tw-bg-opacity: 1; + background-color: hsl(209 13.3% 95.3%/var(--tw-bg-opacity)) +} + +.disabled\:text-white\/50:disabled { + color: hsla(0, 0%, 100%, .5) +} + +.disabled\:text-gray-600:disabled { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.disabled\:text-gray-400:disabled { + --tw-text-opacity: 1; + color: hsl(208 11.7% 91.1%/var(--tw-text-opacity)) +} + +.disabled\:opacity-50:disabled { + opacity: .5 +} + +.group:hover .group-hover\:block { + display: block +} + +.group:hover .group-hover\:flex { + display: flex +} + +.group\/segments:hover .group-hover\/segments\:hidden { + display: none +} + +.group:hover .group-hover\:bg-blue-500\/10 { + background-color: rgba(59, 130, 246, .1) +} + +.group:hover .group-hover\:bg-green-600 { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-amber-600 { + --tw-bg-opacity: 1; + background-color: rgb(217 119 6/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-gray-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 56.1%/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-blue-400 { + --tw-bg-opacity: 1; + background-color: rgb(96 165 250/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-green-400 { + --tw-bg-opacity: 1; + background-color: rgb(74 222 128/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-amber-400 { + --tw-bg-opacity: 1; + background-color: rgb(251 191 36/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:opacity-100 { + opacity: 1 +} + +.aria-selected\:bg-gray-400[aria-selected=true] { + --tw-bg-opacity: 1; + background-color: hsl(208 11.7% 91.1%/var(--tw-bg-opacity)) +} + +.data-\[disabled\]\:pointer-events-none[data-disabled] { + pointer-events: none +} + +.data-\[side\=top\]\:bottom-1[data-side=top] { + bottom: .25rem +} + +.data-\[side\=bottom\]\:top-1[data-side=bottom] { + top: .25rem +} + +.data-\[side\=left\]\:right-1[data-side=left] { + right: .25rem +} + +.data-\[side\=right\]\:left-1[data-side=right] { + left: .25rem +} + +.data-\[side\=top\]\:origin-bottom[data-side=top] { + transform-origin: bottom +} + +.data-\[side\=left\]\:origin-right[data-side=left] { + transform-origin: right +} + +.data-\[side\=right\]\:origin-left[data-side=right] { + transform-origin: left +} + +.data-\[side\=bottom\]\:origin-top[data-side=bottom] { + transform-origin: top +} + +.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked] { + --tw-translate-x: 9px +} + +.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked], +.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked] { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked] { + --tw-translate-x: 20px +} + +@keyframes enterFromLeft { + 0% { + opacity: 0; + transform: translateX(-200px) + } + + to { + opacity: 1; + transform: translateX(0) + } +} + +.data-\[motion\=from-start\]\:animate-enterFromLeft[data-motion=from-start] { + animation: enterFromLeft .25s ease +} + +@keyframes enterFromRight { + 0% { + opacity: 0; + transform: translateX(200px) + } + + to { + opacity: 1; + transform: translateX(0) + } +} + +.data-\[motion\=from-end\]\:animate-enterFromRight[data-motion=from-end] { + animation: enterFromRight .25s ease +} + +@keyframes exitToLeft { + 0% { + opacity: 1; + transform: translateX(0) + } + + to { + opacity: 0; + transform: translateX(-200px) + } +} + +.data-\[motion\=to-start\]\:animate-exitToLeft[data-motion=to-start] { + animation: exitToLeft .25s ease +} + +@keyframes exitToRight { + 0% { + opacity: 1; + transform: translateX(0) + } + + to { + opacity: 0; + transform: translateX(200px) + } +} + +.data-\[motion\=to-end\]\:animate-exitToRight[data-motion=to-end] { + animation: exitToRight .25s ease +} + +.data-\[state\=active\]\:border-green-600[data-state=active] { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.data-\[state\=checked\]\:text-gray-1100[data-state=checked] { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.data-\[disabled\]\:text-gray-700[data-disabled] { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.data-\[state\=active\]\:text-accent-1100[data-state=active] { + --tw-text-opacity: 1; + color: rgb(1 31 10/var(--tw-text-opacity)) +} + +.enabled\:data-\[state\=checked\]\:bg-green-600[data-state=checked]:enabled { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.enabled\:data-\[state\=checked\]\:ring[data-state=checked]:enabled { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.enabled\:data-\[state\=checked\]\:ring-green-600[data-state=checked]:enabled { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(22 163 74/var(--tw-ring-opacity)) +} + +.disabled\:data-\[state\=checked\]\:bg-green-600\/50[data-state=checked]:disabled { + background-color: rgba(22, 163, 74, .5) +} + +.disabled\:data-\[state\=checked\]\:ring-green-600\/50[data-state=checked]:disabled { + --tw-ring-color: rgba(22, 163, 74, .5) +} + +.group[data-selected=true] .group-data-\[selected\=true\]\:text-gray-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) +} + +.open\:text-gray-1100[data-state=open] { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.open\:opacity-10[data-state=open] { + opacity: .1 +} + +.hover\:z-10:hover { + z-index: 10 +} + +.hover\:scale-105:hover { + --tw-scale-x: 1.05; + --tw-scale-y: 1.05; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.hover\:border-green-700:hover { + --tw-border-opacity: 1; + border-color: rgb(21 128 61/var(--tw-border-opacity)) +} + +.hover\:border-green-500:hover { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.hover\:border-green-800\/50:hover { + border-color: rgba(22, 101, 52, .5) +} + +.hover\:border-red-800\/50:hover { + border-color: rgba(153, 27, 27, .5) +} + +.hover\:border-amber-800\/50:hover { + border-color: rgba(146, 64, 14, .5) +} + +.hover\:border-gray-500:hover { + --tw-border-opacity: 1; + border-color: hsl(208 11.3% 88.9%/var(--tw-border-opacity)) +} + +.hover\:bg-green-100\/20:hover { + background-color: rgba(220, 252, 231, .2) +} + +.hover\:bg-green-800\/90:hover { + background-color: rgba(22, 101, 52, .9) +} + +.hover\:bg-red-800\/90:hover { + background-color: rgba(153, 27, 27, .9) +} + +.hover\:bg-amber-800\/90:hover { + background-color: rgba(146, 64, 14, .9) +} + +.hover\:bg-gray-50:hover { + --tw-bg-opacity: 1; + background-color: hsl(206 30% 98.8%/var(--tw-bg-opacity)) +} + +.hover\:bg-black\/20:hover { + background-color: rgba(0, 0, 0, .2) +} + +.hover\:text-gray-1100\/50:hover { + color: rgba(17, 24, 28, .5) +} + +.hover\:text-gray-1000:hover { + --tw-text-opacity: 1; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) +} + +.hover\:text-gray-1100:hover { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.hover\:underline:hover { + text-decoration-line: underline +} + +.hover\:opacity-90:hover { + opacity: .9 +} + +.hover\:opacity-60:hover { + opacity: .6 +} + +.hover\:shadow:hover { + --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.enabled\:hover\:border-green-800\/50:hover:enabled { + border-color: rgba(22, 101, 52, .5) +} + +.enabled\:hover\:border-red-800\/50:hover:enabled { + border-color: rgba(153, 27, 27, .5) +} + +.enabled\:hover\:border-amber-800\/50:hover:enabled { + border-color: rgba(146, 64, 14, .5) +} + +.enabled\:hover\:border-gray-500:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(208 11.3% 88.9%/var(--tw-border-opacity)) +} + +.enabled\:hover\:border-gray-700:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(205 10.7% 78%/var(--tw-border-opacity)) +} + +.enabled\:hover\:bg-green-800\/90:hover:enabled { + background-color: rgba(22, 101, 52, .9) +} + +.enabled\:hover\:bg-red-800\/90:hover:enabled { + background-color: rgba(153, 27, 27, .9) +} + +.enabled\:hover\:bg-amber-800\/90:hover:enabled { + background-color: rgba(146, 64, 14, .9) +} + +.enabled\:hover\:bg-gray-50:hover:enabled { + --tw-bg-opacity: 1; + background-color: hsl(206 30% 98.8%/var(--tw-bg-opacity)) +} + +.enabled\:hover\:text-gray-1100:hover:enabled { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +@media (prefers-reduced-motion:reduce) { + .motion-reduce\:hidden { + display: none + } +} + +.dark .dark\:border-graydark-300 { + --tw-border-opacity: 1; + border-color: hsl(198 6.6% 15.8%/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-500 { + --tw-border-opacity: 1; + border-color: hsl(201 6.2% 20.5%/var(--tw-border-opacity)) +} + +.dark .dark\:border-accentdark-900 { + --tw-border-opacity: 1; + border-color: rgb(6 159 53/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-600 { + --tw-border-opacity: 1; + border-color: hsl(203 6% 24.3%/var(--tw-border-opacity)) +} + +.dark .dark\:border-green-500 { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.dark .dark\:border-green-600 { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-400 { + --tw-border-opacity: 1; + border-color: hsl(199 6.4% 17.9%/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-200 { + --tw-border-opacity: 1; + border-color: hsl(197 6.8% 13.6%/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-100 { + --tw-border-opacity: 1; + border-color: hsl(195 7.1% 11%/var(--tw-border-opacity)) +} + +.dark .dark\:border-white\/10 { + border-color: hsla(0, 0%, 100%, .1) +} + +.dark .dark\:border-green-600\/70 { + border-color: rgba(22, 163, 74, .7) +} + +.dark .dark\:border-red-600\/70 { + border-color: rgba(220, 38, 38, .7) +} + +.dark .dark\:border-amber-600\/70 { + border-color: rgba(217, 119, 6, .7) +} + +.dark .dark\:border-graydark-400\/70 { + border-color: rgba(43, 47, 49, .7) +} + +.dark .dark\:border-red-400 { + --tw-border-opacity: 1; + border-color: rgb(248 113 113/var(--tw-border-opacity)) +} + +.dark .dark\:border-green-400 { + --tw-border-opacity: 1; + border-color: rgb(74 222 128/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-400\/50 { + border-color: rgba(43, 47, 49, .5) +} + +.dark .dark\:border-white { + --tw-border-opacity: 1; + border-color: rgb(255 255 255/var(--tw-border-opacity)) +} + +.dark .dark\:border-blue-500\/50 { + border-color: rgba(59, 130, 246, .5) +} + +.dark .dark\:border-green-500\/50 { + border-color: rgba(34, 197, 94, .5) +} + +.dark .dark\:border-amber-500\/50 { + border-color: rgba(245, 158, 11, .5) +} + +.dark .dark\:bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-red-500 { + --tw-bg-opacity: 1; + background-color: rgb(239 68 68/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-300 { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 43.9%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-500 { + --tw-bg-opacity: 1; + background-color: rgb(245 158 11/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-green-500 { + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-50 { + --tw-bg-opacity: 1; + background-color: hsl(200 7% 8.8%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-500 { + --tw-bg-opacity: 1; + background-color: hsl(201 6.2% 20.5%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-accentdark-800 { + --tw-bg-opacity: 1; + background-color: rgb(5 135 45/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-green-100\/20 { + background-color: rgba(220, 252, 231, .2) +} + +.dark .dark\:bg-slate-200 { + --tw-bg-opacity: 1; + background-color: rgb(226 232 240/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-100 { + --tw-bg-opacity: 1; + background-color: hsl(195 7.1% 11%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-gray-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 56.1%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-transparent { + background-color: transparent +} + +.dark .dark\:bg-green-700 { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-red-700 { + --tw-bg-opacity: 1; + background-color: rgb(185 28 28/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-700 { + --tw-bg-opacity: 1; + background-color: rgb(180 83 9/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-200 { + --tw-bg-opacity: 1; + background-color: hsl(197 6.8% 13.6%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-400 { + --tw-bg-opacity: 1; + background-color: hsl(199 6.4% 17.9%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-accentdark-200 { + --tw-bg-opacity: 1; + background-color: rgb(6 40 17/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-700 { + --tw-bg-opacity: 1; + background-color: hsl(207 5.6% 31.6%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-slate-900 { + --tw-bg-opacity: 1; + background-color: rgb(15 23 42/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-200 { + --tw-bg-opacity: 1; + background-color: rgb(253 230 138/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-900 { + --tw-bg-opacity: 1; + background-color: hsl(206 5.2% 49.5%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-blue-300 { + --tw-bg-opacity: 1; + background-color: rgb(147 197 253/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-green-300 { + --tw-bg-opacity: 1; + background-color: rgb(134 239 172/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-300 { + --tw-bg-opacity: 1; + background-color: rgb(252 211 77/var(--tw-bg-opacity)) +} + +.dark .dark\:from-graydark-50 { + --tw-gradient-from: #151718; + --tw-gradient-to: rgba(21, 23, 24, 0); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) +} + +.dark .dark\:via-graydark-100\/95 { + --tw-gradient-to: rgba(26, 29, 30, 0); + --tw-gradient-stops: var(--tw-gradient-from), rgba(26, 29, 30, .95), var(--tw-gradient-to) +} + +.dark .dark\:to-graydark-50 { + --tw-gradient-to: #151718 +} + +.dark .dark\:fill-graydark-50 { + fill: #151718 +} + +.dark .dark\:fill-white { + fill: #fff +} + +.dark .dark\:fill-graydark-600 { + fill: #3a3f42 +} + +.dark .dark\:text-graydark-700 { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .dark\:text-gray-1100 { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.dark .dark\:text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .dark\:text-white\/30 { + color: hsla(0, 0%, 100%, .3) +} + +.dark .dark\:text-gray-300 { + --tw-text-opacity: 1; + color: hsl(209 12.2% 93.2%/var(--tw-text-opacity)) +} + +.dark .dark\:text-graydark-800 { + --tw-text-opacity: 1; + color: hsl(206 6% 43.9%/var(--tw-text-opacity)) +} + +.dark .dark\:\!text-graydark-700 { + --tw-text-opacity: 1 !important; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-graydark-1000 { + --tw-text-opacity: 1 !important; + color: hsl(206 6% 63%/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-white { + --tw-text-opacity: 1 !important; + color: rgb(255 255 255/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-graydark-50 { + --tw-text-opacity: 1 !important; + color: hsl(200 7% 8.8%/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-accentdark-1100 { + --tw-text-opacity: 1 !important; + color: rgb(217 244 225/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-red-400 { + --tw-text-opacity: 1 !important; + color: rgb(248 113 113/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-emerald-500 { + --tw-text-opacity: 1 !important; + color: rgb(16 185 129/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-amber-500 { + --tw-text-opacity: 1 !important; + color: rgb(245 158 11/var(--tw-text-opacity)) !important +} + +.dark .dark\:text-graydark-1100 { + --tw-text-opacity: 1; + color: hsl(210 6% 93%/var(--tw-text-opacity)) +} + +.dark .dark\:text-accentdark-1100 { + --tw-text-opacity: 1; + color: rgb(217 244 225/var(--tw-text-opacity)) +} + +.dark .dark\:text-graydark-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 63%/var(--tw-text-opacity)) +} + +.dark .dark\:text-graydark-50 { + --tw-text-opacity: 1; + color: hsl(200 7% 8.8%/var(--tw-text-opacity)) +} + +.dark .dark\:text-red-400 { + --tw-text-opacity: 1; + color: rgb(248 113 113/var(--tw-text-opacity)) +} + +.dark .dark\:text-emerald-500 { + --tw-text-opacity: 1; + color: rgb(16 185 129/var(--tw-text-opacity)) +} + +.dark .dark\:text-amber-500 { + --tw-text-opacity: 1; + color: rgb(245 158 11/var(--tw-text-opacity)) +} + +.dark .dark\:decoration-accentdark-900 { + text-decoration-color: #069f35 +} + +.dark .dark\:decoration-gray-500 { + text-decoration-color: #dfe3e6 +} + +.dark .dark\:opacity-10 { + opacity: .1 +} + +.dark .dark\:opacity-50 { + opacity: .5 +} + +.dark .dark\:mix-blend-difference { + mix-blend-mode: difference +} + +.dark .dark\:shadow-graydark-300 { + --tw-shadow-color: #26292b; + --tw-shadow: var(--tw-shadow-colored) +} + +.dark .dark\:\!shadow-blue-200 { + --tw-shadow-color: #bfdbfe !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-blue-400 { + --tw-shadow-color: #60a5fa !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-red-400 { + --tw-shadow-color: #f87171 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-amber-500 { + --tw-shadow-color: #f59e0b !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-green-400 { + --tw-shadow-color: #4ade80 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:ring-blue-200 { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(191 219 254/var(--tw-ring-opacity)) +} + +.dark .dark\:brightness-0 { + --tw-brightness: brightness(0) +} + +.dark .dark\:brightness-0, +.dark .dark\:invert { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.dark .dark\:invert { + --tw-invert: invert(100%) +} + +.dark .dark\:invert-\[0\.9\] { + --tw-invert: invert(0.9); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.dark .placeholder\:dark\:text-graydark-500::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(201 6.2% 20.5%/var(--tw-text-opacity)) +} + +.dark .placeholder\:dark\:text-graydark-500::placeholder { + --tw-text-opacity: 1; + color: hsl(201 6.2% 20.5%/var(--tw-text-opacity)) +} + +.dark .placeholder\:dark\:text-graydark-700::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .placeholder\:dark\:text-graydark-700::placeholder { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .after\:dark\:bg-green-500:after { + content: var(--tw-content); + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-blue-800:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: rgb(30 64 175/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-blue-800:autofill { + --tw-bg-opacity: 1; + background-color: rgb(30 64 175/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-graydark-50:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: hsl(200 7% 8.8%/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-graydark-50:autofill { + --tw-bg-opacity: 1; + background-color: hsl(200 7% 8.8%/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:text-fill-white:-webkit-autofill { + -webkit-text-fill-color: #fff +} + +.dark .autofill\:dark\:text-fill-white:autofill { + -webkit-text-fill-color: #fff +} + +.dark .autofill\:dark\:shadow-fill-graydark-50:-webkit-autofill { + --tw-shadow: 0 0 0 9999px #151718 inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.dark .autofill\:dark\:shadow-fill-graydark-50:autofill { + --tw-shadow: 0 0 0 9999px #151718 inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::-moz-placeholder { + -webkit-text-fill-color: #4c5155 +} + +.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:-webkit-autofill::placeholder { + -webkit-text-fill-color: #4c5155 +} + +.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::placeholder { + -webkit-text-fill-color: #4c5155 +} + +.dark .dark\:focus\:bg-graydark-300:focus { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .dark\:focus\:text-white:focus { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .enabled\:dark\:border-green-600\/70:enabled { + border-color: rgba(22, 163, 74, .7) +} + +.dark .enabled\:dark\:bg-green-700:enabled { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.dark .disabled\:dark\:border-green-500\/30:disabled { + border-color: rgba(34, 197, 94, .3) +} + +.dark .disabled\:dark\:border-red-500\/30:disabled { + border-color: rgba(239, 68, 68, .3) +} + +.dark .disabled\:dark\:border-amber-500\/30:disabled { + border-color: rgba(245, 158, 11, .3) +} + +.dark .disabled\:dark\:bg-green-600\/70:disabled { + background-color: rgba(22, 163, 74, .7) +} + +.dark .disabled\:dark\:bg-red-600\/70:disabled { + background-color: rgba(220, 38, 38, .7) +} + +.dark .disabled\:dark\:bg-amber-600\/70:disabled { + background-color: rgba(217, 119, 6, .7) +} + +.dark .disabled\:dark\:bg-graydark-200:disabled { + --tw-bg-opacity: 1; + background-color: hsl(197 6.8% 13.6%/var(--tw-bg-opacity)) +} + +.dark .disabled\:dark\:text-white\/50:disabled { + color: hsla(0, 0%, 100%, .5) +} + +.dark .disabled\:dark\:text-graydark-700:disabled { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .disabled\:dark\:text-graydark-400:disabled { + --tw-text-opacity: 1; + color: hsl(199 6.4% 17.9%/var(--tw-text-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-blue-200\/10 { + background-color: rgba(191, 219, 254, .1) +} + +.dark .group:hover .dark\:group-hover\:bg-green-600 { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-amber-600 { + --tw-bg-opacity: 1; + background-color: rgb(217 119 6/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-graydark-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 43.9%/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-blue-400 { + --tw-bg-opacity: 1; + background-color: rgb(96 165 250/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-green-400 { + --tw-bg-opacity: 1; + background-color: rgb(74 222 128/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-amber-400 { + --tw-bg-opacity: 1; + background-color: rgb(251 191 36/var(--tw-bg-opacity)) +} + +.dark .aria-selected\:dark\:bg-graydark-500[aria-selected=true] { + --tw-bg-opacity: 1; + background-color: hsl(201 6.2% 20.5%/var(--tw-bg-opacity)) +} + +.dark .data-\[state\=active\]\:dark\:border-green-500[data-state=active] { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.dark .data-\[state\=checked\]\:dark\:text-white[data-state=checked] { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .dark\:data-\[disabled\]\:text-graydark-700[data-disabled] { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .data-\[state\=active\]\:dark\:text-accentdark-1100[data-state=active] { + --tw-text-opacity: 1; + color: rgb(217 244 225/var(--tw-text-opacity)) +} + +.dark .dark\:enabled\:data-\[state\=checked\]\:bg-green-500[data-state=checked]:enabled { + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.dark .dark\:enabled\:data-\[state\=checked\]\:ring-green-500[data-state=checked]:enabled { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(34 197 94/var(--tw-ring-opacity)) +} + +.dark .dark\:disabled\:data-\[state\=checked\]\:bg-green-500\/50[data-state=checked]:disabled { + background-color: rgba(34, 197, 94, .5) +} + +.dark .dark\:disabled\:data-\[state\=checked\]\:ring-green-500\/50[data-state=checked]:disabled { + --tw-ring-color: rgba(34, 197, 94, .5) +} + +.dark .group[data-selected=true] .dark\:group-data-\[selected\=true\]\:text-graydark-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 63%/var(--tw-text-opacity)) +} + +.dark .open\:dark\:text-white[data-state=open] { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .dark\:open\:opacity-20[data-state=open] { + opacity: .2 +} + +.dark .hover\:dark\:border-green-500:hover { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-green-600:hover { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-red-600:hover { + --tw-border-opacity: 1; + border-color: rgb(220 38 38/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-amber-600:hover { + --tw-border-opacity: 1; + border-color: rgb(217 119 6/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-graydark-500:hover { + --tw-border-opacity: 1; + border-color: hsl(201 6.2% 20.5%/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:bg-green-100\/20:hover { + background-color: rgba(220, 252, 231, .2) +} + +.dark .dark\:hover\:bg-green-700\/90:hover { + background-color: rgba(21, 128, 61, .9) +} + +.dark .dark\:hover\:bg-red-700\/90:hover { + background-color: rgba(185, 28, 28, .9) +} + +.dark .dark\:hover\:bg-amber-700\/90:hover { + background-color: rgba(180, 83, 9, .9) +} + +.dark .dark\:hover\:bg-graydark-300:hover { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .hover\:dark\:text-white\/50:hover { + color: hsla(0, 0%, 100%, .5) +} + +.dark .hover\:dark\:text-graydark-1000:hover { + --tw-text-opacity: 1; + color: hsl(206 6% 63%/var(--tw-text-opacity)) +} + +.dark .hover\:dark\:text-white:hover { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .enabled\:hover\:dark\:border-green-600:hover:enabled { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-red-600:hover:enabled { + --tw-border-opacity: 1; + border-color: rgb(220 38 38/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-amber-600:hover:enabled { + --tw-border-opacity: 1; + border-color: rgb(217 119 6/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-graydark-500:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(201 6.2% 20.5%/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-graydark-600:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(203 6% 24.3%/var(--tw-border-opacity)) +} + +.dark .dark\:enabled\:hover\:bg-green-700\/90:hover:enabled { + background-color: rgba(21, 128, 61, .9) +} + +.dark .dark\:enabled\:hover\:bg-red-700\/90:hover:enabled { + background-color: rgba(185, 28, 28, .9) +} + +.dark .dark\:enabled\:hover\:bg-amber-700\/90:hover:enabled { + background-color: rgba(180, 83, 9, .9) +} + +.dark .dark\:enabled\:hover\:bg-graydark-300:hover:enabled { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .enabled\:hover\:dark\:text-white:hover:enabled { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +@media (min-width:640px) { + .sm\:flex { + display: flex + } + + .sm\:w-auto { + width: auto + } + + .sm\:grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)) + } + + .sm\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)) + } +} + +@media (min-width:768px) { + .md\:top-\[-2px\] { + top: -2px + } + + .md\:block { + display: block + } + + .md\:h-\[50px\] { + height: 50px + } + + .md\:items-start { + align-items: flex-start + } + + .md\:gap-3 { + gap: .75rem + } + + .md\:gap-y-14 { + row-gap: 3.5rem + } + + .md\:px-10 { + padding-left: 2.5rem; + padding-right: 2.5rem + } + + .md\:text-xl { + font-size: 1.25rem; + line-height: 1.75rem + } + + .md\:text-2xl { + font-size: 1.5rem; + line-height: 2rem + } + + .md\:text-3xl { + font-size: 1.875rem; + line-height: 2.25rem + } + + .md\:text-4xl { + font-size: 2.25rem; + line-height: 2.5rem + } + + .md\:text-6xl { + font-size: 3.75rem; + line-height: 1 + } + + .md\:text-xs { + font-size: .75rem; + line-height: 1rem + } + + .md\:text-sm { + font-size: .875rem; + line-height: 1.25rem + } + + .md\:text-base { + font-size: 1rem; + line-height: 1.5rem + } + + .md\:text-lg { + font-size: 1.125rem; + line-height: 1.75rem + } + + .md\:text-5xl { + font-size: 3rem; + line-height: 1 + } + + .md\:leading-relaxed { + line-height: 1.625 + } +} + +@media (min-width:1024px) { + .lg\:block { + display: block + } + + .lg\:grid-cols-4 { + grid-template-columns: repeat(4, minmax(0, 1fr)) + } + + .lg\:px-16 { + padding-left: 4rem; + padding-right: 4rem + } +} + +@media (min-width:1280px) { + .xl\:grid-cols-5 { + grid-template-columns: repeat(5, minmax(0, 1fr)) + } +} + +.\[\&\+\*\]\:\!pl-0+* { + padding-left: 0 !important +} + +.\[\&\:nth-child\(2\)\]\:animation-delay-500:nth-child(2) { + animation-delay: .5s +} + +.\[\&\:nth-child\(3\)\]\:animation-delay-1000:nth-child(3) { + animation-delay: 1s +} + +.\[\&\>svg\]\:-mx-0\.5>svg { + margin-left: -.125rem; + margin-right: -.125rem +} + +.\[\&\>svg\]\:opacity-50>svg { + opacity: .5 +} + +.hover\:\[\&\>svg\]\:opacity-100>svg:hover { + opacity: 1 +} + +.\[\&\[href\]\]\:border-green-800\/30[href] { + border-color: rgba(22, 101, 52, .3) +} + +.\[\&\[href\]\]\:bg-green-700[href] { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.\[\&\[href\]\]\:hover\:border-green-800\/50:hover[href] { + border-color: rgba(22, 101, 52, .5) +} + +.\[\&\[href\]\]\:hover\:bg-green-800\/90:hover[href] { + background-color: rgba(22, 101, 52, .9) +} + +.dark .\[\&\[href\]\]\:dark\:border-green-600\/70[href] { + border-color: rgba(22, 163, 74, .7) +} + +.dark .\[\&\[href\]\]\:dark\:bg-green-700[href] { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.dark .dark\:\[\&\[href\]\]\:hover\:bg-green-700\/90:hover[href] { + background-color: rgba(21, 128, 61, .9) +} + +.\[\&\>\*\]\:rounded-none>* { + border-radius: 0 +} + +.\[\&\>\*\]\:border-r-0>* { + border-right-width: 0 +} + +.\[\&\>\*\]\:border-l>* { + border-left-width: 1px +} + +.\[\&\>\*\:last-child\]\:rounded-r>:last-child { + border-top-right-radius: .25rem; + border-bottom-right-radius: .25rem +} + +.\[\&\>\*\:last-child\]\:border-r>:last-child { + border-right-width: 1px +} + +.\[\&\>\*\:first-child\]\:rounded-l>:first-child { + border-top-left-radius: .25rem; + border-bottom-left-radius: .25rem +} + +.\[\&\>\*\:first-child\]\:border-l>:first-child { + border-left-width: 1px +} + +.\[\&\>div\]\:\!block>div { + display: block !important +} + +.\[\&\>div\]\:\!h-full>div { + height: 100% !important +} + +.\[\&\>div\]\:flex-1>div { + flex: 1 1 0% +} + +.\[\&\>div\]\:overflow-hidden>div { + overflow: hidden +} + +.\[\&\>select\:disabled\]\:text-gray-600>select:disabled { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.dark .\[\&\>select\:disabled\]\:dark\:text-graydark-700>select:disabled { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/1eff7769948a8c71.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/7a86083759ce0787.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/1fece7a471d60ffe.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/94e828afa3939314.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/dcb90225ac4215b0.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/21379288e5de0162.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/20a0263cfae743ff.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/a06cddabfd904d07.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/c05280b20c19cff6.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/ab3a7057d2c303a3.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e7a1d48695380088.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/7a514966b24fa042.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/f34054e2970d3793.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/ee809f9c8637ac35.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/416dffb3eaba61b5.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/b2613c7882fb9dad.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/00b652cd5acf4d1a.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/318cd1ba86719051.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/26570e7eecd756a7.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/6ad357e49f846140.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/c1dadd6c99c0900a.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/9fb8e434756a520e.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/b83e9714dba3a7b2.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/7729f7b3bc7fa987.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/69dc0d8a22bc572a.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/d752111844abddfa.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/7fe39de114f984a0.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/6c817bbad1cfd130.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/bc7cd6cbdb8771c6.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/1b708ab38c59f94d.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/ed08f0e693ce6a65.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/0be44b380099e057.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/f4ebea4f2ece3dbe.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/f7e3cefe6d9fda21.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/26d0ad28b444f0fb.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/d704a8fea67672dc.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/3ce4c920cddd7002.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/1027f57de01c0b24.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/23313877d5d6ff1b.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/00417edf5e44282b.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/228a95c965c5f90b.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/97c8a55b2cb1421c.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/86d6d32ab6c2e21d.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/07304b90e9b5ca40.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/54f3953b28e50f98.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/a40ccebe730e6b34.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/01ec6e01ff4830ae.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/34d8d58b783ee6bb.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/3763ada0a9bb1988.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/787b0654beea4191.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/2c3c1f0838a71cfb.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/47bcda1e7b1ac8be.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/bed76354f405346d.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/c70aa70a01eaecff.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/24cfcc12c15b03b9.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/29ffcd3df3f1cb91.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/3cef106cd115e360.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/a0c95037dd5c9387.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/e889cd181219a83f.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/6d6d0e4a023f9f33.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/0148c4ca3456ea72.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/4184cf5f191b83db.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/28cea0425961ab58.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/b4c759cba7a5f011.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/de555e6bc944c11a.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/791334aa8b2b679f.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/a2411df190893074.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/60d74363e715829c.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/eb37c9fe4776ea97.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/bc381c5935034aa5.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/f565fad065ab4cf3.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/f9946f06d70a1b5b.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/d1f5f89450ecd78c.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/ebcf93a611f94ec0.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/ec50b434b597bc61.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/6be22a85bef54f08.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/9491f41002d34397.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/afba6ba6bf9157e8.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/be843c5b0882ad66.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/67aea609c6135b3b.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/09b62d668edb05d1.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/10446295ae7f2657.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/b6ecfd81ed9f83c9.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/08404bcfb1dae67a.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_Fallback_f3b0db; + src: local("Arial"); + ascent-override: 101.35%; + descent-override: 27.19%; + line-gap-override: 0.00%; + size-adjust: 101.13% +} + +.__className_f3b0db { + font-family: __IBM_Plex_Sans_f3b0db, __IBM_Plex_Sans_Fallback_f3b0db +} + +.__variable_f3b0db { + --font-sans: "__IBM_Plex_Sans_f3b0db", "__IBM_Plex_Sans_Fallback_f3b0db" +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/43f58290d48b3e4f.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/f7b042c81aa9dac9.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/5f52e8aafa6d55e1.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/7c8d3f8a7910b37f.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/c91ca22957702d7a.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e31631a967fe3515.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e46a860e09e79916.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/2d1700372dfaaa94.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/27834a3ea5568a72.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/ba1ff977fd46651f.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/aa5329918e5352b7.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/3546445dbedfe8e0.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/a329a67c917d0d83.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/32ef35af86a1df18.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/42c2d543c4ca0ff8.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/4acd96e66b7a15d8.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/c00fdcaa534cf51c.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/a9b64de7575b01f6.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/e05a5a1d4048d7df.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/a9387c470a117487.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/5b5f10d1030076fd.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/66b34bbb56a523d8.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/62e8d71f5f62d0a9.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/4f5bd398699bdcf0.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/5873ad5359ff35c9.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/a08baca5e17c57be.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/b8347de82b1bd9a8.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/99163ae90df46b27.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/b9432a067aca8720.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/c3f479ae50d16e35.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/d4eddeab410cd094.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/1674d377433d7de6.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/f65f080f6ad9aa76.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/7a44530bd17b4a4c.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/37e85b36581a02ab.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/1e0eb4a7325b5d14.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/136ae42764b7e0db.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/b17f4305e2f0c22a.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/a7f64a09f7737545.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/98bcafdc59ee6d65.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/ce562f20499ad585.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/57699fff66d5761c.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e490b1ecb6589d48.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/524be5e37a616f9b.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/c690761783507ad4.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/5a7dbca54c2fc4dd.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/d4e99c199dab3055.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/9ae1ac821a4debaf.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/ec1b1cbc512bc43e.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/463cef7d4672ba68.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/ebec2867f40f78ec.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/d607327a37a507c7.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/2e1b830192b7974a.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/3aa27b2eb5f698f7.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/3478b6abef19b3b3.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/b6f2eee8808a2bb4.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/bc2003170c651d45.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/d43ef4503e5571d0.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/3281a323710833ec.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/684e5662d94c69e1.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/97b12f7b815cdf76.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/19fc70611c7ee6d5.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/01721b474504e7d6.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/3ccf24bed29cbb82.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/be2416cbb012c256.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/7524e759b2d52ce2.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/83feb047e42e457a.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/40bfb1458eaec497.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/8ea51a27e153ec43.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/035951aefad7b653.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_Fallback_5c2ce5; + src: local("Arial"); + ascent-override: 77.95%; + descent-override: 20.91%; + line-gap-override: 0.00%; + size-adjust: 131.49% +} + +.__className_5c2ce5 { + font-family: __IBM_Plex_Mono_5c2ce5, __IBM_Plex_Mono_Fallback_5c2ce5 +} + +.__variable_5c2ce5 { + --font-mono: "__IBM_Plex_Mono_5c2ce5", "__IBM_Plex_Mono_Fallback_5c2ce5" +} diff --git a/hostd/hostd.go b/hostd/hostd.go index a8d38e54f..48559e04f 100644 --- a/hostd/hostd.go +++ b/hostd/hostd.go @@ -18,4 +18,4 @@ func Handler() http.Handler { panic(err) } return ui.Handler(fs) -} \ No newline at end of file +} diff --git a/libs/data-sources/src/index.ts b/libs/data-sources/src/index.ts index 11d7fc17e..3e2974495 100644 --- a/libs/data-sources/src/index.ts +++ b/libs/data-sources/src/index.ts @@ -1,8 +1,6 @@ export * from './lib/benchmarks' export * from './lib/error' export * from './lib/github' -export * from './lib/siaCentral' -export * from './lib/navigator' export * from './lib/assets' export * from './lib/notion/notion' export * from './lib/notion/feed' diff --git a/libs/data-sources/src/lib/feedRssSync.ts b/libs/data-sources/src/lib/feedRssSync.ts index 6f22ef851..347dc7d02 100644 --- a/libs/data-sources/src/lib/feedRssSync.ts +++ b/libs/data-sources/src/lib/feedRssSync.ts @@ -1,5 +1,6 @@ import { Notion } from './notion/notion' import Parser from 'rss-parser' +import { retry } from './notion/retry' type RssPost = { title: string @@ -52,9 +53,9 @@ export async function fetchRssFeedItems() { const rssFeedsDatabaseId = '422b97b4f7d94eaaa5e5fa85c83e2e4e' async function fetchFeedList() { - const response = await Notion.databases.query({ + const response = await retry(() => Notion.databases.query({ database_id: rssFeedsDatabaseId, - }) + })) // eslint-disable-next-line @typescript-eslint/no-explicit-any return response.results.map((page: any) => ({ name: page.properties.name.title?.[0]?.plain_text, diff --git a/libs/data-sources/src/lib/navigator.ts b/libs/data-sources/src/lib/navigator.ts deleted file mode 100644 index 57c32a1ee..000000000 --- a/libs/data-sources/src/lib/navigator.ts +++ /dev/null @@ -1,33 +0,0 @@ -import axios from 'axios' -import { buildErrorResponse500 } from './error' -import { AsyncDataSourceResponse } from './types' - -type NavigatorStatus = { - coinsupply: number - consensusblock: number - heartbeat: number - blockHeight: number - mempool: number - peers: number - totalTx: number - version: string -} - -export async function getNavigatorStatus(): AsyncDataSourceResponse { - try { - const response = await axios.get( - 'https://navigator.sia.tech/navigator-api/status', - { - timeout: 10_000, - } - ) - const result = response.data[0] - return { - status: 200, - data: result, - } - } catch (e) { - console.log(e) - return buildErrorResponse500() - } -} diff --git a/libs/data-sources/src/lib/notion/feed.ts b/libs/data-sources/src/lib/notion/feed.ts index 71074da8e..b9b8d921f 100644 --- a/libs/data-sources/src/lib/notion/feed.ts +++ b/libs/data-sources/src/lib/notion/feed.ts @@ -1,4 +1,5 @@ import { fetchAllPages, Notion } from './notion' +import { retry } from './retry' const feedDatabaseId = '9be1ecfc6f3142e7b8e284f2f6bd9338' @@ -42,7 +43,7 @@ export async function savePost(allItems: FeedItem[], post: RssPost) { export async function saveItem(item: Omit) { try { - await Notion.pages.create({ + await retry(() => Notion.pages.create({ parent: { type: 'database_id', database_id: feedDatabaseId, @@ -74,17 +75,17 @@ export async function saveItem(item: Omit) { }, }, }, - }) + })) } catch (e) { console.log(e) } } export async function deletePage(pageId: string) { - return Notion.pages.update({ + return retry(() => Notion.pages.update({ page_id: pageId, archived: true, - }) + })) } type Tag = diff --git a/apps/website/lib/notion.ts b/libs/data-sources/src/lib/notion/markdown.ts similarity index 72% rename from apps/website/lib/notion.ts rename to libs/data-sources/src/lib/notion/markdown.ts index 1df65b24c..e9326473f 100644 --- a/apps/website/lib/notion.ts +++ b/libs/data-sources/src/lib/notion/markdown.ts @@ -1,32 +1,10 @@ -import { isFullBlock, isFullPage } from '@notionhq/client' -import { TableBlockObjectResponse } from '@notionhq/client/build/src/api-endpoints' -import { Notion, fetchAllChildrenBlocks } from '@siafoundation/data-sources' -import matter from 'gray-matter' -import { serialize } from 'next-mdx-remote/serialize' -import remarkGfm from 'remark-gfm' - -export async function getNotionPage(pageId: string) { - const p = await Notion.pages.retrieve({ page_id: pageId }) - const title = isFullPage(p) - ? (p.properties.title['title'][0].plain_text as string) - : null - const date = isFullPage(p) ? p.last_edited_time : null - const markdown = await notionToMarkdown(pageId) - const source = await serialize(matter(markdown).content, { - mdxOptions: { - remarkPlugins: [remarkGfm], - }, - }) - - return { - title, - date, - source, - } -} +import { isFullBlock } from '@notionhq/client' +import { RichTextItemResponse, TableBlockObjectResponse } from '@notionhq/client/build/src/api-endpoints' +import { Notion, fetchAllChildrenBlocks } from './notion' +import { retry } from './retry' // Function to convert Notion rich text to markdown -function richTextToMarkdown(richText) { +export function richTextToMarkdown(richText: RichTextItemResponse[]) { return richText .map(({ plain_text, annotations, href }) => { let text = plain_text @@ -46,7 +24,7 @@ function richTextToMarkdown(richText) { .join('') } -async function notionToMarkdown(pageId, indent = '') { +export async function notionToMarkdown(pageId: string, indent = '') { const blocks = await fetchAllChildrenBlocks({ block_id: pageId, }) @@ -112,10 +90,10 @@ async function tableToMarkdown( block: TableBlockObjectResponse, markdown: string ): Promise { - const tableData = await Notion.blocks.children.list({ + const tableData = await retry(() => Notion.blocks.children.list({ block_id: block.id, page_size: 100, - }) + })) const rows = [] for (const rowBlock of tableData.results) { diff --git a/libs/data-sources/src/lib/notion/notion.ts b/libs/data-sources/src/lib/notion/notion.ts index 28999bdcc..612736739 100644 --- a/libs/data-sources/src/lib/notion/notion.ts +++ b/libs/data-sources/src/lib/notion/notion.ts @@ -1,26 +1,52 @@ -import { Client } from '@notionhq/client' +import { Client, isFullPage } from '@notionhq/client' +import matter from 'gray-matter' +import { serialize } from 'next-mdx-remote/serialize' +import remarkGfm from 'remark-gfm' import * as dotenv from 'dotenv' +import { retry } from './retry' +import { notionToMarkdown } from './markdown' dotenv.config() export const Notion = new Client({ auth: process.env['NOTION_TOKEN'], }) +export async function getNotionPage(pageId: string) { + const p = await retry(() => Notion.pages.retrieve({ page_id: pageId })) + const title = isFullPage(p) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + ? ((p.properties as any).title['title'][0].plain_text as string) + : null + const date = isFullPage(p) ? p.last_edited_time : null + const markdown = await notionToMarkdown(pageId) + const source = await serialize(matter(markdown).content, { + mdxOptions: { + remarkPlugins: [remarkGfm], + }, + }) + + return { + title, + date, + source, + } +} + export async function fetchAllPages( titleKey: string, params: Parameters[0] ) { // eslint-disable-next-line @typescript-eslint/no-explicit-any const allPages: any[] = [] - let startCursor = undefined + let startCursor: string | undefined = undefined let more = true let response = null while (more) { - response = await Notion.databases.query({ + response = await retry(() => Notion.databases.query({ ...params, page_size: 100, start_cursor: startCursor, - }) + })) allPages.push(...response.results) if (!response.has_more) { more = false @@ -39,15 +65,15 @@ export async function fetchAllChildrenBlocks( ) { // eslint-disable-next-line @typescript-eslint/no-explicit-any const allBlocks: any[] = [] - let startCursor = undefined + let startCursor: string | undefined = undefined let more = true let response = null while (more) { - response = await Notion.blocks.children.list({ + response = await retry(() => Notion.blocks.children.list({ ...params, page_size: 100, start_cursor: startCursor, - }) + })) allBlocks.push(...response.results) if (!response.has_more) { more = false diff --git a/libs/data-sources/src/lib/notion/retry.ts b/libs/data-sources/src/lib/notion/retry.ts new file mode 100644 index 000000000..e638ed407 --- /dev/null +++ b/libs/data-sources/src/lib/notion/retry.ts @@ -0,0 +1,16 @@ +// retries with a backoff if the request fails +export async function retry(fn: () => Promise): Promise { + let retries = 0 + // eslint-disable-next-line no-constant-condition + while (true) { + try { + return await fn() + } catch (e) { + if (retries > 3) { + throw e + } + retries++ + await new Promise((resolve) => setTimeout(resolve, 2 ** retries * 1000)) + } + } +} diff --git a/libs/data-sources/src/lib/siaCentral.ts b/libs/data-sources/src/lib/siaCentral.ts deleted file mode 100644 index f001c42f1..000000000 --- a/libs/data-sources/src/lib/siaCentral.ts +++ /dev/null @@ -1,183 +0,0 @@ -import axios from 'axios' -import { buildErrorResponse500 } from './error' -import { AsyncDataSourceResponse } from './types' - -type SiaCentralHostsNetworkMetrics = { - totals: { - remaining_registry_entries: number - total_registry_entries: number - remaining_storage: number - total_storage: number - active_hosts: number - total_hosts: number - } -} - -export async function getSiaCentralHostsNetworkMetrics(): AsyncDataSourceResponse { - try { - const response = await axios.get( - 'https://api.siacentral.com/v2/hosts/network/metrics', - { - timeout: 10_000, - } - ) - const result = response.data - return { - status: 200, - data: result, - } - } catch (e) { - console.log(e) - return buildErrorResponse500() - } -} - -export type SiaCentralHost = { - net_address: string - public_key: string - version: string - estimated_uptime: number - online: boolean - first_seen_height: number - first_seen_timestamp: string - last_scan: string - last_success_scan: string - country_code: string - location: [number, number] - settings: { - netaddress: string - version: string - accepting_contracts: boolean - max_download_batch_size: number - max_duration: number - max_revise_batch_size: number - remaining_storage: number - sector_size: number - total_storage: number - window_size: number - revision_number: number - base_rpc_price: string - collateral: string - max_collateral: string - contract_price: string - download_price: string - sector_access_price: string - storage_price: string - upload_price: string - ephemeral_account_expiry: number - max_ephemeral_account_balance: string - sia_mux_port: string - } - price_table: { - uid: string - validity: number - hostblockheight: number - updatepricetablecost: string - accountbalancecost: string - fundaccountcost: string - latestrevisioncost: string - subscriptionmemorycost: string - subscriptionnotificationcost: string - initbasecost: string - memorytimecost: string - downloadbandwidthcost: string - uploadbandwidthcost: string - dropsectorsbasecost: string - dropsectorsunitcost: string - hassectorbasecost: string - readbasecost: string - readlengthcost: string - renewcontractcost: string - revisionbasecost: string - swapsectorcost: string - writebasecost: string - writelengthcost: string - writestorecost: string - txnfeeminrecommended: string - txnfeemaxrecommended: string - contractprice: string - collateralcost: string - maxcollateral: string - maxduration: number - windowsize: number - registryentriesleft: number - registryentriestotal: number - } - benchmark: { - contract_time: number - upload_time: number - download_time: number - data_size: number - last_attempt: string - last_successful: string - error?: string - } -} - -export async function getSiaCentralHosts(): AsyncDataSourceResponse<{ - message: string - count: number - total: number - type: string - hosts: SiaCentralHost[] -}> { - try { - const response = await axios.get( - 'https://api.siacentral.com/v2/hosts/list?showinactive=false&sort=download_speed&dir=desc&protocol=rhp3&page=0&limit=300', - { - timeout: 10_000, - } - ) - const result = response.data - return { - status: 200, - data: result, - } - } catch (e) { - console.log(e) - return buildErrorResponse500() - } -} - -export type SiaCentralExchangeRateGET = { - message: string - type: string - rates: { - sc: { - bch: string - btc: string - cad: string - cny: string - eth: string - eur: string - aud: string - gbp: string - jpy: string - ltc: string - rub: string - scp: string - sf: string - usd: string - } - } - timestamp: string -} - -export async function getSiaCentralExchangeRates(): AsyncDataSourceResponse { - try { - const response = await axios.get( - 'https://api.siacentral.com/v2/market/exchange-rate?currencies=sc', - { - timeout: 10_000, - } - ) - const result = response.data - return { - status: 200, - data: result, - } - } catch (e) { - console.log(e) - return buildErrorResponse500() - } -} diff --git a/libs/design-system/project.json b/libs/design-system/project.json index 13309981f..43ffa9f9d 100644 --- a/libs/design-system/project.json +++ b/libs/design-system/project.json @@ -29,11 +29,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/design-system/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/design-system/src/data/webLinks.ts b/libs/design-system/src/data/webLinks.ts index d5f286abe..2e7779d4b 100644 --- a/libs/design-system/src/data/webLinks.ts +++ b/libs/design-system/src/data/webLinks.ts @@ -19,8 +19,8 @@ export const webLinks = { }, explore: { mainnet: 'https://siascan.com', - testnet: 'https://zen.siascan.com', - testnetFaucet: 'https://zen.siascan.com/faucet', + testnetZen: 'https://zen.siascan.com', + testnetZenFaucet: 'https://zen.siascan.com/faucet', }, design: 'https://design.sia.tech', apiDocs: { @@ -44,7 +44,8 @@ export const webLinks = { twitterHandle: '@sia__foundation', reddit: 'https://reddit.com/r/siacoin', forum: 'https://forum.sia.tech/', - forumGrants: 'https://forum.sia.tech/c/grants/8', + forumGrants: 'https://forum.sia.tech/c/grants/', + forumGrantsProposed: 'https://forum.sia.tech/c/grants/proposed/', merch: 'https://siagear.tech/', email: 'hello@sia.tech', benchmarks: 'https://benchmarks.sia.tech', diff --git a/libs/design-system/src/index.ts b/libs/design-system/src/index.ts index e5870c1f7..abd5ffc5c 100644 --- a/libs/design-system/src/index.ts +++ b/libs/design-system/src/index.ts @@ -133,7 +133,6 @@ export * from './site/TransparentGradient' export * from './site/PatternedPanel' export * from './site/Callout' export * from './site/Links' -export * from './site/SitePageHead' export * from './site/NextAppSsrAppRouter' export * from './site/NextAppCsr' export * from './site/NextDocument' diff --git a/libs/react-core/project.json b/libs/react-core/project.json index 8ae6f424e..1680c164f 100644 --- a/libs/react-core/project.json +++ b/libs/react-core/project.json @@ -24,11 +24,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/react-core/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/react-hostd/project.json b/libs/react-hostd/project.json index 95486593e..1087c7e85 100644 --- a/libs/react-hostd/project.json +++ b/libs/react-hostd/project.json @@ -24,11 +24,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/react-hostd/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/react-icons/project.json b/libs/react-icons/project.json index 0ce44f782..61149f750 100644 --- a/libs/react-icons/project.json +++ b/libs/react-icons/project.json @@ -24,11 +24,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/react-icons/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/react-renterd/project.json b/libs/react-renterd/project.json index 935d232b5..c4aef1391 100644 --- a/libs/react-renterd/project.json +++ b/libs/react-renterd/project.json @@ -24,11 +24,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/react-renterd/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/react-sia-central/project.json b/libs/react-sia-central/project.json index 856d376d7..07e1197a4 100644 --- a/libs/react-sia-central/project.json +++ b/libs/react-sia-central/project.json @@ -24,11 +24,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/react-sia-central/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/react-walletd/project.json b/libs/react-walletd/project.json index 42c1e0890..a54bd69de 100644 --- a/libs/react-walletd/project.json +++ b/libs/react-walletd/project.json @@ -24,11 +24,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/react-walletd/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/sia-central/project.json b/libs/sia-central/project.json index fbb081b1e..77dc910a8 100644 --- a/libs/sia-central/project.json +++ b/libs/sia-central/project.json @@ -24,11 +24,7 @@ } ] }, - "configurations": { - "ci": { - "outputPath": "libs/sia-central/dist" - } - } + "configurations": {} }, "lint": { "executor": "@nx/linter:eslint", diff --git a/libs/sia-central/src/fetch.ts b/libs/sia-central/src/fetch.ts index eb478fe8a..0d0db14ed 100644 --- a/libs/sia-central/src/fetch.ts +++ b/libs/sia-central/src/fetch.ts @@ -1,5 +1,13 @@ -export async function runFetch(url: string, init?: RequestInit): Promise { - const bx = await fetch(url, init) - const result: T = await bx.json() - return result +export async function runFetch(url: string, init?: RequestInit): Promise<{ data?: T, error?: string }> { + try { + const bx = await fetch(url, init) + const result: T = await bx.json() + return { + data: result, + } + } catch (e: unknown) { + return { + error: (e as Error).message + } + } } diff --git a/libs/sia-central/src/siaCentralHosts.tsx b/libs/sia-central/src/siaCentralHosts.tsx index f2a611a49..3468c896d 100644 --- a/libs/sia-central/src/siaCentralHosts.tsx +++ b/libs/sia-central/src/siaCentralHosts.tsx @@ -31,10 +31,8 @@ export async function getSiaCentralHosts(args?: { args ) return runFetch( - `${ - config?.api || api - }/hosts/list?showinactive=false&sort=used_storage&dir=desc&protocol=rhp3&page=${ - params.page + `${config?.api || api + }/hosts/list?showinactive=false&sort=used_storage&dir=desc&protocol=rhp3&page=${params.page }&limit=${params.limit}` ) } diff --git a/libs/sia-central/src/siaCentralTransaction.tsx b/libs/sia-central/src/siaCentralTransaction.tsx index b3c16ff53..ecdb4217e 100644 --- a/libs/sia-central/src/siaCentralTransaction.tsx +++ b/libs/sia-central/src/siaCentralTransaction.tsx @@ -7,6 +7,7 @@ export type SiaCentralTransactionParams = { export type SiaCentralTransactionResponse = { message: string + type?: 'error' transaction: SiaCentralTransaction } diff --git a/libs/sia-central/src/types.tsx b/libs/sia-central/src/types.tsx index ccc381090..b2515b6a5 100644 --- a/libs/sia-central/src/types.tsx +++ b/libs/sia-central/src/types.tsx @@ -312,8 +312,8 @@ export type SiaCentralBlock = { height: number nonce: number[] size: string - transactions: SiaCentralTransaction[] - siacoin_outputs: SiaCentralSiacoinOutput[] + transactions?: SiaCentralTransaction[] + siacoin_outputs?: SiaCentralSiacoinOutput[] siafund_pool: string timestamp: string } diff --git a/libs/sia-js/project.json b/libs/sia-js/project.json index ed7a2cfd7..330470ac3 100644 --- a/libs/sia-js/project.json +++ b/libs/sia-js/project.json @@ -30,11 +30,7 @@ "assets": ["libs/sia-js/*.md"], "updateBuildableProjectDepsInPackageJson": true }, - "configurations": { - "ci": { - "outputPath": "libs/sia-js/dist" - } - } + "configurations": {} } }, "tags": [] diff --git a/libs/sia-nodejs/project.json b/libs/sia-nodejs/project.json index fd2d7a45e..53259fce3 100644 --- a/libs/sia-nodejs/project.json +++ b/libs/sia-nodejs/project.json @@ -30,11 +30,7 @@ "assets": ["libs/sia-nodejs/*.md"], "updateBuildableProjectDepsInPackageJson": true }, - "configurations": { - "ci": { - "outputPath": "libs/sia-nodejs/dist" - } - } + "configurations": {} } }, "tags": [] diff --git a/package-lock.json b/package-lock.json index 1693ee87e..b99c5477d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,6 +18,7 @@ "@next/font": "13.1.1", "@next/mdx": "^12.1.6", "@notionhq/client": "^2.2.8", + "@nx-tools/nx-container": "^5.0.3", "@radix-ui/react-accordion": "^1.0.0", "@radix-ui/react-alert-dialog": "^1.0.0", "@radix-ui/react-avatar": "^1.0.0", @@ -102,7 +103,7 @@ "swr": "^2.1.1", "tailwindcss-shadow-fill": "^1.0.1", "tailwindcss-text-fill": "^0.2.0", - "tslib": "^2.3.0", + "tslib": "^2.6.2", "typed.js": "^2.0.12", "use-debounce": "^9.0.3", "use-local-storage-state": "^18.3.3", @@ -271,6 +272,7 @@ "license": "MIT" }, "libs/react-icons": { + "name": "@siafoundation/react-icons", "version": "0.0.1", "license": "MIT" }, @@ -325,6 +327,19 @@ "node": ">=0.10.0" } }, + "node_modules/@actions/exec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "dependencies": { + "@actions/io": "^1.0.1" + } + }, + "node_modules/@actions/io": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", + "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" + }, "node_modules/@adobe/css-tools": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.1.tgz", @@ -4152,21 +4167,6 @@ "node": ">=10" } }, - "node_modules/@jest/reporters/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@jest/schemas": { "version": "29.6.3", "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", @@ -4338,20 +4338,6 @@ "semver": "^7.3.5" } }, - "node_modules/@ledgerhq/devices/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@ledgerhq/errors": { "version": "6.14.0", "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.14.0.tgz", @@ -4953,7 +4939,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.8.1.tgz", "integrity": "sha512-Y7yYDh62Hi4q99Q4+ipIQ3K9iLuAld3WcwjLv6vtl6Livu+TU3eqbraBEno7DQL8JuIuwgBT4lX7Bp3w3N9RDg==", - "dev": true, "dependencies": { "@nx/devkit": "16.8.1" } @@ -5043,7 +5028,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-16.8.1.tgz", "integrity": "sha512-hgGFLyEgONSofxnJsXN9NlUx4J8/YSLUkfZKdR8Qa97+JGZT8FEuk7NLFJOWdYYqROoCzXLHK0d+twFFNPS5BQ==", - "dev": true, "dependencies": { "nx": "16.8.1", "tslib": "^2.3.0" @@ -5079,6 +5063,42 @@ "@nx/workspace": "16.8.1" } }, + "node_modules/@nx-tools/core": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@nx-tools/core/-/core-5.0.3.tgz", + "integrity": "sha512-Ao3hmQ9DC+E8d2bdR2xqix0cmHsCrZxe0GDNZfOgfCde1tUppPJ2Po/m3iFxI5gEFWuEEsCQFm9CRtaMuyc1Dg==", + "dependencies": { + "@actions/exec": "1.1.1", + "chalk": "4.1.2", + "ci-info": "3.8.0" + }, + "peerDependencies": { + "@nx/devkit": "^16.0.0", + "tslib": "^2.5.3" + } + }, + "node_modules/@nx-tools/nx-container": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@nx-tools/nx-container/-/nx-container-5.0.3.tgz", + "integrity": "sha512-jihsDiLlPNrf0obWMovAZ0ZwlD4lKCtzqP0KTw0j2cltmYyeAA6py05hHpQ+iDmx1z0c4935QYTN9RmJWzduZw==", + "dependencies": { + "@nx-tools/core": "5.0.3", + "csv-parse": "5.4.0", + "handlebars": "4.7.7", + "semver": "7.5.4", + "tmp": "0.2.1" + }, + "peerDependencies": { + "@nx/devkit": "^16.0.0", + "dotenv": ">=10.0.0", + "tslib": "^2.5.3" + } + }, + "node_modules/@nx-tools/nx-container/node_modules/csv-parse": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.4.0.tgz", + "integrity": "sha512-JiQosUWiOFgp4hQn0an+SBoV9IKdqzhROM0iiN4LB7UpfJBlsSJlWl9nq4zGgxgMAzHJ6V4t29VAVD+3+2NJAg==" + }, "node_modules/@nx/cypress": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/cypress/-/cypress-16.8.1.tgz", @@ -5122,7 +5142,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.8.1.tgz", "integrity": "sha512-I+Cg+lXk0wRz6KC9FZbWFuJWQTXAt5O3bNl9ksISmzqmEyuy72Cv+/MBHvF7o54Sq80DNw+RKWB1re5HFOsqCA==", - "dev": true, "dependencies": { "@nrwl/devkit": "16.8.1", "ejs": "^3.1.7", @@ -5140,7 +5159,6 @@ "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", - "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -5457,7 +5475,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -5473,7 +5490,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -5489,7 +5505,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "freebsd" @@ -5505,7 +5520,6 @@ "cpu": [ "arm" ], - "dev": true, "optional": true, "os": [ "linux" @@ -5521,7 +5535,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -5537,7 +5550,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -5553,7 +5565,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -5569,7 +5580,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -5585,7 +5595,6 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -5601,7 +5610,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -5779,7 +5787,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", - "dev": true, "hasInstallScript": true, "dependencies": { "node-addon-api": "^3.2.1", @@ -7707,7 +7714,7 @@ "version": "1.3.21", "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.21.tgz", "integrity": "sha512-RTmqkm5e5sb+Q+YbyqiE52xjvX+kcIVDgaSdSD7mNy2opgDfIdFMhExmB8UQStt3TLrlpAslWaFNWNmvaHP9rg==", - "dev": true, + "devOptional": true, "hasInstallScript": true, "bin": { "swcx": "run_swcx.js" @@ -8785,21 +8792,6 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@typescript-eslint/parser": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", @@ -8911,21 +8903,6 @@ } } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@typescript-eslint/utils": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", @@ -8958,21 +8935,6 @@ "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==", "dev": true }, - "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@typescript-eslint/visitor-keys": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", @@ -9503,14 +9465,12 @@ "node_modules/@yarnpkg/lockfile": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", - "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", - "dev": true + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==" }, "node_modules/@yarnpkg/parsers": { "version": "3.0.0-rc.46", "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz", "integrity": "sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==", - "dev": true, "dependencies": { "js-yaml": "^3.10.0", "tslib": "^2.4.0" @@ -9523,7 +9483,6 @@ "version": "0.0.6", "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", - "dev": true, "dependencies": { "argparse": "^2.0.1" }, @@ -9534,8 +9493,7 @@ "node_modules/@zkochan/js-yaml/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "node_modules/@zxing/text-encoding": { "version": "0.9.0", @@ -10037,8 +9995,7 @@ "node_modules/async": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", - "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", - "dev": true + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" }, "node_modules/asynckit": { "version": "0.4.0", @@ -10282,23 +10239,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.5", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz", @@ -10581,7 +10521,6 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -10959,9 +10898,18 @@ } }, "node_modules/ci-info": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz", - "integrity": "sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==" + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz", + "integrity": "sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "engines": { + "node": ">=8" + } }, "node_modules/cjs-module-lexer": { "version": "1.2.3", @@ -10998,7 +10946,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, "dependencies": { "restore-cursor": "^3.1.0" }, @@ -11010,7 +10957,6 @@ "version": "2.6.1", "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", - "dev": true, "engines": { "node": ">=6" }, @@ -11072,7 +11018,6 @@ "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -11083,7 +11028,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -11356,8 +11300,7 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "node_modules/concat-with-sourcemaps": { "version": "1.1.0", @@ -11368,15 +11311,6 @@ "source-map": "^0.6.1" } }, - "node_modules/concat-with-sourcemaps/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/confusing-browser-globals": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", @@ -11790,21 +11724,6 @@ "webpack": "^5.0.0" } }, - "node_modules/css-loader/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/css-minimizer-webpack-plugin": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-5.0.1.tgz", @@ -12262,21 +12181,6 @@ "node": ">=8.12.0" } }, - "node_modules/cypress/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/cypress/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -12709,7 +12613,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "dev": true, "engines": { "node": ">=8" } @@ -13043,7 +12946,6 @@ "version": "10.0.0", "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz", "integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==", - "dev": true, "engines": { "node": ">=12" } @@ -13065,8 +12967,7 @@ "node_modules/duplexer": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", - "dev": true + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" }, "node_modules/earcut": { "version": "2.2.4", @@ -13091,7 +12992,6 @@ "version": "3.1.9", "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz", "integrity": "sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==", - "dev": true, "dependencies": { "jake": "^10.8.5" }, @@ -13389,15 +13289,6 @@ "source-map": "~0.6.1" } }, - "node_modules/escodegen/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/eslint": { "version": "8.46.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz", @@ -14430,7 +14321,6 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", - "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -14505,7 +14395,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -14563,7 +14452,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, "dependencies": { "minimatch": "^5.0.1" } @@ -14572,7 +14460,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0" } @@ -14581,7 +14468,6 @@ "version": "5.1.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, @@ -14771,7 +14657,6 @@ "version": "5.0.2", "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "dev": true, "bin": { "flat": "cli.js" } @@ -14883,21 +14768,6 @@ "node": ">=12" } }, - "node_modules/fork-ts-checker-webpack-plugin/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", @@ -14996,6 +14866,11 @@ "react-dom": "^18.0.0" } }, + "node_modules/framer-motion/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/framesync": { "version": "6.1.2", "resolved": "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz", @@ -15004,6 +14879,11 @@ "tslib": "2.4.0" } }, + "node_modules/framesync/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", @@ -15060,8 +14940,7 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "node_modules/fsevents": { "version": "2.3.2", @@ -15253,7 +15132,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -15451,6 +15329,26 @@ "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, + "node_modules/handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, "node_modules/har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", @@ -16048,7 +15946,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -16352,7 +16249,6 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true, "bin": { "is-docker": "cli.js" }, @@ -16747,7 +16643,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, "dependencies": { "is-docker": "^2.0.0" }, @@ -16841,15 +16736,6 @@ "node": ">=10" } }, - "node_modules/istanbul-lib-source-maps/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/istanbul-reports": { "version": "3.1.6", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", @@ -16867,7 +16753,6 @@ "version": "10.8.7", "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", "integrity": "sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==", - "dev": true, "dependencies": { "async": "^3.2.3", "chalk": "^4.0.2", @@ -16885,7 +16770,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -17532,15 +17416,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-runner/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/jest-runner/node_modules/source-map-support": { "version": "0.5.13", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", @@ -17641,21 +17516,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest-util": { "version": "29.6.3", "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.6.3.tgz", @@ -17892,7 +17752,6 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, "bin": { "json5": "lib/cli.js" }, @@ -17918,32 +17777,15 @@ "url": "https://github.com/sponsors/ota-meshi" } }, - "node_modules/jsonc-eslint-parser/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jsonc-parser": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, "dependencies": { "universalify": "^2.0.0" }, @@ -18155,16 +17997,6 @@ "semver": "bin/semver" } }, - "node_modules/less/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -18524,21 +18356,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/make-dir/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/make-error": { "version": "1.3.6", "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", @@ -19704,7 +19521,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, "engines": { "node": ">=6" } @@ -19819,7 +19635,6 @@ "version": "3.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", - "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -20203,20 +20018,6 @@ "node": ">=10" } }, - "node_modules/node-abi/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/node-abort-controller": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", @@ -20226,8 +20027,7 @@ "node_modules/node-addon-api": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", - "dev": true + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==" }, "node_modules/node-cron": { "version": "3.0.2", @@ -20299,7 +20099,6 @@ "version": "4.6.0", "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", - "dev": true, "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -20315,8 +20114,7 @@ "node_modules/node-machine-id": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/node-machine-id/-/node-machine-id-1.1.12.tgz", - "integrity": "sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==", - "dev": true + "integrity": "sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==" }, "node_modules/node-releases": { "version": "2.0.13", @@ -20371,7 +20169,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, "dependencies": { "path-key": "^3.0.0" }, @@ -20400,7 +20197,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/nx/-/nx-16.8.1.tgz", "integrity": "sha512-K5KrwNdPz0eEe6SY5wrnhZcigjfIJkttPrIJRXNBQTE50NGcOfz1TjMXPdTWBxBCCua5PAealO3OrE8jpv+QnQ==", - "dev": true, "hasInstallScript": true, "dependencies": { "@nrwl/tao": "16.8.1", @@ -20471,14 +20267,12 @@ "node_modules/nx/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "node_modules/nx/node_modules/axios": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", - "dev": true, "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -20489,7 +20283,6 @@ "version": "16.3.1", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", - "dev": true, "engines": { "node": ">=12" }, @@ -20501,7 +20294,6 @@ "version": "11.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", - "dev": true, "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -20515,7 +20307,6 @@ "version": "7.1.4", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", - "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -20532,7 +20323,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, "dependencies": { "argparse": "^2.0.1" }, @@ -20544,7 +20334,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==", - "dev": true, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } @@ -20552,14 +20341,12 @@ "node_modules/nx/node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "dev": true + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, "node_modules/nx/node_modules/semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", - "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -20574,7 +20361,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, "engines": { "node": ">=4" } @@ -20583,7 +20369,6 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz", "integrity": "sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==", - "dev": true, "dependencies": { "json5": "^2.2.2", "minimist": "^1.2.6", @@ -20597,7 +20382,6 @@ "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, "engines": { "node": ">=12" } @@ -20774,7 +20558,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, "dependencies": { "mimic-fn": "^2.1.0" }, @@ -20789,7 +20572,6 @@ "version": "8.4.0", "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", - "dev": true, "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", @@ -21078,7 +20860,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -21087,7 +20868,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, "engines": { "node": ">=8" } @@ -21262,6 +21042,11 @@ "tslib": "2.4.0" } }, + "node_modules/popmotion/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/portfinder": { "version": "1.0.32", "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz", @@ -21499,21 +21284,6 @@ "webpack": "^5.0.0" } }, - "node_modules/postcss-loader/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/postcss-merge-longhand": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-6.0.0.tgz", @@ -23199,7 +22969,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" @@ -23236,7 +23005,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, "dependencies": { "glob": "^7.1.3" }, @@ -23977,15 +23745,6 @@ "postcss": "^8.2.15" } }, - "node_modules/rollup-plugin-postcss/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/rollup-plugin-postcss/node_modules/stylehacks": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.1.tgz", @@ -24108,21 +23867,6 @@ "semver": "bin/semver.js" } }, - "node_modules/rollup-plugin-typescript2/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/rollup-pluginutils": { "version": "2.8.2", "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", @@ -24392,10 +24136,9 @@ } }, "node_modules/semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", - "dev": true, + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -24602,20 +24345,6 @@ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.0.0.tgz", "integrity": "sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==" }, - "node_modules/sharp/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -24906,6 +24635,14 @@ "uuid": "dist/bin/uuid" } }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", @@ -24957,15 +24694,6 @@ "source-map": "^0.6.0" } }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", @@ -25417,7 +25145,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", - "dev": true, "dependencies": { "duplexer": "^0.1.1", "minimist": "^1.2.0", @@ -25469,6 +25196,11 @@ "tslib": "2.4.0" } }, + "node_modules/style-value-types/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/styled-jsx": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz", @@ -25682,12 +25414,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/synckit/node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", - "dev": true - }, "node_modules/tailwind-scrollbar": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/tailwind-scrollbar/-/tailwind-scrollbar-2.0.1.tgz", @@ -25942,14 +25668,6 @@ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" }, - "node_modules/terser/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/terser/node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -26119,8 +25837,7 @@ "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "node_modules/through2": { "version": "4.0.2", @@ -26161,7 +25878,6 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dev": true, "dependencies": { "rimraf": "^3.0.0" }, @@ -26301,21 +26017,6 @@ } } }, - "node_modules/ts-jest/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/ts-jest/node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", @@ -26458,9 +26159,9 @@ } }, "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -26655,6 +26356,18 @@ "node": ">=14.17" } }, + "node_modules/uglify-js": { + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", @@ -26860,7 +26573,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, "engines": { "node": ">= 10.0.0" } @@ -27132,8 +26844,7 @@ "node_modules/v8-compile-cache": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", @@ -27813,6 +27524,11 @@ "node": ">=0.10.0" } }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + }, "node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -28072,6 +27788,19 @@ "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", "dev": true }, + "@actions/exec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "requires": { + "@actions/io": "^1.0.1" + } + }, + "@actions/io": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", + "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" + }, "@adobe/css-tools": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.1.tgz", @@ -30950,15 +30679,6 @@ "istanbul-lib-coverage": "^3.2.0", "semver": "^7.5.4" } - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } } } }, @@ -31106,16 +30826,6 @@ "@ledgerhq/logs": "^6.10.1", "rxjs": "6", "semver": "^7.3.5" - }, - "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "@ledgerhq/errors": { @@ -31575,7 +31285,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.8.1.tgz", "integrity": "sha512-Y7yYDh62Hi4q99Q4+ipIQ3K9iLuAld3WcwjLv6vtl6Livu+TU3eqbraBEno7DQL8JuIuwgBT4lX7Bp3w3N9RDg==", - "dev": true, "requires": { "@nx/devkit": "16.8.1" } @@ -31665,7 +31374,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-16.8.1.tgz", "integrity": "sha512-hgGFLyEgONSofxnJsXN9NlUx4J8/YSLUkfZKdR8Qa97+JGZT8FEuk7NLFJOWdYYqROoCzXLHK0d+twFFNPS5BQ==", - "dev": true, "requires": { "nx": "16.8.1", "tslib": "^2.3.0" @@ -31698,6 +31406,35 @@ "@nx/workspace": "16.8.1" } }, + "@nx-tools/core": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@nx-tools/core/-/core-5.0.3.tgz", + "integrity": "sha512-Ao3hmQ9DC+E8d2bdR2xqix0cmHsCrZxe0GDNZfOgfCde1tUppPJ2Po/m3iFxI5gEFWuEEsCQFm9CRtaMuyc1Dg==", + "requires": { + "@actions/exec": "1.1.1", + "chalk": "4.1.2", + "ci-info": "3.8.0" + } + }, + "@nx-tools/nx-container": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@nx-tools/nx-container/-/nx-container-5.0.3.tgz", + "integrity": "sha512-jihsDiLlPNrf0obWMovAZ0ZwlD4lKCtzqP0KTw0j2cltmYyeAA6py05hHpQ+iDmx1z0c4935QYTN9RmJWzduZw==", + "requires": { + "@nx-tools/core": "5.0.3", + "csv-parse": "5.4.0", + "handlebars": "4.7.7", + "semver": "7.5.4", + "tmp": "0.2.1" + }, + "dependencies": { + "csv-parse": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.4.0.tgz", + "integrity": "sha512-JiQosUWiOFgp4hQn0an+SBoV9IKdqzhROM0iiN4LB7UpfJBlsSJlWl9nq4zGgxgMAzHJ6V4t29VAVD+3+2NJAg==" + } + } + }, "@nx/cypress": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/cypress/-/cypress-16.8.1.tgz", @@ -31729,7 +31466,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.8.1.tgz", "integrity": "sha512-I+Cg+lXk0wRz6KC9FZbWFuJWQTXAt5O3bNl9ksISmzqmEyuy72Cv+/MBHvF7o54Sq80DNw+RKWB1re5HFOsqCA==", - "dev": true, "requires": { "@nrwl/devkit": "16.8.1", "ejs": "^3.1.7", @@ -31744,7 +31480,6 @@ "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", - "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -31991,70 +31726,60 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.8.1.tgz", "integrity": "sha512-xOflqyIVcyLPzdJOZcucI+5ClwnTgK8zIvpjbxHokrO9McJJglhfUyP0bbTHpEpWqzA+GaPA/6/Qdu0ATzqQBQ==", - "dev": true, "optional": true }, "@nx/nx-darwin-x64": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.8.1.tgz", "integrity": "sha512-JJGrlOvEpDMWnM6YKaA1WOnzHgiw5vRKEowX9ba+jxhmCvtdjbLSxi228kv92JtQPPQ91zvtsNM+BFY0EbPOlA==", - "dev": true, "optional": true }, "@nx/nx-freebsd-x64": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.8.1.tgz", "integrity": "sha512-aZdJQ7cIQfXOmfk4vRXvVYxuV68xz8YyhNZ0IvBfJ16uZQ+YNl4BpklRLEIdaloSbwz9M1NNewmL+AgklEBxlA==", - "dev": true, "optional": true }, "@nx/nx-linux-arm-gnueabihf": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.8.1.tgz", "integrity": "sha512-JzjrTf7FFgikoVUbRs0hKvwHRR6SyqT4yIdk/YyiCt2mWY9w4m5DWtHM/9kJzhckkH9MY66m+X/zG6+NKsEMvg==", - "dev": true, "optional": true }, "@nx/nx-linux-arm64-gnu": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.8.1.tgz", "integrity": "sha512-CF0s981myBWusW7iW2+fKPa7ceYYe+NO5EdKe9l27fpHDkcA71KZU3q7U823QpO/7tYvVdBevJp3CCn2/GBURQ==", - "dev": true, "optional": true }, "@nx/nx-linux-arm64-musl": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.8.1.tgz", "integrity": "sha512-X4TobxRt1dALvoeKC3/t1CqZCMUqtEhGG+KQLT/51sG54HdxmTAWRFlvj8PvLH0QSBk4e+uRZAo45qpt3iSnBg==", - "dev": true, "optional": true }, "@nx/nx-linux-x64-gnu": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.8.1.tgz", "integrity": "sha512-lHvv2FD14Lpxh7muMLStH2tC1opQOaepO4nXwb1LaaoIpMym7kBgCK8AQuI98/oNQiMDXMNDKWQZCjxnJGDIPw==", - "dev": true, "optional": true }, "@nx/nx-linux-x64-musl": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.8.1.tgz", "integrity": "sha512-c4gQvNgIjggD1A5sYhftQEC1PtAhV3sEnv60X00v9wmjl57Wj4Ty0TgyzpYglLysVRiko/B58S8NYS0jKvMmeA==", - "dev": true, "optional": true }, "@nx/nx-win32-arm64-msvc": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.8.1.tgz", "integrity": "sha512-GKHPy/MyGFoV9cdKgcWLZZK2vDdxt5bQ53ss0k+BDKRP+YwLKm7tJl23eeM7JdB4GLCBntEQPC+dBqxOA8Ze/w==", - "dev": true, "optional": true }, "@nx/nx-win32-x64-msvc": { "version": "16.8.1", "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.8.1.tgz", "integrity": "sha512-yHZ5FAcx54rVc31R0yIpniepkHMPwaxG23l8E/ZYbL1iPwE/Wc1HeUzUvxUuSXtguRp7ihcRhaUEPkcSl2EAVw==", - "dev": true, "optional": true }, "@nx/react": { @@ -32229,7 +31954,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", - "dev": true, "requires": { "node-addon-api": "^3.2.1", "node-gyp-build": "^4.3.0" @@ -33521,7 +33245,7 @@ "version": "1.3.21", "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.21.tgz", "integrity": "sha512-RTmqkm5e5sb+Q+YbyqiE52xjvX+kcIVDgaSdSD7mNy2opgDfIdFMhExmB8UQStt3TLrlpAslWaFNWNmvaHP9rg==", - "dev": true, + "devOptional": true, "requires": { "@swc/core-darwin-arm64": "1.3.21", "@swc/core-darwin-x64": "1.3.21", @@ -34431,17 +34155,6 @@ "natural-compare-lite": "^1.4.0", "semver": "^7.3.7", "tsutils": "^3.21.0" - }, - "dependencies": { - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "@typescript-eslint/parser": { @@ -34497,17 +34210,6 @@ "is-glob": "^4.0.3", "semver": "^7.3.7", "tsutils": "^3.21.0" - }, - "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "@typescript-eslint/utils": { @@ -34531,15 +34233,6 @@ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==", "dev": true - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } } } }, @@ -35007,14 +34700,12 @@ "@yarnpkg/lockfile": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", - "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", - "dev": true + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==" }, "@yarnpkg/parsers": { "version": "3.0.0-rc.46", "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz", "integrity": "sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==", - "dev": true, "requires": { "js-yaml": "^3.10.0", "tslib": "^2.4.0" @@ -35024,7 +34715,6 @@ "version": "0.0.6", "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", - "dev": true, "requires": { "argparse": "^2.0.1" }, @@ -35032,8 +34722,7 @@ "argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" } } }, @@ -35401,8 +35090,7 @@ "async": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", - "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", - "dev": true + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" }, "asynckit": { "version": "0.4.0", @@ -35575,19 +35263,6 @@ "@types/babel__traverse": "^7.0.6" } }, - "babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "optional": true, - "peer": true, - "requires": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - } - }, "babel-plugin-polyfill-corejs2": { "version": "0.4.5", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz", @@ -35818,7 +35493,6 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -36056,9 +35730,9 @@ "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==" }, "ci-info": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz", - "integrity": "sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==" + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz", + "integrity": "sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==" }, "cjs-module-lexer": { "version": "1.2.3", @@ -36089,7 +35763,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, "requires": { "restore-cursor": "^3.1.0" } @@ -36097,8 +35770,7 @@ "cli-spinners": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", - "dev": true + "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==" }, "cli-table3": { "version": "0.6.1", @@ -36140,7 +35812,6 @@ "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, "requires": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -36151,7 +35822,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -36373,8 +36043,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-with-sourcemaps": { "version": "1.1.0", @@ -36383,14 +36052,6 @@ "dev": true, "requires": { "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } } }, "confusing-browser-globals": { @@ -36674,17 +36335,6 @@ "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", "semver": "^7.3.8" - }, - "dependencies": { - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "css-minimizer-webpack-plugin": { @@ -37014,15 +36664,6 @@ "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -37372,8 +37013,7 @@ "define-lazy-prop": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "dev": true + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==" }, "define-properties": { "version": "1.2.0", @@ -37619,8 +37259,7 @@ "dotenv-expand": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz", - "integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==", - "dev": true + "integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==" }, "dotenv-webpack": { "version": "7.1.0", @@ -37633,8 +37272,7 @@ "duplexer": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", - "dev": true + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" }, "earcut": { "version": "2.2.4", @@ -37659,7 +37297,6 @@ "version": "3.1.9", "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz", "integrity": "sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==", - "dev": true, "requires": { "jake": "^10.8.5" } @@ -37888,14 +37525,6 @@ "esutils": "^2.0.2", "optionator": "^0.8.1", "source-map": "~0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true - } } }, "eslint": { @@ -38671,7 +38300,6 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", - "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -38737,7 +38365,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, "requires": { "escape-string-regexp": "^1.0.5" } @@ -38773,7 +38400,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, "requires": { "minimatch": "^5.0.1" }, @@ -38782,7 +38408,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, "requires": { "balanced-match": "^1.0.0" } @@ -38791,7 +38416,6 @@ "version": "5.1.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, "requires": { "brace-expansion": "^2.0.1" } @@ -38926,8 +38550,7 @@ "flat": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "dev": true + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" }, "flat-cache": { "version": "3.0.4", @@ -38998,15 +38621,6 @@ "jsonfile": "^6.0.1", "universalify": "^2.0.0" } - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } } } }, @@ -39077,6 +38691,13 @@ "popmotion": "11.0.5", "style-value-types": "5.1.2", "tslib": "2.4.0" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "framesync": { @@ -39085,6 +38706,13 @@ "integrity": "sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==", "requires": { "tslib": "2.4.0" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "fresh": { @@ -39123,8 +38751,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { "version": "2.3.2", @@ -39263,7 +38890,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -39413,6 +39039,18 @@ "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, + "handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "requires": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4", + "wordwrap": "^1.0.0" + } + }, "har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", @@ -39847,7 +39485,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -40057,8 +39694,7 @@ "is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" }, "is-extendable": { "version": "0.1.1", @@ -40317,7 +39953,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, "requires": { "is-docker": "^2.0.0" } @@ -40390,14 +40025,6 @@ "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } } }, "istanbul-reports": { @@ -40414,7 +40041,6 @@ "version": "10.8.7", "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", "integrity": "sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==", - "dev": true, "requires": { "async": "^3.2.3", "chalk": "^4.0.2", @@ -40426,7 +40052,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -40899,12 +40524,6 @@ "source-map-support": "0.5.13" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, "source-map-support": { "version": "0.5.13", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", @@ -40991,15 +40610,6 @@ "ansi-styles": "^5.0.0", "react-is": "^18.0.0" } - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } } } }, @@ -41191,8 +40801,7 @@ "json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==" }, "jsonc-eslint-parser": { "version": "2.3.0", @@ -41204,30 +40813,17 @@ "eslint-visitor-keys": "^3.0.0", "espree": "^9.0.0", "semver": "^7.3.5" - }, - "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "jsonc-parser": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, "requires": { "graceful-fs": "^4.1.6", "universalify": "^2.0.0" @@ -41369,13 +40965,6 @@ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "optional": true - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true } } }, @@ -41653,17 +41242,6 @@ "dev": true, "requires": { "semver": "^7.5.3" - }, - "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "make-error": { @@ -42424,8 +42002,7 @@ "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "mimic-response": { "version": "3.1.0", @@ -42503,7 +42080,6 @@ "version": "3.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", - "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -42767,16 +42343,6 @@ "integrity": "sha512-qWO5l3SCqbwQavymOmtTVuCWZE23++S+rxyoHjXqUmPyzRcaoI4lA2gO55/drddGnedAyjA7sk76SfQ5lfUMnw==", "requires": { "semver": "^7.3.5" - }, - "dependencies": { - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "node-abort-controller": { @@ -42788,8 +42354,7 @@ "node-addon-api": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", - "dev": true + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==" }, "node-cron": { "version": "3.0.2", @@ -42844,8 +42409,7 @@ "node-gyp-build": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", - "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", - "dev": true + "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==" }, "node-int64": { "version": "0.4.0", @@ -42856,8 +42420,7 @@ "node-machine-id": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/node-machine-id/-/node-machine-id-1.1.12.tgz", - "integrity": "sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==", - "dev": true + "integrity": "sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==" }, "node-releases": { "version": "2.0.13", @@ -42897,7 +42460,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, "requires": { "path-key": "^3.0.0" } @@ -42920,7 +42482,6 @@ "version": "16.8.1", "resolved": "https://registry.npmjs.org/nx/-/nx-16.8.1.tgz", "integrity": "sha512-K5KrwNdPz0eEe6SY5wrnhZcigjfIJkttPrIJRXNBQTE50NGcOfz1TjMXPdTWBxBCCua5PAealO3OrE8jpv+QnQ==", - "dev": true, "requires": { "@nrwl/tao": "16.8.1", "@nx/nx-darwin-arm64": "16.8.1", @@ -42973,14 +42534,12 @@ "argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "axios": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", - "dev": true, "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -42990,14 +42549,12 @@ "dotenv": { "version": "16.3.1", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", - "dev": true + "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==" }, "fs-extra": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", - "dev": true, "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -43008,7 +42565,6 @@ "version": "7.1.4", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", - "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -43022,7 +42578,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, "requires": { "argparse": "^2.0.1" } @@ -43030,20 +42585,17 @@ "lines-and-columns": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", - "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==", - "dev": true + "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==" }, "proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "dev": true + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, "semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", - "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -43051,14 +42603,12 @@ "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==" }, "tsconfig-paths": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz", "integrity": "sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==", - "dev": true, "requires": { "json5": "^2.2.2", "minimist": "^1.2.6", @@ -43068,8 +42618,7 @@ "yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" } } }, @@ -43194,7 +42743,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, "requires": { "mimic-fn": "^2.1.0" } @@ -43203,7 +42751,6 @@ "version": "8.4.0", "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", - "dev": true, "requires": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", @@ -43408,14 +42955,12 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" }, "path-parse": { "version": "1.0.7", @@ -43553,6 +43098,13 @@ "hey-listen": "^1.0.8", "style-value-types": "5.1.2", "tslib": "2.4.0" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "portfinder": { @@ -43692,17 +43244,6 @@ "cosmiconfig": "^7.0.0", "klona": "^2.0.5", "semver": "^7.3.5" - }, - "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } } }, "postcss-merge-longhand": { @@ -44885,7 +44426,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, "requires": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" @@ -44912,7 +44452,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, "requires": { "glob": "^7.1.3" } @@ -45415,12 +44954,6 @@ "postcss-selector-parser": "^6.0.5" } }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, "stylehacks": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.1.tgz", @@ -45509,15 +45042,6 @@ "dev": true } } - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } } } }, @@ -45711,10 +45235,9 @@ } }, "semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", - "dev": true, + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "requires": { "lru-cache": "^6.0.0" } @@ -45892,14 +45415,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.0.0.tgz", "integrity": "sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==" - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "requires": { - "lru-cache": "^6.0.0" - } } } }, @@ -46120,6 +45635,11 @@ } } }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + }, "source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", @@ -46155,14 +45675,6 @@ "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } } }, "sourcemap-codec": { @@ -46526,7 +46038,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", - "dev": true, "requires": { "duplexer": "^0.1.1", "minimist": "^1.2.0", @@ -46561,6 +46072,13 @@ "requires": { "hey-listen": "^1.0.8", "tslib": "2.4.0" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "styled-jsx": { @@ -46697,14 +46215,6 @@ "requires": { "@pkgr/utils": "^2.3.1", "tslib": "^2.5.0" - }, - "dependencies": { - "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", - "dev": true - } } }, "tailwind-scrollbar": { @@ -46851,11 +46361,6 @@ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - }, "source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -47020,8 +46525,7 @@ "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "through2": { "version": "4.0.2", @@ -47062,7 +46566,6 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dev": true, "requires": { "rimraf": "^3.0.0" } @@ -47149,15 +46652,6 @@ "yargs-parser": "^21.0.1" }, "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, "yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", @@ -47259,9 +46753,9 @@ } }, "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "tsutils": { "version": "3.21.0", @@ -47402,6 +46896,12 @@ "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", "devOptional": true }, + "uglify-js": { + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "optional": true + }, "unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", @@ -47544,8 +47044,7 @@ "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" }, "unpipe": { "version": "1.0.0", @@ -47702,8 +47201,7 @@ "v8-compile-cache": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" }, "v8-compile-cache-lib": { "version": "3.0.1", @@ -48207,6 +47705,11 @@ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", diff --git a/package.json b/package.json index 9963baea8..3ee1a92b7 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "@next/font": "13.1.1", "@next/mdx": "^12.1.6", "@notionhq/client": "^2.2.8", + "@nx-tools/nx-container": "^5.0.3", "@radix-ui/react-accordion": "^1.0.0", "@radix-ui/react-alert-dialog": "^1.0.0", "@radix-ui/react-avatar": "^1.0.0", @@ -113,7 +114,7 @@ "swr": "^2.1.1", "tailwindcss-shadow-fill": "^1.0.1", "tailwindcss-text-fill": "^0.2.0", - "tslib": "^2.3.0", + "tslib": "^2.6.2", "typed.js": "^2.0.12", "use-debounce": "^9.0.3", "use-local-storage-state": "^18.3.3", @@ -127,7 +128,6 @@ "@commitlint/cli": "^16.2.4", "@commitlint/config-angular": "^16.2.4", "@commitlint/config-conventional": "^16.2.4", - "@nx/rollup": "16.8.1", "@nx/cypress": "16.8.1", "@nx/eslint-plugin": "16.8.1", "@nx/express": "16.8.1", @@ -137,6 +137,7 @@ "@nx/next": "16.8.1", "@nx/node": "16.8.1", "@nx/react": "16.8.1", + "@nx/rollup": "16.8.1", "@nx/web": "16.8.1", "@nx/webpack": "16.8.1", "@nx/workspace": "16.8.1", diff --git a/renterd/assets/_next/static/css/59f12614809759b8.css b/renterd/assets/_next/static/css/59f12614809759b8.css index 71c9e0c15..617299e15 100644 --- a/renterd/assets/_next/static/css/59f12614809759b8.css +++ b/renterd/assets/_next/static/css/59f12614809759b8.css @@ -1,3 +1,5620 @@ /* ! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #f1f3f5}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--font-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#e6e8eb}input::placeholder,textarea::placeholder{opacity:1;color:#e6e8eb}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:auto;scrollbar-width:auto}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.\!absolute{position:absolute!important}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-right-\[2px\]{right:-2px}.top-px{top:1px}.-right-\[9px\]{right:-9px}.-top-1{top:-.25rem}.bottom-5{bottom:1.25rem}.left-1\/2{left:50%}.top-\[200px\]{top:200px}.right-5{right:1.25rem}.top-5{top:1.25rem}.left-6{left:1.5rem}.top-0{top:0}.left-0{left:0}.right-0{right:0}.bottom-0{bottom:0}.top-\[-50px\]{top:-50px}.-top-px{top:-1px}.-top-0\.5{top:-.125rem}.-top-0{top:0}.top-\[-30px\]{top:-30px}.top-0\.5{top:.125rem}.right-2{right:.5rem}.right-3{right:.75rem}.top-3\.5{top:.875rem}.top-3{top:.75rem}.-top-\[100px\]{top:-100px}.top-1{top:.25rem}.-left-7{left:-1.75rem}.top-\[-4px\]{top:-4px}.-top-\[5px\]{top:-5px}.bottom-\[100\%\]{bottom:100%}.left-1\.5{left:.375rem}.left-1{left:.25rem}.top-\[100\%\]{top:100%}.left-2{left:.5rem}.-bottom-2\.5{bottom:-.625rem}.-bottom-2{bottom:-.5rem}.top-\[-0\.5px\]{top:-.5px}.right-4{right:1rem}.left-4{left:1rem}.z-30{z-index:30}.z-20{z-index:20}.z-0{z-index:0}.z-10{z-index:10}.-z-10{z-index:-10}.z-40{z-index:40}.z-50{z-index:50}.-m-4{margin:-1rem}.\!-m-2{margin:-.5rem!important}.m-0{margin:0}.m-px{margin:1px}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-1\.5{margin-top:.375rem;margin-bottom:.375rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mb-2{margin-bottom:.5rem}.mt-5{margin-top:1.25rem}.mb-3{margin-bottom:.75rem}.mt-\[5px\]{margin-top:5px}.mb-1{margin-bottom:.25rem}.mt-8{margin-top:2rem}.ml-1{margin-left:.25rem}.ml-px{margin-left:1px}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mb-5{margin-bottom:1.25rem}.mt-1\.5{margin-top:.375rem}.mb-0\.5{margin-bottom:.125rem}.mb-0{margin-bottom:0}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1{height:.25rem}.h-\[100px\]{height:100px}.h-\[20px\]{height:20px}.h-\[120px\]{height:120px}.h-\[400px\]{height:400px}.h-full{height:100%}.\!h-\[400px\]{height:400px!important}.h-\[70\%\]{height:70%}.h-\[200px\]{height:200px}.h-\[300px\]{height:300px}.h-\[200vh\]{height:200vh}.h-14{height:3.5rem}.h-2{height:.5rem}.h-\[210px\]{height:210px}.h-7{height:1.75rem}.h-6{height:1.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-10{height:2.5rem}.h-\[50px\]{height:50px}.h-\[14px\]{height:14px}.h-16{height:4rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-8{height:2rem}.h-px{height:1px}.h-3{height:.75rem}.h-5{height:1.25rem}.h-\[30px\]{height:30px}.h-screen{height:100vh}.h-1\.5{height:.375rem}.max-h-\[600px\]{max-height:600px}.max-h-\[400px\]{max-height:400px}.max-h-\[70vh\]{max-height:70vh}.min-h-\[80px\]{min-height:80px}.w-1{width:.25rem}.w-\[400px\]{width:400px}.w-\[500px\]{width:500px}.w-full{width:100%}.w-\[160px\]{width:160px}.w-\[100px\]{width:100px}.w-\[450px\]{width:450px}.w-60{width:15rem}.w-\[50px\]{width:50px}.w-\[120px\]{width:120px}.w-5{width:1.25rem}.w-\[200vw\]{width:200vw}.w-\[300px\]{width:300px}.w-fit{width:-moz-fit-content;width:fit-content}.w-2{width:.5rem}.w-\[800px\]{width:800px}.w-\[210px\]{width:210px}.w-\[150px\]{width:150px}.w-\[200px\]{width:200px}.w-\[60px\]{width:60px}.w-\[90\%\]{width:90%}.w-\[140px\]{width:140px}.w-6{width:1.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-4{width:1rem}.w-1\.5{width:.375rem}.w-3{width:.75rem}.w-11{width:2.75rem}.w-\[220px\]{width:220px}.w-\[75px\]{width:75px}.w-px{width:1px}.w-\[250px\]{width:250px}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-\[200px\]{min-width:200px}.min-w-\[250px\]{min-width:250px}.max-w-screen-xl{max-width:1280px}.max-w-\[300px\]{max-width:300px}.max-w-\[500px\]{max-width:500px}.\!max-w-md{max-width:28rem!important}.max-w-\[600px\]{max-width:600px}.\!max-w-\[1200px\]{max-width:1200px!important}.max-w-screen-sm{max-width:640px}.max-w-screen-md{max-width:768px}.max-w-\[1145px\]{max-width:1145px}.max-w-screen-2xl{max-width:1536px}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.max-w-\[800px\]{max-width:800px}.\!max-w-none{max-width:none!important}.flex-1{flex:1 1 0%}.\!flex-none{flex:none!important}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-auto{table-layout:auto}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-px{--tw-translate-x:1px}.translate-x-0\.5,.translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0\.5{--tw-translate-x:0.125rem}.translate-x-0{--tw-translate-x:0px}.scale-75,.translate-x-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.scale-\[200\%\]{--tw-scale-x:200%;--tw-scale-y:200%}.scale-50,.scale-\[200\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-50{--tw-scale-x:.5;--tw-scale-y:.5}.scale-\[0\.65\]{--tw-scale-x:0.65;--tw-scale-y:0.65}.scale-90,.scale-\[0\.65\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x:.9;--tw-scale-y:.9}.scale-150{--tw-scale-x:1.5;--tw-scale-y:1.5}.scale-150,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pingslow{0%{transform:scale(1);opacity:1}60%{transform:scale(1);opacity:1}90%{transform:scale(2);opacity:0}to{transform:scale(2);opacity:0}}.animate-pingslow{animation:pingslow 3s infinite}@keyframes pulselight{30%{opacity:1}50%{opacity:.2}70%{opacity:1}}.animate-pulselight{animation:pulselight 3s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-text{cursor:text}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-y{resize:vertical}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-16{gap:4rem}.gap-10{gap:2.5rem}.gap-6{gap:1.5rem}.gap-12{gap:3rem}.gap-7{gap:1.75rem}.gap-5{gap:1.25rem}.gap-1\.5{gap:.375rem}.gap-0\.5{gap:.125rem}.gap-0{gap:0}.gap-8{gap:2rem}.gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.gap-y-4{row-gap:1rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-10{row-gap:2.5rem}.gap-y-12{row-gap:3rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-1{row-gap:.25rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded-full{border-radius:9999px}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.\!rounded-none{border-radius:0!important}.rounded-sm{border-radius:.125rem}.rounded-md{border-radius:.375rem}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-y-0{border-top-width:0;border-bottom-width:0}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-b-3{border-bottom-width:3px}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-none{border-style:none}.border-gray-200{--tw-border-opacity:1;border-color:hsl(209 13.3% 95.3%/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:hsl(208 11.3% 88.9%/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:hsl(209 12.2% 93.2%/var(--tw-border-opacity))}.border-accent-900{--tw-border-opacity:1;border-color:rgb(5 107 36/var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:hsl(207 11.1% 85.9%/var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:hsl(208 11.7% 91.1%/var(--tw-border-opacity))}.border-gray-200\/50{border-color:rgba(241,243,245,.5)}.border-gray-900{--tw-border-opacity:1;border-color:hsl(206 5.8% 52.3%/var(--tw-border-opacity))}.border-green-800\/30{border-color:rgba(22,101,52,.3)}.border-red-800\/30{border-color:rgba(153,27,27,.3)}.border-amber-800\/30{border-color:rgba(146,64,14,.3)}.border-gray-400\/70{border-color:rgba(230,232,235,.7)}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:hsl(210 16.7% 97.6%/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-blue-500\/50{border-color:rgba(59,130,246,.5)}.border-green-500\/50{border-color:rgba(34,197,94,.5)}.border-amber-500\/50{border-color:rgba(245,158,11,.5)}.bg-gray-1000{--tw-bg-opacity:1;background-color:hsl(206 6% 43.5%/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:hsl(209 13.3% 95.3%/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:hsl(206 30% 98.8%/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:hsl(208 11.3% 88.9%/var(--tw-bg-opacity))}.bg-accent-800{--tw-bg-opacity:1;background-color:rgb(5 135 45/var(--tw-bg-opacity))}.bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity))}.bg-green-100\/20{background-color:rgba(220,252,231,.2)}.bg-slate-400{--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:hsl(210 16.7% 97.6%/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-gray-900{--tw-bg-opacity:1;background-color:hsl(206 5.8% 52.3%/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:hsl(206 6% 56.1%/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:hsl(209 12.2% 93.2%/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-amber-700{--tw-bg-opacity:1;background-color:rgb(180 83 9/var(--tw-bg-opacity))}.bg-accent-200{--tw-bg-opacity:1;background-color:rgb(213 242 222/var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:hsl(205 10.7% 78%/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-black\/70{background-color:rgba(0,0,0,.7)}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity:1;background-color:rgb(134 239 172/var(--tw-bg-opacity))}.bg-amber-300{--tw-bg-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-white{--tw-gradient-from:#fff;--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-white\/95{--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.95),var(--tw-gradient-to)}.to-white{--tw-gradient-to:#fff}.fill-white{fill:#fff}.fill-gray-1100{fill:#11181c}.fill-gray-600{fill:#d7dbdf}.object-cover{-o-object-fit:cover;object-fit:cover}.p-4{padding:1rem}.p-3\.5{padding:.875rem}.p-3{padding:.75rem}.\!p-1{padding:.25rem!important}.p-6{padding:1.5rem}.p-5{padding:1.25rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-\[5px\]{padding:5px}.p-0{padding:0}.p-px{padding:1px}.py-px{padding-top:1px;padding-bottom:1px}.px-\[5px\]{padding-left:5px;padding-right:5px}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.\!px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-0{padding-top:0;padding-bottom:0}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-0\.5{padding-bottom:.125rem}.pb-0{padding-bottom:0}.pb-6{padding-bottom:1.5rem}.\!pl-2{padding-left:.5rem!important}.\!pr-4{padding-right:1rem!important}.\!pr-2{padding-right:.5rem!important}.pb-1{padding-bottom:.25rem}.pt-0\.5{padding-top:.125rem}.pb-px{padding-bottom:1px}.pt-0{padding-top:0}.pb-10{padding-bottom:2.5rem}.pl-2{padding-left:.5rem}.pr-3{padding-right:.75rem}.pl-6{padding-left:1.5rem}.pl-4{padding-left:1rem}.pr-6{padding-right:1.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.pb-3{padding-bottom:.75rem}.pr-9{padding-right:2.25rem}.pl-1{padding-left:.25rem}.pt-4{padding-top:1rem}.pb-2{padding-bottom:.5rem}.pl-5{padding-left:1.25rem}.pr-2{padding-right:.5rem}.pl-0{padding-left:0}.pr-1{padding-right:.25rem}.pt-6{padding-top:1.5rem}.pt-40{padding-top:10rem}.pr-5{padding-right:1.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-xxs{font-size:.625rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-extrabold{font-weight:800}.font-light{font-weight:300}.uppercase{text-transform:uppercase}.proportional-nums{--tw-numeric-spacing:proportional-nums}.proportional-nums,.tabular-nums{font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing:tabular-nums}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.text-gray-1100{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:hsl(206 5.8% 52.3%/var(--tw-text-opacity))}.text-gray-1100\/30{color:rgba(17,24,28,.3)}.\!text-gray-700{--tw-text-opacity:1!important;color:hsl(205 10.7% 78%/var(--tw-text-opacity))!important}.\!text-gray-1000{--tw-text-opacity:1!important;color:hsl(206 6% 43.5%/var(--tw-text-opacity))!important}.\!text-gray-1100{--tw-text-opacity:1!important;color:hsl(206 24% 9%/var(--tw-text-opacity))!important}.\!text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.\!text-accent-1100{--tw-text-opacity:1!important;color:rgb(1 31 10/var(--tw-text-opacity))!important}.\!text-red-700{--tw-text-opacity:1!important;color:rgb(185 28 28/var(--tw-text-opacity))!important}.\!text-emerald-700{--tw-text-opacity:1!important;color:rgb(4 120 87/var(--tw-text-opacity))!important}.\!text-amber-600{--tw-text-opacity:1!important;color:rgb(217 119 6/var(--tw-text-opacity))!important}.text-accent-1100{--tw-text-opacity:1;color:rgb(1 31 10/var(--tw-text-opacity))}.text-gray-1000{--tw-text-opacity:1;color:hsl(206 6% 43.5%/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.decoration-accentdark-900{text-decoration-color:#069f35}.decoration-accent-900{text-decoration-color:#056b24}.decoration-gray-1100{text-decoration-color:#11181c}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.underline-offset-2{text-underline-offset:2px}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-30{opacity:.3}.opacity-95{opacity:.95}.opacity-0{opacity:0}.opacity-70{opacity:.7}.opacity-\[10\%\]{opacity:10%}.mix-blend-difference{mix-blend-mode:difference}.shadow-border-b{--tw-shadow:inset 0 -1px rgba(0,0,0,.3);--tw-shadow-colored:inset 0 -1px var(--tw-shadow-color)}.shadow,.shadow-border-b{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow-border-y{--tw-shadow:inset 0 1px 0 0 rgba(0,0,0,.3),inset 0 -1px 0 0 rgba(0,0,0,.3);--tw-shadow-colored:inset 0 1px 0 0 var(--tw-shadow-color),inset 0 -1px 0 0 var(--tw-shadow-color)}.shadow-border-y,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-gray-400{--tw-shadow-color:#e6e8eb;--tw-shadow:var(--tw-shadow-colored)}.\!shadow-blue-900{--tw-shadow-color:#1e3a8a!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-blue-500{--tw-shadow-color:#3b82f6!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-red-500{--tw-shadow-color:#ef4444!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-amber-500{--tw-shadow-color:#f59e0b!important;--tw-shadow:var(--tw-shadow-colored)!important}.\!shadow-green-500{--tw-shadow-color:#22c55e!important;--tw-shadow:var(--tw-shadow-colored)!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-blue-500{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.blur{--tw-blur:blur(8px)}.blur,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.duration-1000{transition-duration:1s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.scrollbar-thin.overflow-x-hidden,.scrollbar.overflow-x-hidden{overflow-x:hidden}#__next,#root,body,html{height:100vh;overflow:hidden}.placeholder\:text-gray-600::-moz-placeholder{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.placeholder\:text-gray-600::placeholder{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.placeholder\:text-gray-700::-moz-placeholder{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.placeholder\:text-gray-700::placeholder{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:top-1\/2:before{content:var(--tw-content);top:50%}.before\:left-1\/2:before{content:var(--tw-content);left:50%}.after\:block:after{content:var(--tw-content);display:block}.after\:h-2:after{content:var(--tw-content);height:.5rem}.after\:h-4:after{content:var(--tw-content);height:1rem}.after\:w-2:after{content:var(--tw-content);width:.5rem}.after\:w-4:after{content:var(--tw-content);width:1rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:bg-green-600:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.after\:content-\[\"\"\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-width:0}.first\:border-none:first-child{border-style:none}.first\:shadow-border-tlb:first-child{--tw-shadow:inset 0 1px 0 0 rgba(0,0,0,.3),inset 1px 0 0 0 rgba(0,0,0,.3),inset 0 -1px 0 0 rgba(0,0,0,.3);--tw-shadow-colored:inset 0 1px 0 0 var(--tw-shadow-color),inset 1px 0 0 0 var(--tw-shadow-color),inset 0 -1px 0 0 var(--tw-shadow-color)}.first\:shadow-border-tlb:first-child,.last\:shadow-border-trb:last-child{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.last\:shadow-border-trb:last-child{--tw-shadow:inset 0 1px 0 0 rgba(0,0,0,.3),inset -1px 0 0 0 rgba(0,0,0,.3),inset 0 -1px 0 0 rgba(0,0,0,.3);--tw-shadow-colored:inset 0 1px 0 0 var(--tw-shadow-color),inset -1px 0 0 0 var(--tw-shadow-color),inset 0 -1px 0 0 var(--tw-shadow-color)}.only\:left-0:only-child{left:0}.last-of-type\:border-b:last-of-type{border-bottom-width:1px}.autofill\:bg-blue-100:-webkit-autofill{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.autofill\:bg-blue-100:autofill{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.autofill\:bg-white:-webkit-autofill{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.autofill\:bg-white:autofill{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.autofill\:text-fill-gray-1100:-webkit-autofill{-webkit-text-fill-color:#11181c}.autofill\:text-fill-gray-1100:autofill{-webkit-text-fill-color:#11181c}.autofill\:shadow-fill-white:-webkit-autofill{--tw-shadow:0 0 0 9999px #fff inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.autofill\:shadow-fill-white:autofill{--tw-shadow:0 0 0 9999px #fff inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.autofill\:placeholder\:text-fill-gray-700:autofill::-moz-placeholder{-webkit-text-fill-color:#c1c8cd}.autofill\:placeholder\:text-fill-gray-700:-webkit-autofill::placeholder{-webkit-text-fill-color:#c1c8cd}.autofill\:placeholder\:text-fill-gray-700:autofill::placeholder{-webkit-text-fill-color:#c1c8cd}.focus-within\:z-10:focus-within{z-index:10}.focus-within\:ring:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:z-10:focus{z-index:10}.focus\:bg-gray-300:focus{--tw-bg-opacity:1;background-color:hsl(209 12.2% 93.2%/var(--tw-bg-opacity))}.focus\:text-gray-900:focus{--tw-text-opacity:1;color:hsl(206 5.8% 52.3%/var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.enabled\:border-green-800\/30:enabled{border-color:rgba(22,101,52,.3)}.enabled\:bg-green-700:enabled{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-auto:disabled{cursor:auto}.disabled\:cursor-default:disabled{cursor:default}.disabled\:border-green-600\/50:disabled{border-color:rgba(22,163,74,.5)}.disabled\:border-red-600\/50:disabled{border-color:rgba(220,38,38,.5)}.disabled\:border-amber-600\/50:disabled{border-color:rgba(217,119,6,.5)}.disabled\:bg-green-700\/70:disabled{background-color:rgba(21,128,61,.7)}.disabled\:bg-red-700\/70:disabled{background-color:rgba(185,28,28,.7)}.disabled\:bg-amber-700\/70:disabled{background-color:rgba(180,83,9,.7)}.disabled\:bg-gray-200:disabled{--tw-bg-opacity:1;background-color:hsl(209 13.3% 95.3%/var(--tw-bg-opacity))}.disabled\:text-white\/50:disabled{color:hsla(0,0%,100%,.5)}.disabled\:text-gray-600:disabled{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.disabled\:text-gray-400:disabled{--tw-text-opacity:1;color:hsl(208 11.7% 91.1%/var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:flex{display:flex}.group\/segments:hover .group-hover\/segments\:hidden{display:none}.group:hover .group-hover\:bg-blue-500\/10{background-color:rgba(59,130,246,.1)}.group:hover .group-hover\:bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-800{--tw-bg-opacity:1;background-color:hsl(206 6% 56.1%/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-blue-400{--tw-bg-opacity:1;background-color:rgb(96 165 250/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.group:hover .group-hover\:bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.aria-selected\:bg-gray-400[aria-selected=true]{--tw-bg-opacity:1;background-color:hsl(208 11.7% 91.1%/var(--tw-bg-opacity))}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=top\]\:bottom-1[data-side=top]{bottom:.25rem}.data-\[side\=bottom\]\:top-1[data-side=bottom]{top:.25rem}.data-\[side\=left\]\:right-1[data-side=left]{right:.25rem}.data-\[side\=right\]\:left-1[data-side=right]{left:.25rem}.data-\[side\=top\]\:origin-bottom[data-side=top]{transform-origin:bottom}.data-\[side\=left\]\:origin-right[data-side=left]{transform-origin:right}.data-\[side\=right\]\:origin-left[data-side=right]{transform-origin:left}.data-\[side\=bottom\]\:origin-top[data-side=bottom]{transform-origin:top}.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked]{--tw-translate-x:9px}.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked],.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked]{--tw-translate-x:20px}@keyframes enterFromLeft{0%{opacity:0;transform:translateX(-200px)}to{opacity:1;transform:translateX(0)}}.data-\[motion\=from-start\]\:animate-enterFromLeft[data-motion=from-start]{animation:enterFromLeft .25s ease}@keyframes enterFromRight{0%{opacity:0;transform:translateX(200px)}to{opacity:1;transform:translateX(0)}}.data-\[motion\=from-end\]\:animate-enterFromRight[data-motion=from-end]{animation:enterFromRight .25s ease}@keyframes exitToLeft{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-200px)}}.data-\[motion\=to-start\]\:animate-exitToLeft[data-motion=to-start]{animation:exitToLeft .25s ease}@keyframes exitToRight{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(200px)}}.data-\[motion\=to-end\]\:animate-exitToRight[data-motion=to-end]{animation:exitToRight .25s ease}.data-\[state\=active\]\:border-green-600[data-state=active]{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.data-\[state\=checked\]\:text-gray-1100[data-state=checked]{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.data-\[disabled\]\:text-gray-700[data-disabled]{--tw-text-opacity:1;color:hsl(205 10.7% 78%/var(--tw-text-opacity))}.data-\[state\=active\]\:text-accent-1100[data-state=active]{--tw-text-opacity:1;color:rgb(1 31 10/var(--tw-text-opacity))}.enabled\:data-\[state\=checked\]\:bg-green-600[data-state=checked]:enabled{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.enabled\:data-\[state\=checked\]\:ring[data-state=checked]:enabled{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.enabled\:data-\[state\=checked\]\:ring-green-600[data-state=checked]:enabled{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.disabled\:data-\[state\=checked\]\:bg-green-600\/50[data-state=checked]:disabled{background-color:rgba(22,163,74,.5)}.disabled\:data-\[state\=checked\]\:ring-green-600\/50[data-state=checked]:disabled{--tw-ring-color:rgba(22,163,74,.5)}.group[data-selected=true] .group-data-\[selected\=true\]\:text-gray-1000{--tw-text-opacity:1;color:hsl(206 6% 43.5%/var(--tw-text-opacity))}.open\:text-gray-1100[data-state=open]{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.open\:opacity-10[data-state=open]{opacity:.1}.hover\:z-10:hover{z-index:10}.hover\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-green-700:hover{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.hover\:border-green-500:hover{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.hover\:border-green-800\/50:hover{border-color:rgba(22,101,52,.5)}.hover\:border-red-800\/50:hover{border-color:rgba(153,27,27,.5)}.hover\:border-amber-800\/50:hover{border-color:rgba(146,64,14,.5)}.hover\:border-gray-500:hover{--tw-border-opacity:1;border-color:hsl(208 11.3% 88.9%/var(--tw-border-opacity))}.hover\:bg-green-100\/20:hover{background-color:rgba(220,252,231,.2)}.hover\:bg-green-800\/90:hover{background-color:rgba(22,101,52,.9)}.hover\:bg-red-800\/90:hover{background-color:rgba(153,27,27,.9)}.hover\:bg-amber-800\/90:hover{background-color:rgba(146,64,14,.9)}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:hsl(206 30% 98.8%/var(--tw-bg-opacity))}.hover\:bg-black\/20:hover{background-color:rgba(0,0,0,.2)}.hover\:text-gray-1100\/50:hover{color:rgba(17,24,28,.5)}.hover\:text-gray-1000:hover{--tw-text-opacity:1;color:hsl(206 6% 43.5%/var(--tw-text-opacity))}.hover\:text-gray-1100:hover{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.hover\:opacity-60:hover{opacity:.6}.hover\:shadow:hover{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.enabled\:hover\:border-green-800\/50:hover:enabled{border-color:rgba(22,101,52,.5)}.enabled\:hover\:border-red-800\/50:hover:enabled{border-color:rgba(153,27,27,.5)}.enabled\:hover\:border-amber-800\/50:hover:enabled{border-color:rgba(146,64,14,.5)}.enabled\:hover\:border-gray-500:hover:enabled{--tw-border-opacity:1;border-color:hsl(208 11.3% 88.9%/var(--tw-border-opacity))}.enabled\:hover\:border-gray-700:hover:enabled{--tw-border-opacity:1;border-color:hsl(205 10.7% 78%/var(--tw-border-opacity))}.enabled\:hover\:bg-green-800\/90:hover:enabled{background-color:rgba(22,101,52,.9)}.enabled\:hover\:bg-red-800\/90:hover:enabled{background-color:rgba(153,27,27,.9)}.enabled\:hover\:bg-amber-800\/90:hover:enabled{background-color:rgba(146,64,14,.9)}.enabled\:hover\:bg-gray-50:hover:enabled{--tw-bg-opacity:1;background-color:hsl(206 30% 98.8%/var(--tw-bg-opacity))}.enabled\:hover\:text-gray-1100:hover:enabled{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}@media (prefers-reduced-motion:reduce){.motion-reduce\:hidden{display:none}}.dark .dark\:border-graydark-300{--tw-border-opacity:1;border-color:hsl(198 6.6% 15.8%/var(--tw-border-opacity))}.dark .dark\:border-graydark-500{--tw-border-opacity:1;border-color:hsl(201 6.2% 20.5%/var(--tw-border-opacity))}.dark .dark\:border-accentdark-900{--tw-border-opacity:1;border-color:rgb(6 159 53/var(--tw-border-opacity))}.dark .dark\:border-graydark-600{--tw-border-opacity:1;border-color:hsl(203 6% 24.3%/var(--tw-border-opacity))}.dark .dark\:border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.dark .dark\:border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.dark .dark\:border-graydark-400{--tw-border-opacity:1;border-color:hsl(199 6.4% 17.9%/var(--tw-border-opacity))}.dark .dark\:border-graydark-200{--tw-border-opacity:1;border-color:hsl(197 6.8% 13.6%/var(--tw-border-opacity))}.dark .dark\:border-graydark-100{--tw-border-opacity:1;border-color:hsl(195 7.1% 11%/var(--tw-border-opacity))}.dark .dark\:border-white\/10{border-color:hsla(0,0%,100%,.1)}.dark .dark\:border-green-600\/70{border-color:rgba(22,163,74,.7)}.dark .dark\:border-red-600\/70{border-color:rgba(220,38,38,.7)}.dark .dark\:border-amber-600\/70{border-color:rgba(217,119,6,.7)}.dark .dark\:border-graydark-400\/70{border-color:rgba(43,47,49,.7)}.dark .dark\:border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.dark .dark\:border-green-400{--tw-border-opacity:1;border-color:rgb(74 222 128/var(--tw-border-opacity))}.dark .dark\:border-graydark-400\/50{border-color:rgba(43,47,49,.5)}.dark .dark\:border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.dark .dark\:border-blue-500\/50{border-color:rgba(59,130,246,.5)}.dark .dark\:border-green-500\/50{border-color:rgba(34,197,94,.5)}.dark .dark\:border-amber-500\/50{border-color:rgba(245,158,11,.5)}.dark .dark\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.dark .dark\:bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-50{--tw-bg-opacity:1;background-color:hsl(200 7% 8.8%/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-500{--tw-bg-opacity:1;background-color:hsl(201 6.2% 20.5%/var(--tw-bg-opacity))}.dark .dark\:bg-accentdark-800{--tw-bg-opacity:1;background-color:rgb(5 135 45/var(--tw-bg-opacity))}.dark .dark\:bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity))}.dark .dark\:bg-green-100\/20{background-color:rgba(220,252,231,.2)}.dark .dark\:bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-100{--tw-bg-opacity:1;background-color:hsl(195 7.1% 11%/var(--tw-bg-opacity))}.dark .dark\:bg-gray-800{--tw-bg-opacity:1;background-color:hsl(206 6% 56.1%/var(--tw-bg-opacity))}.dark .dark\:bg-transparent{background-color:transparent}.dark .dark\:bg-graydark-800{--tw-bg-opacity:1;background-color:hsl(206 6% 43.9%/var(--tw-bg-opacity))}.dark .dark\:bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.dark .dark\:bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.dark .dark\:bg-amber-700{--tw-bg-opacity:1;background-color:rgb(180 83 9/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-200{--tw-bg-opacity:1;background-color:hsl(197 6.8% 13.6%/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-400{--tw-bg-opacity:1;background-color:hsl(199 6.4% 17.9%/var(--tw-bg-opacity))}.dark .dark\:bg-accentdark-200{--tw-bg-opacity:1;background-color:rgb(6 40 17/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-700{--tw-bg-opacity:1;background-color:hsl(207 5.6% 31.6%/var(--tw-bg-opacity))}.dark .dark\:bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-300{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .dark\:bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}.dark .dark\:bg-amber-200{--tw-bg-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity))}.dark .dark\:bg-graydark-900{--tw-bg-opacity:1;background-color:hsl(206 5.2% 49.5%/var(--tw-bg-opacity))}.dark .dark\:bg-blue-300{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity))}.dark .dark\:bg-green-300{--tw-bg-opacity:1;background-color:rgb(134 239 172/var(--tw-bg-opacity))}.dark .dark\:bg-amber-300{--tw-bg-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity))}.dark .dark\:from-graydark-50{--tw-gradient-from:#151718;--tw-gradient-to:rgba(21,23,24,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark .dark\:via-graydark-100\/95{--tw-gradient-to:rgba(26,29,30,0);--tw-gradient-stops:var(--tw-gradient-from),rgba(26,29,30,.95),var(--tw-gradient-to)}.dark .dark\:to-graydark-50{--tw-gradient-to:#151718}.dark .dark\:fill-graydark-50{fill:#151718}.dark .dark\:fill-white{fill:#fff}.dark .dark\:fill-graydark-600{fill:#3a3f42}.dark .dark\:text-graydark-700{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .dark\:text-gray-1100{--tw-text-opacity:1;color:hsl(206 24% 9%/var(--tw-text-opacity))}.dark .dark\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\:text-white\/30{color:hsla(0,0%,100%,.3)}.dark .dark\:text-gray-300{--tw-text-opacity:1;color:hsl(209 12.2% 93.2%/var(--tw-text-opacity))}.dark .dark\:text-graydark-800{--tw-text-opacity:1;color:hsl(206 6% 43.9%/var(--tw-text-opacity))}.dark .dark\:\!text-graydark-700{--tw-text-opacity:1!important;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))!important}.dark .dark\:\!text-graydark-1000{--tw-text-opacity:1!important;color:hsl(206 6% 63%/var(--tw-text-opacity))!important}.dark .dark\:\!text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.dark .dark\:\!text-graydark-50{--tw-text-opacity:1!important;color:hsl(200 7% 8.8%/var(--tw-text-opacity))!important}.dark .dark\:\!text-accentdark-1100{--tw-text-opacity:1!important;color:rgb(217 244 225/var(--tw-text-opacity))!important}.dark .dark\:\!text-red-400{--tw-text-opacity:1!important;color:rgb(248 113 113/var(--tw-text-opacity))!important}.dark .dark\:\!text-emerald-500{--tw-text-opacity:1!important;color:rgb(16 185 129/var(--tw-text-opacity))!important}.dark .dark\:\!text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.dark .dark\:text-graydark-1100{--tw-text-opacity:1;color:hsl(210 6% 93%/var(--tw-text-opacity))}.dark .dark\:text-accentdark-1100{--tw-text-opacity:1;color:rgb(217 244 225/var(--tw-text-opacity))}.dark .dark\:text-graydark-1000{--tw-text-opacity:1;color:hsl(206 6% 63%/var(--tw-text-opacity))}.dark .dark\:text-graydark-50{--tw-text-opacity:1;color:hsl(200 7% 8.8%/var(--tw-text-opacity))}.dark .dark\:text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark .dark\:text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.dark .dark\:text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.dark .dark\:decoration-accentdark-900{text-decoration-color:#069f35}.dark .dark\:decoration-gray-500{text-decoration-color:#dfe3e6}.dark .dark\:opacity-10{opacity:.1}.dark .dark\:opacity-50{opacity:.5}.dark .dark\:mix-blend-difference{mix-blend-mode:difference}.dark .dark\:shadow-graydark-300{--tw-shadow-color:#26292b;--tw-shadow:var(--tw-shadow-colored)}.dark .dark\:\!shadow-blue-200{--tw-shadow-color:#bfdbfe!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-blue-400{--tw-shadow-color:#60a5fa!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-red-400{--tw-shadow-color:#f87171!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-amber-500{--tw-shadow-color:#f59e0b!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:\!shadow-green-400{--tw-shadow-color:#4ade80!important;--tw-shadow:var(--tw-shadow-colored)!important}.dark .dark\:ring-blue-200{--tw-ring-opacity:1;--tw-ring-color:rgb(191 219 254/var(--tw-ring-opacity))}.dark .dark\:brightness-0{--tw-brightness:brightness(0)}.dark .dark\:brightness-0,.dark .dark\:invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark .dark\:invert{--tw-invert:invert(100%)}.dark .dark\:invert-\[0\.9\]{--tw-invert:invert(0.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark .placeholder\:dark\:text-graydark-500::-moz-placeholder{--tw-text-opacity:1;color:hsl(201 6.2% 20.5%/var(--tw-text-opacity))}.dark .placeholder\:dark\:text-graydark-500::placeholder{--tw-text-opacity:1;color:hsl(201 6.2% 20.5%/var(--tw-text-opacity))}.dark .placeholder\:dark\:text-graydark-700::-moz-placeholder{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .placeholder\:dark\:text-graydark-700::placeholder{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .after\:dark\:bg-green-500:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-blue-800:-webkit-autofill{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-blue-800:autofill{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-graydark-50:-webkit-autofill{--tw-bg-opacity:1;background-color:hsl(200 7% 8.8%/var(--tw-bg-opacity))}.dark .autofill\:dark\:bg-graydark-50:autofill{--tw-bg-opacity:1;background-color:hsl(200 7% 8.8%/var(--tw-bg-opacity))}.dark .autofill\:dark\:text-fill-white:-webkit-autofill{-webkit-text-fill-color:#fff}.dark .autofill\:dark\:text-fill-white:autofill{-webkit-text-fill-color:#fff}.dark .autofill\:dark\:shadow-fill-graydark-50:-webkit-autofill{--tw-shadow:0 0 0 9999px #151718 inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark .autofill\:dark\:shadow-fill-graydark-50:autofill{--tw-shadow:0 0 0 9999px #151718 inset;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::-moz-placeholder{-webkit-text-fill-color:#4c5155}.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:-webkit-autofill::placeholder{-webkit-text-fill-color:#4c5155}.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::placeholder{-webkit-text-fill-color:#4c5155}.dark .dark\:focus\:bg-graydark-300:focus{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .dark\:focus\:text-white:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .enabled\:dark\:border-green-600\/70:enabled{border-color:rgba(22,163,74,.7)}.dark .enabled\:dark\:bg-green-700:enabled{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.dark .disabled\:dark\:border-green-500\/30:disabled{border-color:rgba(34,197,94,.3)}.dark .disabled\:dark\:border-red-500\/30:disabled{border-color:rgba(239,68,68,.3)}.dark .disabled\:dark\:border-amber-500\/30:disabled{border-color:rgba(245,158,11,.3)}.dark .disabled\:dark\:bg-green-600\/70:disabled{background-color:rgba(22,163,74,.7)}.dark .disabled\:dark\:bg-red-600\/70:disabled{background-color:rgba(220,38,38,.7)}.dark .disabled\:dark\:bg-amber-600\/70:disabled{background-color:rgba(217,119,6,.7)}.dark .disabled\:dark\:bg-graydark-200:disabled{--tw-bg-opacity:1;background-color:hsl(197 6.8% 13.6%/var(--tw-bg-opacity))}.dark .disabled\:dark\:text-white\/50:disabled{color:hsla(0,0%,100%,.5)}.dark .disabled\:dark\:text-graydark-700:disabled{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .disabled\:dark\:text-graydark-400:disabled{--tw-text-opacity:1;color:hsl(199 6.4% 17.9%/var(--tw-text-opacity))}.dark .group:hover .dark\:group-hover\:bg-blue-200\/10{background-color:rgba(191,219,254,.1)}.dark .group:hover .dark\:group-hover\:bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-graydark-800{--tw-bg-opacity:1;background-color:hsl(206 6% 43.9%/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-blue-400{--tw-bg-opacity:1;background-color:rgb(96 165 250/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.dark .group:hover .dark\:group-hover\:bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity))}.dark .aria-selected\:dark\:bg-graydark-500[aria-selected=true]{--tw-bg-opacity:1;background-color:hsl(201 6.2% 20.5%/var(--tw-bg-opacity))}.dark .data-\[state\=active\]\:dark\:border-green-500[data-state=active]{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.dark .data-\[state\=checked\]\:dark\:text-white[data-state=checked]{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\:data-\[disabled\]\:text-graydark-700[data-disabled]{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}.dark .data-\[state\=active\]\:dark\:text-accentdark-1100[data-state=active]{--tw-text-opacity:1;color:rgb(217 244 225/var(--tw-text-opacity))}.dark .dark\:enabled\:data-\[state\=checked\]\:bg-green-500[data-state=checked]:enabled{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.dark .dark\:enabled\:data-\[state\=checked\]\:ring-green-500[data-state=checked]:enabled{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.dark .dark\:disabled\:data-\[state\=checked\]\:bg-green-500\/50[data-state=checked]:disabled{background-color:rgba(34,197,94,.5)}.dark .dark\:disabled\:data-\[state\=checked\]\:ring-green-500\/50[data-state=checked]:disabled{--tw-ring-color:rgba(34,197,94,.5)}.dark .group[data-selected=true] .dark\:group-data-\[selected\=true\]\:text-graydark-1000{--tw-text-opacity:1;color:hsl(206 6% 63%/var(--tw-text-opacity))}.dark .open\:dark\:text-white[data-state=open]{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\:open\:opacity-20[data-state=open]{opacity:.2}.dark .hover\:dark\:border-green-500:hover{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.dark .hover\:dark\:border-green-600:hover{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.dark .hover\:dark\:border-red-600:hover{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.dark .hover\:dark\:border-amber-600:hover{--tw-border-opacity:1;border-color:rgb(217 119 6/var(--tw-border-opacity))}.dark .hover\:dark\:border-graydark-500:hover{--tw-border-opacity:1;border-color:hsl(201 6.2% 20.5%/var(--tw-border-opacity))}.dark .hover\:dark\:bg-green-100\/20:hover{background-color:rgba(220,252,231,.2)}.dark .dark\:hover\:bg-green-700\/90:hover{background-color:rgba(21,128,61,.9)}.dark .dark\:hover\:bg-red-700\/90:hover{background-color:rgba(185,28,28,.9)}.dark .dark\:hover\:bg-amber-700\/90:hover{background-color:rgba(180,83,9,.9)}.dark .dark\:hover\:bg-graydark-300:hover{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .hover\:dark\:text-white\/50:hover{color:hsla(0,0%,100%,.5)}.dark .hover\:dark\:text-graydark-1000:hover{--tw-text-opacity:1;color:hsl(206 6% 63%/var(--tw-text-opacity))}.dark .hover\:dark\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .enabled\:hover\:dark\:border-green-600:hover:enabled{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-red-600:hover:enabled{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-amber-600:hover:enabled{--tw-border-opacity:1;border-color:rgb(217 119 6/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-graydark-500:hover:enabled{--tw-border-opacity:1;border-color:hsl(201 6.2% 20.5%/var(--tw-border-opacity))}.dark .enabled\:hover\:dark\:border-graydark-600:hover:enabled{--tw-border-opacity:1;border-color:hsl(203 6% 24.3%/var(--tw-border-opacity))}.dark .dark\:enabled\:hover\:bg-green-700\/90:hover:enabled{background-color:rgba(21,128,61,.9)}.dark .dark\:enabled\:hover\:bg-red-700\/90:hover:enabled{background-color:rgba(185,28,28,.9)}.dark .dark\:enabled\:hover\:bg-amber-700\/90:hover:enabled{background-color:rgba(180,83,9,.9)}.dark .dark\:enabled\:hover\:bg-graydark-300:hover:enabled{--tw-bg-opacity:1;background-color:hsl(198 6.6% 15.8%/var(--tw-bg-opacity))}.dark .enabled\:hover\:dark\:text-white:hover:enabled{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}@media (min-width:640px){.sm\:flex{display:flex}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:768px){.md\:top-\[-2px\]{top:-2px}.md\:block{display:block}.md\:h-\[50px\]{height:50px}.md\:items-start{align-items:flex-start}.md\:gap-3{gap:.75rem}.md\:gap-y-14{row-gap:3.5rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-xs{font-size:.75rem;line-height:1rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:leading-relaxed{line-height:1.625}}@media (min-width:1024px){.lg\:block{display:block}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:px-16{padding-left:4rem;padding-right:4rem}}@media (min-width:1280px){.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}.\[\&\+\*\]\:\!pl-0+*{padding-left:0!important}.\[\&\:nth-child\(2\)\]\:animation-delay-500:nth-child(2){animation-delay:.5s}.\[\&\:nth-child\(3\)\]\:animation-delay-1000:nth-child(3){animation-delay:1s}.\[\&\>svg\]\:-mx-0\.5>svg{margin-left:-.125rem;margin-right:-.125rem}.\[\&\>svg\]\:opacity-50>svg{opacity:.5}.hover\:\[\&\>svg\]\:opacity-100>svg:hover{opacity:1}.\[\&\[href\]\]\:border-green-800\/30[href]{border-color:rgba(22,101,52,.3)}.\[\&\[href\]\]\:bg-green-700[href]{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.\[\&\[href\]\]\:hover\:border-green-800\/50:hover[href]{border-color:rgba(22,101,52,.5)}.\[\&\[href\]\]\:hover\:bg-green-800\/90:hover[href]{background-color:rgba(22,101,52,.9)}.dark .\[\&\[href\]\]\:dark\:border-green-600\/70[href]{border-color:rgba(22,163,74,.7)}.dark .\[\&\[href\]\]\:dark\:bg-green-700[href]{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.dark .dark\:\[\&\[href\]\]\:hover\:bg-green-700\/90:hover[href]{background-color:rgba(21,128,61,.9)}.\[\&\>\*\]\:rounded-none>*{border-radius:0}.\[\&\>\*\]\:border-r-0>*{border-right-width:0}.\[\&\>\*\]\:border-l>*{border-left-width:1px}.\[\&\>\*\:last-child\]\:rounded-r>:last-child{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.\[\&\>\*\:last-child\]\:border-r>:last-child{border-right-width:1px}.\[\&\>\*\:first-child\]\:rounded-l>:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.\[\&\>\*\:first-child\]\:border-l>:first-child{border-left-width:1px}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>div\]\:\!h-full>div{height:100%!important}.\[\&\>div\]\:flex-1>div{flex:1 1 0%}.\[\&\>div\]\:overflow-hidden>div{overflow:hidden}.\[\&\>select\:disabled\]\:text-gray-600>select:disabled{--tw-text-opacity:1;color:hsl(207 11.1% 85.9%/var(--tw-text-opacity))}.dark .\[\&\>select\:disabled\]\:dark\:text-graydark-700>select:disabled{--tw-text-opacity:1;color:hsl(207 5.6% 31.6%/var(--tw-text-opacity))}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/1eff7769948a8c71.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/7a86083759ce0787.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/1fece7a471d60ffe.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/94e828afa3939314.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/dcb90225ac4215b0.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/21379288e5de0162.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/20a0263cfae743ff.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/a06cddabfd904d07.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/c05280b20c19cff6.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/ab3a7057d2c303a3.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/e7a1d48695380088.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/7a514966b24fa042.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/f34054e2970d3793.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/ee809f9c8637ac35.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/416dffb3eaba61b5.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/b2613c7882fb9dad.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/00b652cd5acf4d1a.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/318cd1ba86719051.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/26570e7eecd756a7.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/6ad357e49f846140.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/c1dadd6c99c0900a.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/9fb8e434756a520e.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/b83e9714dba3a7b2.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/7729f7b3bc7fa987.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/69dc0d8a22bc572a.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/d752111844abddfa.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/7fe39de114f984a0.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/6c817bbad1cfd130.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/bc7cd6cbdb8771c6.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/1b708ab38c59f94d.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/ed08f0e693ce6a65.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/0be44b380099e057.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/f4ebea4f2ece3dbe.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/f7e3cefe6d9fda21.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/26d0ad28b444f0fb.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/d704a8fea67672dc.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/3ce4c920cddd7002.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/1027f57de01c0b24.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/23313877d5d6ff1b.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/00417edf5e44282b.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/228a95c965c5f90b.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/97c8a55b2cb1421c.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/86d6d32ab6c2e21d.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/07304b90e9b5ca40.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/54f3953b28e50f98.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/a40ccebe730e6b34.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/01ec6e01ff4830ae.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/34d8d58b783ee6bb.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/3763ada0a9bb1988.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/787b0654beea4191.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/2c3c1f0838a71cfb.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/47bcda1e7b1ac8be.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/bed76354f405346d.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/c70aa70a01eaecff.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/24cfcc12c15b03b9.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/29ffcd3df3f1cb91.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/3cef106cd115e360.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/a0c95037dd5c9387.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/e889cd181219a83f.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/6d6d0e4a023f9f33.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/0148c4ca3456ea72.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/4184cf5f191b83db.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/28cea0425961ab58.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/b4c759cba7a5f011.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/de555e6bc944c11a.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/791334aa8b2b679f.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/a2411df190893074.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/60d74363e715829c.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/eb37c9fe4776ea97.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/bc381c5935034aa5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/f565fad065ab4cf3.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/f9946f06d70a1b5b.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/d1f5f89450ecd78c.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ebcf93a611f94ec0.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ec50b434b597bc61.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/6be22a85bef54f08.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/9491f41002d34397.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/afba6ba6bf9157e8.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/be843c5b0882ad66.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/67aea609c6135b3b.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/09b62d668edb05d1.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/10446295ae7f2657.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/b6ecfd81ed9f83c9.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Sans_f3b0db;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/08404bcfb1dae67a.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Sans_Fallback_f3b0db;src:local("Arial");ascent-override:101.35%;descent-override:27.19%;line-gap-override:0.00%;size-adjust:101.13%}.__className_f3b0db{font-family:__IBM_Plex_Sans_f3b0db,__IBM_Plex_Sans_Fallback_f3b0db}.__variable_f3b0db{--font-sans:"__IBM_Plex_Sans_f3b0db","__IBM_Plex_Sans_Fallback_f3b0db"}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/43f58290d48b3e4f.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/f7b042c81aa9dac9.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/5f52e8aafa6d55e1.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/7c8d3f8a7910b37f.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:100;font-display:swap;src:url(/_next/static/media/c91ca22957702d7a.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/e31631a967fe3515.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/e46a860e09e79916.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/2d1700372dfaaa94.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/27834a3ea5568a72.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:200;font-display:swap;src:url(/_next/static/media/ba1ff977fd46651f.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/aa5329918e5352b7.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/3546445dbedfe8e0.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/a329a67c917d0d83.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/32ef35af86a1df18.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:300;font-display:swap;src:url(/_next/static/media/42c2d543c4ca0ff8.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/4acd96e66b7a15d8.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/c00fdcaa534cf51c.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/a9b64de7575b01f6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/e05a5a1d4048d7df.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/a9387c470a117487.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/5b5f10d1030076fd.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/66b34bbb56a523d8.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/62e8d71f5f62d0a9.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/4f5bd398699bdcf0.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:500;font-display:swap;src:url(/_next/static/media/5873ad5359ff35c9.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/a08baca5e17c57be.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/b8347de82b1bd9a8.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/99163ae90df46b27.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/b9432a067aca8720.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:600;font-display:swap;src:url(/_next/static/media/c3f479ae50d16e35.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/d4eddeab410cd094.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/1674d377433d7de6.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/f65f080f6ad9aa76.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/7a44530bd17b4a4c.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:italic;font-weight:700;font-display:swap;src:url(/_next/static/media/37e85b36581a02ab.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/1e0eb4a7325b5d14.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/136ae42764b7e0db.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/b17f4305e2f0c22a.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/a7f64a09f7737545.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:100;font-display:swap;src:url(/_next/static/media/98bcafdc59ee6d65.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/ce562f20499ad585.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/57699fff66d5761c.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/e490b1ecb6589d48.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/524be5e37a616f9b.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:200;font-display:swap;src:url(/_next/static/media/c690761783507ad4.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/5a7dbca54c2fc4dd.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/d4e99c199dab3055.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/9ae1ac821a4debaf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/ec1b1cbc512bc43e.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:300;font-display:swap;src:url(/_next/static/media/463cef7d4672ba68.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/ebec2867f40f78ec.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/d607327a37a507c7.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/2e1b830192b7974a.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/3aa27b2eb5f698f7.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/3478b6abef19b3b3.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/b6f2eee8808a2bb4.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/bc2003170c651d45.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/d43ef4503e5571d0.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/3281a323710833ec.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/684e5662d94c69e1.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/97b12f7b815cdf76.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/19fc70611c7ee6d5.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/01721b474504e7d6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/3ccf24bed29cbb82.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/be2416cbb012c256.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/7524e759b2d52ce2.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/83feb047e42e457a.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/40bfb1458eaec497.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/8ea51a27e153ec43.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__IBM_Plex_Mono_5c2ce5;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/035951aefad7b653.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__IBM_Plex_Mono_Fallback_5c2ce5;src:local("Arial");ascent-override:77.95%;descent-override:20.91%;line-gap-override:0.00%;size-adjust:131.49%}.__className_5c2ce5{font-family:__IBM_Plex_Mono_5c2ce5,__IBM_Plex_Mono_Fallback_5c2ce5}.__variable_5c2ce5{--font-mono:"__IBM_Plex_Mono_5c2ce5","__IBM_Plex_Mono_Fallback_5c2ce5"} \ No newline at end of file +*/ +*, +:after, +:before { + box-sizing: border-box; + border: 0 solid #f1f3f5 +} + +:after, +:before { + --tw-content: "" +} + +html { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + font-family: var(--font-sans), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-feature-settings: normal +} + +body { + margin: 0; + line-height: inherit +} + +hr { + height: 0; + color: inherit; + border-top-width: 1px +} + +abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: inherit; + font-weight: inherit +} + +a { + color: inherit; + text-decoration: inherit +} + +b, +strong { + font-weight: bolder +} + +code, +kbd, +pre, +samp { + font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-size: 1em +} + +small { + font-size: 80% +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline +} + +sub { + bottom: -.25em +} + +sup { + top: -.5em +} + +table { + text-indent: 0; + border-color: inherit; + border-collapse: collapse +} + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + font-size: 100%; + font-weight: inherit; + line-height: inherit; + color: inherit; + margin: 0; + padding: 0 +} + +button, +select { + text-transform: none +} + +[type=button], +[type=reset], +[type=submit], +button { + -webkit-appearance: button; + background-color: transparent; + background-image: none +} + +:-moz-focusring { + outline: auto +} + +:-moz-ui-invalid { + box-shadow: none +} + +progress { + vertical-align: baseline +} + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto +} + +[type=search] { + -webkit-appearance: textfield; + outline-offset: -2px +} + +::-webkit-search-decoration { + -webkit-appearance: none +} + +::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit +} + +summary { + display: list-item +} + +blockquote, +dd, +dl, +figure, +h1, +h2, +h3, +h4, +h5, +h6, +hr, +p, +pre { + margin: 0 +} + +fieldset { + margin: 0 +} + +fieldset, +legend { + padding: 0 +} + +menu, +ol, +ul { + list-style: none; + margin: 0; + padding: 0 +} + +textarea { + resize: vertical +} + +input::-moz-placeholder, +textarea::-moz-placeholder { + opacity: 1; + color: #e6e8eb +} + +input::placeholder, +textarea::placeholder { + opacity: 1; + color: #e6e8eb +} + +[role=button], +button { + cursor: pointer +} + +:disabled { + cursor: default +} + +audio, +canvas, +embed, +iframe, +img, +object, +svg, +video { + display: block; + vertical-align: middle +} + +img, +video { + max-width: 100%; + height: auto +} + +[hidden] { + display: none +} + +* { + scrollbar-color: auto; + scrollbar-width: auto +} + +*, +:after, +:before { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgba(59, 130, 246, .5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: +} + +::backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgba(59, 130, 246, .5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: +} + +.pointer-events-none { + pointer-events: none +} + +.invisible { + visibility: hidden +} + +.fixed { + position: fixed +} + +.absolute { + position: absolute +} + +.\!absolute { + position: absolute !important +} + +.relative { + position: relative +} + +.sticky { + position: sticky +} + +.inset-0 { + top: 0; + right: 0; + bottom: 0; + left: 0 +} + +.-right-\[2px\] { + right: -2px +} + +.top-px { + top: 1px +} + +.-right-\[9px\] { + right: -9px +} + +.-top-1 { + top: -.25rem +} + +.bottom-5 { + bottom: 1.25rem +} + +.left-1\/2 { + left: 50% +} + +.top-\[200px\] { + top: 200px +} + +.right-5 { + right: 1.25rem +} + +.top-5 { + top: 1.25rem +} + +.left-6 { + left: 1.5rem +} + +.top-0 { + top: 0 +} + +.left-0 { + left: 0 +} + +.right-0 { + right: 0 +} + +.bottom-0 { + bottom: 0 +} + +.top-\[-50px\] { + top: -50px +} + +.-top-px { + top: -1px +} + +.-top-0\.5 { + top: -.125rem +} + +.-top-0 { + top: 0 +} + +.top-\[-30px\] { + top: -30px +} + +.top-0\.5 { + top: .125rem +} + +.right-2 { + right: .5rem +} + +.right-3 { + right: .75rem +} + +.top-3\.5 { + top: .875rem +} + +.top-3 { + top: .75rem +} + +.-top-\[100px\] { + top: -100px +} + +.top-1 { + top: .25rem +} + +.-left-7 { + left: -1.75rem +} + +.top-\[-4px\] { + top: -4px +} + +.-top-\[5px\] { + top: -5px +} + +.bottom-\[100\%\] { + bottom: 100% +} + +.left-1\.5 { + left: .375rem +} + +.left-1 { + left: .25rem +} + +.top-\[100\%\] { + top: 100% +} + +.left-2 { + left: .5rem +} + +.-bottom-2\.5 { + bottom: -.625rem +} + +.-bottom-2 { + bottom: -.5rem +} + +.top-\[-0\.5px\] { + top: -.5px +} + +.right-4 { + right: 1rem +} + +.left-4 { + left: 1rem +} + +.z-30 { + z-index: 30 +} + +.z-20 { + z-index: 20 +} + +.z-0 { + z-index: 0 +} + +.z-10 { + z-index: 10 +} + +.-z-10 { + z-index: -10 +} + +.z-40 { + z-index: 40 +} + +.z-50 { + z-index: 50 +} + +.-m-4 { + margin: -1rem +} + +.\!-m-2 { + margin: -.5rem !important +} + +.m-0 { + margin: 0 +} + +.m-px { + margin: 1px +} + +.my-2 { + margin-top: .5rem; + margin-bottom: .5rem +} + +.my-1\.5 { + margin-top: .375rem; + margin-bottom: .375rem +} + +.my-1 { + margin-top: .25rem; + margin-bottom: .25rem +} + +.-mx-1 { + margin-left: -.25rem; + margin-right: -.25rem +} + +.-mx-5 { + margin-left: -1.25rem; + margin-right: -1.25rem +} + +.mx-auto { + margin-left: auto; + margin-right: auto +} + +.mx-3 { + margin-left: .75rem; + margin-right: .75rem +} + +.mx-1 { + margin-left: .25rem; + margin-right: .25rem +} + +.mx-1\.5 { + margin-left: .375rem; + margin-right: .375rem +} + +.my-3 { + margin-top: .75rem; + margin-bottom: .75rem +} + +.my-4 { + margin-top: 1rem; + margin-bottom: 1rem +} + +.mt-1 { + margin-top: .25rem +} + +.mt-2 { + margin-top: .5rem +} + +.mb-2 { + margin-bottom: .5rem +} + +.mt-5 { + margin-top: 1.25rem +} + +.mb-3 { + margin-bottom: .75rem +} + +.mt-\[5px\] { + margin-top: 5px +} + +.mb-1 { + margin-bottom: .25rem +} + +.mt-8 { + margin-top: 2rem +} + +.ml-1 { + margin-left: .25rem +} + +.ml-px { + margin-left: 1px +} + +.ml-auto { + margin-left: auto +} + +.mr-2 { + margin-right: .5rem +} + +.mb-5 { + margin-bottom: 1.25rem +} + +.mt-1\.5 { + margin-top: .375rem +} + +.mb-0\.5 { + margin-bottom: .125rem +} + +.mb-0 { + margin-bottom: 0 +} + +.mt-4 { + margin-top: 1rem +} + +.block { + display: block +} + +.inline-block { + display: inline-block +} + +.inline { + display: inline +} + +.flex { + display: flex +} + +.inline-flex { + display: inline-flex +} + +.table { + display: table +} + +.grid { + display: grid +} + +.contents { + display: contents +} + +.hidden { + display: none +} + +.h-1 { + height: .25rem +} + +.h-\[100px\] { + height: 100px +} + +.h-\[20px\] { + height: 20px +} + +.h-\[120px\] { + height: 120px +} + +.h-\[400px\] { + height: 400px +} + +.h-full { + height: 100% +} + +.\!h-\[400px\] { + height: 400px !important +} + +.h-\[70\%\] { + height: 70% +} + +.h-\[200px\] { + height: 200px +} + +.h-\[300px\] { + height: 300px +} + +.h-\[200vh\] { + height: 200vh +} + +.h-14 { + height: 3.5rem +} + +.h-2 { + height: .5rem +} + +.h-\[210px\] { + height: 210px +} + +.h-7 { + height: 1.75rem +} + +.h-6 { + height: 1.5rem +} + +.h-12 { + height: 3rem +} + +.h-4 { + height: 1rem +} + +.h-10 { + height: 2.5rem +} + +.h-\[50px\] { + height: 50px +} + +.h-\[14px\] { + height: 14px +} + +.h-16 { + height: 4rem +} + +.h-fit { + height: -moz-fit-content; + height: fit-content +} + +.h-8 { + height: 2rem +} + +.h-px { + height: 1px +} + +.h-3 { + height: .75rem +} + +.h-5 { + height: 1.25rem +} + +.h-\[30px\] { + height: 30px +} + +.h-screen { + height: 100vh +} + +.h-1\.5 { + height: .375rem +} + +.max-h-\[600px\] { + max-height: 600px +} + +.max-h-\[400px\] { + max-height: 400px +} + +.max-h-\[70vh\] { + max-height: 70vh +} + +.min-h-\[80px\] { + min-height: 80px +} + +.w-1 { + width: .25rem +} + +.w-\[400px\] { + width: 400px +} + +.w-\[500px\] { + width: 500px +} + +.w-full { + width: 100% +} + +.w-\[160px\] { + width: 160px +} + +.w-\[100px\] { + width: 100px +} + +.w-\[450px\] { + width: 450px +} + +.w-60 { + width: 15rem +} + +.w-\[50px\] { + width: 50px +} + +.w-\[120px\] { + width: 120px +} + +.w-5 { + width: 1.25rem +} + +.w-\[200vw\] { + width: 200vw +} + +.w-\[300px\] { + width: 300px +} + +.w-fit { + width: -moz-fit-content; + width: fit-content +} + +.w-2 { + width: .5rem +} + +.w-\[800px\] { + width: 800px +} + +.w-\[210px\] { + width: 210px +} + +.w-\[150px\] { + width: 150px +} + +.w-\[200px\] { + width: 200px +} + +.w-\[60px\] { + width: 60px +} + +.w-\[90\%\] { + width: 90% +} + +.w-\[140px\] { + width: 140px +} + +.w-6 { + width: 1.5rem +} + +.w-12 { + width: 3rem +} + +.w-16 { + width: 4rem +} + +.w-4 { + width: 1rem +} + +.w-1\.5 { + width: .375rem +} + +.w-3 { + width: .75rem +} + +.w-11 { + width: 2.75rem +} + +.w-\[220px\] { + width: 220px +} + +.w-\[75px\] { + width: 75px +} + +.w-px { + width: 1px +} + +.w-\[250px\] { + width: 250px +} + +.min-w-fit { + min-width: -moz-fit-content; + min-width: fit-content +} + +.min-w-\[200px\] { + min-width: 200px +} + +.min-w-\[250px\] { + min-width: 250px +} + +.max-w-screen-xl { + max-width: 1280px +} + +.max-w-\[300px\] { + max-width: 300px +} + +.max-w-\[500px\] { + max-width: 500px +} + +.\!max-w-md { + max-width: 28rem !important +} + +.max-w-\[600px\] { + max-width: 600px +} + +.\!max-w-\[1200px\] { + max-width: 1200px !important +} + +.max-w-screen-sm { + max-width: 640px +} + +.max-w-screen-md { + max-width: 768px +} + +.max-w-\[1145px\] { + max-width: 1145px +} + +.max-w-screen-2xl { + max-width: 1536px +} + +.max-w-none { + max-width: none +} + +.max-w-sm { + max-width: 24rem +} + +.max-w-xs { + max-width: 20rem +} + +.max-w-\[800px\] { + max-width: 800px +} + +.\!max-w-none { + max-width: none !important +} + +.flex-1 { + flex: 1 1 0% +} + +.\!flex-none { + flex: none !important +} + +.flex-none { + flex: none +} + +.flex-shrink-0, +.shrink-0 { + flex-shrink: 0 +} + +.table-auto { + table-layout: auto +} + +.border-collapse { + border-collapse: collapse +} + +.-translate-x-1\/2 { + --tw-translate-x: -50% +} + +.-translate-x-1\/2, +.-translate-y-1\/2 { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.-translate-y-1\/2 { + --tw-translate-y: -50% +} + +.translate-x-px { + --tw-translate-x: 1px +} + +.translate-x-0\.5, +.translate-x-px { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.translate-x-0\.5 { + --tw-translate-x: 0.125rem +} + +.translate-x-0 { + --tw-translate-x: 0px +} + +.scale-75, +.translate-x-0 { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.scale-75 { + --tw-scale-x: .75; + --tw-scale-y: .75 +} + +.scale-\[200\%\] { + --tw-scale-x: 200%; + --tw-scale-y: 200% +} + +.scale-50, +.scale-\[200\%\] { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.scale-50 { + --tw-scale-x: .5; + --tw-scale-y: .5 +} + +.scale-\[0\.65\] { + --tw-scale-x: 0.65; + --tw-scale-y: 0.65 +} + +.scale-90, +.scale-\[0\.65\] { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.scale-90 { + --tw-scale-x: .9; + --tw-scale-y: .9 +} + +.scale-150 { + --tw-scale-x: 1.5; + --tw-scale-y: 1.5 +} + +.scale-150, +.transform { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +@keyframes pulse { + 50% { + opacity: .5 + } +} + +.animate-pulse { + animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite +} + +@keyframes pingslow { + 0% { + transform: scale(1); + opacity: 1 + } + + 60% { + transform: scale(1); + opacity: 1 + } + + 90% { + transform: scale(2); + opacity: 0 + } + + to { + transform: scale(2); + opacity: 0 + } +} + +.animate-pingslow { + animation: pingslow 3s infinite +} + +@keyframes pulselight { + 30% { + opacity: 1 + } + + 50% { + opacity: .2 + } + + 70% { + opacity: 1 + } +} + +.animate-pulselight { + animation: pulselight 3s cubic-bezier(.4, 0, .6, 1) infinite +} + +.cursor-pointer { + cursor: pointer +} + +.cursor-auto { + cursor: auto +} + +.cursor-default { + cursor: default +} + +.cursor-text { + cursor: text +} + +.touch-none { + touch-action: none +} + +.select-none { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none +} + +.resize-y { + resize: vertical +} + +.resize { + resize: both +} + +.appearance-none { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none +} + +.grid-cols-1 { + grid-template-columns: repeat(1, minmax(0, 1fr)) +} + +.grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)) +} + +.flex-col { + flex-direction: column +} + +.flex-wrap { + flex-wrap: wrap +} + +.items-start { + align-items: flex-start +} + +.items-end { + align-items: flex-end +} + +.items-center { + align-items: center +} + +.items-baseline { + align-items: baseline +} + +.justify-end { + justify-content: flex-end +} + +.justify-center { + justify-content: center +} + +.justify-between { + justify-content: space-between +} + +.gap-1 { + gap: .25rem +} + +.gap-3 { + gap: .75rem +} + +.gap-2 { + gap: .5rem +} + +.gap-4 { + gap: 1rem +} + +.gap-16 { + gap: 4rem +} + +.gap-10 { + gap: 2.5rem +} + +.gap-6 { + gap: 1.5rem +} + +.gap-12 { + gap: 3rem +} + +.gap-7 { + gap: 1.75rem +} + +.gap-5 { + gap: 1.25rem +} + +.gap-1\.5 { + gap: .375rem +} + +.gap-0\.5 { + gap: .125rem +} + +.gap-0 { + gap: 0 +} + +.gap-8 { + gap: 2rem +} + +.gap-x-12 { + -moz-column-gap: 3rem; + column-gap: 3rem +} + +.gap-y-4 { + row-gap: 1rem +} + +.gap-x-4 { + -moz-column-gap: 1rem; + column-gap: 1rem +} + +.gap-x-6 { + -moz-column-gap: 1.5rem; + column-gap: 1.5rem +} + +.gap-y-10 { + row-gap: 2.5rem +} + +.gap-y-12 { + row-gap: 3rem +} + +.gap-x-2 { + -moz-column-gap: .5rem; + column-gap: .5rem +} + +.gap-y-1 { + row-gap: .25rem +} + +.overflow-auto { + overflow: auto +} + +.overflow-hidden { + overflow: hidden +} + +.overflow-x-hidden { + overflow-x: hidden +} + +.truncate { + overflow: hidden; + white-space: nowrap +} + +.text-ellipsis, +.truncate { + text-overflow: ellipsis +} + +.whitespace-nowrap { + white-space: nowrap +} + +.break-words { + overflow-wrap: break-word +} + +.rounded-full { + border-radius: 9999px +} + +.rounded { + border-radius: .25rem +} + +.rounded-lg { + border-radius: .5rem +} + +.rounded-none { + border-radius: 0 +} + +.\!rounded-none { + border-radius: 0 !important +} + +.rounded-sm { + border-radius: .125rem +} + +.rounded-md { + border-radius: .375rem +} + +.rounded-r-none { + border-top-right-radius: 0; + border-bottom-right-radius: 0 +} + +.rounded-l-none { + border-top-left-radius: 0; + border-bottom-left-radius: 0 +} + +.rounded-l-lg { + border-top-left-radius: .5rem; + border-bottom-left-radius: .5rem +} + +.rounded-r-lg { + border-top-right-radius: .5rem; + border-bottom-right-radius: .5rem +} + +.rounded-tl-lg { + border-top-left-radius: .5rem +} + +.rounded-tr-lg { + border-top-right-radius: .5rem +} + +.border { + border-width: 1px +} + +.border-2 { + border-width: 2px +} + +.border-y { + border-top-width: 1px; + border-bottom-width: 1px +} + +.border-y-0 { + border-top-width: 0; + border-bottom-width: 0 +} + +.border-b { + border-bottom-width: 1px +} + +.border-t { + border-top-width: 1px +} + +.border-l { + border-left-width: 1px +} + +.border-r { + border-right-width: 1px +} + +.border-b-3 { + border-bottom-width: 3px +} + +.border-dashed { + border-style: dashed +} + +.border-dotted { + border-style: dotted +} + +.border-none { + border-style: none +} + +.border-gray-200 { + --tw-border-opacity: 1; + border-color: hsl(209 13.3% 95.3%/var(--tw-border-opacity)) +} + +.border-gray-500 { + --tw-border-opacity: 1; + border-color: hsl(208 11.3% 88.9%/var(--tw-border-opacity)) +} + +.border-gray-300 { + --tw-border-opacity: 1; + border-color: hsl(209 12.2% 93.2%/var(--tw-border-opacity)) +} + +.border-accent-900 { + --tw-border-opacity: 1; + border-color: rgb(5 107 36/var(--tw-border-opacity)) +} + +.border-gray-600 { + --tw-border-opacity: 1; + border-color: hsl(207 11.1% 85.9%/var(--tw-border-opacity)) +} + +.border-green-600 { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.border-transparent { + border-color: transparent +} + +.border-green-500 { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.border-gray-400 { + --tw-border-opacity: 1; + border-color: hsl(208 11.7% 91.1%/var(--tw-border-opacity)) +} + +.border-gray-200\/50 { + border-color: rgba(241, 243, 245, .5) +} + +.border-gray-900 { + --tw-border-opacity: 1; + border-color: hsl(206 5.8% 52.3%/var(--tw-border-opacity)) +} + +.border-green-800\/30 { + border-color: rgba(22, 101, 52, .3) +} + +.border-red-800\/30 { + border-color: rgba(153, 27, 27, .3) +} + +.border-amber-800\/30 { + border-color: rgba(146, 64, 14, .3) +} + +.border-gray-400\/70 { + border-color: rgba(230, 232, 235, .7) +} + +.border-red-500 { + --tw-border-opacity: 1; + border-color: rgb(239 68 68/var(--tw-border-opacity)) +} + +.border-gray-100 { + --tw-border-opacity: 1; + border-color: hsl(210 16.7% 97.6%/var(--tw-border-opacity)) +} + +.border-white { + --tw-border-opacity: 1; + border-color: rgb(255 255 255/var(--tw-border-opacity)) +} + +.border-blue-500\/50 { + border-color: rgba(59, 130, 246, .5) +} + +.border-green-500\/50 { + border-color: rgba(34, 197, 94, .5) +} + +.border-amber-500\/50 { + border-color: rgba(245, 158, 11, .5) +} + +.bg-gray-1000 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 43.5%/var(--tw-bg-opacity)) +} + +.bg-red-500 { + --tw-bg-opacity: 1; + background-color: rgb(239 68 68/var(--tw-bg-opacity)) +} + +.bg-gray-200 { + --tw-bg-opacity: 1; + background-color: hsl(209 13.3% 95.3%/var(--tw-bg-opacity)) +} + +.bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.bg-gray-50 { + --tw-bg-opacity: 1; + background-color: hsl(206 30% 98.8%/var(--tw-bg-opacity)) +} + +.bg-gray-500 { + --tw-bg-opacity: 1; + background-color: hsl(208 11.3% 88.9%/var(--tw-bg-opacity)) +} + +.bg-accent-800 { + --tw-bg-opacity: 1; + background-color: rgb(5 135 45/var(--tw-bg-opacity)) +} + +.bg-amber-600 { + --tw-bg-opacity: 1; + background-color: rgb(217 119 6/var(--tw-bg-opacity)) +} + +.bg-green-100\/20 { + background-color: rgba(220, 252, 231, .2) +} + +.bg-slate-400 { + --tw-bg-opacity: 1; + background-color: rgb(148 163 184/var(--tw-bg-opacity)) +} + +.bg-gray-100 { + --tw-bg-opacity: 1; + background-color: hsl(210 16.7% 97.6%/var(--tw-bg-opacity)) +} + +.bg-transparent { + background-color: transparent +} + +.bg-gray-900 { + --tw-bg-opacity: 1; + background-color: hsl(206 5.8% 52.3%/var(--tw-bg-opacity)) +} + +.bg-gray-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 56.1%/var(--tw-bg-opacity)) +} + +.bg-gray-300 { + --tw-bg-opacity: 1; + background-color: hsl(209 12.2% 93.2%/var(--tw-bg-opacity)) +} + +.bg-green-700 { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.bg-red-700 { + --tw-bg-opacity: 1; + background-color: rgb(185 28 28/var(--tw-bg-opacity)) +} + +.bg-amber-700 { + --tw-bg-opacity: 1; + background-color: rgb(180 83 9/var(--tw-bg-opacity)) +} + +.bg-accent-200 { + --tw-bg-opacity: 1; + background-color: rgb(213 242 222/var(--tw-bg-opacity)) +} + +.bg-black { + --tw-bg-opacity: 1; + background-color: rgb(0 0 0/var(--tw-bg-opacity)) +} + +.bg-gray-700 { + --tw-bg-opacity: 1; + background-color: hsl(205 10.7% 78%/var(--tw-bg-opacity)) +} + +.bg-green-600 { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.bg-black\/70 { + background-color: rgba(0, 0, 0, .7) +} + +.bg-amber-500 { + --tw-bg-opacity: 1; + background-color: rgb(245 158 11/var(--tw-bg-opacity)) +} + +.bg-green-500 { + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.bg-blue-300 { + --tw-bg-opacity: 1; + background-color: rgb(147 197 253/var(--tw-bg-opacity)) +} + +.bg-green-300 { + --tw-bg-opacity: 1; + background-color: rgb(134 239 172/var(--tw-bg-opacity)) +} + +.bg-amber-300 { + --tw-bg-opacity: 1; + background-color: rgb(252 211 77/var(--tw-bg-opacity)) +} + +.bg-gradient-to-b { + background-image: linear-gradient(to bottom, var(--tw-gradient-stops)) +} + +.from-white { + --tw-gradient-from: #fff; + --tw-gradient-to: hsla(0, 0%, 100%, 0); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) +} + +.via-white\/95 { + --tw-gradient-to: hsla(0, 0%, 100%, 0); + --tw-gradient-stops: var(--tw-gradient-from), hsla(0, 0%, 100%, .95), var(--tw-gradient-to) +} + +.to-white { + --tw-gradient-to: #fff +} + +.fill-white { + fill: #fff +} + +.fill-gray-1100 { + fill: #11181c +} + +.fill-gray-600 { + fill: #d7dbdf +} + +.object-cover { + -o-object-fit: cover; + object-fit: cover +} + +.p-4 { + padding: 1rem +} + +.p-3\.5 { + padding: .875rem +} + +.p-3 { + padding: .75rem +} + +.\!p-1 { + padding: .25rem !important +} + +.p-6 { + padding: 1.5rem +} + +.p-5 { + padding: 1.25rem +} + +.p-1 { + padding: .25rem +} + +.p-2 { + padding: .5rem +} + +.p-2\.5 { + padding: .625rem +} + +.p-\[5px\] { + padding: 5px +} + +.p-0 { + padding: 0 +} + +.p-px { + padding: 1px +} + +.py-px { + padding-top: 1px; + padding-bottom: 1px +} + +.px-\[5px\] { + padding-left: 5px; + padding-right: 5px +} + +.px-3 { + padding-left: .75rem; + padding-right: .75rem +} + +.py-2 { + padding-top: .5rem; + padding-bottom: .5rem +} + +.px-1 { + padding-left: .25rem; + padding-right: .25rem +} + +.px-5 { + padding-left: 1.25rem; + padding-right: 1.25rem +} + +.py-6 { + padding-top: 1.5rem; + padding-bottom: 1.5rem +} + +.\!px-1 { + padding-left: .25rem !important; + padding-right: .25rem !important +} + +.\!py-1 { + padding-top: .25rem !important; + padding-bottom: .25rem !important +} + +.px-2 { + padding-left: .5rem; + padding-right: .5rem +} + +.px-1\.5 { + padding-left: .375rem; + padding-right: .375rem +} + +.py-1 { + padding-top: .25rem; + padding-bottom: .25rem +} + +.px-6 { + padding-left: 1.5rem; + padding-right: 1.5rem +} + +.py-0\.5 { + padding-top: .125rem; + padding-bottom: .125rem +} + +.py-0 { + padding-top: 0; + padding-bottom: 0 +} + +.py-3 { + padding-top: .75rem; + padding-bottom: .75rem +} + +.py-4 { + padding-top: 1rem; + padding-bottom: 1rem +} + +.px-4 { + padding-left: 1rem; + padding-right: 1rem +} + +.py-1\.5 { + padding-top: .375rem; + padding-bottom: .375rem +} + +.px-10 { + padding-left: 2.5rem; + padding-right: 2.5rem +} + +.py-14 { + padding-top: 3.5rem; + padding-bottom: 3.5rem +} + +.py-40 { + padding-top: 10rem; + padding-bottom: 10rem +} + +.py-10 { + padding-top: 2.5rem; + padding-bottom: 2.5rem +} + +.py-5 { + padding-top: 1.25rem; + padding-bottom: 1.25rem +} + +.pb-0\.5 { + padding-bottom: .125rem +} + +.pb-0 { + padding-bottom: 0 +} + +.pb-6 { + padding-bottom: 1.5rem +} + +.\!pl-2 { + padding-left: .5rem !important +} + +.\!pr-4 { + padding-right: 1rem !important +} + +.\!pr-2 { + padding-right: .5rem !important +} + +.pb-1 { + padding-bottom: .25rem +} + +.pt-0\.5 { + padding-top: .125rem +} + +.pb-px { + padding-bottom: 1px +} + +.pt-0 { + padding-top: 0 +} + +.pb-10 { + padding-bottom: 2.5rem +} + +.pl-2 { + padding-left: .5rem +} + +.pr-3 { + padding-right: .75rem +} + +.pl-6 { + padding-left: 1.5rem +} + +.pl-4 { + padding-left: 1rem +} + +.pr-6 { + padding-right: 1.5rem +} + +.pr-4 { + padding-right: 1rem +} + +.pt-1 { + padding-top: .25rem +} + +.pb-3 { + padding-bottom: .75rem +} + +.pr-9 { + padding-right: 2.25rem +} + +.pl-1 { + padding-left: .25rem +} + +.pt-4 { + padding-top: 1rem +} + +.pb-2 { + padding-bottom: .5rem +} + +.pl-5 { + padding-left: 1.25rem +} + +.pr-2 { + padding-right: .5rem +} + +.pl-0 { + padding-left: 0 +} + +.pr-1 { + padding-right: .25rem +} + +.pt-6 { + padding-top: 1.5rem +} + +.pt-40 { + padding-top: 10rem +} + +.pr-5 { + padding-right: 1.25rem +} + +.pt-2 { + padding-top: .5rem +} + +.text-left { + text-align: left +} + +.text-center { + text-align: center +} + +.text-end { + text-align: end +} + +.align-middle { + vertical-align: middle +} + +.font-mono { + font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace +} + +.font-sans { + font-family: var(--font-sans), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" +} + +.text-sm { + font-size: .875rem; + line-height: 1.25rem +} + +.text-base { + font-size: 1rem; + line-height: 1.5rem +} + +.text-lg { + font-size: 1.125rem; + line-height: 1.75rem +} + +.text-xs { + font-size: .75rem; + line-height: 1rem +} + +.text-xl { + font-size: 1.25rem; + line-height: 1.75rem +} + +.text-2xl { + font-size: 1.5rem; + line-height: 2rem +} + +.text-3xl { + font-size: 1.875rem; + line-height: 2.25rem +} + +.text-4xl { + font-size: 2.25rem; + line-height: 2.5rem +} + +.text-xxs { + font-size: .625rem +} + +.text-5xl { + font-size: 3rem; + line-height: 1 +} + +.text-6xl { + font-size: 3.75rem; + line-height: 1 +} + +.font-medium { + font-weight: 500 +} + +.font-semibold { + font-weight: 600 +} + +.font-bold { + font-weight: 700 +} + +.font-normal { + font-weight: 400 +} + +.font-extrabold { + font-weight: 800 +} + +.font-light { + font-weight: 300 +} + +.uppercase { + text-transform: uppercase +} + +.proportional-nums { + --tw-numeric-spacing: proportional-nums +} + +.proportional-nums, +.tabular-nums { + font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction) +} + +.tabular-nums { + --tw-numeric-spacing: tabular-nums +} + +.leading-normal { + line-height: 1.5 +} + +.leading-relaxed { + line-height: 1.625 +} + +.text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.text-amber-600 { + --tw-text-opacity: 1; + color: rgb(217 119 6/var(--tw-text-opacity)) +} + +.text-gray-700 { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.text-gray-1100 { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.text-gray-900 { + --tw-text-opacity: 1; + color: hsl(206 5.8% 52.3%/var(--tw-text-opacity)) +} + +.text-gray-1100\/30 { + color: rgba(17, 24, 28, .3) +} + +.\!text-gray-700 { + --tw-text-opacity: 1 !important; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) !important +} + +.\!text-gray-1000 { + --tw-text-opacity: 1 !important; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) !important +} + +.\!text-gray-1100 { + --tw-text-opacity: 1 !important; + color: hsl(206 24% 9%/var(--tw-text-opacity)) !important +} + +.\!text-white { + --tw-text-opacity: 1 !important; + color: rgb(255 255 255/var(--tw-text-opacity)) !important +} + +.\!text-accent-1100 { + --tw-text-opacity: 1 !important; + color: rgb(1 31 10/var(--tw-text-opacity)) !important +} + +.\!text-red-700 { + --tw-text-opacity: 1 !important; + color: rgb(185 28 28/var(--tw-text-opacity)) !important +} + +.\!text-emerald-700 { + --tw-text-opacity: 1 !important; + color: rgb(4 120 87/var(--tw-text-opacity)) !important +} + +.\!text-amber-600 { + --tw-text-opacity: 1 !important; + color: rgb(217 119 6/var(--tw-text-opacity)) !important +} + +.text-accent-1100 { + --tw-text-opacity: 1; + color: rgb(1 31 10/var(--tw-text-opacity)) +} + +.text-gray-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) +} + +.text-red-700 { + --tw-text-opacity: 1; + color: rgb(185 28 28/var(--tw-text-opacity)) +} + +.text-emerald-700 { + --tw-text-opacity: 1; + color: rgb(4 120 87/var(--tw-text-opacity)) +} + +.text-green-600 { + --tw-text-opacity: 1; + color: rgb(22 163 74/var(--tw-text-opacity)) +} + +.text-red-600 { + --tw-text-opacity: 1; + color: rgb(220 38 38/var(--tw-text-opacity)) +} + +.underline { + text-decoration-line: underline +} + +.no-underline { + text-decoration-line: none +} + +.decoration-accentdark-900 { + text-decoration-color: #069f35 +} + +.decoration-accent-900 { + text-decoration-color: #056b24 +} + +.decoration-gray-1100 { + text-decoration-color: #11181c +} + +.decoration-2 { + text-decoration-thickness: 2px +} + +.underline-offset-4 { + text-underline-offset: 4px +} + +.underline-offset-2 { + text-underline-offset: 2px +} + +.opacity-50 { + opacity: .5 +} + +.opacity-100 { + opacity: 1 +} + +.opacity-30 { + opacity: .3 +} + +.opacity-95 { + opacity: .95 +} + +.opacity-0 { + opacity: 0 +} + +.opacity-70 { + opacity: .7 +} + +.opacity-\[10\%\] { + opacity: 10% +} + +.mix-blend-difference { + mix-blend-mode: difference +} + +.shadow-border-b { + --tw-shadow: inset 0 -1px rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 -1px var(--tw-shadow-color) +} + +.shadow, +.shadow-border-b { + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.shadow { + --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) +} + +.shadow-border-y { + --tw-shadow: inset 0 1px 0 0 rgba(0, 0, 0, .3), inset 0 -1px 0 0 rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 1px 0 0 var(--tw-shadow-color), inset 0 -1px 0 0 var(--tw-shadow-color) +} + +.shadow-border-y, +.shadow-sm { + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.shadow-sm { + --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); + --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) +} + +.shadow-gray-400 { + --tw-shadow-color: #e6e8eb; + --tw-shadow: var(--tw-shadow-colored) +} + +.\!shadow-blue-900 { + --tw-shadow-color: #1e3a8a !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-blue-500 { + --tw-shadow-color: #3b82f6 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-red-500 { + --tw-shadow-color: #ef4444 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-amber-500 { + --tw-shadow-color: #f59e0b !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.\!shadow-green-500 { + --tw-shadow-color: #22c55e !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.outline-none { + outline: 2px solid transparent; + outline-offset: 2px +} + +.ring { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.ring-blue-500 { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(59 130 246/var(--tw-ring-opacity)) +} + +.blur { + --tw-blur: blur(8px) +} + +.blur, +.grayscale { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.grayscale { + --tw-grayscale: grayscale(100%) +} + +.invert { + --tw-invert: invert(100%) +} + +.filter, +.invert { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.transition-all { + transition-property: all; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition-colors { + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition-opacity { + transition-property: opacity; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition { + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition-shadow { + transition-property: box-shadow; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.transition-transform { + transition-property: transform; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-duration: .15s +} + +.duration-300 { + transition-duration: .3s +} + +.duration-75 { + transition-duration: 75ms +} + +.duration-1000 { + transition-duration: 1s +} + +.ease-in-out { + transition-timing-function: cubic-bezier(.4, 0, .2, 1) +} + +.scrollbar-thin.overflow-x-hidden, +.scrollbar.overflow-x-hidden { + overflow-x: hidden +} + +#__next, +#root, +body, +html { + height: 100vh; + overflow: hidden +} + +.placeholder\:text-gray-600::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.placeholder\:text-gray-600::placeholder { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.placeholder\:text-gray-700::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.placeholder\:text-gray-700::placeholder { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.before\:absolute:before { + content: var(--tw-content); + position: absolute +} + +.before\:top-1\/2:before { + content: var(--tw-content); + top: 50% +} + +.before\:left-1\/2:before { + content: var(--tw-content); + left: 50% +} + +.after\:block:after { + content: var(--tw-content); + display: block +} + +.after\:h-2:after { + content: var(--tw-content); + height: .5rem +} + +.after\:h-4:after { + content: var(--tw-content); + height: 1rem +} + +.after\:w-2:after { + content: var(--tw-content); + width: .5rem +} + +.after\:w-4:after { + content: var(--tw-content); + width: 1rem +} + +.after\:rounded-full:after { + content: var(--tw-content); + border-radius: 9999px +} + +.after\:bg-green-600:after { + content: var(--tw-content); + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.after\:content-\[\"\"\]:after { + --tw-content: ""; + content: var(--tw-content) +} + +.first\:border-t-0:first-child { + border-top-width: 0 +} + +.first\:border-none:first-child { + border-style: none +} + +.first\:shadow-border-tlb:first-child { + --tw-shadow: inset 0 1px 0 0 rgba(0, 0, 0, .3), inset 1px 0 0 0 rgba(0, 0, 0, .3), inset 0 -1px 0 0 rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 1px 0 0 var(--tw-shadow-color), inset 1px 0 0 0 var(--tw-shadow-color), inset 0 -1px 0 0 var(--tw-shadow-color) +} + +.first\:shadow-border-tlb:first-child, +.last\:shadow-border-trb:last-child { + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.last\:shadow-border-trb:last-child { + --tw-shadow: inset 0 1px 0 0 rgba(0, 0, 0, .3), inset -1px 0 0 0 rgba(0, 0, 0, .3), inset 0 -1px 0 0 rgba(0, 0, 0, .3); + --tw-shadow-colored: inset 0 1px 0 0 var(--tw-shadow-color), inset -1px 0 0 0 var(--tw-shadow-color), inset 0 -1px 0 0 var(--tw-shadow-color) +} + +.only\:left-0:only-child { + left: 0 +} + +.last-of-type\:border-b:last-of-type { + border-bottom-width: 1px +} + +.autofill\:bg-blue-100:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: rgb(219 234 254/var(--tw-bg-opacity)) +} + +.autofill\:bg-blue-100:autofill { + --tw-bg-opacity: 1; + background-color: rgb(219 234 254/var(--tw-bg-opacity)) +} + +.autofill\:bg-white:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.autofill\:bg-white:autofill { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.autofill\:text-fill-gray-1100:-webkit-autofill { + -webkit-text-fill-color: #11181c +} + +.autofill\:text-fill-gray-1100:autofill { + -webkit-text-fill-color: #11181c +} + +.autofill\:shadow-fill-white:-webkit-autofill { + --tw-shadow: 0 0 0 9999px #fff inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.autofill\:shadow-fill-white:autofill { + --tw-shadow: 0 0 0 9999px #fff inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.autofill\:placeholder\:text-fill-gray-700:autofill::-moz-placeholder { + -webkit-text-fill-color: #c1c8cd +} + +.autofill\:placeholder\:text-fill-gray-700:-webkit-autofill::placeholder { + -webkit-text-fill-color: #c1c8cd +} + +.autofill\:placeholder\:text-fill-gray-700:autofill::placeholder { + -webkit-text-fill-color: #c1c8cd +} + +.focus-within\:z-10:focus-within { + z-index: 10 +} + +.focus-within\:ring:focus-within { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.focus\:z-10:focus { + z-index: 10 +} + +.focus\:bg-gray-300:focus { + --tw-bg-opacity: 1; + background-color: hsl(209 12.2% 93.2%/var(--tw-bg-opacity)) +} + +.focus\:text-gray-900:focus { + --tw-text-opacity: 1; + color: hsl(206 5.8% 52.3%/var(--tw-text-opacity)) +} + +.focus\:outline-none:focus { + outline: 2px solid transparent; + outline-offset: 2px +} + +.focus\:ring:focus { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.enabled\:border-green-800\/30:enabled { + border-color: rgba(22, 101, 52, .3) +} + +.enabled\:bg-green-700:enabled { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.disabled\:pointer-events-none:disabled { + pointer-events: none +} + +.disabled\:cursor-auto:disabled { + cursor: auto +} + +.disabled\:cursor-default:disabled { + cursor: default +} + +.disabled\:border-green-600\/50:disabled { + border-color: rgba(22, 163, 74, .5) +} + +.disabled\:border-red-600\/50:disabled { + border-color: rgba(220, 38, 38, .5) +} + +.disabled\:border-amber-600\/50:disabled { + border-color: rgba(217, 119, 6, .5) +} + +.disabled\:bg-green-700\/70:disabled { + background-color: rgba(21, 128, 61, .7) +} + +.disabled\:bg-red-700\/70:disabled { + background-color: rgba(185, 28, 28, .7) +} + +.disabled\:bg-amber-700\/70:disabled { + background-color: rgba(180, 83, 9, .7) +} + +.disabled\:bg-gray-200:disabled { + --tw-bg-opacity: 1; + background-color: hsl(209 13.3% 95.3%/var(--tw-bg-opacity)) +} + +.disabled\:text-white\/50:disabled { + color: hsla(0, 0%, 100%, .5) +} + +.disabled\:text-gray-600:disabled { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.disabled\:text-gray-400:disabled { + --tw-text-opacity: 1; + color: hsl(208 11.7% 91.1%/var(--tw-text-opacity)) +} + +.disabled\:opacity-50:disabled { + opacity: .5 +} + +.group:hover .group-hover\:block { + display: block +} + +.group:hover .group-hover\:flex { + display: flex +} + +.group\/segments:hover .group-hover\/segments\:hidden { + display: none +} + +.group:hover .group-hover\:bg-blue-500\/10 { + background-color: rgba(59, 130, 246, .1) +} + +.group:hover .group-hover\:bg-green-600 { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-amber-600 { + --tw-bg-opacity: 1; + background-color: rgb(217 119 6/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-gray-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 56.1%/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-blue-400 { + --tw-bg-opacity: 1; + background-color: rgb(96 165 250/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-green-400 { + --tw-bg-opacity: 1; + background-color: rgb(74 222 128/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:bg-amber-400 { + --tw-bg-opacity: 1; + background-color: rgb(251 191 36/var(--tw-bg-opacity)) +} + +.group:hover .group-hover\:opacity-100 { + opacity: 1 +} + +.aria-selected\:bg-gray-400[aria-selected=true] { + --tw-bg-opacity: 1; + background-color: hsl(208 11.7% 91.1%/var(--tw-bg-opacity)) +} + +.data-\[disabled\]\:pointer-events-none[data-disabled] { + pointer-events: none +} + +.data-\[side\=top\]\:bottom-1[data-side=top] { + bottom: .25rem +} + +.data-\[side\=bottom\]\:top-1[data-side=bottom] { + top: .25rem +} + +.data-\[side\=left\]\:right-1[data-side=left] { + right: .25rem +} + +.data-\[side\=right\]\:left-1[data-side=right] { + left: .25rem +} + +.data-\[side\=top\]\:origin-bottom[data-side=top] { + transform-origin: bottom +} + +.data-\[side\=left\]\:origin-right[data-side=left] { + transform-origin: right +} + +.data-\[side\=right\]\:origin-left[data-side=right] { + transform-origin: left +} + +.data-\[side\=bottom\]\:origin-top[data-side=bottom] { + transform-origin: top +} + +.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked] { + --tw-translate-x: 9px +} + +.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked], +.data-\[state\=checked\]\:translate-x-\[9px\][data-state=checked] { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.data-\[state\=checked\]\:translate-x-\[20px\][data-state=checked] { + --tw-translate-x: 20px +} + +@keyframes enterFromLeft { + 0% { + opacity: 0; + transform: translateX(-200px) + } + + to { + opacity: 1; + transform: translateX(0) + } +} + +.data-\[motion\=from-start\]\:animate-enterFromLeft[data-motion=from-start] { + animation: enterFromLeft .25s ease +} + +@keyframes enterFromRight { + 0% { + opacity: 0; + transform: translateX(200px) + } + + to { + opacity: 1; + transform: translateX(0) + } +} + +.data-\[motion\=from-end\]\:animate-enterFromRight[data-motion=from-end] { + animation: enterFromRight .25s ease +} + +@keyframes exitToLeft { + 0% { + opacity: 1; + transform: translateX(0) + } + + to { + opacity: 0; + transform: translateX(-200px) + } +} + +.data-\[motion\=to-start\]\:animate-exitToLeft[data-motion=to-start] { + animation: exitToLeft .25s ease +} + +@keyframes exitToRight { + 0% { + opacity: 1; + transform: translateX(0) + } + + to { + opacity: 0; + transform: translateX(200px) + } +} + +.data-\[motion\=to-end\]\:animate-exitToRight[data-motion=to-end] { + animation: exitToRight .25s ease +} + +.data-\[state\=active\]\:border-green-600[data-state=active] { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.data-\[state\=checked\]\:text-gray-1100[data-state=checked] { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.data-\[disabled\]\:text-gray-700[data-disabled] { + --tw-text-opacity: 1; + color: hsl(205 10.7% 78%/var(--tw-text-opacity)) +} + +.data-\[state\=active\]\:text-accent-1100[data-state=active] { + --tw-text-opacity: 1; + color: rgb(1 31 10/var(--tw-text-opacity)) +} + +.enabled\:data-\[state\=checked\]\:bg-green-600[data-state=checked]:enabled { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.enabled\:data-\[state\=checked\]\:ring[data-state=checked]:enabled { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) +} + +.enabled\:data-\[state\=checked\]\:ring-green-600[data-state=checked]:enabled { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(22 163 74/var(--tw-ring-opacity)) +} + +.disabled\:data-\[state\=checked\]\:bg-green-600\/50[data-state=checked]:disabled { + background-color: rgba(22, 163, 74, .5) +} + +.disabled\:data-\[state\=checked\]\:ring-green-600\/50[data-state=checked]:disabled { + --tw-ring-color: rgba(22, 163, 74, .5) +} + +.group[data-selected=true] .group-data-\[selected\=true\]\:text-gray-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) +} + +.open\:text-gray-1100[data-state=open] { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.open\:opacity-10[data-state=open] { + opacity: .1 +} + +.hover\:z-10:hover { + z-index: 10 +} + +.hover\:scale-105:hover { + --tw-scale-x: 1.05; + --tw-scale-y: 1.05; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) +} + +.hover\:border-green-700:hover { + --tw-border-opacity: 1; + border-color: rgb(21 128 61/var(--tw-border-opacity)) +} + +.hover\:border-green-500:hover { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.hover\:border-green-800\/50:hover { + border-color: rgba(22, 101, 52, .5) +} + +.hover\:border-red-800\/50:hover { + border-color: rgba(153, 27, 27, .5) +} + +.hover\:border-amber-800\/50:hover { + border-color: rgba(146, 64, 14, .5) +} + +.hover\:border-gray-500:hover { + --tw-border-opacity: 1; + border-color: hsl(208 11.3% 88.9%/var(--tw-border-opacity)) +} + +.hover\:bg-green-100\/20:hover { + background-color: rgba(220, 252, 231, .2) +} + +.hover\:bg-green-800\/90:hover { + background-color: rgba(22, 101, 52, .9) +} + +.hover\:bg-red-800\/90:hover { + background-color: rgba(153, 27, 27, .9) +} + +.hover\:bg-amber-800\/90:hover { + background-color: rgba(146, 64, 14, .9) +} + +.hover\:bg-gray-50:hover { + --tw-bg-opacity: 1; + background-color: hsl(206 30% 98.8%/var(--tw-bg-opacity)) +} + +.hover\:bg-black\/20:hover { + background-color: rgba(0, 0, 0, .2) +} + +.hover\:text-gray-1100\/50:hover { + color: rgba(17, 24, 28, .5) +} + +.hover\:text-gray-1000:hover { + --tw-text-opacity: 1; + color: hsl(206 6% 43.5%/var(--tw-text-opacity)) +} + +.hover\:text-gray-1100:hover { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.hover\:underline:hover { + text-decoration-line: underline +} + +.hover\:opacity-100:hover { + opacity: 1 +} + +.hover\:opacity-90:hover { + opacity: .9 +} + +.hover\:opacity-60:hover { + opacity: .6 +} + +.hover\:shadow:hover { + --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.enabled\:hover\:border-green-800\/50:hover:enabled { + border-color: rgba(22, 101, 52, .5) +} + +.enabled\:hover\:border-red-800\/50:hover:enabled { + border-color: rgba(153, 27, 27, .5) +} + +.enabled\:hover\:border-amber-800\/50:hover:enabled { + border-color: rgba(146, 64, 14, .5) +} + +.enabled\:hover\:border-gray-500:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(208 11.3% 88.9%/var(--tw-border-opacity)) +} + +.enabled\:hover\:border-gray-700:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(205 10.7% 78%/var(--tw-border-opacity)) +} + +.enabled\:hover\:bg-green-800\/90:hover:enabled { + background-color: rgba(22, 101, 52, .9) +} + +.enabled\:hover\:bg-red-800\/90:hover:enabled { + background-color: rgba(153, 27, 27, .9) +} + +.enabled\:hover\:bg-amber-800\/90:hover:enabled { + background-color: rgba(146, 64, 14, .9) +} + +.enabled\:hover\:bg-gray-50:hover:enabled { + --tw-bg-opacity: 1; + background-color: hsl(206 30% 98.8%/var(--tw-bg-opacity)) +} + +.enabled\:hover\:text-gray-1100:hover:enabled { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +@media (prefers-reduced-motion:reduce) { + .motion-reduce\:hidden { + display: none + } +} + +.dark .dark\:border-graydark-300 { + --tw-border-opacity: 1; + border-color: hsl(198 6.6% 15.8%/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-500 { + --tw-border-opacity: 1; + border-color: hsl(201 6.2% 20.5%/var(--tw-border-opacity)) +} + +.dark .dark\:border-accentdark-900 { + --tw-border-opacity: 1; + border-color: rgb(6 159 53/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-600 { + --tw-border-opacity: 1; + border-color: hsl(203 6% 24.3%/var(--tw-border-opacity)) +} + +.dark .dark\:border-green-500 { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.dark .dark\:border-green-600 { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-400 { + --tw-border-opacity: 1; + border-color: hsl(199 6.4% 17.9%/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-200 { + --tw-border-opacity: 1; + border-color: hsl(197 6.8% 13.6%/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-100 { + --tw-border-opacity: 1; + border-color: hsl(195 7.1% 11%/var(--tw-border-opacity)) +} + +.dark .dark\:border-white\/10 { + border-color: hsla(0, 0%, 100%, .1) +} + +.dark .dark\:border-green-600\/70 { + border-color: rgba(22, 163, 74, .7) +} + +.dark .dark\:border-red-600\/70 { + border-color: rgba(220, 38, 38, .7) +} + +.dark .dark\:border-amber-600\/70 { + border-color: rgba(217, 119, 6, .7) +} + +.dark .dark\:border-graydark-400\/70 { + border-color: rgba(43, 47, 49, .7) +} + +.dark .dark\:border-red-400 { + --tw-border-opacity: 1; + border-color: rgb(248 113 113/var(--tw-border-opacity)) +} + +.dark .dark\:border-green-400 { + --tw-border-opacity: 1; + border-color: rgb(74 222 128/var(--tw-border-opacity)) +} + +.dark .dark\:border-graydark-400\/50 { + border-color: rgba(43, 47, 49, .5) +} + +.dark .dark\:border-white { + --tw-border-opacity: 1; + border-color: rgb(255 255 255/var(--tw-border-opacity)) +} + +.dark .dark\:border-blue-500\/50 { + border-color: rgba(59, 130, 246, .5) +} + +.dark .dark\:border-green-500\/50 { + border-color: rgba(34, 197, 94, .5) +} + +.dark .dark\:border-amber-500\/50 { + border-color: rgba(245, 158, 11, .5) +} + +.dark .dark\:bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-red-500 { + --tw-bg-opacity: 1; + background-color: rgb(239 68 68/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-50 { + --tw-bg-opacity: 1; + background-color: hsl(200 7% 8.8%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-500 { + --tw-bg-opacity: 1; + background-color: hsl(201 6.2% 20.5%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-accentdark-800 { + --tw-bg-opacity: 1; + background-color: rgb(5 135 45/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-500 { + --tw-bg-opacity: 1; + background-color: rgb(245 158 11/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-green-100\/20 { + background-color: rgba(220, 252, 231, .2) +} + +.dark .dark\:bg-slate-200 { + --tw-bg-opacity: 1; + background-color: rgb(226 232 240/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-100 { + --tw-bg-opacity: 1; + background-color: hsl(195 7.1% 11%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-gray-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 56.1%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-transparent { + background-color: transparent +} + +.dark .dark\:bg-graydark-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 43.9%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-green-700 { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-red-700 { + --tw-bg-opacity: 1; + background-color: rgb(185 28 28/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-700 { + --tw-bg-opacity: 1; + background-color: rgb(180 83 9/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-200 { + --tw-bg-opacity: 1; + background-color: hsl(197 6.8% 13.6%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-400 { + --tw-bg-opacity: 1; + background-color: hsl(199 6.4% 17.9%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-accentdark-200 { + --tw-bg-opacity: 1; + background-color: rgb(6 40 17/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-700 { + --tw-bg-opacity: 1; + background-color: hsl(207 5.6% 31.6%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-green-500 { + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-300 { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-slate-900 { + --tw-bg-opacity: 1; + background-color: rgb(15 23 42/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-200 { + --tw-bg-opacity: 1; + background-color: rgb(253 230 138/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-graydark-900 { + --tw-bg-opacity: 1; + background-color: hsl(206 5.2% 49.5%/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-blue-300 { + --tw-bg-opacity: 1; + background-color: rgb(147 197 253/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-green-300 { + --tw-bg-opacity: 1; + background-color: rgb(134 239 172/var(--tw-bg-opacity)) +} + +.dark .dark\:bg-amber-300 { + --tw-bg-opacity: 1; + background-color: rgb(252 211 77/var(--tw-bg-opacity)) +} + +.dark .dark\:from-graydark-50 { + --tw-gradient-from: #151718; + --tw-gradient-to: rgba(21, 23, 24, 0); + --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) +} + +.dark .dark\:via-graydark-100\/95 { + --tw-gradient-to: rgba(26, 29, 30, 0); + --tw-gradient-stops: var(--tw-gradient-from), rgba(26, 29, 30, .95), var(--tw-gradient-to) +} + +.dark .dark\:to-graydark-50 { + --tw-gradient-to: #151718 +} + +.dark .dark\:fill-graydark-50 { + fill: #151718 +} + +.dark .dark\:fill-white { + fill: #fff +} + +.dark .dark\:fill-graydark-600 { + fill: #3a3f42 +} + +.dark .dark\:text-graydark-700 { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .dark\:text-gray-1100 { + --tw-text-opacity: 1; + color: hsl(206 24% 9%/var(--tw-text-opacity)) +} + +.dark .dark\:text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .dark\:text-white\/30 { + color: hsla(0, 0%, 100%, .3) +} + +.dark .dark\:text-gray-300 { + --tw-text-opacity: 1; + color: hsl(209 12.2% 93.2%/var(--tw-text-opacity)) +} + +.dark .dark\:text-graydark-800 { + --tw-text-opacity: 1; + color: hsl(206 6% 43.9%/var(--tw-text-opacity)) +} + +.dark .dark\:\!text-graydark-700 { + --tw-text-opacity: 1 !important; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-graydark-1000 { + --tw-text-opacity: 1 !important; + color: hsl(206 6% 63%/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-white { + --tw-text-opacity: 1 !important; + color: rgb(255 255 255/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-graydark-50 { + --tw-text-opacity: 1 !important; + color: hsl(200 7% 8.8%/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-accentdark-1100 { + --tw-text-opacity: 1 !important; + color: rgb(217 244 225/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-red-400 { + --tw-text-opacity: 1 !important; + color: rgb(248 113 113/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-emerald-500 { + --tw-text-opacity: 1 !important; + color: rgb(16 185 129/var(--tw-text-opacity)) !important +} + +.dark .dark\:\!text-amber-500 { + --tw-text-opacity: 1 !important; + color: rgb(245 158 11/var(--tw-text-opacity)) !important +} + +.dark .dark\:text-graydark-1100 { + --tw-text-opacity: 1; + color: hsl(210 6% 93%/var(--tw-text-opacity)) +} + +.dark .dark\:text-accentdark-1100 { + --tw-text-opacity: 1; + color: rgb(217 244 225/var(--tw-text-opacity)) +} + +.dark .dark\:text-graydark-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 63%/var(--tw-text-opacity)) +} + +.dark .dark\:text-graydark-50 { + --tw-text-opacity: 1; + color: hsl(200 7% 8.8%/var(--tw-text-opacity)) +} + +.dark .dark\:text-red-400 { + --tw-text-opacity: 1; + color: rgb(248 113 113/var(--tw-text-opacity)) +} + +.dark .dark\:text-emerald-500 { + --tw-text-opacity: 1; + color: rgb(16 185 129/var(--tw-text-opacity)) +} + +.dark .dark\:text-amber-500 { + --tw-text-opacity: 1; + color: rgb(245 158 11/var(--tw-text-opacity)) +} + +.dark .dark\:decoration-accentdark-900 { + text-decoration-color: #069f35 +} + +.dark .dark\:decoration-gray-500 { + text-decoration-color: #dfe3e6 +} + +.dark .dark\:opacity-10 { + opacity: .1 +} + +.dark .dark\:opacity-50 { + opacity: .5 +} + +.dark .dark\:mix-blend-difference { + mix-blend-mode: difference +} + +.dark .dark\:shadow-graydark-300 { + --tw-shadow-color: #26292b; + --tw-shadow: var(--tw-shadow-colored) +} + +.dark .dark\:\!shadow-blue-200 { + --tw-shadow-color: #bfdbfe !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-blue-400 { + --tw-shadow-color: #60a5fa !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-red-400 { + --tw-shadow-color: #f87171 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-amber-500 { + --tw-shadow-color: #f59e0b !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:\!shadow-green-400 { + --tw-shadow-color: #4ade80 !important; + --tw-shadow: var(--tw-shadow-colored) !important +} + +.dark .dark\:ring-blue-200 { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(191 219 254/var(--tw-ring-opacity)) +} + +.dark .dark\:brightness-0 { + --tw-brightness: brightness(0) +} + +.dark .dark\:brightness-0, +.dark .dark\:invert { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.dark .dark\:invert { + --tw-invert: invert(100%) +} + +.dark .dark\:invert-\[0\.9\] { + --tw-invert: invert(0.9); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) +} + +.dark .placeholder\:dark\:text-graydark-500::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(201 6.2% 20.5%/var(--tw-text-opacity)) +} + +.dark .placeholder\:dark\:text-graydark-500::placeholder { + --tw-text-opacity: 1; + color: hsl(201 6.2% 20.5%/var(--tw-text-opacity)) +} + +.dark .placeholder\:dark\:text-graydark-700::-moz-placeholder { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .placeholder\:dark\:text-graydark-700::placeholder { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .after\:dark\:bg-green-500:after { + content: var(--tw-content); + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-blue-800:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: rgb(30 64 175/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-blue-800:autofill { + --tw-bg-opacity: 1; + background-color: rgb(30 64 175/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-graydark-50:-webkit-autofill { + --tw-bg-opacity: 1; + background-color: hsl(200 7% 8.8%/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:bg-graydark-50:autofill { + --tw-bg-opacity: 1; + background-color: hsl(200 7% 8.8%/var(--tw-bg-opacity)) +} + +.dark .autofill\:dark\:text-fill-white:-webkit-autofill { + -webkit-text-fill-color: #fff +} + +.dark .autofill\:dark\:text-fill-white:autofill { + -webkit-text-fill-color: #fff +} + +.dark .autofill\:dark\:shadow-fill-graydark-50:-webkit-autofill { + --tw-shadow: 0 0 0 9999px #151718 inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.dark .autofill\:dark\:shadow-fill-graydark-50:autofill { + --tw-shadow: 0 0 0 9999px #151718 inset; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) +} + +.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::-moz-placeholder { + -webkit-text-fill-color: #4c5155 +} + +.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:-webkit-autofill::placeholder { + -webkit-text-fill-color: #4c5155 +} + +.dark .autofill\:placeholder\:dark\:text-fill-graydark-700:autofill::placeholder { + -webkit-text-fill-color: #4c5155 +} + +.dark .dark\:focus\:bg-graydark-300:focus { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .dark\:focus\:text-white:focus { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .enabled\:dark\:border-green-600\/70:enabled { + border-color: rgba(22, 163, 74, .7) +} + +.dark .enabled\:dark\:bg-green-700:enabled { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.dark .disabled\:dark\:border-green-500\/30:disabled { + border-color: rgba(34, 197, 94, .3) +} + +.dark .disabled\:dark\:border-red-500\/30:disabled { + border-color: rgba(239, 68, 68, .3) +} + +.dark .disabled\:dark\:border-amber-500\/30:disabled { + border-color: rgba(245, 158, 11, .3) +} + +.dark .disabled\:dark\:bg-green-600\/70:disabled { + background-color: rgba(22, 163, 74, .7) +} + +.dark .disabled\:dark\:bg-red-600\/70:disabled { + background-color: rgba(220, 38, 38, .7) +} + +.dark .disabled\:dark\:bg-amber-600\/70:disabled { + background-color: rgba(217, 119, 6, .7) +} + +.dark .disabled\:dark\:bg-graydark-200:disabled { + --tw-bg-opacity: 1; + background-color: hsl(197 6.8% 13.6%/var(--tw-bg-opacity)) +} + +.dark .disabled\:dark\:text-white\/50:disabled { + color: hsla(0, 0%, 100%, .5) +} + +.dark .disabled\:dark\:text-graydark-700:disabled { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .disabled\:dark\:text-graydark-400:disabled { + --tw-text-opacity: 1; + color: hsl(199 6.4% 17.9%/var(--tw-text-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-blue-200\/10 { + background-color: rgba(191, 219, 254, .1) +} + +.dark .group:hover .dark\:group-hover\:bg-green-600 { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-amber-600 { + --tw-bg-opacity: 1; + background-color: rgb(217 119 6/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-graydark-800 { + --tw-bg-opacity: 1; + background-color: hsl(206 6% 43.9%/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-blue-400 { + --tw-bg-opacity: 1; + background-color: rgb(96 165 250/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-green-400 { + --tw-bg-opacity: 1; + background-color: rgb(74 222 128/var(--tw-bg-opacity)) +} + +.dark .group:hover .dark\:group-hover\:bg-amber-400 { + --tw-bg-opacity: 1; + background-color: rgb(251 191 36/var(--tw-bg-opacity)) +} + +.dark .aria-selected\:dark\:bg-graydark-500[aria-selected=true] { + --tw-bg-opacity: 1; + background-color: hsl(201 6.2% 20.5%/var(--tw-bg-opacity)) +} + +.dark .data-\[state\=active\]\:dark\:border-green-500[data-state=active] { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.dark .data-\[state\=checked\]\:dark\:text-white[data-state=checked] { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .dark\:data-\[disabled\]\:text-graydark-700[data-disabled] { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +.dark .data-\[state\=active\]\:dark\:text-accentdark-1100[data-state=active] { + --tw-text-opacity: 1; + color: rgb(217 244 225/var(--tw-text-opacity)) +} + +.dark .dark\:enabled\:data-\[state\=checked\]\:bg-green-500[data-state=checked]:enabled { + --tw-bg-opacity: 1; + background-color: rgb(34 197 94/var(--tw-bg-opacity)) +} + +.dark .dark\:enabled\:data-\[state\=checked\]\:ring-green-500[data-state=checked]:enabled { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(34 197 94/var(--tw-ring-opacity)) +} + +.dark .dark\:disabled\:data-\[state\=checked\]\:bg-green-500\/50[data-state=checked]:disabled { + background-color: rgba(34, 197, 94, .5) +} + +.dark .dark\:disabled\:data-\[state\=checked\]\:ring-green-500\/50[data-state=checked]:disabled { + --tw-ring-color: rgba(34, 197, 94, .5) +} + +.dark .group[data-selected=true] .dark\:group-data-\[selected\=true\]\:text-graydark-1000 { + --tw-text-opacity: 1; + color: hsl(206 6% 63%/var(--tw-text-opacity)) +} + +.dark .open\:dark\:text-white[data-state=open] { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .dark\:open\:opacity-20[data-state=open] { + opacity: .2 +} + +.dark .hover\:dark\:border-green-500:hover { + --tw-border-opacity: 1; + border-color: rgb(34 197 94/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-green-600:hover { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-red-600:hover { + --tw-border-opacity: 1; + border-color: rgb(220 38 38/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-amber-600:hover { + --tw-border-opacity: 1; + border-color: rgb(217 119 6/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:border-graydark-500:hover { + --tw-border-opacity: 1; + border-color: hsl(201 6.2% 20.5%/var(--tw-border-opacity)) +} + +.dark .hover\:dark\:bg-green-100\/20:hover { + background-color: rgba(220, 252, 231, .2) +} + +.dark .dark\:hover\:bg-green-700\/90:hover { + background-color: rgba(21, 128, 61, .9) +} + +.dark .dark\:hover\:bg-red-700\/90:hover { + background-color: rgba(185, 28, 28, .9) +} + +.dark .dark\:hover\:bg-amber-700\/90:hover { + background-color: rgba(180, 83, 9, .9) +} + +.dark .dark\:hover\:bg-graydark-300:hover { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .hover\:dark\:text-white\/50:hover { + color: hsla(0, 0%, 100%, .5) +} + +.dark .hover\:dark\:text-graydark-1000:hover { + --tw-text-opacity: 1; + color: hsl(206 6% 63%/var(--tw-text-opacity)) +} + +.dark .hover\:dark\:text-white:hover { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +.dark .enabled\:hover\:dark\:border-green-600:hover:enabled { + --tw-border-opacity: 1; + border-color: rgb(22 163 74/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-red-600:hover:enabled { + --tw-border-opacity: 1; + border-color: rgb(220 38 38/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-amber-600:hover:enabled { + --tw-border-opacity: 1; + border-color: rgb(217 119 6/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-graydark-500:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(201 6.2% 20.5%/var(--tw-border-opacity)) +} + +.dark .enabled\:hover\:dark\:border-graydark-600:hover:enabled { + --tw-border-opacity: 1; + border-color: hsl(203 6% 24.3%/var(--tw-border-opacity)) +} + +.dark .dark\:enabled\:hover\:bg-green-700\/90:hover:enabled { + background-color: rgba(21, 128, 61, .9) +} + +.dark .dark\:enabled\:hover\:bg-red-700\/90:hover:enabled { + background-color: rgba(185, 28, 28, .9) +} + +.dark .dark\:enabled\:hover\:bg-amber-700\/90:hover:enabled { + background-color: rgba(180, 83, 9, .9) +} + +.dark .dark\:enabled\:hover\:bg-graydark-300:hover:enabled { + --tw-bg-opacity: 1; + background-color: hsl(198 6.6% 15.8%/var(--tw-bg-opacity)) +} + +.dark .enabled\:hover\:dark\:text-white:hover:enabled { + --tw-text-opacity: 1; + color: rgb(255 255 255/var(--tw-text-opacity)) +} + +@media (min-width:640px) { + .sm\:flex { + display: flex + } + + .sm\:w-auto { + width: auto + } + + .sm\:grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)) + } + + .sm\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)) + } +} + +@media (min-width:768px) { + .md\:top-\[-2px\] { + top: -2px + } + + .md\:block { + display: block + } + + .md\:h-\[50px\] { + height: 50px + } + + .md\:items-start { + align-items: flex-start + } + + .md\:gap-3 { + gap: .75rem + } + + .md\:gap-y-14 { + row-gap: 3.5rem + } + + .md\:px-10 { + padding-left: 2.5rem; + padding-right: 2.5rem + } + + .md\:text-xl { + font-size: 1.25rem; + line-height: 1.75rem + } + + .md\:text-2xl { + font-size: 1.5rem; + line-height: 2rem + } + + .md\:text-3xl { + font-size: 1.875rem; + line-height: 2.25rem + } + + .md\:text-4xl { + font-size: 2.25rem; + line-height: 2.5rem + } + + .md\:text-6xl { + font-size: 3.75rem; + line-height: 1 + } + + .md\:text-xs { + font-size: .75rem; + line-height: 1rem + } + + .md\:text-sm { + font-size: .875rem; + line-height: 1.25rem + } + + .md\:text-base { + font-size: 1rem; + line-height: 1.5rem + } + + .md\:text-lg { + font-size: 1.125rem; + line-height: 1.75rem + } + + .md\:text-5xl { + font-size: 3rem; + line-height: 1 + } + + .md\:leading-relaxed { + line-height: 1.625 + } +} + +@media (min-width:1024px) { + .lg\:block { + display: block + } + + .lg\:grid-cols-4 { + grid-template-columns: repeat(4, minmax(0, 1fr)) + } + + .lg\:px-16 { + padding-left: 4rem; + padding-right: 4rem + } +} + +@media (min-width:1280px) { + .xl\:grid-cols-5 { + grid-template-columns: repeat(5, minmax(0, 1fr)) + } +} + +.\[\&\+\*\]\:\!pl-0+* { + padding-left: 0 !important +} + +.\[\&\:nth-child\(2\)\]\:animation-delay-500:nth-child(2) { + animation-delay: .5s +} + +.\[\&\:nth-child\(3\)\]\:animation-delay-1000:nth-child(3) { + animation-delay: 1s +} + +.\[\&\>svg\]\:-mx-0\.5>svg { + margin-left: -.125rem; + margin-right: -.125rem +} + +.\[\&\>svg\]\:opacity-50>svg { + opacity: .5 +} + +.hover\:\[\&\>svg\]\:opacity-100>svg:hover { + opacity: 1 +} + +.\[\&\[href\]\]\:border-green-800\/30[href] { + border-color: rgba(22, 101, 52, .3) +} + +.\[\&\[href\]\]\:bg-green-700[href] { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.\[\&\[href\]\]\:hover\:border-green-800\/50:hover[href] { + border-color: rgba(22, 101, 52, .5) +} + +.\[\&\[href\]\]\:hover\:bg-green-800\/90:hover[href] { + background-color: rgba(22, 101, 52, .9) +} + +.dark .\[\&\[href\]\]\:dark\:border-green-600\/70[href] { + border-color: rgba(22, 163, 74, .7) +} + +.dark .\[\&\[href\]\]\:dark\:bg-green-700[href] { + --tw-bg-opacity: 1; + background-color: rgb(21 128 61/var(--tw-bg-opacity)) +} + +.dark .dark\:\[\&\[href\]\]\:hover\:bg-green-700\/90:hover[href] { + background-color: rgba(21, 128, 61, .9) +} + +.\[\&\>\*\]\:rounded-none>* { + border-radius: 0 +} + +.\[\&\>\*\]\:border-r-0>* { + border-right-width: 0 +} + +.\[\&\>\*\]\:border-l>* { + border-left-width: 1px +} + +.\[\&\>\*\:last-child\]\:rounded-r>:last-child { + border-top-right-radius: .25rem; + border-bottom-right-radius: .25rem +} + +.\[\&\>\*\:last-child\]\:border-r>:last-child { + border-right-width: 1px +} + +.\[\&\>\*\:first-child\]\:rounded-l>:first-child { + border-top-left-radius: .25rem; + border-bottom-left-radius: .25rem +} + +.\[\&\>\*\:first-child\]\:border-l>:first-child { + border-left-width: 1px +} + +.\[\&\>div\]\:\!block>div { + display: block !important +} + +.\[\&\>div\]\:\!h-full>div { + height: 100% !important +} + +.\[\&\>div\]\:flex-1>div { + flex: 1 1 0% +} + +.\[\&\>div\]\:overflow-hidden>div { + overflow: hidden +} + +.\[\&\>select\:disabled\]\:text-gray-600>select:disabled { + --tw-text-opacity: 1; + color: hsl(207 11.1% 85.9%/var(--tw-text-opacity)) +} + +.dark .\[\&\>select\:disabled\]\:dark\:text-graydark-700>select:disabled { + --tw-text-opacity: 1; + color: hsl(207 5.6% 31.6%/var(--tw-text-opacity)) +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/1eff7769948a8c71.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/7a86083759ce0787.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/1fece7a471d60ffe.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/94e828afa3939314.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/dcb90225ac4215b0.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/21379288e5de0162.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/20a0263cfae743ff.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/a06cddabfd904d07.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/c05280b20c19cff6.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/ab3a7057d2c303a3.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e7a1d48695380088.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/7a514966b24fa042.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/f34054e2970d3793.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/ee809f9c8637ac35.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/416dffb3eaba61b5.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/b2613c7882fb9dad.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/00b652cd5acf4d1a.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/318cd1ba86719051.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/26570e7eecd756a7.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/6ad357e49f846140.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/c1dadd6c99c0900a.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/9fb8e434756a520e.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/b83e9714dba3a7b2.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/7729f7b3bc7fa987.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/69dc0d8a22bc572a.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/d752111844abddfa.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/7fe39de114f984a0.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/6c817bbad1cfd130.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/bc7cd6cbdb8771c6.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/1b708ab38c59f94d.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/ed08f0e693ce6a65.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/0be44b380099e057.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/f4ebea4f2ece3dbe.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/f7e3cefe6d9fda21.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/26d0ad28b444f0fb.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/d704a8fea67672dc.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/3ce4c920cddd7002.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/1027f57de01c0b24.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/23313877d5d6ff1b.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/00417edf5e44282b.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/228a95c965c5f90b.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/97c8a55b2cb1421c.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/86d6d32ab6c2e21d.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/07304b90e9b5ca40.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/54f3953b28e50f98.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/a40ccebe730e6b34.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/01ec6e01ff4830ae.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/34d8d58b783ee6bb.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/3763ada0a9bb1988.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/787b0654beea4191.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/2c3c1f0838a71cfb.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/47bcda1e7b1ac8be.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/bed76354f405346d.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/c70aa70a01eaecff.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/24cfcc12c15b03b9.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/29ffcd3df3f1cb91.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/3cef106cd115e360.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/a0c95037dd5c9387.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/e889cd181219a83f.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/6d6d0e4a023f9f33.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/0148c4ca3456ea72.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/4184cf5f191b83db.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/28cea0425961ab58.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/b4c759cba7a5f011.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/de555e6bc944c11a.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/791334aa8b2b679f.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/a2411df190893074.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/60d74363e715829c.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/eb37c9fe4776ea97.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/bc381c5935034aa5.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/f565fad065ab4cf3.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/f9946f06d70a1b5b.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/d1f5f89450ecd78c.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/ebcf93a611f94ec0.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/ec50b434b597bc61.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/6be22a85bef54f08.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/9491f41002d34397.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/afba6ba6bf9157e8.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/be843c5b0882ad66.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/67aea609c6135b3b.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/09b62d668edb05d1.woff2) format("woff2"); + unicode-range: U+0370-03ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/10446295ae7f2657.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/b6ecfd81ed9f83c9.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Sans_f3b0db; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/08404bcfb1dae67a.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Sans_Fallback_f3b0db; + src: local("Arial"); + ascent-override: 101.35%; + descent-override: 27.19%; + line-gap-override: 0.00%; + size-adjust: 101.13% +} + +.__className_f3b0db { + font-family: __IBM_Plex_Sans_f3b0db, __IBM_Plex_Sans_Fallback_f3b0db +} + +.__variable_f3b0db { + --font-sans: "__IBM_Plex_Sans_f3b0db", "__IBM_Plex_Sans_Fallback_f3b0db" +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/43f58290d48b3e4f.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/f7b042c81aa9dac9.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/5f52e8aafa6d55e1.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/7c8d3f8a7910b37f.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/c91ca22957702d7a.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e31631a967fe3515.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e46a860e09e79916.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/2d1700372dfaaa94.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/27834a3ea5568a72.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/ba1ff977fd46651f.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/aa5329918e5352b7.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/3546445dbedfe8e0.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/a329a67c917d0d83.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/32ef35af86a1df18.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/42c2d543c4ca0ff8.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/4acd96e66b7a15d8.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/c00fdcaa534cf51c.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/a9b64de7575b01f6.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/e05a5a1d4048d7df.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/a9387c470a117487.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/5b5f10d1030076fd.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/66b34bbb56a523d8.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/62e8d71f5f62d0a9.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/4f5bd398699bdcf0.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/5873ad5359ff35c9.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/a08baca5e17c57be.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/b8347de82b1bd9a8.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/99163ae90df46b27.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/b9432a067aca8720.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/c3f479ae50d16e35.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/d4eddeab410cd094.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/1674d377433d7de6.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/f65f080f6ad9aa76.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/7a44530bd17b4a4c.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/37e85b36581a02ab.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/1e0eb4a7325b5d14.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/136ae42764b7e0db.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/b17f4305e2f0c22a.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/a7f64a09f7737545.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 100; + font-display: swap; + src: url(/_next/static/media/98bcafdc59ee6d65.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/ce562f20499ad585.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/57699fff66d5761c.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/e490b1ecb6589d48.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/524be5e37a616f9b.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 200; + font-display: swap; + src: url(/_next/static/media/c690761783507ad4.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/5a7dbca54c2fc4dd.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/d4e99c199dab3055.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/9ae1ac821a4debaf.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/ec1b1cbc512bc43e.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/_next/static/media/463cef7d4672ba68.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/ebec2867f40f78ec.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/d607327a37a507c7.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/2e1b830192b7974a.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/3aa27b2eb5f698f7.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/_next/static/media/3478b6abef19b3b3.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/b6f2eee8808a2bb4.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/bc2003170c651d45.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/d43ef4503e5571d0.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/3281a323710833ec.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/_next/static/media/684e5662d94c69e1.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/97b12f7b815cdf76.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/19fc70611c7ee6d5.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/01721b474504e7d6.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/3ccf24bed29cbb82.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(/_next/static/media/be2416cbb012c256.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/7524e759b2d52ce2.woff2) format("woff2"); + unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/83feb047e42e457a.woff2) format("woff2"); + unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116 +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/40bfb1458eaec497.woff2) format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01a0-01a1, U+01af-01b0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1ea0-1ef9, U+20ab +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/8ea51a27e153ec43.woff2) format("woff2"); + unicode-range: U+0100-02af, U+0304, U+0308, U+0329, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20cf, U+2113, U+2c60-2c7f, U+a720-a7ff +} + +@font-face { + font-family: __IBM_Plex_Mono_5c2ce5; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/_next/static/media/035951aefad7b653.p.woff2) format("woff2"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: __IBM_Plex_Mono_Fallback_5c2ce5; + src: local("Arial"); + ascent-override: 77.95%; + descent-override: 20.91%; + line-gap-override: 0.00%; + size-adjust: 131.49% +} + +.__className_5c2ce5 { + font-family: __IBM_Plex_Mono_5c2ce5, __IBM_Plex_Mono_Fallback_5c2ce5 +} + +.__variable_5c2ce5 { + --font-mono: "__IBM_Plex_Mono_5c2ce5", "__IBM_Plex_Mono_Fallback_5c2ce5" +} diff --git a/renterd/renterd.go b/renterd/renterd.go index 4e2e9c0df..a234982c2 100644 --- a/renterd/renterd.go +++ b/renterd/renterd.go @@ -18,4 +18,4 @@ func Handler() http.Handler { panic(err) } return ui.Handler(fs) -} \ No newline at end of file +} diff --git a/scripts/copy-dists-for-publishing.sh b/scripts/copy-dists-for-publishing.sh new file mode 100755 index 000000000..1c6b26526 --- /dev/null +++ b/scripts/copy-dists-for-publishing.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +# from: +# dist/apps/renterd/ +# dist/apps/hostd/ +# dist/libs/react-renterd/ +# dist/libs/design-system/ +# to: +# apps/renterd/dist/ +# apps/hostd/dist/ +# libs/react-renterd/dist/ +# libs/design-system/dist/ + +for dir in dist/apps/* dist/libs/*; do + targetDir="${dir#dist/}" + if [ -d "$targetDir" ]; then + mkdir -p "$targetDir/dist" + cp -rv "$dir"/* "$targetDir/dist/" + fi +done + +# reverse +# for dir in apps/* libs/*; do +# sourceDir="$dir/dist" +# targetDir="dist/${dir}" +# if [ -d "$sourceDir" ]; then +# mkdir -p "$targetDir" +# cp -rv "$sourceDir"/* "$targetDir/" +# fi +# done diff --git a/scripts/release-go.sh b/scripts/release-go.sh index e0a212248..5863d00cf 100755 --- a/scripts/release-go.sh +++ b/scripts/release-go.sh @@ -15,10 +15,10 @@ do if [ -z "$tag" ] then echo "Tag $go_release does not exists, exporting app" - npx nx export $app + npx nx run $app:build:export mkdir -p $app/assets rm -rf $app/assets/* - cp -R dist/apps/$app-embed/exported/* $app/assets/ + cp -R dist/apps/$app-export/.next/* $app/assets/ go_releases+=("$go_release") else echo "Tag $go_release exists" diff --git a/server/Caddyfile b/server/Caddyfile index daa4775d2..5c61f8691 100644 --- a/server/Caddyfile +++ b/server/Caddyfile @@ -112,6 +112,12 @@ zen.siascan.com { reverse_proxy localhost:3005 } +beta.siascan.com { + import cloudflare + encode gzip + reverse_proxy localhost:5005 +} + host.sia.tech { encode gzip reverse_proxy localhost:3006 @@ -134,4 +140,3 @@ www.sia.tech { support.sia.tech { redir https://docs.sia.tech{uri} permanent } - diff --git a/walletd/assets/_next/static/chunks/framework-93435e5523790c31.js b/walletd/assets/_next/static/chunks/framework-93435e5523790c31.js index f31b23250..1b5a664cc 100644 --- a/walletd/assets/_next/static/chunks/framework-93435e5523790c31.js +++ b/walletd/assets/_next/static/chunks/framework-93435e5523790c31.js @@ -1,4 +1,5 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{2967:function(e,n,t){/** +"use strict"; (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([[774], { + 2967: function(e, n, t) {/** * @license React * react-dom.production.min.js * @@ -6,7 +7,8 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r,l,a,u,o,i,s=t(2784),c=t(4616);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t