Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
✨ Use only geographic time zones (#1033)
Luke Vella27dda65ca53d
diff --git a/apps/web/package.json b/apps/web/package.jsonindex 3dc47963c..05ff634e6 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -12,7 +12,9 @@"lint:tsc": "tsc --noEmit","i18n:scan": "i18next-scanner --config i18next-scanner.config.js","prettier": "prettier --write ./src",- "test": "playwright test",+ "test:e2e": "playwright test",+ "test:unit": "vitest run",+ "test": "yarn test:unit && yarn test:e2e","test:codegen": "playwright codegen http://localhost:3000","docker:start": "./scripts/docker-start.sh"},@@ -40,7 +42,6 @@"accept-language-parser": "^1.5.0","autoprefixer": "^10.4.13","class-variance-authority": "^0.6.0",- "cmdk": "^0.2.0","color-hash": "^2.0.2","cookie": "^0.5.0","crypto": "^1.0.1",@@ -88,6 +89,7 @@"@types/smoothscroll-polyfill": "^0.3.1","cheerio": "^1.0.0-rc.12","cross-env": "^7.0.3",+ "vitest": "^1.3.1","i18next-scanner": "^4.2.0","i18next-scanner-typescript": "^1.1.1","smtp-tester": "^2.0.1",diff --git a/apps/web/playwright.config.ts b/apps/web/playwright.config.tsindex 2389bbaa3..36e6bc582 100644--- a/apps/web/playwright.config.ts+++ b/apps/web/playwright.config.ts@@ -23,6 +23,7 @@ const config: PlaywrightTestConfig = {permissions: ["clipboard-read"],trace: "retain-on-failure",},+ testDir: "./tests",webServer: {command: `NODE_ENV=test yarn start --port ${PORT}`,url: baseURL,diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.jsonindex b991a71c5..30d18c2d8 100644--- a/apps/web/public/locales/en/app.json+++ b/apps/web/public/locales/en/app.json@@ -102,7 +102,6 @@"timeZoneSelect__defaultValue": "Select time zone…","timeZoneSelect__noOption": "No option found","timeZoneSelect__inputPlaceholder": "Search…",- "timeZonePicker__ignore": "Ignore time zone","poweredByRallly": "Powered by <a>{name}</a>","participants": "Participants","language": "Language",@@ -240,5 +239,7 @@"inviteParticipantLinkInfo": "Anyone with this link will be able to vote on your poll.","accountNotLinkedTitle": "Your account cannot be linked to an existing user","accountNotLinkedDescription": "A user with this email already exists. Please log in using the original method.",- "or": "Or"+ "or": "Or",+ "autoTimeZone": "Automatic Time Zone Conversion",+ "autoTimeZoneHelp": "Enable this setting to automatically adjust event times to each participant's local time zone."}diff --git a/apps/web/src/components/clock.tsx b/apps/web/src/components/clock.tsxindex a305a7475..102d92099 100644--- a/apps/web/src/components/clock.tsx+++ b/apps/web/src/components/clock.tsx@@ -22,7 +22,7 @@ import { usePreferences } from "@/contexts/preferences";import { useDayjs } from "@/utils/dayjs";export const TimePreferences = () => {- const { preferences, updatePreferences } = usePreferences();+ const { updatePreferences } = usePreferences();const { timeFormat, timeZone } = useDayjs();return (@@ -32,7 +32,7 @@ export const TimePreferences = () => {<Trans i18nKey="timeZone" /></Label><TimeZoneSelect- value={preferences.timeZone ?? timeZone}+ value={timeZone}onValueChange={(newTimeZone) => {updatePreferences({ timeZone: newTimeZone });}}@@ -43,7 +43,7 @@ export const TimePreferences = () => {<Trans i18nKey="timeFormat" /></Label><TimeFormatPicker- value={preferences.timeFormat ?? timeFormat}+ value={timeFormat}onChange={(newTimeFormat) => {updatePreferences({ timeFormat: newTimeFormat });}}@@ -75,17 +75,15 @@ export const Clock = ({ className }: { className?: string }) => {export const TimesShownIn = () => {const { timeZone } = useDayjs();- const timeZoneDisplayFormat = soft(timeZone)[0];- const now = spacetime.now(timeZone);- const standard = timeZoneDisplayFormat.standard.name;- const dst = timeZoneDisplayFormat.daylight?.name;- const timeZoneName = now.isDST() ? dst : standard;return (<ClockPreferences><button className="inline-flex items-center gap-x-2 text-sm hover:underline"><GlobeIcon className="size-4" />- <Trans i18nKey="timeShownIn" values={{ timeZone: timeZoneName }} />+ <Trans+ i18nKey="timeShownIn"+ values={{ timeZone: timeZone.replaceAll("_", " ") }}+ /></button></ClockPreferences>);diff --git a/apps/web/src/components/date-card.tsx b/apps/web/src/components/date-card.tsxindex 12c79caaa..53ff588e0 100644--- a/apps/web/src/components/date-card.tsx+++ b/apps/web/src/components/date-card.tsx@@ -2,7 +2,6 @@ import clsx from "clsx";import * as React from "react";export interface DateCardProps {- annotation?: React.ReactNode;day: string;dow?: string;month: string;@@ -10,32 +9,22 @@ export interface DateCardProps {}const DateCard: React.FunctionComponent<DateCardProps> = ({- annotation,className,day,- dow,month,}) => {return (<divclassName={clsx(- "relative inline-flex size-14 items-center justify-center rounded-md border border-gray-200 bg-white p-1 text-center",+ "relative inline-flex size-12 flex-col rounded-md border bg-gray-50 text-center text-slate-800",className,)}>- {annotation ? (- <div className="absolute -right-3 -top-3 z-10">{annotation}</div>- ) : null}- <div>- {dow ? (- <div className="-mt-3 bg-white text-center text-xs text-gray-500">- {dow}- </div>- ) : null}- <div className="text-center text-xl font-bold leading-none">{day}</div>- <div className="text-center text-xs font-semibold uppercase leading-normal text-gray-500">- {month}- </div>+ <div className="text-muted-foreground border-b border-gray-200 text-xs font-normal leading-4">+ {month}+ </div>+ <div className="flex grow items-center justify-center rounded-b-md bg-white text-lg font-semibold leading-none tracking-tight">+ {day}</div></div>);diff --git a/apps/web/src/components/forms/poll-details-form.tsx b/apps/web/src/components/forms/poll-details-form.tsxindex 7b58d39de..93fb05782 100644--- a/apps/web/src/components/forms/poll-details-form.tsx+++ b/apps/web/src/components/forms/poll-details-form.tsx@@ -53,7 +53,9 @@ export const PollDetailsForm = () => {<FormItem><div>- <FormLabel className="inline-block">{t("location")}</FormLabel>+ <FormLabel className="inline-block" htmlFor="location">+ {t("location")}+ </FormLabel><span className="text-muted-foreground ml-1 text-sm"><Trans i18nKey="optionalLabel" defaults="(Optional)" /></span>diff --git a/apps/web/src/components/forms/poll-options-form/month-calendar/month-calendar.tsx b/apps/web/src/components/forms/poll-options-form/month-calendar/month-calendar.tsxindex 533a54948..bdd9a32f9 100644--- a/apps/web/src/components/forms/poll-options-form/month-calendar/month-calendar.tsx+++ b/apps/web/src/components/forms/poll-options-form/month-calendar/month-calendar.tsx@@ -254,7 +254,7 @@ const MonthCalendar: React.FunctionComponent<DateTimePickerProps> = ({</div></div></div>- <div className="max-h-[calc(100vh-400px)] min-h-0 grow overflow-auto">+ <div className="max-h-[calc(100vh-380px)] min-h-0 grow overflow-auto">{isTimedEvent ? (<div className="divide-y">{Object.keys(optionsByDay)@@ -264,13 +264,11 @@ const MonthCalendar: React.FunctionComponent<DateTimePickerProps> = ({return (<divkey={dateString}- className="space-y-3 p-3 sm:flex sm:space-x-4 sm:space-y-0 sm:p-4"+ className="space-y-3 p-3 sm:flex sm:items-start sm:space-x-4 sm:space-y-0 sm:p-4">- <div>- <DateCard- {...getDateProps(new Date(dateString + "T12:00:00"))}- />- </div>+ <DateCard+ {...getDateProps(new Date(dateString + "T12:00:00"))}+ /><div className="grow space-y-3">{optionsForDay.map(({ option, index }) => {if (option.type === "date") {@@ -447,7 +445,7 @@ const MonthCalendar: React.FunctionComponent<DateTimePickerProps> = ({})}</div>) : datepicker.selection.length ? (- <div className="grid grid-cols-[repeat(auto-fill,54px)] gap-3 p-3 sm:gap-4 sm:p-4">+ <div className="flex flex-wrap gap-3 p-3 sm:gap-4 sm:p-4">{datepicker.selection.sort((a, b) => a.getTime() - b.getTime()).map((selectedDate, i) => {@@ -455,18 +453,18 @@ const MonthCalendar: React.FunctionComponent<DateTimePickerProps> = ({<DateCardkey={i}{...getDateProps(selectedDate)}- annotation={- <CompactButton- icon={XIcon}- onClick={() => {- // TODO (Luke Vella) [2022-03-19]: Find cleaner way to manage this state- // Quite tedious right now to remove a single element- onChange(- removeAllOptionsForDay(options, selectedDate),- );- }}- />- }+ // annotation={+ // <CompactButton+ // icon={XIcon}+ // onClick={() => {+ // // TODO (Luke Vella) [2022-03-19]: Find cleaner way to manage this state+ // // Quite tedious right now to remove a single element+ // onChange(+ // removeAllOptionsForDay(options, selectedDate),+ // );+ // }}+ // />+ // }/>);})}diff --git a/apps/web/src/components/forms/poll-options-form/poll-options-form.tsx b/apps/web/src/components/forms/poll-options-form/poll-options-form.tsxindex 75a04244d..ab7e4bfbd 100644--- a/apps/web/src/components/forms/poll-options-form/poll-options-form.tsx+++ b/apps/web/src/components/forms/poll-options-form/poll-options-form.tsx@@ -1,12 +1,17 @@+import { Button } from "@rallly/ui/button";import { Card, CardDescription, CardHeader, CardTitle } from "@rallly/ui/card";+import { CommandDialog } from "@rallly/ui/command";import { FormField, FormMessage } from "@rallly/ui/form";+import { Label } from "@rallly/ui/label";+import { Switch } from "@rallly/ui/switch";import { Tabs, TabsList, TabsTrigger } from "@rallly/ui/tabs";-import { CalendarIcon, TableIcon } from "lucide-react";+import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip";+import { CalendarIcon, GlobeIcon, InfoIcon, TableIcon } from "lucide-react";import { Trans, useTranslation } from "next-i18next";import * as React from "react";import { useFormContext } from "react-hook-form";-import TimeZonePicker from "@/components/time-zone-picker";+import { TimeZoneCommand } from "@/components/time-zone-picker/time-zone-select";import { getBrowserTimeZone } from "../../../utils/date-time-utils";import { useModal } from "../../modal";@@ -27,6 +32,8 @@ const PollOptionsForm = ({ children }: React.PropsWithChildren) => {const { t } = useTranslation();const form = useFormContext<NewEventData>();+ const [isTimeZoneCommandModalOpen, showTimeZoneCommandModal] =+ React.useState(false);const { watch, setValue, formState } = form;const views = React.useMemo(() => {@@ -96,114 +103,165 @@ const PollOptionsForm = ({ children }: React.PropsWithChildren) => {const navigationDate = new Date(watchNavigationDate ?? Date.now());return (- <Card>- <CardHeader>- <div className="flex flex-col justify-between gap-4 sm:flex-row">- <div>- <CardTitle>- <Trans i18nKey="calendar">Calendar</Trans>- </CardTitle>- <CardDescription>- <Trans i18nKey="selectPotentialDates">- Select potential dates for your event- </Trans>- </CardDescription>- </div>- <div>- <FormField- control={form.control}- name="view"- render={({ field }) => (- <Tabs value={field.value} onValueChange={field.onChange}>- <TabsList className="w-full">- <TabsTrigger className="grow" value="month">- <CalendarIcon className="size-4 mr-2" />- <Trans i18nKey="monthView" />- </TabsTrigger>- <TabsTrigger className="grow" value="week">- <TableIcon className="size-4 mr-2" />- <Trans i18nKey="weekView" />- </TabsTrigger>- </TabsList>- </Tabs>- )}- />- </div>- </div>- </CardHeader>- {dateOrTimeRangeModal}- <div>- <FormField- control={form.control}- name="options"- rules={{- validate: (options) => {- return options.length > 0- ? true- : t("calendarHelp", {- defaultValue:- "You can't create a poll without any options. Add at least one option to continue.",- });- },- }}- render={({ field }) => (+ <>+ <Card>+ <CardHeader>+ <div className="flex flex-col justify-between gap-4 sm:flex-row">+ <div>+ <CardTitle>+ <Trans i18nKey="calendar">Calendar</Trans>+ </CardTitle>+ <CardDescription>+ <Trans i18nKey="selectPotentialDates">+ Select potential dates for your event+ </Trans>+ </CardDescription>+ </div><div>- <selectedView.Component- options={field.value}- date={navigationDate}- onNavigate={(date) => {- setValue("navigationDate", date.toISOString());- }}- onChange={(options) => {- field.onChange(options);- if (- length === 0 ||- options.every((option) => option.type === "date")- ) {- // unset the timeZone if we only have date option- setValue("timeZone", "");- }- if (- options.length > 0 &&- !formState.touchedFields.timeZone &&- options.every((option) => option.type === "timeSlot")- ) {- // set timeZone if we are adding time ranges and we haven't touched the timeZone field- setValue("timeZone", getBrowserTimeZone());- }- }}- duration={watchDuration}- onChangeDuration={(duration) => {- setValue("duration", duration);- }}+ <FormField+ control={form.control}+ name="view"+ render={({ field }) => (+ <Tabs value={field.value} onValueChange={field.onChange}>+ <TabsList className="w-full">+ <TabsTrigger className="grow" value="month">+ <CalendarIcon className="mr-2 size-4" />+ <Trans i18nKey="monthView" />+ </TabsTrigger>+ <TabsTrigger className="grow" value="week">+ <TableIcon className="mr-2 size-4" />+ <Trans i18nKey="weekView" />+ </TabsTrigger>+ </TabsList>+ </Tabs>+ )}/>- {formState.errors.options ? (- <div className="border-t bg-red-50 p-3 text-center">- <FormMessage />- </div>- ) : null}</div>- )}- />- </div>- <div className="grow border-t bg-gray-50 px-5 py-3">- <FormField- control={form.control}- name="timeZone"- render={({ field }) => (- <TimeZonePicker- value={field.value}- onBlur={field.onBlur}- onChange={(timeZone) => {- setValue("timeZone", timeZone, { shouldTouch: true });- }}- disabled={datesOnly}- />- )}- />- </div>- {children}- </Card>+ </div>+ </CardHeader>+ {dateOrTimeRangeModal}+ <div>+ <FormField+ control={form.control}+ name="options"+ rules={{+ validate: (options) => {+ return options.length > 0+ ? true+ : t("calendarHelp", {+ defaultValue:+ "You can't create a poll without any options. Add at least one option to continue.",+ });+ },+ }}+ render={({ field }) => (+ <div>+ <selectedView.Component+ options={field.value}+ date={navigationDate}+ onNavigate={(date) => {+ setValue("navigationDate", date.toISOString());+ }}+ onChange={(options) => {+ field.onChange(options);+ if (+ length === 0 ||+ options.every((option) => option.type === "date")+ ) {+ // unset the timeZone if we only have date option+ setValue("timeZone", "");+ }+ if (+ options.length > 0 &&+ !formState.touchedFields.timeZone &&+ options.every((option) => option.type === "timeSlot")+ ) {+ // set timeZone if we are adding time ranges and we haven't touched the timeZone field+ setValue("timeZone", getBrowserTimeZone());+ }+ }}+ duration={watchDuration}+ onChangeDuration={(duration) => {+ setValue("duration", duration);+ }}+ />+ {formState.errors.options ? (+ <div className="border-t bg-red-50 p-3 text-center">+ <FormMessage />+ </div>+ ) : null}+ </div>+ )}+ />+ </div>+ {!datesOnly ? (+ <FormField+ control={form.control}+ name="timeZone"+ render={({ field }) => (+ <div className="grid items-center justify-between gap-2.5 border-t bg-gray-50 p-4 md:flex">+ <div className="flex h-9 items-center gap-x-2.5 p-2">+ <Switch+ id="timeZone"+ checked={!!field.value}+ onCheckedChange={(checked) => {+ if (checked) {+ field.onChange(getBrowserTimeZone());+ } else {+ field.onChange("");+ }+ }}+ />+ <Label htmlFor="timeZone">+ <Trans+ i18nKey="autoTimeZone"+ defaults="Automatic Time Zone Conversion"+ />+ </Label>+ <Tooltip>+ <TooltipTrigger type="button">+ <InfoIcon className="text-muted-foreground size-4" />+ </TooltipTrigger>+ <TooltipContent className="w-72">+ <Trans+ i18nKey="autoTimeZoneHelp"+ defaults="Enable this setting to automatically adjust event times to each participant's local time zone."+ />+ </TooltipContent>+ </Tooltip>+ </div>+ {field.value ? (+ <div>+ <Button+ onClick={() => {+ showTimeZoneCommandModal(true);+ }}+ variant="ghost"+ >+ <GlobeIcon className="text-muted-foreground size-4" />+ {field.value}+ </Button>+ <CommandDialog+ open={isTimeZoneCommandModalOpen}+ onOpenChange={showTimeZoneCommandModal}+ >+ <TimeZoneCommand+ value={field.value}+ onSelect={(newValue) => {+ field.onChange(newValue);+ showTimeZoneCommandModal(false);+ }}+ />+ </CommandDialog>+ </div>+ ) : null}+ </div>+ )}+ />+ ) : null}+ {children}+ </Card>+ </>);};diff --git a/apps/web/src/components/settings/date-time-preferences.tsx b/apps/web/src/components/settings/date-time-preferences.tsxindex 67bcecb44..f46f0b097 100644--- a/apps/web/src/components/settings/date-time-preferences.tsx+++ b/apps/web/src/components/settings/date-time-preferences.tsx@@ -33,9 +33,9 @@ const DateTimePreferencesForm = () => {const form = useForm<FormData>({resolver: zodResolver(formSchema),defaultValues: {- timeFormat: preferences.timeFormat ?? timeFormat,- weekStart: preferences.weekStart ?? weekStart,- timeZone: preferences.timeZone ?? timeZone,+ timeFormat,+ weekStart,+ timeZone,},});diff --git a/apps/web/src/components/time-zone-picker/index.ts b/apps/web/src/components/time-zone-picker/index.tsdeleted file mode 100644index c172fb01a..000000000--- a/apps/web/src/components/time-zone-picker/index.ts+++ /dev/null@@ -1 +0,0 @@-export { default } from "./time-zone-picker";diff --git a/apps/web/src/components/time-zone-picker/time-zone-picker.tsx b/apps/web/src/components/time-zone-picker/time-zone-picker.tsxdeleted file mode 100644index ba3f2cb59..000000000--- a/apps/web/src/components/time-zone-picker/time-zone-picker.tsx+++ /dev/null@@ -1,243 +0,0 @@-import {- flip,- FloatingPortal,- offset,- size,- useFloating,-} from "@floating-ui/react-dom-interactions";-import { Combobox } from "@headlessui/react";-import clsx from "clsx";-import { ChevronDownIcon } from "lucide-react";-import { useTranslation } from "next-i18next";-import React from "react";-import spacetime from "spacetime";-import soft from "timezone-soft";--import { styleMenuItem } from "../menu-styles";-import timeZones from "./time-zones.json";--interface TimeZoneOption {- value: string;- label: string;- offset: number;-}--const useTimeZones = () => {- const options = React.useMemo(() => {- return Object.entries(timeZones)- .reduce<TimeZoneOption[]>((selectOptions, zone) => {- const now = spacetime.now(zone[0]);- const tz = now.timezone();-- let label = "";-- const min = tz.current.offset * 60;- const hr =- `${(min / 60) ^ 0}:` + (min % 60 === 0 ? "00" : Math.abs(min % 60));- const prefix = `(GMT${hr.includes("-") ? hr : `+${hr}`}) ${zone[1]}`;-- label = prefix;-- selectOptions.push({- value: tz.name,- label: label,- offset: tz.current.offset,- });-- return selectOptions;- }, [])- .sort((a: TimeZoneOption, b: TimeZoneOption) => a.offset - b.offset);- }, []);-- const findFuzzyTz = React.useCallback(- (zone: string): TimeZoneOption => {- let currentTime = spacetime.now("GMT");- try {- currentTime = spacetime.now(zone);- } catch (err) {- throw new Error(`Invalid time zone: zone`);- }- return options- .filter(- (tz: TimeZoneOption) =>- tz.offset === currentTime.timezone().current.offset,- )- .map((tz: TimeZoneOption) => {- let score = 0;- if (- currentTime.timezones[tz.value.toLowerCase()] &&- !!currentTime.timezones[tz.value.toLowerCase()].dst ===- currentTime.timezone().hasDst- ) {- if (- tz.value- .toLowerCase()- .indexOf(- currentTime.tz.substring(currentTime.tz.indexOf("/") + 1),- ) !== -1- ) {- score += 8;- }- if (- tz.label- .toLowerCase()- .indexOf(- currentTime.tz.substring(currentTime.tz.indexOf("/") + 1),- ) !== -1- ) {- score += 4;- }- if (- tz.value- .toLowerCase()- .indexOf(- currentTime.tz.substring(0, currentTime.tz.indexOf("/")),- )- ) {- score += 2;- }- score += 1;- } else if (tz.value === "GMT") {- score += 1;- }- return { tz, score };- })- .sort((a, b) => b.score - a.score)- .map(({ tz }) => tz)[0];- },- [options],- );-- return React.useMemo(- () => ({- options,- findFuzzyTz,- }),- [findFuzzyTz, options],- );-};--const TimeZonePicker: React.FunctionComponent<{- value: string;- onChange: (tz: string) => void;- onBlur?: () => void;- className?: string;- style?: React.CSSProperties;- disabled?: boolean;-}> = ({ value, onChange, onBlur, className, style, disabled }) => {- const { t } = useTranslation();- const { options, findFuzzyTz } = useTimeZones();-- const { reference, floating, x, y, strategy, refs } = useFloating({- strategy: "fixed",- middleware: [- offset(5),- flip(),- size({- apply: ({ rects }) => {- if (refs.floating.current) {- Object.assign(refs.floating.current.style, {- width: `${rects.reference.width}px`,- });- }- },- }),- ],- });-- const timeZoneOptions = React.useMemo(- () => [- {- value: "",- label: t("timeZonePicker__ignore", {- defaultValue: "Ignore time zone",- }),- offset: 0,- },- ...options,- ],- [options, t],- );-- const selectedTimeZone = React.useMemo(- () =>- value- ? timeZoneOptions.find(- (timeZoneOption) => timeZoneOption.value === value,- ) ?? findFuzzyTz(value)- : timeZoneOptions[0],- [findFuzzyTz, timeZoneOptions, value],- );-- const [query, setQuery] = React.useState("");-- const filteredTimeZones = React.useMemo(() => {- return query- ? timeZoneOptions.filter((tz) => {- if (tz.label.toLowerCase().includes(query.toLowerCase())) {- return true;- }- const tzStrings = soft(query);- return tzStrings.some((tzString) => tzString.iana === tz.value);- })- : timeZoneOptions;- }, [timeZoneOptions, query]);-- return (- <Combobox- value={selectedTimeZone}- onChange={(newTimeZone) => {- setQuery("");- onChange(newTimeZone.value);- }}- disabled={disabled}- >- <div- className={clsx("relative", className)}- ref={reference}- style={style}- >- {/* Remove generic params once Combobox.Input can infer the types */}- <Combobox.Input<"input">- className="input w-full pr-8"- displayValue={() => ""}- onChange={(e) => {- setQuery(e.target.value);- }}- onBlur={onBlur}- />- <Combobox.Button className="absolute inset-0 flex h-9 w-full cursor-default items-center px-2 text-left text-sm">- <span className="grow truncate">- {!query ? selectedTimeZone.label : null}- </span>- <span className="pointer-events-none flex">- <ChevronDownIcon className="size-5" />- </span>- </Combobox.Button>- <FloatingPortal>- <Combobox.Options- ref={floating}- className="z-50 mt-1 max-h-72 overflow-auto rounded-md bg-white py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"- style={{- position: strategy,- left: x ?? "",- top: y ?? "",- }}- >- {filteredTimeZones.map((timeZone) => (- <Combobox.Option- key={timeZone.value}- className={styleMenuItem}- value={timeZone}- >- {timeZone.label}- </Combobox.Option>- ))}- </Combobox.Options>- </FloatingPortal>- </div>- </Combobox>- );-};--export default TimeZonePicker;diff --git a/apps/web/src/components/time-zone-picker/time-zone-select.tsx b/apps/web/src/components/time-zone-picker/time-zone-select.tsxindex d798f227e..e95e31348 100644--- a/apps/web/src/components/time-zone-picker/time-zone-select.tsx+++ b/apps/web/src/components/time-zone-picker/time-zone-select.tsx@@ -1,3 +1,5 @@+"use client";+import { SelectProps } from "@radix-ui/react-select";import { cn } from "@rallly/ui";import {@@ -13,18 +15,9 @@ import dayjs from "dayjs";import { CheckIcon, ChevronDownIcon, GlobeIcon } from "lucide-react";import { useTranslation } from "next-i18next";import React from "react";-import spacetime from "spacetime";import { Trans } from "@/components/trans";--import timeZones from "./time-zones.json";--const options = Object.entries(timeZones).map(([value, label]) => ({- value,- label,-}));--export { timeZones };+import { groupedTimeZones } from "@/utils/grouped-time-zone";interface TimeZoneCommandProps {value?: string;@@ -40,107 +33,46 @@ export const TimeZoneCommand = ({ onSelect, value }: TimeZoneCommandProps) => {defaultValue: "Search…",})}/>- <CommandList className="max-h-[300px] max-w-[var(--radix-popover-content-available-width)] overflow-y-auto">+ <CommandList className="max-h-[300px] w-[var(--radix-popover-trigger-width)] max-w-[var(--radix-popover-content-available-width)] overflow-y-auto"><CommandEmpty><Transi18nKey="timeZoneSelect__noOption"defaults="No option found"/></CommandEmpty>- <CommandGroup>- {options.map((option) => {- const min = dayjs().tz(option.value).utcOffset();- const hr =- `${(min / 60) ^ 0}:` +- (min % 60 === 0 ? "00" : Math.abs(min % 60));- const offset = `GMT${hr.includes("-") ? hr : `+${hr}`}`;- return (- <CommandItem- key={option.value}- onSelect={() => onSelect?.(option.value)}- className="flex min-w-0 gap-x-2.5"- >- <CheckIcon- className={cn(- "size-4 shrink-0",- value === option.value ? "opacity-100" : "opacity-0",- )}- />- <span className="min-w-0 grow truncate">{option.label}</span>- <span className="whitespace-nowrap rounded-full bg-gray-100 px-2 py-0.5 text-xs text-gray-500">- {offset}- </span>- </CommandItem>- );- })}- </CommandGroup>+ {Object.entries(groupedTimeZones).map(([region, timeZones]) => (+ <CommandGroup heading={region} key={region}>+ {timeZones.map(({ timezone, city }) => {+ return (+ <CommandItem+ key={timezone}+ onSelect={() => onSelect?.(timezone)}+ className="flex min-w-0 gap-x-2.5"+ >+ <CheckIcon+ className={cn(+ "size-4 shrink-0",+ value === timezone ? "opacity-100" : "opacity-0",+ )}+ />+ <span className="min-w-0 grow truncate">{city}</span>+ <span className="whitespace-nowrap rounded-full bg-gray-100 px-2 py-0.5 text-xs text-gray-500">+ {dayjs().tz(timezone).format("LT")}+ </span>+ </CommandItem>+ );+ })}+ </CommandGroup>+ ))}</CommandList></Command>);};-const findFuzzyTz = (zone: string) => {- let currentTime = spacetime.now("GMT");- try {- currentTime = spacetime.now(zone);- } catch (err) {- return;- }-- const currentOffset = dayjs().tz(zone).utcOffset();-- return options- .filter((tz) => {- const offset = dayjs().tz(tz.value).utcOffset();- return offset === currentOffset;- })- .map((tz) => {- let score = 0;- if (- currentTime.timezones[tz.value.toLowerCase()] &&- !!currentTime.timezones[tz.value.toLowerCase()].dst ===- currentTime.timezone().hasDst- ) {- if (- tz.value- .toLowerCase()- .indexOf(- currentTime.tz.substring(currentTime.tz.indexOf("/") + 1),- ) !== -1- ) {- score += 8;- }- if (- tz.label- .toLowerCase()- .indexOf(- currentTime.tz.substring(currentTime.tz.indexOf("/") + 1),- ) !== -1- ) {- score += 4;- }- if (- tz.value- .toLowerCase()- .indexOf(currentTime.tz.substring(0, currentTime.tz.indexOf("/")))- ) {- score += 2;- }- score += 1;- } else if (tz.value === "GMT") {- score += 1;- }- return { tz, score };- })- .sort((a, b) => b.score - a.score)- .map(({ tz }) => tz)[0];-};-export const TimeZoneSelect = React.forwardRef<HTMLButtonElement, SelectProps>(({ value, onValueChange, disabled }, ref) => {const [open, setOpen] = React.useState(false);const popoverContentId = "timeZoneSelect__popoverContent";- const fuzzyValue = value ? findFuzzyTz(value) : undefined;return (<Popover modal={false} open={open} onOpenChange={setOpen}>@@ -156,8 +88,8 @@ export const TimeZoneSelect = React.forwardRef<HTMLButtonElement, SelectProps>(><GlobeIcon className="size-4" /><span className="grow truncate text-left">- {fuzzyValue ? (- fuzzyValue.label+ {value ? (+ value.replaceAll("_", " ")) : (<Transi18nKey="timeZoneSelect__defaultValue"@@ -165,7 +97,7 @@ export const TimeZoneSelect = React.forwardRef<HTMLButtonElement, SelectProps>(/>)}</span>- <ChevronDownIcon className="size-4 ml-2 shrink-0 opacity-50" />+ <ChevronDownIcon className="ml-2 size-4 shrink-0 opacity-50" /></button></PopoverTrigger><PopoverContentdiff --git a/apps/web/src/components/time-zone-picker/time-zones.json b/apps/web/src/components/time-zone-picker/time-zones.jsondeleted file mode 100644index 69f4be5bd..000000000--- a/apps/web/src/components/time-zone-picker/time-zones.json+++ /dev/null@@ -1,81 +0,0 @@-{- "Pacific/Midway": "Midway Island, Samoa",- "Pacific/Honolulu": "Hawaii",- "America/Juneau": "Alaska",- "America/Boise": "Mountain Time",- "America/Dawson": "Dawson, Yukon",- "America/Chihuahua": "Chihuahua, La Paz, Mazatlan",- "America/Phoenix": "Arizona",- "America/Chicago": "Central Time",- "America/Regina": "Saskatchewan",- "America/Mexico_City": "Guadalajara, Mexico City, Monterrey",- "America/Belize": "Central America",- "America/Detroit": "Eastern Time",- "America/Bogota": "Bogota, Lima, Quito",- "America/Caracas": "Caracas, La Paz",- "America/Santiago": "Santiago",- "America/St_Johns": "Newfoundland and Labrador",- "America/Sao_Paulo": "Brasilia",- "America/Tijuana": "Tijuana",- "America/Montevideo": "Montevideo",- "America/Argentina/Buenos_Aires": "Buenos Aires, Georgetown",- "America/Godthab": "Greenland",- "America/Los_Angeles": "Pacific Time",- "Atlantic/Azores": "Azores",- "Atlantic/Cape_Verde": "Cape Verde Islands",- "GMT": "UTC",- "Europe/London": "Edinburgh, London",- "Europe/Dublin": "Dublin",- "Europe/Lisbon": "Lisbon",- "Africa/Casablanca": "Casablanca, Monrovia",- "Atlantic/Canary": "Canary Islands",- "Europe/Belgrade": "Belgrade, Bratislava, Budapest, Ljubljana, Prague",- "Europe/Sarajevo": "Sarajevo, Skopje, Warsaw, Zagreb",- "Europe/Brussels": "Brussels, Copenhagen, Madrid, Paris",- "Europe/Amsterdam": "Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna",- "Africa/Algiers": "West Central Africa",- "Europe/Bucharest": "Bucharest",- "Africa/Cairo": "Cairo",- "Europe/Helsinki": "Helsinki, Kiev, Riga, Sofia, Tallinn, Vilnius",- "Europe/Athens": "Athens, Minsk",- "Asia/Jerusalem": "Jerusalem",- "Africa/Harare": "Harare, Pretoria",- "Europe/Moscow": "Istanbul, Moscow, St. Petersburg, Volgograd",- "Asia/Kuwait": "Kuwait, Riyadh",- "Africa/Nairobi": "Nairobi",- "Asia/Baghdad": "Baghdad",- "Asia/Tehran": "Tehran",- "Asia/Dubai": "Abu Dhabi, Muscat",- "Asia/Baku": "Baku, Tbilisi, Yerevan",- "Asia/Kabul": "Kabul",- "Asia/Yekaterinburg": "Ekaterinburg",- "Asia/Karachi": "Islamabad, Karachi, Tashkent",- "Asia/Kolkata": "Chennai, Kolkata, Mumbai, New Delhi",- "Asia/Kathmandu": "Kathmandu",- "Asia/Dhaka": "Astana, Dhaka",- "Asia/Colombo": "Sri Jayawardenepura",- "Asia/Almaty": "Almaty, Novosibirsk",- "Asia/Rangoon": "Yangon Rangoon",- "Asia/Bangkok": "Bangkok, Hanoi, Jakarta",- "Asia/Krasnoyarsk": "Krasnoyarsk",- "Asia/Shanghai": "Beijing, Chongqing, Hong Kong SAR, Urumqi",- "Asia/Kuala_Lumpur": "Kuala Lumpur, Singapore",- "Asia/Taipei": "Taipei",- "Australia/Perth": "Perth",- "Asia/Irkutsk": "Irkutsk, Ulaanbaatar",- "Asia/Seoul": "Seoul",- "Asia/Tokyo": "Osaka, Sapporo, Tokyo",- "Asia/Yakutsk": "Yakutsk",- "Australia/Darwin": "Darwin",- "Australia/Adelaide": "Adelaide",- "Australia/Sydney": "Canberra, Melbourne, Sydney",- "Australia/Brisbane": "Brisbane",- "Australia/Hobart": "Hobart",- "Asia/Vladivostok": "Vladivostok",- "Pacific/Guam": "Guam, Port Moresby",- "Asia/Magadan": "Magadan, Solomon Islands, New Caledonia",- "Asia/Kamchatka": "Kamchatka, Marshall Islands",- "Pacific/Fiji": "Fiji Islands",- "Pacific/Auckland": "Auckland, Wellington",- "Pacific/Tongatapu": "Nuku'alofa"-}diff --git a/apps/web/src/utils/auth.ts b/apps/web/src/utils/auth.tsindex cff04b80a..2ff74a900 100644--- a/apps/web/src/utils/auth.ts+++ b/apps/web/src/utils/auth.ts@@ -265,14 +265,12 @@ const getAuthOptions = (...args: GetServerSessionParams) =>}token = { ...token, ...session };}-if (trigger === "signIn" && user) {token.locale = user.locale;token.timeFormat = user.timeFormat;token.timeZone = user.timeZone;token.weekStart = user.weekStart;}-return token;},async session({ session, token }) {diff --git a/apps/web/src/utils/date-time-utils.ts b/apps/web/src/utils/date-time-utils.tsindex fed810d0f..b201842aa 100644--- a/apps/web/src/utils/date-time-utils.ts+++ b/apps/web/src/utils/date-time-utils.ts@@ -1,5 +1,8 @@import { TimeFormat } from "@rallly/database";import dayjs from "dayjs";+import soft from "timezone-soft";++import { supportedTimeZones } from "@/utils/supported-time-zones";import {DateTimeOption,@@ -8,8 +11,35 @@ import {type Option = { id: string; start: Date; duration: number };-export const getBrowserTimeZone = () =>- Intl.DateTimeFormat().resolvedOptions().timeZone;+export function parseIanaTimezone(timezone: string): {+ region: string;+ city: string;+} {+ const firstSlash = timezone.indexOf("/");+ const region = timezone.substring(0, firstSlash);+ const city = timezone.substring(firstSlash + 1).replaceAll("_", " ");++ return { region, city };+}++export function getBrowserTimeZone() {+ const res = soft(Intl.DateTimeFormat().resolvedOptions().timeZone)[0];+ return resolveGeographicTimeZone(res.iana);+}++export function resolveGeographicTimeZone(timezone: string) {+ const tz = supportedTimeZones.find((tz) => tz === timezone);++ if (!tz) {+ // find nearest timezone with the same offset+ const offset = dayjs().tz(timezone).utcOffset();+ return supportedTimeZones.find((tz) => {+ return dayjs().tz(tz, true).utcOffset() === offset;+ })!;+ }++ return tz;+}export const encodeDateOption = (option: DateTimeOption) => {return option.type === "timeSlot"diff --git a/apps/web/src/utils/date-time-utilts.test.ts b/apps/web/src/utils/date-time-utilts.test.tsnew file mode 100644index 000000000..a9d3a69b4--- /dev/null+++ b/apps/web/src/utils/date-time-utilts.test.ts@@ -0,0 +1,38 @@+import dayjs from "dayjs";+import timezone from "dayjs/plugin/timezone";+import utc from "dayjs/plugin/utc";+import { describe, expect, it } from "vitest";++import { supportedTimeZones } from "@/utils/supported-time-zones";++import { resolveGeographicTimeZone } from "./date-time-utils";++dayjs.extend(utc);+dayjs.extend(timezone);++describe("resolveGeographicTimezone", () => {+ it("should return same timezone when given a geographic timezone", () => {+ const browserTimeZone = resolveGeographicTimeZone("Europe/London");++ // Assert that the browser time zone is one of the supported time zones+ expect(browserTimeZone).toBe("Europe/London");+ });+ it("should return a supported timezone when given a fixed offset timezone", () => {+ const browserTimeZone = resolveGeographicTimeZone("Etc/GMT-1");++ // Assert that the browser time zone is one of the supported time zones+ expect(supportedTimeZones.includes(browserTimeZone)).toBe(true);+ });+ it("should return a supported timezone when given GMT", () => {+ const browserTimeZone = resolveGeographicTimeZone("GMT");++ // Assert that the browser time zone is one of the supported time zones+ expect(supportedTimeZones.includes(browserTimeZone)).toBe(true);+ });+ it("should return a supported timezone when given UTC", () => {+ const browserTimeZone = resolveGeographicTimeZone("UTC");++ // Assert that the browser time zone is one of the supported time zones+ expect(supportedTimeZones.includes(browserTimeZone)).toBe(true);+ });+});diff --git a/apps/web/src/utils/dayjs.tsx b/apps/web/src/utils/dayjs.tsxindex 2523af91d..18489144f 100644--- a/apps/web/src/utils/dayjs.tsx+++ b/apps/web/src/utils/dayjs.tsx@@ -16,7 +16,10 @@ import * as React from "react";import { useAsync } from "react-use";import { usePreferences } from "@/contexts/preferences";-import { getBrowserTimeZone } from "@/utils/date-time-utils";+import {+ getBrowserTimeZone,+ resolveGeographicTimeZone,+} from "@/utils/date-time-utils";import { useRequiredContext } from "../components/use-required-context";@@ -205,7 +208,13 @@ export const DayjsProvider: React.FunctionComponent<{return await dayjsLocales[l].import();}, [l]);- const preferredTimeZone = config?.timeZone ?? getBrowserTimeZone();+ const preferredTimeZone = React.useMemo(+ () =>+ config?.timeZone+ ? resolveGeographicTimeZone(config?.timeZone)+ : getBrowserTimeZone(),+ [config?.timeZone],+ );const adjustTimeZone = React.useCallback((date: dayjs.ConfigType, keepLocalTime = false) => {diff --git a/apps/web/src/utils/grouped-time-zone.ts b/apps/web/src/utils/grouped-time-zone.tsnew file mode 100644index 000000000..ec788a7ca--- /dev/null+++ b/apps/web/src/utils/grouped-time-zone.ts@@ -0,0 +1,14 @@+import { parseIanaTimezone } from "@/utils/date-time-utils";+import { supportedTimeZones } from "@/utils/supported-time-zones";++export const groupedTimeZones = supportedTimeZones.reduce(+ (acc, tz) => {+ const { region, city } = parseIanaTimezone(tz);+ if (!acc[region]) {+ acc[region] = [];+ }+ acc[region].push({ timezone: tz, city });+ return acc;+ },+ {} as Record<string, { timezone: string; city: string }[]>,+);diff --git a/apps/web/src/utils/supported-time-zones.ts b/apps/web/src/utils/supported-time-zones.tsnew file mode 100644index 000000000..be40352da--- /dev/null+++ b/apps/web/src/utils/supported-time-zones.ts@@ -0,0 +1,430 @@+export const supportedTimeZones = [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmera",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/La_Rioja",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Buenos_Aires",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Catamarca",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Ciudad_Juarez",+ "America/Coral_Harbour",+ "America/Cordoba",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Indianapolis",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Jujuy",+ "America/Juneau",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Louisville",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Mendoza",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santa_Isabel",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Calcutta",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Katmandu",+ "Asia/Khandyga",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Rangoon",+ "Asia/Riyadh",+ "Asia/Saigon",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faeroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Johnston",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Ponape",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Truk",+ "Pacific/Wake",+ "Pacific/Wallis",+] as const;diff --git a/apps/web/vitest.config.ts b/apps/web/vitest.config.tsnew file mode 100644index 000000000..f42999196--- /dev/null+++ b/apps/web/vitest.config.ts@@ -0,0 +1,14 @@+/// <reference types="vitest" />+import path from "path";+import { defineConfig } from "vitest/config";++export default defineConfig({+ test: {+ exclude: ["**/*.spec.ts"],+ },+ resolve: {+ alias: {+ "@": path.resolve(__dirname, "src"),+ },+ },+});diff --git a/package.json b/package.jsonindex c10c88759..513b6c6d6 100644--- a/package.json+++ b/package.json@@ -20,6 +20,7 @@"db:setup": "run-s db:deploy db:generate db:seed","dx": "run-s db:up db:setup","test": "turbo build:test && turbo test",+ "test:unit": "turbo test:unit","lint": "turbo lint","i18n:scan": "turbo i18n:scan","lint:tsc": "turbo lint:tsc",@@ -49,7 +50,8 @@"npm-run-all": "^4.1.5","prettier": "^3.2.4","prettier-plugin-tailwindcss": "^0.5.11",- "turbo": "^1.10.7"+ "turbo": "^1.10.7",+ "vitest": "^1.3.1"},"engines": {"node": ">=18.17.0"diff --git a/packages/database/prisma/migrations/20240221084400_unset_invalid_timezones/migration.sql b/packages/database/prisma/migrations/20240221084400_unset_invalid_timezones/migration.sqlnew file mode 100644index 000000000..b4a3bae0a--- /dev/null+++ b/packages/database/prisma/migrations/20240221084400_unset_invalid_timezones/migration.sql@@ -0,0 +1,2 @@+-- Unset non-geographic time zones+UPDATE users SET time_zone = NULL WHERE time_zone NOT LIKE '%/%' OR time_zone LIKE 'Etc/%';diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 941c768e1..9343d1bef 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -30,6 +30,7 @@"@rallly/tailwind-config": "*","class-variance-authority": "^0.6.0","clsx": "^1.2.1",+ "cmdk": "^0.2.1","tailwind-merge": "^1.12.0"},"devDependencies": {diff --git a/packages/ui/src/card.tsx b/packages/ui/src/card.tsxindex 087659975..f69048445 100644--- a/packages/ui/src/card.tsx+++ b/packages/ui/src/card.tsx@@ -23,10 +23,7 @@ const CardHeader = React.forwardRef<>(({ className, ...props }, ref) => (<divref={ref}- className={cn(- "grid border-b border-gray-100 p-3 sm:px-5 sm:py-4",- className,- )}+ className={cn("grid border-b border-gray-100 p-3 sm:p-4", className)}{...props}/>));@@ -39,7 +36,7 @@ const CardTitle = React.forwardRef<<h3ref={ref}className={cn(- "font-semibold tracking-tight sm:text-lg sm:leading-tight",+ "mb-1 font-semibold tracking-tight sm:leading-tight",className,)}{...props}@@ -63,7 +60,7 @@ const CardContent = React.forwardRef<HTMLDivElement,React.HTMLAttributes<HTMLDivElement>>(({ className, ...props }, ref) => (- <div ref={ref} className={cn("p-3 sm:px-5 sm:py-4", className)} {...props} />+ <div ref={ref} className={cn("p-3 sm:p-4", className)} {...props} />));CardContent.displayName = "CardContent";@@ -74,7 +71,7 @@ const CardFooter = React.forwardRef<<divref={ref}className={cn(- "flex items-center gap-x-2 rounded-b-md border-t bg-gray-50 p-3 sm:px-5",+ "flex items-center gap-x-2 rounded-b-md border-t bg-gray-50 p-3 sm:px-4",className,)}{...props}diff --git a/packages/ui/src/command.tsx b/packages/ui/src/command.tsxindex eb1d9a2f4..1c754adb7 100644--- a/packages/ui/src/command.tsx+++ b/packages/ui/src/command.tsx@@ -28,7 +28,7 @@ type CommandDialogProps = DialogProps;const CommandDialog = ({ children, ...props }: CommandDialogProps) => {return (<Dialog {...props}>- <DialogContent className="overflow-hidden p-0 shadow-2xl">+ <DialogContent className="shadow-huge w-full max-w-3xl overflow-hidden p-0"><Command className="[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">{children}</Command>diff --git a/packages/ui/src/input.tsx b/packages/ui/src/input.tsxindex 69536db62..9efe1e140 100644--- a/packages/ui/src/input.tsx+++ b/packages/ui/src/input.tsx@@ -19,7 +19,7 @@ const inputVariants = cva(variants: {size: {sm: "h-6 text-sm px-1",- md: "h-9 text-base px-2",+ md: "h-9 text-sm px-2",lg: "h-12 text-lg px-3",},},diff --git a/packages/ui/src/textarea.tsx b/packages/ui/src/textarea.tsxindex ca1bdb3e7..3047c5742 100644--- a/packages/ui/src/textarea.tsx+++ b/packages/ui/src/textarea.tsx@@ -9,7 +9,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(return (<textareaclassName={cn(- "border-input placeholder:text-muted-foreground flex min-h-[80px] w-full rounded border bg-transparent px-3 py-2 disabled:cursor-not-allowed disabled:opacity-50",+ "border-input placeholder:text-muted-foreground flex min-h-[80px] w-full rounded border bg-transparent px-3 py-2 text-sm disabled:cursor-not-allowed disabled:opacity-50","focus-visible:ring-offset-input-background focus-visible:ring-1 focus-visible:ring-offset-1","focus-visible:border-primary-400 focus-visible:ring-primary-100",className,diff --git a/packages/ui/src/tooltip.tsx b/packages/ui/src/tooltip.tsxindex c14e20eda..46ffb9d62 100644--- a/packages/ui/src/tooltip.tsx+++ b/packages/ui/src/tooltip.tsx@@ -20,7 +20,7 @@ const TooltipContent = React.forwardRef<sideOffset={sideOffset}side={side}className={cn(- "z-50 overflow-hidden rounded-md bg-gray-700 px-2 py-1.5 text-sm text-gray-50 shadow-md",+ "z-50 overflow-hidden rounded-md bg-gray-800 px-2 py-1.5 text-sm text-gray-50 shadow-md",className,)}{...props}diff --git a/turbo.json b/turbo.jsonindex 906362445..ec913c98e 100644--- a/turbo.json+++ b/turbo.json@@ -24,6 +24,9 @@"env": ["CI"],"dependsOn": ["^build:test"]},+ "test:unit": {+ "cache": true+ },"db:generate": {"dependsOn": ["^db:generate"]},diff --git a/vitest.workspace.ts b/vitest.workspace.tsnew file mode 100644index 000000000..afd90911f--- /dev/null+++ b/vitest.workspace.ts@@ -0,0 +1 @@+export default ["packages/*/vitest.config.ts", "apps/*/vitest.config.ts"];diff --git a/yarn.lock b/yarn.lockindex daa156f94..cedab08ae 100644--- a/yarn.lock+++ b/yarn.lock@@ -1601,116 +1601,231 @@resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz#2acd20be6d4f0458bc8c784103495ff24f13b1d3"integrity sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz#d1bc06aedb6936b3b6d313bf809a5a40387d2b7f"+ integrity sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz#b45d000017385c9051a4f03e17078abb935be220"integrity sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz#7ad65a36cfdb7e0d429c353e00f680d737c2aed4"+ integrity sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.11.tgz#f46f55414e1c3614ac682b29977792131238164c"integrity sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.12.tgz#b0c26536f37776162ca8bde25e42040c203f2824"+ integrity sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.11.tgz#bfc01e91740b82011ef503c48f548950824922b2"integrity sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.12.tgz#cb13e2211282012194d89bf3bfe7721273473b3d"+ integrity sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz#533fb7f5a08c37121d82c66198263dcc1bed29bf"integrity sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz#cbee41e988020d4b516e9d9e44dd29200996275e"+ integrity sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz#62f3819eff7e4ddc656b7c6815a31cf9a1e7d98e"integrity sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz#e37d9633246d52aecf491ee916ece709f9d5f4cd"+ integrity sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz#d478b4195aa3ca44160272dab85ef8baf4175b4a"integrity sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz#1ee4d8b682ed363b08af74d1ea2b2b4dbba76487"+ integrity sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz#7bdcc1917409178257ca6a1a27fe06e797ec18a2"integrity sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz#37a693553d42ff77cd7126764b535fb6cc28a11c"+ integrity sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz#58ad4ff11685fcc735d7ff4ca759ab18fcfe4545"integrity sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz#be9b145985ec6c57470e0e051d887b09dddb2d4b"+ integrity sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz#ce82246d873b5534d34de1e5c1b33026f35e60e3"integrity sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz#207ecd982a8db95f7b5279207d0ff2331acf5eef"+ integrity sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz#cbae1f313209affc74b80f4390c4c35c6ab83fa4"integrity sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz#d0d86b5ca1562523dc284a6723293a52d5860601"+ integrity sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz#5f32aead1c3ec8f4cccdb7ed08b166224d4e9121"integrity sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz#9a37f87fec4b8408e682b528391fa22afd952299"+ integrity sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz#38eecf1cbb8c36a616261de858b3c10d03419af9"integrity sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz#4ddebd4e6eeba20b509d8e74c8e30d8ace0b89ec"+ integrity sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz#9c5725a94e6ec15b93195e5a6afb821628afd912"integrity sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz#adb67dadb73656849f63cd522f5ecb351dd8dee8"+ integrity sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz#2dc4486d474a2a62bbe5870522a9a600e2acb916"integrity sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz#11bc0698bf0a2abf8727f1c7ace2112612c15adf"+ integrity sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz#4ad8567df48f7dd4c71ec5b1753b6f37561a65a8"integrity sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz#e86fb8ffba7c5c92ba91fc3b27ed5a70196c3cc8"+ integrity sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz#b7390c4d5184f203ebe7ddaedf073df82a658766"integrity sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz#5f37cfdc705aea687dfe5dfbec086a05acfe9c78"+ integrity sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz#d633c09492a1721377f3bccedb2d821b911e813d"integrity sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz#29da566a75324e0d0dd7e47519ba2f7ef168657b"+ integrity sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz#17388c76e2f01125bf831a68c03a7ffccb65d1a2"integrity sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz#306c0acbdb5a99c95be98bdd1d47c916e7dc3ff0"+ integrity sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz#e320636f00bb9f4fdf3a80e548cb743370d41767"integrity sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz#0933eaab9af8b9b2c930236f62aae3fc593faf30"+ integrity sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz#c778b45a496e90b6fc373e2a2bb072f1441fe0ee"integrity sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz#773bdbaa1971b36db2f6560088639ccd1e6773ae"+ integrity sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz#481a65fee2e5cce74ec44823e6b09ecedcc5194c"integrity sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz#000516cad06354cc84a73f0943a4aa690ef6fd67"+ integrity sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==+"@esbuild/[email protected]":version "0.19.11"resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz#a5d300008960bb39677c46bf16f53ec70d8dee04"integrity sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==+"@esbuild/[email protected]":+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz#c57c8afbb4054a3ab8317591a0b7320360b444ae"+ integrity sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==+"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":version "4.4.0"resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz"@@ -1902,6 +2017,13 @@wrap-ansi "^8.1.0"wrap-ansi-cjs "npm:wrap-ansi@^7.0.0"+"@jest/schemas@^29.6.3":+ version "29.6.3"+ resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03"+ integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==+ dependencies:+ "@sinclair/typebox" "^0.27.8"+"@jridgewell/gen-mapping@^0.1.0":version "0.1.1"resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz"@@ -1956,7 +2078,7 @@resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz"integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==-"@jridgewell/sourcemap-codec@^1.4.14":+"@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.4.15":version "1.4.15"resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==@@ -3184,6 +3306,71 @@estree-walker "^2.0.2"picomatch "^2.3.1"+"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.12.0.tgz#38c3abd1955a3c21d492af6b1a1dca4bb1d894d6"+ integrity sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.12.0.tgz#3822e929f415627609e53b11cec9a4be806de0e2"+ integrity sha512-OBqcX2BMe6nvjQ0Nyp7cC90cnumt8PXmO7Dp3gfAju/6YwG0Tj74z1vKrfRz7qAv23nBcYM8BCbhrsWqO7PzQQ==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.12.0.tgz#6c082de71f481f57df6cfa3701ab2a7afde96f69"+ integrity sha512-X64tZd8dRE/QTrBIEs63kaOBG0b5GVEd3ccoLtyf6IdXtHdh8h+I56C2yC3PtC9Ucnv0CpNFJLqKFVgCYe0lOQ==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.12.0.tgz#c34ca0d31f3c46a22c9afa0e944403eea0edcfd8"+ integrity sha512-cc71KUZoVbUJmGP2cOuiZ9HSOP14AzBAThn3OU+9LcA1+IUqswJyR1cAJj3Mg55HbjZP6OLAIscbQsQLrpgTOg==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.12.0.tgz#48e899c1e438629c072889b824a98787a7c2362d"+ integrity sha512-a6w/Y3hyyO6GlpKL2xJ4IOh/7d+APaqLYdMf86xnczU3nurFTaVN9s9jOXQg97BE4nYm/7Ga51rjec5nfRdrvA==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.12.0.tgz#788c2698a119dc229062d40da6ada8a090a73a68"+ integrity sha512-0fZBq27b+D7Ar5CQMofVN8sggOVhEtzFUwOwPppQt0k+VR+7UHMZZY4y+64WJ06XOhBTKXtQB/Sv0NwQMXyNAA==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.12.0.tgz#3882a4e3a564af9e55804beeb67076857b035ab7"+ integrity sha512-eTvzUS3hhhlgeAv6bfigekzWZjaEX9xP9HhxB0Dvrdbkk5w/b+1Sxct2ZuDxNJKzsRStSq1EaEkVSEe7A7ipgQ==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.12.0.tgz#0c6ad792e1195c12bfae634425a3d2aa0fe93ab7"+ integrity sha512-ix+qAB9qmrCRiaO71VFfY8rkiAZJL8zQRXveS27HS+pKdjwUfEhqo2+YF2oI+H/22Xsiski+qqwIBxVewLK7sw==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.12.0.tgz#9d62485ea0f18d8674033b57aa14fb758f6ec6e3"+ integrity sha512-TenQhZVOtw/3qKOPa7d+QgkeM6xY0LtwzR8OplmyL5LrgTWIXpTQg2Q2ycBf8jm+SFW2Wt/DTn1gf7nFp3ssVA==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.12.0.tgz#50e8167e28b33c977c1f813def2b2074d1435e05"+ integrity sha512-LfFdRhNnW0zdMvdCb5FNuWlls2WbbSridJvxOvYWgSBOYZtgBfW9UGNJG//rwMqTX1xQE9BAodvMH9tAusKDUw==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.12.0.tgz#68d233272a2004429124494121a42c4aebdc5b8e"+ integrity sha512-JPDxovheWNp6d7AHCgsUlkuCKvtu3RB55iNEkaQcf0ttsDU/JZF+iQnYcQJSk/7PtT4mjjVG8N1kpwnI9SLYaw==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.12.0.tgz#366ca62221d1689e3b55a03f4ae12ae9ba595d40"+ integrity sha512-fjtuvMWRGJn1oZacG8IPnzIV6GF2/XG+h71FKn76OYFqySXInJtseAqdprVTDTyqPxQOG9Exak5/E9Z3+EJ8ZA==++"@rollup/[email protected]":+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.12.0.tgz#9ffdf9ed133a7464f4ae187eb9e1294413fab235"+ integrity sha512-ZYmr5mS2wd4Dew/JjT0Fqi2NPB/ZhZ2VvPp7SmvPZb4Y1CG/LRcS6tcRo2cYU7zLK5A7cdbhWnnWmUjoI4qapg==+"@rushstack/eslint-patch@^1.3.3":version "1.5.1"resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.5.1.tgz#5f1b518ec5fa54437c0b7c4a821546c64fed6922"@@ -3351,6 +3538,11 @@resolved "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz"integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==+"@sinclair/typebox@^0.27.8":+ version "0.27.8"+ resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e"+ integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==+"@smithy/abort-controller@^2.1.1":version "2.1.1"resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-2.1.1.tgz#bb68596a7c8213c2ef259bc7fb0f0c118c67ea9d"@@ -4103,7 +4295,7 @@resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz"integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==-"@types/estree@^1.0.5":+"@types/[email protected]", "@types/estree@^1.0.5":version "1.0.5"resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4"integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==@@ -4541,6 +4733,50 @@resolved "https://registry.npmjs.org/@vercel/analytics/-/analytics-0.1.11.tgz"integrity sha512-mj5CPR02y0BRs1tN3oZcBNAX9a8NxsIUl9vElDPcqxnMfP0RbRc9fI9Ud7+QDg/1Izvt5uMumsr+6YsmVHcyuw==+"@vitest/[email protected]":+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-1.3.1.tgz#d4c14b89c43a25fd400a6b941f51ba27fe0cb918"+ integrity sha512-xofQFwIzfdmLLlHa6ag0dPV8YsnKOCP1KdAeVVh34vSjN2dcUiXYCD9htu/9eM7t8Xln4v03U9HLxLpPlsXdZw==+ dependencies:+ "@vitest/spy" "1.3.1"+ "@vitest/utils" "1.3.1"+ chai "^4.3.10"++"@vitest/[email protected]":+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-1.3.1.tgz#e7f96cdf74842934782bfd310eef4b8695bbfa30"+ integrity sha512-5FzF9c3jG/z5bgCnjr8j9LNq/9OxV2uEBAITOXfoe3rdZJTdO7jzThth7FXv/6b+kdY65tpRQB7WaKhNZwX+Kg==+ dependencies:+ "@vitest/utils" "1.3.1"+ p-limit "^5.0.0"+ pathe "^1.1.1"++"@vitest/[email protected]":+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-1.3.1.tgz#193a5d7febf6ec5d22b3f8c5a093f9e4322e7a88"+ integrity sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==+ dependencies:+ magic-string "^0.30.5"+ pathe "^1.1.1"+ pretty-format "^29.7.0"++"@vitest/[email protected]":+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-1.3.1.tgz#814245d46d011b99edd1c7528f5725c64e85a88b"+ integrity sha512-xAcW+S099ylC9VLU7eZfdT9myV67Nor9w9zhf0mGCYJSO+zM2839tOeROTdikOi/8Qeusffvxb/MyBSOja1Uig==+ dependencies:+ tinyspy "^2.2.0"++"@vitest/[email protected]":+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-1.3.1.tgz#7b05838654557544f694a372de767fcc9594d61a"+ integrity sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==+ dependencies:+ diff-sequences "^29.6.3"+ estree-walker "^3.0.3"+ loupe "^2.3.7"+ pretty-format "^29.7.0"+"@webassemblyjs/[email protected]", "@webassemblyjs/ast@^1.11.5":version "1.11.6"resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24"@@ -4750,6 +4986,11 @@ acorn-walk@^8.0.0:resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz"integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==+acorn-walk@^8.3.2:+ version "8.3.2"+ resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa"+ integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==+acorn@^7.1.1:version "7.4.1"resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz"@@ -4760,7 +5001,7 @@ acorn@^8.0.4:resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz"integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==-acorn@^8.7.1, acorn@^8.8.2:+acorn@^8.11.3, acorn@^8.7.1, acorn@^8.8.2:version "8.11.3"resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a"integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==@@ -4834,6 +5075,11 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:dependencies:color-convert "^2.0.1"+ansi-styles@^5.0.0:+ version "5.2.0"+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b"+ integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==+ansi-styles@^6.1.0:version "6.2.1"resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5"@@ -5029,6 +5275,11 @@ assert-never@^1.2.1:resolved "https://registry.npmjs.org/assert-never/-/assert-never-1.2.1.tgz"integrity sha512-TaTivMB6pYI1kXwrFlEhLeGfOqoDNdTxjCdwRfFFkEA30Eu+k48W34nlok2EYWJfFFzqaEmichdNM7th6M5HNw==+assertion-error@^1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b"+ integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==+ast-types-flow@^0.0.7:version "0.0.7"resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad"@@ -5268,6 +5519,11 @@ [email protected]:resolved "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz"integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==+cac@^6.7.14:+ version "6.7.14"+ resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959"+ integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==+call-bind@^1.0.0, call-bind@^1.0.2:version "1.0.2"resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz"@@ -5320,6 +5576,19 @@ ccount@^2.0.0:resolved "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz"integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==+chai@^4.3.10:+ version "4.4.1"+ resolved "https://registry.yarnpkg.com/chai/-/chai-4.4.1.tgz#3603fa6eba35425b0f2ac91a009fe924106e50d1"+ integrity sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==+ dependencies:+ assertion-error "^1.1.0"+ check-error "^1.0.3"+ deep-eql "^4.1.3"+ get-func-name "^2.0.2"+ loupe "^2.3.6"+ pathval "^1.1.1"+ type-detect "^4.0.8"+[email protected], chalk@^3.0.0:version "3.0.0"resolved "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz"@@ -5378,6 +5647,13 @@ character-parser@^2.2.0:dependencies:is-regex "^1.0.3"+check-error@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.3.tgz#a6502e4312a7ee969f646e83bb3ddd56281bd694"+ integrity sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==+ dependencies:+ get-func-name "^2.0.2"+cheerio-select@^2.1.0:version "2.1.0"resolved "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz"@@ -5505,13 +5781,12 @@ [email protected]:resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.0.tgz#e851283bcb5c80ee7608db18487433f7b23f77cb"integrity sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==-cmdk@^0.2.0:- version "0.2.0"- resolved "https://registry.npmjs.org/cmdk/-/cmdk-0.2.0.tgz"- integrity sha512-JQpKvEOb86SnvMZbYaFKYhvzFntWBeSZdyii0rZPhKJj9uwJBxu4DaVYDrRN7r3mPop56oPhRw+JYWTKs66TYw==+cmdk@^0.2.1:+ version "0.2.1"+ resolved "https://registry.yarnpkg.com/cmdk/-/cmdk-0.2.1.tgz#aa8e1332bb0b8d8484e793017c82537351188d9a"+ integrity sha512-U6//9lQ6JvT47+6OF6Gi8BvkxYQ8SCRRSKIJkthIMsFsLZRG0cKvTtuTaefyIKMQb8rvvXy0wGdpTNq/jPtm+g==dependencies:"@radix-ui/react-dialog" "1.0.0"- command-score "0.1.2"color-convert@^1.9.0:version "1.9.3"@@ -5554,11 +5829,6 @@ comma-separated-tokens@^2.0.0:resolved "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz"integrity sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==- version "0.1.2"- resolved "https://registry.npmjs.org/command-score/-/command-score-0.1.2.tgz"- integrity sha512-VtDvQpIJBvBatnONUsPzXYFVKQQAhuf3XTNOAsdBxCNO/QCtUUd8LSgjn0GVarBkCad6aJCZfXgrjYbl/KRr7w==-version "11.1.0"resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906"@@ -5840,6 +6110,13 @@ decode-named-character-reference@^1.0.0:dependencies:character-entities "^2.0.0"+deep-eql@^4.1.3:+ version "4.1.3"+ resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-4.1.3.tgz#7c7775513092f7df98d8df9996dd085eb668cc6d"+ integrity sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==+ dependencies:+ type-detect "^4.0.0"+deep-extend@^0.6.0:version "0.6.0"resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz"@@ -5928,6 +6205,11 @@ didyoumean@^1.2.2:resolved "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz"integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==+diff-sequences@^29.6.3:+ version "29.6.3"+ resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921"+ integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==+diff@^5.0.0:version "5.1.0"resolved "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz"@@ -6354,6 +6636,35 @@ [email protected], esbuild@~0.19.10:"@esbuild/win32-ia32" "0.19.11""@esbuild/win32-x64" "0.19.11"+esbuild@^0.19.3:+ version "0.19.12"+ resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.12.tgz#dc82ee5dc79e82f5a5c3b4323a2a641827db3e04"+ integrity sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==+ optionalDependencies:+ "@esbuild/aix-ppc64" "0.19.12"+ "@esbuild/android-arm" "0.19.12"+ "@esbuild/android-arm64" "0.19.12"+ "@esbuild/android-x64" "0.19.12"+ "@esbuild/darwin-arm64" "0.19.12"+ "@esbuild/darwin-x64" "0.19.12"+ "@esbuild/freebsd-arm64" "0.19.12"+ "@esbuild/freebsd-x64" "0.19.12"+ "@esbuild/linux-arm" "0.19.12"+ "@esbuild/linux-arm64" "0.19.12"+ "@esbuild/linux-ia32" "0.19.12"+ "@esbuild/linux-loong64" "0.19.12"+ "@esbuild/linux-mips64el" "0.19.12"+ "@esbuild/linux-ppc64" "0.19.12"+ "@esbuild/linux-riscv64" "0.19.12"+ "@esbuild/linux-s390x" "0.19.12"+ "@esbuild/linux-x64" "0.19.12"+ "@esbuild/netbsd-x64" "0.19.12"+ "@esbuild/openbsd-x64" "0.19.12"+ "@esbuild/sunos-x64" "0.19.12"+ "@esbuild/win32-arm64" "0.19.12"+ "@esbuild/win32-ia32" "0.19.12"+ "@esbuild/win32-x64" "0.19.12"+escalade@^3.1.1:version "3.1.1"resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz"@@ -6720,6 +7031,13 @@ estree-walker@^2.0.2:resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz"integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==+estree-walker@^3.0.3:+ version "3.0.3"+ resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d"+ integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==+ dependencies:+ "@types/estree" "^1.0.0"+esutils@^2.0.2:version "2.0.3"resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz"@@ -6743,6 +7061,21 @@ execa@^0.10.0:signal-exit "^3.0.0"strip-eof "^1.0.0"+execa@^8.0.1:+ version "8.0.1"+ resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c"+ integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==+ dependencies:+ cross-spawn "^7.0.3"+ get-stream "^8.0.1"+ human-signals "^5.0.0"+ is-stream "^3.0.0"+ merge-stream "^2.0.0"+ npm-run-path "^5.1.0"+ onetime "^6.0.0"+ signal-exit "^4.1.0"+ strip-final-newline "^3.0.0"+extend-object@^1.0.0:version "1.0.0"resolved "https://registry.npmjs.org/extend-object/-/extend-object-1.0.0.tgz"@@ -7025,6 +7358,11 @@ gensync@^1.0.0-beta.2:resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz"integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==+get-func-name@^2.0.1, get-func-name@^2.0.2:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.2.tgz#0d7cf20cd13fda808669ffa88f4ffc7a3943fc41"+ integrity sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==+get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0:version "1.2.0"resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz"@@ -7059,6 +7397,11 @@ get-stream@^3.0.0:resolved "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz"integrity sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==+get-stream@^8.0.1:+ version "8.0.1"+ resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2"+ integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==+get-symbol-description@^1.0.0:version "1.0.0"resolved "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz"@@ -7517,6 +7860,11 @@ https-proxy-agent@^5.0.0:agent-base "6"debug "4"+human-signals@^5.0.0:+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28"+ integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==+hyphenate-style-name@^1.0.3:version "1.0.4"resolved "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz"@@ -7980,6 +8328,11 @@ is-stream@^1.1.0:resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz"integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==+is-stream@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac"+ integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==+is-string@^1.0.5, is-string@^1.0.7:version "1.0.7"resolved "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz"@@ -8171,6 +8524,11 @@ js-stringify@^1.0.2:resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==+js-tokens@^8.0.2:+ version "8.0.3"+ resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-8.0.3.tgz#1c407ec905643603b38b6be6977300406ec48775"+ integrity sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==+js-yaml@^3.13.1:version "3.14.1"resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz"@@ -8228,6 +8586,11 @@ json5@^2.2.2:resolved "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz"integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==+jsonc-parser@^3.2.0:+ version "3.2.1"+ resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.1.tgz#031904571ccf929d7670ee8c547545081cb37f1a"+ integrity sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==+version "1.0.0"resolved "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz"@@ -8382,6 +8745,14 @@ loader-runner@^4.2.0:resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1"integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==+local-pkg@^0.5.0:+ version "0.5.0"+ resolved "https://registry.yarnpkg.com/local-pkg/-/local-pkg-0.5.0.tgz#093d25a346bae59a99f80e75f6e9d36d7e8c925c"+ integrity sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==+ dependencies:+ mlly "^1.4.2"+ pkg-types "^1.0.3"+localforage@^1.8.1:version "1.10.0"resolved "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz"@@ -8458,6 +8829,13 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0:dependencies:js-tokens "^3.0.0 || ^4.0.0"+loupe@^2.3.6, loupe@^2.3.7:+ version "2.3.7"+ resolved "https://registry.yarnpkg.com/loupe/-/loupe-2.3.7.tgz#6e69b7d4db7d3ab436328013d37d1c8c3540c697"+ integrity sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==+ dependencies:+ get-func-name "^2.0.1"+lru-cache@^5.1.1:version "5.1.1"resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz"@@ -8499,6 +8877,13 @@ magic-string@^0.27.0:dependencies:"@jridgewell/sourcemap-codec" "^1.4.13"+magic-string@^0.30.5:+ version "0.30.7"+ resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.7.tgz#0cecd0527d473298679da95a2d7aeb8c64048505"+ integrity sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==+ dependencies:+ "@jridgewell/sourcemap-codec" "^1.4.15"+mailparser@^3.5.0:version "3.6.3"resolved "https://registry.npmjs.org/mailparser/-/mailparser-3.6.3.tgz"@@ -8888,6 +9273,11 @@ mimic-fn@^2.1.0:resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz"integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==+mimic-fn@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc"+ integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==+min-indent@^1.0.0:version "1.0.1"resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"@@ -8947,6 +9337,16 @@ mkdirp@^0.5.5:dependencies:minimist "^1.2.6"+mlly@^1.2.0, mlly@^1.4.2:+ version "1.6.0"+ resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.6.0.tgz#0ecfbddc706857f5e170ccd28c6b0b9c81d3f548"+ integrity sha512-YOvg9hfYQmnaB56Yb+KrJE2u0Yzz5zR+sLejEvF4fzwzV1Al6hkf2vyHTwqCRyv0hCi9rVCqVoXpyYevQIRwLQ==+ dependencies:+ acorn "^8.11.3"+ pathe "^1.1.2"+ pkg-types "^1.0.3"+ ufo "^1.3.2"+moment-timezone@^0.5.40:version "0.5.41"resolved "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.41.tgz"@@ -9230,6 +9630,13 @@ npm-run-path@^2.0.0:dependencies:path-key "^2.0.0"+npm-run-path@^5.1.0:+ version "5.2.0"+ resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.2.0.tgz#224cdd22c755560253dd71b83a1ef2f758b2e955"+ integrity sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==+ dependencies:+ path-key "^4.0.0"+nth-check@^2.0.1:version "2.1.1"resolved "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz"@@ -9364,6 +9771,13 @@ onetime@^5.1.0:dependencies:mimic-fn "^2.1.0"+onetime@^6.0.0:+ version "6.0.0"+ resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4"+ integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==+ dependencies:+ mimic-fn "^4.0.0"+open@7:version "7.4.2"resolved "https://registry.npmjs.org/open/-/open-7.4.2.tgz"@@ -9447,6 +9861,13 @@ p-limit@^3.0.2:dependencies:yocto-queue "^0.1.0"+p-limit@^5.0.0:+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-5.0.0.tgz#6946d5b7140b649b7a33a027d89b4c625b3a5985"+ integrity sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==+ dependencies:+ yocto-queue "^1.0.0"+p-locate@^4.1.0:version "4.1.0"resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz"@@ -9566,6 +9987,11 @@ path-key@^3.1.0:resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz"integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==+path-key@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18"+ integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==+path-parse@^1.0.7:version "1.0.7"resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz"@@ -9591,6 +10017,16 @@ path-type@^4.0.0:resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz"integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==+pathe@^1.1.0, pathe@^1.1.1, pathe@^1.1.2:+ version "1.1.2"+ resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec"+ integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==++pathval@^1.1.1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d"+ integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==+peberminta@^0.8.0:version "0.8.0"resolved "https://registry.npmjs.org/peberminta/-/peberminta-0.8.0.tgz"@@ -9636,6 +10072,15 @@ pirates@^4.0.1:resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz"integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==+pkg-types@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.0.3.tgz#988b42ab19254c01614d13f4f65a2cfc7880f868"+ integrity sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==+ dependencies:+ jsonc-parser "^3.2.0"+ mlly "^1.2.0"+ pathe "^1.1.0"+version "1.39.0"resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.39.0.tgz#efeaea754af4fb170d11845b8da30b2323287c63"@@ -9720,6 +10165,15 @@ [email protected]:picocolors "^1.0.0"source-map-js "^1.0.2"+postcss@^8.4.35:+ version "8.4.35"+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7"+ integrity sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==+ dependencies:+ nanoid "^3.3.7"+ picocolors "^1.0.0"+ source-map-js "^1.0.2"+posthog-js@^1.102.1:version "1.102.1"resolved "https://registry.yarnpkg.com/posthog-js/-/posthog-js-1.102.1.tgz#ac9e97703f4bba61785b1d1fa7f699516e97c6fb"@@ -9780,6 +10234,15 @@ prettier@^3.2.4:resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.4.tgz#4723cadeac2ce7c9227de758e5ff9b14e075f283"integrity sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==+pretty-format@^29.7.0:+ version "29.7.0"+ resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812"+ integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==+ dependencies:+ "@jest/schemas" "^29.6.3"+ ansi-styles "^5.0.0"+ react-is "^18.0.0"+pretty-format@^3.8.0:version "3.8.0"resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz"@@ -10157,6 +10620,11 @@ react-is@^16.13.1, react-is@^16.7.0:resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==+react-is@^18.0.0:+ version "18.2.0"+ resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"+ integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==+react-lifecycles-compat@^3.0.4:version "3.0.4"resolved "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz"@@ -10584,6 +11052,28 @@ [email protected]:optionalDependencies:fsevents "~2.3.2"+rollup@^4.2.0:+ version "4.12.0"+ resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.12.0.tgz#0b6d1e5f3d46bbcf244deec41a7421dc54cc45b5"+ integrity sha512-wz66wn4t1OHIJw3+XU7mJJQV/2NAfw5OAk6G6Hoo3zcvz/XOfQ52Vgi+AN4Uxoxi0KBBwk2g8zPrTDA4btSB/Q==+ dependencies:+ "@types/estree" "1.0.5"+ optionalDependencies:+ "@rollup/rollup-android-arm-eabi" "4.12.0"+ "@rollup/rollup-android-arm64" "4.12.0"+ "@rollup/rollup-darwin-arm64" "4.12.0"+ "@rollup/rollup-darwin-x64" "4.12.0"+ "@rollup/rollup-linux-arm-gnueabihf" "4.12.0"+ "@rollup/rollup-linux-arm64-gnu" "4.12.0"+ "@rollup/rollup-linux-arm64-musl" "4.12.0"+ "@rollup/rollup-linux-riscv64-gnu" "4.12.0"+ "@rollup/rollup-linux-x64-gnu" "4.12.0"+ "@rollup/rollup-linux-x64-musl" "4.12.0"+ "@rollup/rollup-win32-arm64-msvc" "4.12.0"+ "@rollup/rollup-win32-ia32-msvc" "4.12.0"+ "@rollup/rollup-win32-x64-msvc" "4.12.0"+ fsevents "~2.3.2"+rtl-css-js@^1.14.0:version "1.16.1"resolved "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.16.1.tgz"@@ -10798,12 +11288,17 @@ side-channel@^1.0.4:get-intrinsic "^1.0.2"object-inspect "^1.9.0"+siginfo@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30"+ integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==+signal-exit@^3.0.0, signal-exit@^3.0.2:version "3.0.7"resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz"integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==-signal-exit@^4.0.1:+signal-exit@^4.0.1, signal-exit@^4.1.0:version "4.1.0"resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04"integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==@@ -10973,6 +11468,11 @@ stack-generator@^2.0.5:dependencies:stackframe "^1.3.4"+ version "0.0.2"+ resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b"+ integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==+stackframe@^1.3.4:version "1.3.4"resolved "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz"@@ -11007,6 +11507,11 @@ [email protected], stacktrace-parser@^0.1.10:resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz"integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==+std-env@^3.5.0:+ version "3.7.0"+ resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2"+ integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==+stream-shift@^1.0.0:version "1.0.1"resolved "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz"@@ -11169,6 +11674,11 @@ strip-eof@^1.0.0:resolved "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz"integrity sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==+strip-final-newline@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd"+ integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==+strip-indent@^3.0.0:version "3.0.0"resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001"@@ -11186,6 +11696,13 @@ strip-json-comments@~2.0.1:resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz"integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==+strip-literal@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-2.0.0.tgz#5d063580933e4e03ebb669b12db64d2200687527"+ integrity sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==+ dependencies:+ js-tokens "^8.0.2"+stripe@^13.2.0:version "13.2.0"resolved "https://registry.npmjs.org/stripe/-/stripe-13.2.0.tgz"@@ -11441,6 +11958,21 @@ timezone-soft@^1.5.1:resolved "https://registry.yarnpkg.com/timezone-soft/-/timezone-soft-1.5.1.tgz#1c0148a6cbcc0ee76ecb06b0fc3df2819dfd4351"integrity sha512-3BlU8Vq8Z+hlyIiKjAHTBttc8kN10g6FPWzAEDws3zexZgEZ43c9/MJx6moJVu6rjRk51gAHFSYkssoR5+c2dQ==+tinybench@^2.5.1:+ version "2.6.0"+ resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.6.0.tgz#1423284ee22de07c91b3752c048d2764714b341b"+ integrity sha512-N8hW3PG/3aOoZAN5V/NSAEDz0ZixDSSt5b/a05iqtpgfLWMSVuCo7w0k2vVvEjdrIoeGqZzweX2WlyioNIHchA==++tinypool@^0.8.2:+ version "0.8.2"+ resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-0.8.2.tgz#84013b03dc69dacb322563a475d4c0a9be00f82a"+ integrity sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==++tinyspy@^2.2.0:+ version "2.2.1"+ resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-2.2.1.tgz#117b2342f1f38a0dbdcc73a50a454883adf861d1"+ integrity sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==+version "1.236.0"resolved "https://registry.npmjs.org/tlds/-/tlds-1.236.0.tgz"@@ -11634,6 +12166,11 @@ type-check@^0.4.0, type-check@~0.4.0:dependencies:prelude-ls "^1.2.1"+type-detect@^4.0.0, type-detect@^4.0.8:+ version "4.0.8"+ resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"+ integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==+type-fest@^0.13.1:version "0.13.1"resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.13.1.tgz#0172cb5bce80b0bd542ea348db50c7e21834d934"@@ -11718,6 +12255,11 @@ uc.micro@^1.0.1:resolved "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz"integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==+ufo@^1.3.2:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.4.0.tgz#39845b31be81b4f319ab1d99fd20c56cac528d32"+ integrity sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==+unbox-primitive@^1.0.2:version "1.0.2"resolved "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz"@@ -12005,6 +12547,54 @@ vinyl@^2.0.0, vinyl@^2.2.0:remove-trailing-separator "^1.0.1"replace-ext "^1.0.0"+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-1.3.1.tgz#a93f7372212f5d5df38e945046b945ac3f4855d2"+ integrity sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==+ dependencies:+ cac "^6.7.14"+ debug "^4.3.4"+ pathe "^1.1.1"+ picocolors "^1.0.0"+ vite "^5.0.0"++vite@^5.0.0:+ version "5.1.4"+ resolved "https://registry.yarnpkg.com/vite/-/vite-5.1.4.tgz#14e9d3e7a6e488f36284ef13cebe149f060bcfb6"+ integrity sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==+ dependencies:+ esbuild "^0.19.3"+ postcss "^8.4.35"+ rollup "^4.2.0"+ optionalDependencies:+ fsevents "~2.3.3"++vitest@^1.3.1:+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/vitest/-/vitest-1.3.1.tgz#2d7e9861f030d88a4669392a4aecb40569d90937"+ integrity sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==+ dependencies:+ "@vitest/expect" "1.3.1"+ "@vitest/runner" "1.3.1"+ "@vitest/snapshot" "1.3.1"+ "@vitest/spy" "1.3.1"+ "@vitest/utils" "1.3.1"+ acorn-walk "^8.3.2"+ chai "^4.3.10"+ debug "^4.3.4"+ execa "^8.0.1"+ local-pkg "^0.5.0"+ magic-string "^0.30.5"+ pathe "^1.1.1"+ picocolors "^1.0.0"+ std-env "^3.5.0"+ strip-literal "^2.0.0"+ tinybench "^2.5.1"+ tinypool "^0.8.2"+ vite "^5.0.0"+ vite-node "1.3.1"+ why-is-node-running "^2.2.2"+[email protected], void-elements@^3.1.0:version "3.1.0"resolved "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz"@@ -12198,6 +12788,14 @@ which@^2.0.1, which@^2.0.2:dependencies:isexe "^2.0.0"+why-is-node-running@^2.2.2:+ version "2.2.2"+ resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.2.2.tgz#4185b2b4699117819e7154594271e7e344c9973e"+ integrity sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==+ dependencies:+ siginfo "^2.0.0"+ stackback "0.0.2"+with@^7.0.0:version "7.0.2"resolved "https://registry.npmjs.org/with/-/with-7.0.2.tgz"@@ -12284,6 +12882,11 @@ yocto-queue@^0.1.0:resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==+yocto-queue@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251"+ integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==+yup@^0.32.9:version "0.32.11"resolved "https://registry.npmjs.org/yup/-/yup-0.32.11.tgz"