The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
stash changes for lib
Steven Teyf628966684cd
diff --git a/apps/web/app/[domain]/page.tsx b/apps/web/app/[domain]/page.tsxindex 18d238017d..8065de638c 100644--- a/apps/web/app/[domain]/page.tsx+++ b/apps/web/app/[domain]/page.tsx@@ -1,6 +1,6 @@import prisma from "#/lib/prisma";-import { constructMetadata } from "#/lib/utils";-import Background from "#/ui/home/background";+import { constructMetadata } from "lib";+import { Background } from "ui";import PlaceholderContent from "./placeholder";export async function generateMetadata({diff --git a/apps/web/app/[domain]/stats/[key]/page.tsx b/apps/web/app/[domain]/stats/[key]/page.tsxindex 6b3ffcf7d0..d4efce7a83 100644--- a/apps/web/app/[domain]/stats/[key]/page.tsx+++ b/apps/web/app/[domain]/stats/[key]/page.tsx@@ -2,7 +2,7 @@ import { notFound } from "next/navigation";import Stats from "#/ui/stats";import { Suspense } from "react";import { getLinkViaEdge } from "#/lib/planetscale";-import { constructMetadata } from "#/lib/utils";+import { constructMetadata } from "lib";export const runtime = "edge";diff --git a/apps/web/app/admin.dub.co/actions.ts b/apps/web/app/admin.dub.co/actions.tsindex f2e79917ab..4b9ecbad45 100644--- a/apps/web/app/admin.dub.co/actions.ts+++ b/apps/web/app/admin.dub.co/actions.ts@@ -4,7 +4,7 @@ import { deleteProject } from "#/lib/api/project";import { hashToken } from "#/lib/auth";import { DUB_PROJECT_ID } from "#/lib/constants";import prisma from "#/lib/prisma";-import { getDomainWithoutWWW } from "#/lib/utils";+import { getDomainWithoutWWW } from "lib";import { authOptions } from "@/pages/api/auth/[...nextauth]";import { get } from "@vercel/edge-config";import { randomBytes } from "crypto";diff --git a/apps/web/app/admin.dub.co/layout.tsx b/apps/web/app/admin.dub.co/layout.tsxindex 18364188da..b5de4b6521 100644--- a/apps/web/app/admin.dub.co/layout.tsx+++ b/apps/web/app/admin.dub.co/layout.tsx@@ -1,5 +1,5 @@import { ReactNode } from "react";-import Background from "#/ui/home/background";+import { Background } from "ui";export default async function AdminLayout({children,diff --git a/apps/web/app/admin.dub.co/page.tsx b/apps/web/app/admin.dub.co/page.tsxindex b802cfaa8c..49c60c8301 100644--- a/apps/web/app/admin.dub.co/page.tsx+++ b/apps/web/app/admin.dub.co/page.tsx@@ -1,4 +1,4 @@-import { constructMetadata } from "#/lib/utils";+import { constructMetadata } from "lib";import ImpersonateUser from "./components/impersonate-user";import ImpersonateProject from "./components/impersonate-project";import BanUser from "./components/ban";diff --git a/apps/web/app/api/cron/domains/route.ts b/apps/web/app/api/cron/domains/route.tsindex 68be1bf2e0..43e518ab46 100644--- a/apps/web/app/api/cron/domains/route.ts+++ b/apps/web/app/api/cron/domains/route.ts@@ -7,7 +7,7 @@ import {verifyDomain,} from "#/lib/api/domains";import prisma from "#/lib/prisma";-import { log } from "#/lib/utils";+import { log } from "lib";/*** Cron to check if domains are verified.diff --git a/apps/web/app/api/cron/domains/utils.ts b/apps/web/app/api/cron/domains/utils.tsindex 536900beae..f0c503ed5b 100644--- a/apps/web/app/api/cron/domains/utils.ts+++ b/apps/web/app/api/cron/domains/utils.ts@@ -1,5 +1,5 @@import { sendEmail } from "emails";-import { log } from "#/lib/utils";+import { log } from "lib";import { deleteDomainAndLinks } from "#/lib/api/domains";import prisma from "#/lib/prisma";import InvalidDomain from "emails/invalid-domain";diff --git a/apps/web/app/api/cron/import/bitly/route.ts b/apps/web/app/api/cron/import/bitly/route.tsindex b547e26178..7c98d32c4a 100644--- a/apps/web/app/api/cron/import/bitly/route.ts+++ b/apps/web/app/api/cron/import/bitly/route.ts@@ -1,4 +1,4 @@-import { log } from "#/lib/utils";+import { log } from "lib";import { importLinksFromBitly } from "./utils";import { redis } from "#/lib/upstash";import { NextResponse } from "next/server";diff --git a/apps/web/app/api/cron/import/short/route.ts b/apps/web/app/api/cron/import/short/route.tsindex 63c9d3be37..80a89dd22c 100644--- a/apps/web/app/api/cron/import/short/route.ts+++ b/apps/web/app/api/cron/import/short/route.ts@@ -1,4 +1,4 @@-import { log } from "#/lib/utils";+import { log } from "lib";import { redis } from "#/lib/upstash";import { NextResponse } from "next/server";import { receiver } from "#/lib/cron";diff --git a/apps/web/app/api/cron/usage/route.ts b/apps/web/app/api/cron/usage/route.tsindex b8a1f9758e..c9277ed780 100644--- a/apps/web/app/api/cron/usage/route.ts+++ b/apps/web/app/api/cron/usage/route.ts@@ -1,4 +1,4 @@-import { log } from "#/lib/utils";+import { log } from "lib";import { updateUsage } from "./utils";import { NextResponse } from "next/server";import { receiver } from "#/lib/cron";diff --git a/apps/web/app/api/cron/usage/utils.ts b/apps/web/app/api/cron/usage/utils.tsindex 694e13319b..c0623a5080 100644--- a/apps/web/app/api/cron/usage/utils.ts+++ b/apps/web/app/api/cron/usage/utils.ts@@ -1,7 +1,7 @@import { sendEmail } from "emails";import UsageExceeded from "emails/usage-exceeded";import prisma from "#/lib/prisma";-import { getAdjustedBillingCycleStart, log } from "#/lib/utils";+import { getAdjustedBillingCycleStart, log } from "lib";import { ProjectProps } from "#/lib/types";import { getTopLinks } from "#/lib/tinybird";import ClicksSummary from "emails/clicks-summary";@@ -46,7 +46,8 @@ export const updateUsage = async () => {const billingReset = projects.filter(({ usage, usageLimit, plan, billingCycleStart }) =>!(plan === "free" && usage > usageLimit) &&- getAdjustedBillingCycleStart(billingCycleStart) === new Date().getDate(),+ getAdjustedBillingCycleStart(billingCycleStart as number) ===+ new Date().getDate(),);// Get all projects that have exceeded usagediff --git a/apps/web/app/app.dub.co/(auth)/layout.tsx b/apps/web/app/app.dub.co/(auth)/layout.tsxindex 8a6cb92188..4ffe77b961 100644--- a/apps/web/app/app.dub.co/(auth)/layout.tsx+++ b/apps/web/app/app.dub.co/(auth)/layout.tsx@@ -1,4 +1,4 @@-import Background from "#/ui/home/background";+import { Background } from "ui";import { ReactNode } from "react";export const runtime = "edge";diff --git a/apps/web/app/app.dub.co/(auth)/login/page.tsx b/apps/web/app/app.dub.co/(auth)/login/page.tsxindex 6db920c483..ad5788d818 100644--- a/apps/web/app/app.dub.co/(auth)/login/page.tsx+++ b/apps/web/app/app.dub.co/(auth)/login/page.tsx@@ -1,7 +1,7 @@import { Suspense } from "react";import LoginForm from "./form";import { Button, Logo } from "ui";-import { constructMetadata } from "#/lib/utils";+import { constructMetadata } from "lib";import { HOME_DOMAIN } from "#/lib/constants";export const metadata = constructMetadata({diff --git a/apps/web/app/app.dub.co/(auth)/register/page.tsx b/apps/web/app/app.dub.co/(auth)/register/page.tsxindex 12ae3c2e0b..fd055621d7 100644--- a/apps/web/app/app.dub.co/(auth)/register/page.tsx+++ b/apps/web/app/app.dub.co/(auth)/register/page.tsx@@ -1,7 +1,7 @@import { Suspense } from "react";import RegisterForm from "./form";import { Button, Logo } from "ui";-import { constructMetadata } from "#/lib/utils";+import { constructMetadata } from "lib";import { HOME_DOMAIN } from "#/lib/constants";export const metadata = constructMetadata({diff --git a/apps/web/app/inspect/[domain]/[key]/card.tsx b/apps/web/app/inspect/[domain]/[key]/card.tsxindex adc0acae68..e5c5b094f6 100644--- a/apps/web/app/inspect/[domain]/[key]/card.tsx+++ b/apps/web/app/inspect/[domain]/[key]/card.tsx@@ -1,5 +1,5 @@import { GOOGLE_FAVICON_URL } from "#/lib/constants";-import { getApexDomain, linkConstructor } from "#/lib/utils";+import { getApexDomain, linkConstructor } from "lib";import CopyButton from "@/components/shared/copy-button";import BlurImage from "#/ui/blur-image";import Script from "next/script";diff --git a/apps/web/app/inspect/[domain]/[key]/page.tsx b/apps/web/app/inspect/[domain]/[key]/page.tsxindex 0bbfe8bfac..78deee977a 100644--- a/apps/web/app/inspect/[domain]/[key]/page.tsx+++ b/apps/web/app/inspect/[domain]/[key]/page.tsx@@ -1,9 +1,9 @@import { getLinkViaEdge } from "#/lib/planetscale";-import { constructMetadata, getApexDomain } from "#/lib/utils";+import { constructMetadata, getApexDomain } from "lib";import { Footer } from "ui";import { Nav } from "ui";import { notFound } from "next/navigation";-import Background from "#/ui/home/background";+import { Background } from "ui";import LinkInspectorCard from "./card";import LinkPreview from "#/ui/home/link-preview";import { HOME_DOMAIN } from "#/lib/constants";diff --git a/apps/web/app/inspect/[domain]/[key]/report.tsx b/apps/web/app/inspect/[domain]/[key]/report.tsxindex cd7a852987..94179b0a7b 100644--- a/apps/web/app/inspect/[domain]/[key]/report.tsx+++ b/apps/web/app/inspect/[domain]/[key]/report.tsx@@ -1,4 +1,5 @@"use client";+import { cn } from "lib";import { LoadingSpinner } from "ui";import { Flag } from "lucide-react";diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsxindex 38ddc92f10..18e2747807 100644--- a/apps/web/app/layout.tsx+++ b/apps/web/app/layout.tsx@@ -1,6 +1,6 @@import "@/styles/globals.css";import { satoshi, inter } from "@/styles/fonts";-import { cn, constructMetadata } from "#/lib/utils";+import { cn, constructMetadata } from "lib";import Providers from "./providers";export const metadata = constructMetadata();diff --git a/apps/web/app/protected/[domain]/[key]/page.tsx b/apps/web/app/protected/[domain]/[key]/page.tsxindex b3e1e3ec97..b0d9fd950c 100644--- a/apps/web/app/protected/[domain]/[key]/page.tsx+++ b/apps/web/app/protected/[domain]/[key]/page.tsx@@ -1,5 +1,5 @@-import { constructMetadata } from "#/lib/utils";-import Background from "#/ui/home/background";+import { constructMetadata } from "lib";+import { Background } from "ui";import { Logo } from "ui";import PasswordForm from "./form";diff --git a/apps/web/app/proxy/[domain]/[key]/page.tsx b/apps/web/app/proxy/[domain]/[key]/page.tsxindex 2fae58dc65..59bfe42728 100644--- a/apps/web/app/proxy/[domain]/[key]/page.tsx+++ b/apps/web/app/proxy/[domain]/[key]/page.tsx@@ -1,6 +1,6 @@import { getLinkViaEdge } from "#/lib/planetscale";import { unescape } from "html-escaper";-import { constructMetadata, getApexDomain } from "#/lib/utils";+import { constructMetadata, getApexDomain } from "lib";import { notFound, redirect } from "next/navigation";import { GOOGLE_FAVICON_URL } from "#/lib/constants";diff --git a/apps/web/app/rewrite/[url]/page.tsx b/apps/web/app/rewrite/[url]/page.tsxindex 94c3149e89..ed28b7ffca 100644--- a/apps/web/app/rewrite/[url]/page.tsx+++ b/apps/web/app/rewrite/[url]/page.tsx@@ -1,4 +1,4 @@-import { constructMetadata, getApexDomain } from "#/lib/utils";+import { constructMetadata, getApexDomain } from "lib";import { GOOGLE_FAVICON_URL } from "#/lib/constants";import { getMetaTags } from "@/pages/api/edge/metatags";diff --git a/apps/web/app/ui/home/background/background.module.css b/apps/web/app/ui/home/background/background.module.cssdeleted file mode 100644index b3ed2b427b..0000000000--- a/apps/web/app/ui/home/background/background.module.css+++ /dev/null@@ -1,61 +0,0 @@-/*- Author's note: The styles for this gradient grid background is heavily inspired by- Paco & Rauno's amazing CMDK site (https://cmdk.paco.me) – all credits go to them!-*/--.main {- width: 100vw;- min-height: 100vh;- position: fixed;- z-index: -1;- display: flex;- justify-content: center;- padding: 120px 24px 160px 24px;- pointer-events: none;-}--.main:before {- background: radial-gradient(circle, rgba(2, 0, 36, 0) 0, #fafafa 100%);- position: absolute;- content: "";- z-index: 2;- width: 100%;- height: 100%;- top: 0;-}--.main:after {- content: "";- background-image: url("/_static/grid.svg");- z-index: 1;- position: absolute;- width: 100%;- height: 100%;- top: 0;- opacity: 0.4;- filter: invert(1);-}--.content {- z-index: 3;- width: 100%;- max-width: 640px;- background-image: radial-gradient(- at 27% 37%,- hsla(215, 98%, 61%, 1) 0px,- transparent 0%- ),- radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 1) 0px, transparent 50%),- radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 1) 0px, transparent 50%),- radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 1) 0px, transparent 50%),- radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 1) 0px, transparent 50%),- radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 1) 0px, transparent 50%),- radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%);- position: absolute;- content: "";- width: 100%;- height: 100%;- filter: blur(100px) saturate(150%);- top: 80px;- opacity: 0.15;-}diff --git a/apps/web/app/ui/home/background/index.tsx b/apps/web/app/ui/home/background/index.tsxdeleted file mode 100644index 291ce269ac..0000000000--- a/apps/web/app/ui/home/background/index.tsx+++ /dev/null@@ -1,20 +0,0 @@-"use client";--import { useSelectedLayoutSegment } from "next/navigation";-import styles from "./background.module.css";-import { SHOW_BACKGROUND_SEGMENTS } from "#/lib/constants";--export default function Background() {- let segment;- try {- segment = useSelectedLayoutSegment();- } catch (e) {- // this is for /welcome which is still on /pages router- }-- return !segment || SHOW_BACKGROUND_SEGMENTS.includes(segment) ? (- <div className={styles.main}>- <div className={styles.content} />- </div>- ) : null;-}diff --git a/apps/web/app/ui/home/link-preview.tsx b/apps/web/app/ui/home/link-preview.tsxindex 2b225bc126..f788d3d313 100644--- a/apps/web/app/ui/home/link-preview.tsx+++ b/apps/web/app/ui/home/link-preview.tsx@@ -5,7 +5,7 @@ import { useDebounce } from "use-debounce";import useSWR from "swr";import { Photo } from "@/components/shared/icons";import { LoadingCircle } from "ui";-import { fetcher, getDomainWithoutWWW, getUrlFromString } from "#/lib/utils";+import { fetcher, getDomainWithoutWWW, getUrlFromString } from "lib";import { useRouter, useSearchParams } from "next/navigation";import { Link2 } from "lucide-react";diff --git a/apps/web/app/ui/modal-provider.tsx b/apps/web/app/ui/modal-provider.tsxindex 2521748df1..55e9a24721 100644--- a/apps/web/app/ui/modal-provider.tsx+++ b/apps/web/app/ui/modal-provider.tsx@@ -15,7 +15,7 @@ import { useImportShortModal } from "@/components/app/modals/import-short-modal"import { useAddEditDomainModal } from "@/components/app/modals/add-edit-domain-modal";import { mutate } from "swr";import { useRouter } from "next/router";-import { getQueryString } from "#/lib/utils";+import { getQueryString } from "lib";import { useUpgradePlanModal } from "@/components/app/modals/upgrade-plan-modal";import { useCompleteSetupModal } from "@/components/app/modals/complete-setup-modal";diff --git a/apps/web/app/ui/modals/add-edit-link-modal/expiration-section.tsx b/apps/web/app/ui/modals/add-edit-link-modal/expiration-section.tsxindex 6998d9a0c7..b2ee08aa6f 100644--- a/apps/web/app/ui/modals/add-edit-link-modal/expiration-section.tsx+++ b/apps/web/app/ui/modals/add-edit-link-modal/expiration-section.tsx@@ -1,6 +1,6 @@import { Dispatch, SetStateAction, useEffect, useState } from "react";import { type Link as LinkProps } from "@prisma/client";-import { getDateTimeLocal } from "#/lib/utils";+import { getDateTimeLocal } from "lib";import { Switch } from "ui";import { motion } from "framer-motion";import { FADE_IN_ANIMATION_SETTINGS, HOME_DOMAIN } from "#/lib/constants";diff --git a/apps/web/app/ui/modals/add-edit-link-modal/index.tsx b/apps/web/app/ui/modals/add-edit-link-modal/index.tsxindex bec5c357d1..7e6691fac6 100644--- a/apps/web/app/ui/modals/add-edit-link-modal/index.tsx+++ b/apps/web/app/ui/modals/add-edit-link-modal/index.tsx@@ -31,7 +31,7 @@ import {getUrlWithoutUTMParams,linkConstructor,truncate,-} from "#/lib/utils";+} from "lib";import ExpirationSection from "./expiration-section";import OGSection from "./og-section";import PasswordSection from "./password-section";diff --git a/apps/web/app/ui/modals/add-edit-link-modal/preview.tsx b/apps/web/app/ui/modals/add-edit-link-modal/preview.tsxindex e55b0a4d48..c8564b6987 100644--- a/apps/web/app/ui/modals/add-edit-link-modal/preview.tsx+++ b/apps/web/app/ui/modals/add-edit-link-modal/preview.tsx@@ -2,7 +2,7 @@ import BlurImage from "#/ui/blur-image";import { Facebook, LinkedIn, Photo, Twitter } from "@/components/shared/icons";import { LoadingCircle } from "ui";import { type Link as LinkProps } from "@prisma/client";-import { getDomainWithoutWWW } from "#/lib/utils";+import { getDomainWithoutWWW } from "lib";import { useMemo } from "react";import { useDebounce } from "use-debounce";diff --git a/apps/web/app/ui/modals/add-edit-link-modal/unsplash-search.tsx b/apps/web/app/ui/modals/add-edit-link-modal/unsplash-search.tsxindex 52e0f2a3dd..50156a7dce 100644--- a/apps/web/app/ui/modals/add-edit-link-modal/unsplash-search.tsx+++ b/apps/web/app/ui/modals/add-edit-link-modal/unsplash-search.tsx@@ -2,7 +2,7 @@ import { type Link as LinkProps } from "@prisma/client";import { LoadingSpinner } from "ui";import { Dispatch, SetStateAction, useState } from "react";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { useDebounce } from "use-debounce";import { Basic } from "unsplash-js/dist/methods/photos/types";import { toast } from "sonner";diff --git a/apps/web/app/ui/modals/add-edit-link-modal/utm-section.tsx b/apps/web/app/ui/modals/add-edit-link-modal/utm-section.tsxindex 7bcb657476..1688eb5595 100644--- a/apps/web/app/ui/modals/add-edit-link-modal/utm-section.tsx+++ b/apps/web/app/ui/modals/add-edit-link-modal/utm-section.tsx@@ -6,7 +6,7 @@ import {getParamsFromURL,paramsMetadata,getUrlWithoutUTMParams,-} from "#/lib/utils";+} from "lib";import { Switch } from "ui";import { FADE_IN_ANIMATION_SETTINGS, HOME_DOMAIN } from "#/lib/constants";import { InfoTooltip, SimpleTooltipContent } from "#/ui/tooltip";diff --git a/apps/web/app/ui/modals/link-qr-modal.tsx b/apps/web/app/ui/modals/link-qr-modal.tsxindex 5971189084..125c9409f4 100644--- a/apps/web/app/ui/modals/link-qr-modal.tsx+++ b/apps/web/app/ui/modals/link-qr-modal.tsx@@ -17,7 +17,7 @@ import Tooltip, { TooltipContent } from "#/ui/tooltip";import { QRCodeSVG, getQRAsCanvas, getQRAsSVGDataUri } from "#/lib/qr";import useProject from "#/lib/swr-app/use-project";import { SimpleLinkProps } from "#/lib/types";-import { getApexDomain, linkConstructor } from "#/lib/utils";+import { getApexDomain, linkConstructor } from "lib";import IconMenu from "@/components/shared/icon-menu";import { Logo, Popover, Switch } from "ui";import { toast } from "sonner";diff --git a/apps/web/app/ui/number.tsx b/apps/web/app/ui/number.tsxindex 4fd0e0e48c..6502e4558f 100644--- a/apps/web/app/ui/number.tsx+++ b/apps/web/app/ui/number.tsx@@ -1,7 +1,7 @@"use client";import { ReactNode } from "react";-import { nFormatter, timeAgo } from "#/lib/utils";+import { nFormatter, timeAgo } from "lib";import Tooltip from "#/ui/tooltip";export default function Number({diff --git a/apps/web/app/ui/stats/bar-chart.tsx b/apps/web/app/ui/stats/bar-chart.tsxindex 1330c3f5b1..97e3e7f5ed 100644--- a/apps/web/app/ui/stats/bar-chart.tsx+++ b/apps/web/app/ui/stats/bar-chart.tsx@@ -6,10 +6,10 @@ import { scaleBand, scaleLinear } from "@visx/scale";import { useTooltip, useTooltipInPortal } from "@visx/tooltip";import { motion } from "framer-motion";import { intervalData } from "#/lib/stats";-import { nFormatter } from "#/lib/utils";+import { nFormatter } from "lib";import styles from "./bar-chart.module.css";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { LoadingCircle } from "ui";import { StatsContext } from ".";import useMediaQuery from "#/lib/hooks/use-media-query";diff --git a/apps/web/app/ui/stats/bar-list.tsx b/apps/web/app/ui/stats/bar-list.tsxindex d1a5d1add8..9a1704f83b 100644--- a/apps/web/app/ui/stats/bar-list.tsx+++ b/apps/web/app/ui/stats/bar-list.tsx@@ -1,6 +1,6 @@"use client";-import { cn, nFormatter } from "#/lib/utils";+import { cn, nFormatter } from "lib";import { ReactNode, useMemo, useState } from "react";import { motion } from "framer-motion";import { Search } from "lucide-react";diff --git a/apps/web/app/ui/stats/clicks.tsx b/apps/web/app/ui/stats/clicks.tsxindex 89be642c75..da6d6b0100 100644--- a/apps/web/app/ui/stats/clicks.tsx+++ b/apps/web/app/ui/stats/clicks.tsx@@ -1,8 +1,8 @@import { Chart } from "@/components/shared/icons";import BarChart from "./bar-chart";-import { nFormatter } from "#/lib/utils";+import { nFormatter } from "lib";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { StatsContext } from ".";import { useContext } from "react";import Number from "#/ui/number";diff --git a/apps/web/app/ui/stats/devices.tsx b/apps/web/app/ui/stats/devices.tsxindex c2f0044ba5..40d9e69cc4 100644--- a/apps/web/app/ui/stats/devices.tsx+++ b/apps/web/app/ui/stats/devices.tsx@@ -4,7 +4,7 @@ import { LoadingCircle } from "ui";import { DeviceTabs, uaToBot } from "#/lib/stats";import DeviceIcon from "./device-icon";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { StatsContext } from ".";import BarList from "./bar-list";import { Maximize } from "lucide-react";diff --git a/apps/web/app/ui/stats/locations.tsx b/apps/web/app/ui/stats/locations.tsxindex 571888d72a..9391e9463a 100644--- a/apps/web/app/ui/stats/locations.tsx+++ b/apps/web/app/ui/stats/locations.tsx@@ -4,7 +4,7 @@ import { COUNTRIES } from "#/lib/constants";import { LocationTabs } from "#/lib/stats";import { LoadingCircle } from "ui";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { StatsContext } from ".";import { Maximize } from "lucide-react";import BarList from "./bar-list";diff --git a/apps/web/app/ui/stats/referer.tsx b/apps/web/app/ui/stats/referer.tsxindex e4c39365e5..896e4239dd 100644--- a/apps/web/app/ui/stats/referer.tsx+++ b/apps/web/app/ui/stats/referer.tsx@@ -2,7 +2,7 @@ import BlurImage from "#/ui/blur-image";import { Link2 } from "lucide-react";import { LoadingCircle } from "ui";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { GOOGLE_FAVICON_URL } from "#/lib/constants";import { StatsContext } from ".";import { useContext, useState } from "react";diff --git a/apps/web/app/ui/stats/toggle.tsx b/apps/web/app/ui/stats/toggle.tsxindex 15e7fab78e..3f5f19822d 100644--- a/apps/web/app/ui/stats/toggle.tsx+++ b/apps/web/app/ui/stats/toggle.tsx@@ -3,10 +3,10 @@ import { Copy, Tick } from "@/components/shared/icons";import { Calendar, ChevronDown, Share2, Lock } from "lucide-react";import { ExpandingArrow, Popover, Switch } from "ui";import { INTERVALS } from "#/lib/stats";-import { cn, linkConstructor } from "#/lib/utils";+import { cn, linkConstructor } from "lib";import IconMenu from "@/components/shared/icon-menu";import useSWR, { mutate } from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { toast } from "sonner";import Link from "next/link";import { StatsContext } from ".";diff --git a/apps/web/app/ui/tweet.tsx b/apps/web/app/ui/tweet.tsxindex 50b6b42c7f..7e2c785d54 100644--- a/apps/web/app/ui/tweet.tsx+++ b/apps/web/app/ui/tweet.tsx@@ -1,7 +1,7 @@"use client";import BlurImage from "#/ui/blur-image";-import { cn, nFormatter, truncate } from "#/lib/utils";+import { cn, nFormatter, truncate } from "lib";import { Heart, Message, Twitter } from "@/components/shared/icons";import Tilt from "react-parallax-tilt";import { enrichTweet } from "react-tweet";diff --git a/apps/web/components/app/domains/domain-card.tsx b/apps/web/components/app/domains/domain-card.tsxindex a4611681db..e24a78d0f8 100644--- a/apps/web/components/app/domains/domain-card.tsx+++ b/apps/web/components/app/domains/domain-card.tsx@@ -8,7 +8,7 @@ import {XCircleFill,} from "@/components/shared/icons";import { DomainProps, DomainVerificationStatusProps } from "#/lib/types";-import { capitalize, fetcher, nFormatter, truncate } from "#/lib/utils";+import { capitalize, fetcher, nFormatter, truncate } from "lib";import { useAddEditDomainModal } from "../modals/add-edit-domain-modal";import DomainConfiguration from "./domain-configuration";import Link from "next/link";diff --git a/apps/web/components/app/domains/domain-configuration.tsx b/apps/web/components/app/domains/domain-configuration.tsxindex 3ae596b144..f543aee195 100644--- a/apps/web/components/app/domains/domain-configuration.tsx+++ b/apps/web/components/app/domains/domain-configuration.tsx@@ -1,6 +1,6 @@import { useState } from "react";import { DomainVerificationStatusProps } from "#/lib/types";-import { getSubdomain } from "#/lib/utils";+import { getSubdomain } from "lib";export const InlineSnippet = ({ children }: { children: string }) => {return (diff --git a/apps/web/components/app/links/link-card.tsx b/apps/web/components/app/links/link-card.tsxindex 141f41ff86..3dd9221cb0 100644--- a/apps/web/components/app/links/link-card.tsx+++ b/apps/web/components/app/links/link-card.tsx@@ -22,7 +22,7 @@ import {nFormatter,setQueryString,timeAgo,-} from "#/lib/utils";+} from "lib";import useIntersectionObserver from "#/lib/hooks/use-intersection-observer";import useDomains from "#/lib/swr/use-domains";import {diff --git a/apps/web/components/app/links/link-filters.tsx b/apps/web/components/app/links/link-filters.tsxindex 154d6abcbd..53d0252a8d 100644--- a/apps/web/components/app/links/link-filters.tsx+++ b/apps/web/components/app/links/link-filters.tsx@@ -7,7 +7,7 @@ import {useRef,useState,} from "react";-import { nFormatter, setQueryString, truncate } from "#/lib/utils";+import { nFormatter, setQueryString, truncate } from "lib";import { ChevronRight, XCircle, Search, Check, Trash } from "lucide-react";import useDomains from "#/lib/swr/use-domains";import { AnimatePresence, motion } from "framer-motion";diff --git a/apps/web/components/app/links/link-pagination.tsx b/apps/web/components/app/links/link-pagination.tsxindex 8755d4a3dc..3bc012f14e 100644--- a/apps/web/components/app/links/link-pagination.tsx+++ b/apps/web/components/app/links/link-pagination.tsx@@ -1,6 +1,6 @@import { PAGINATION_LIMIT } from "#/lib/constants";import useLinksCount from "#/lib/swr/use-links-count";-import { nFormatter, setQueryString } from "#/lib/utils";+import { nFormatter, setQueryString } from "lib";import Number from "#/ui/number";import { ChevronLeft, ChevronRight } from "lucide-react";import { useRouter } from "next/router";diff --git a/apps/web/components/app/links/tag-badge.tsx b/apps/web/components/app/links/tag-badge.tsxindex 5f4afe5c5c..85fe477cc7 100644--- a/apps/web/components/app/links/tag-badge.tsx+++ b/apps/web/components/app/links/tag-badge.tsx@@ -1,5 +1,5 @@import { TagColorProps } from "#/lib/types";-import { cn, truncate } from "#/lib/utils";+import { cn, truncate } from "lib";import { Tag } from "lucide-react";export default function TagBadge({diff --git a/apps/web/components/app/modals/add-edit-link-modal/index.tsx b/apps/web/components/app/modals/add-edit-link-modal/index.tsxindex b40679305f..289e341c81 100644--- a/apps/web/components/app/modals/add-edit-link-modal/index.tsx+++ b/apps/web/components/app/modals/add-edit-link-modal/index.tsx@@ -27,7 +27,7 @@ import {isValidUrl,linkConstructor,truncate,-} from "#/lib/utils";+} from "lib";import { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL } from "#/lib/constants";import useDomains from "#/lib/swr/use-domains";import { toast } from "sonner";diff --git a/apps/web/components/app/modals/add-project-modal.tsx b/apps/web/components/app/modals/add-project-modal.tsxindex c550f4c650..211940e00b 100644--- a/apps/web/components/app/modals/add-project-modal.tsx+++ b/apps/web/components/app/modals/add-project-modal.tsx@@ -12,7 +12,7 @@ import { mutate } from "swr";import { useDebounce } from "use-debounce";import { AlertCircleFill } from "@/components/shared/icons";import Modal from "#/ui/modal";-import { generateDomainFromName } from "#/lib/utils";+import { generateDomainFromName } from "lib";import slugify from "@sindresorhus/slugify";import va from "@vercel/analytics";import { Button, Logo } from "ui";@@ -283,7 +283,7 @@ function AddProjectModalHelper({<Buttondisabled={slugError || domainError ? true : false}- loading={saving}+ loading={true}text="Create project"/></form>diff --git a/apps/web/components/app/modals/archive-link-modal.tsx b/apps/web/components/app/modals/archive-link-modal.tsxindex 1636b1add2..6bb4a383c6 100644--- a/apps/web/components/app/modals/archive-link-modal.tsx+++ b/apps/web/components/app/modals/archive-link-modal.tsx@@ -10,7 +10,7 @@ import { mutate } from "swr";import BlurImage from "#/ui/blur-image";import Modal from "#/ui/modal";import { type Link as LinkProps } from "@prisma/client";-import { getApexDomain, getQueryString, linkConstructor } from "#/lib/utils";+import { getApexDomain, getQueryString, linkConstructor } from "lib";import { GOOGLE_FAVICON_URL } from "#/lib/constants";import { toast } from "sonner";import { Button } from "ui";diff --git a/apps/web/components/app/modals/delete-link-modal.tsx b/apps/web/components/app/modals/delete-link-modal.tsxindex f2776a78fa..681220360c 100644--- a/apps/web/components/app/modals/delete-link-modal.tsx+++ b/apps/web/components/app/modals/delete-link-modal.tsx@@ -10,7 +10,7 @@ import { mutate } from "swr";import BlurImage from "#/ui/blur-image";import Modal from "#/ui/modal";import { type Link as LinkProps } from "@prisma/client";-import { getApexDomain, getQueryString, linkConstructor } from "#/lib/utils";+import { getApexDomain, getQueryString, linkConstructor } from "lib";import { toast } from "sonner";import { GOOGLE_FAVICON_URL } from "#/lib/constants";import { Button } from "ui";diff --git a/apps/web/components/app/modals/delete-token-modal.tsx b/apps/web/components/app/modals/delete-token-modal.tsxindex e43cb2bc08..adb22ebefc 100644--- a/apps/web/components/app/modals/delete-token-modal.tsx+++ b/apps/web/components/app/modals/delete-token-modal.tsx@@ -11,7 +11,7 @@ import { toast } from "sonner";import { Button, Logo } from "ui";import { Token } from "@prisma/client";import { TokenAvatar } from "#/ui/avatar";-import { timeAgo } from "#/lib/utils";+import { timeAgo } from "lib";import { Badge } from "ui";function DeleteTokenModal({diff --git a/apps/web/components/app/modals/import-bitly-modal.tsx b/apps/web/components/app/modals/import-bitly-modal.tsxindex 3fb9a1679b..d453efbf42 100644--- a/apps/web/components/app/modals/import-bitly-modal.tsx+++ b/apps/web/components/app/modals/import-bitly-modal.tsx@@ -17,7 +17,7 @@ import { ArrowRight } from "lucide-react";import { ModalContext } from "#/ui/modal-provider";import useSWR, { mutate } from "swr";import { BitlyGroupProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { HOME_DOMAIN } from "#/lib/constants";function ImportBitlyModal({diff --git a/apps/web/components/app/modals/import-short-modal.tsx b/apps/web/components/app/modals/import-short-modal.tsxindex 7cf352d21f..15ebde8cf2 100644--- a/apps/web/components/app/modals/import-short-modal.tsx+++ b/apps/web/components/app/modals/import-short-modal.tsx@@ -16,7 +16,7 @@ import { ModalContext } from "#/ui/modal-provider";import useSWR, { mutate } from "swr";import { ShortioDomainProps } from "#/lib/types";import { InfoTooltip, SimpleTooltipContent } from "#/ui/tooltip";-import { fetcher, nFormatter } from "#/lib/utils";+import { fetcher, nFormatter } from "lib";import { HOME_DOMAIN } from "#/lib/constants";function ImportShortModal({diff --git a/apps/web/components/app/modals/link-qr-modal.tsx b/apps/web/components/app/modals/link-qr-modal.tsxindex 3418267927..07a3131bf8 100644--- a/apps/web/components/app/modals/link-qr-modal.tsx+++ b/apps/web/components/app/modals/link-qr-modal.tsx@@ -21,7 +21,7 @@ import Tooltip, {import { QRCodeSVG, getQRAsCanvas, getQRAsSVGDataUri } from "#/lib/qr";import useProject from "#/lib/swr/use-project";import { SimpleLinkProps } from "#/lib/types";-import { getApexDomain, linkConstructor } from "#/lib/utils";+import { getApexDomain, linkConstructor } from "lib";import IconMenu from "@/components/shared/icon-menu";import { Popover } from "ui";import { toast } from "sonner";diff --git a/apps/web/components/app/modals/upgrade-plan-modal.tsx b/apps/web/components/app/modals/upgrade-plan-modal.tsxindex fcf3f8b1eb..d23dadc012 100644--- a/apps/web/components/app/modals/upgrade-plan-modal.tsx+++ b/apps/web/components/app/modals/upgrade-plan-modal.tsx@@ -12,7 +12,7 @@ import Link from "next/link";import { motion } from "framer-motion";import { HOME_DOMAIN, STAGGER_CHILD_VARIANTS } from "#/lib/constants";import { CheckCircleFill } from "@/components/shared/icons";-import { capitalize } from "#/lib/utils";+import { capitalize } from "lib";import { PLANS } from "#/lib/stripe/utils";import { getStripe } from "#/lib/stripe/client";import { Badge } from "ui";diff --git a/apps/web/components/app/projects/project-card.tsx b/apps/web/components/app/projects/project-card.tsxindex 69fb1eb386..ea36fec12f 100644--- a/apps/web/components/app/projects/project-card.tsx+++ b/apps/web/components/app/projects/project-card.tsx@@ -4,7 +4,7 @@ import BlurImage from "#/ui/blur-image";import { CheckCircleFill, XCircleFill } from "@/components/shared/icons";import Tooltip, { DomainsTooltip } from "#/ui/tooltip";import { ProjectWithDomainProps } from "#/lib/types";-import { fetcher, nFormatter } from "#/lib/utils";+import { fetcher, nFormatter } from "lib";import { BarChart2, Globe, Link2 } from "lucide-react";import PlanBadge from "./plan-badge";import { GOOGLE_FAVICON_URL } from "#/lib/constants";diff --git a/apps/web/components/layout/app/index.tsx b/apps/web/components/layout/app/index.tsxindex b49fe1c5fe..ea0a2fa5ed 100644--- a/apps/web/components/layout/app/index.tsx+++ b/apps/web/components/layout/app/index.tsx@@ -12,7 +12,7 @@ import ProBanner from "./pro-banner";import Cookies from "js-cookie";import { ModalContext } from "#/ui/modal-provider";import { Badge } from "ui";-import { linkConstructor } from "#/lib/utils";+import { linkConstructor } from "lib";import { HOME_DOMAIN } from "#/lib/constants";import { useAcceptInviteModal } from "@/components/app/modals/accept-invite-modal";import { MaxWidthWrapper } from "ui";diff --git a/apps/web/components/layout/app/user-dropdown.tsx b/apps/web/components/layout/app/user-dropdown.tsxindex 919a72931c..c3945e93db 100644--- a/apps/web/components/layout/app/user-dropdown.tsx+++ b/apps/web/components/layout/app/user-dropdown.tsx@@ -1,17 +1,15 @@import { useEffect, useState } from "react";import { signOut, useSession } from "next-auth/react";import { Logout } from "@/components/shared/icons";-import { Popover } from "ui";import IconMenu from "../../shared/icon-menu";import va from "@vercel/analytics";import Link from "next/link";import { Edit3, HelpCircle, MessageCircle, Settings } from "lucide-react";import { Crisp } from "crisp-sdk-web";-import { LoadingCircle } from "ui";-import { Badge } from "ui";+import { Badge, Popover, LoadingCircle } from "ui";import Cookies from "js-cookie";-import { allChangelogPosts } from "contentlayer/generated";-import { HOME_DOMAIN } from "#/lib/constants";+// import { allChangelogPosts } from "contentlayer/generated";+import { HOME_DOMAIN } from "lib";import Avatar from "#/ui/avatar";export default function UserDropdown() {@@ -30,15 +28,15 @@ export default function UserDropdown() {});}, []);- const [unreadChangelogs, setUnreadChangelogs] = useState(0);- useEffect(() => {- const lastReadChangelog =- Cookies.get("lastReadChangelog") || new Date("2023-08-13").toISOString();- const unreadChangelogs = allChangelogPosts.filter(- (post) => post.publishedAt > lastReadChangelog,- ).length;- setUnreadChangelogs(unreadChangelogs);- }, []);+ const [unreadChangelogs, setUnreadChangelogs] = useState(3);+ // useEffect(() => {+ // const lastReadChangelog =+ // Cookies.get("lastReadChangelog") || new Date("2023-08-13").toISOString();+ // const unreadChangelogs = allChangelogPosts.filter(+ // (post) => post.publishedAt > lastReadChangelog,+ // ).length;+ // setUnreadChangelogs(unreadChangelogs);+ // }, []);return (<div className="relative inline-block">diff --git a/apps/web/components/shared/github-repo.tsx b/apps/web/components/shared/github-repo.tsxindex 2d2670035e..14d8dcaba7 100644--- a/apps/web/components/shared/github-repo.tsx+++ b/apps/web/components/shared/github-repo.tsx@@ -1,4 +1,4 @@-import { nFormatter } from "#/lib/utils";+import { nFormatter } from "lib";import { GitFork, Star } from "lucide-react";import { Github } from "./icons";diff --git a/apps/web/components/stats/bar-chart.tsx b/apps/web/components/stats/bar-chart.tsxindex d651757e38..58e1ba2441 100644--- a/apps/web/components/stats/bar-chart.tsx+++ b/apps/web/components/stats/bar-chart.tsx@@ -7,10 +7,10 @@ import { withScreenSize } from "@visx/responsive";import { scaleBand, scaleLinear } from "@visx/scale";import { useTooltip, useTooltipInPortal } from "@visx/tooltip";import { motion } from "framer-motion";-import { nFormatter } from "#/lib/utils";+import { nFormatter } from "lib";import styles from "./bar-chart.module.css";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { LoadingCircle } from "ui";import { StatsContext } from ".";diff --git a/apps/web/components/stats/clicks.tsx b/apps/web/components/stats/clicks.tsxindex d4ac2973f4..0eb1604d92 100644--- a/apps/web/components/stats/clicks.tsx+++ b/apps/web/components/stats/clicks.tsx@@ -1,9 +1,9 @@import { Chart } from "@/components/shared/icons";import BarChart from "@/components/stats/bar-chart";-import { nFormatter } from "#/lib/utils";+import { nFormatter } from "lib";import { useRouter } from "next/router";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { useContext } from "react";import { StatsContext } from ".";import Number from "#/ui/number";diff --git a/apps/web/components/stats/devices.tsx b/apps/web/components/stats/devices.tsxindex ec0f7cbcc7..1f364d9244 100644--- a/apps/web/components/stats/devices.tsx+++ b/apps/web/components/stats/devices.tsx@@ -5,7 +5,7 @@ import { LoadingCircle } from "ui";import { DeviceTabs, uaToBot } from "#/lib/stats";import DeviceIcon from "./device-icon";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { StatsContext } from ".";import BarList from "#/ui/stats/bar-list";import { Maximize } from "lucide-react";diff --git a/apps/web/components/stats/locations.tsx b/apps/web/components/stats/locations.tsxindex 080fb757fc..585a0f1bf5 100644--- a/apps/web/components/stats/locations.tsx+++ b/apps/web/components/stats/locations.tsx@@ -5,7 +5,7 @@ import { LocationTabs } from "#/lib/stats";import { LoadingCircle } from "ui";import { useRouter } from "next/router";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { StatsContext } from ".";import { Maximize } from "lucide-react";import BarList from "#/ui/stats/bar-list";diff --git a/apps/web/components/stats/referer.tsx b/apps/web/components/stats/referer.tsxindex 95dc2e2efa..717677cd85 100644--- a/apps/web/components/stats/referer.tsx+++ b/apps/web/components/stats/referer.tsx@@ -3,7 +3,7 @@ import BlurImage from "#/ui/blur-image";import { Link2 } from "lucide-react";import { LoadingCircle } from "ui";import useSWR from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { GOOGLE_FAVICON_URL } from "#/lib/constants";import { useContext, useState } from "react";import { StatsContext } from ".";diff --git a/apps/web/components/stats/toggle.tsx b/apps/web/components/stats/toggle.tsxindex 44e8f8c6ee..6d078c091d 100644--- a/apps/web/components/stats/toggle.tsx+++ b/apps/web/components/stats/toggle.tsx@@ -5,11 +5,11 @@ import { Calendar, Share2, ChevronDown, Lock } from "lucide-react";import { ExpandingArrow, Tooltip, Switch } from "ui";import { INTERVALS } from "#/lib/stats";import useScroll from "#/lib/hooks/use-scroll";-import { cn, linkConstructor } from "#/lib/utils";+import { cn, linkConstructor } from "lib";import IconMenu from "@/components/shared/icon-menu";import { Popover } from "ui";import useSWR, { mutate } from "swr";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { toast } from "sonner";import { StatsContext } from ".";import useProject from "#/lib/swr/use-project";diff --git a/apps/web/contentlayer.config.ts b/apps/web/contentlayer.config.tsdeleted file mode 100644index 5c909a9ca1..0000000000--- a/apps/web/contentlayer.config.ts+++ /dev/null@@ -1,322 +0,0 @@-import { defineDocumentType, makeSource } from "contentlayer/source-files";-import remarkGfm from "remark-gfm";-import rehypePrettyCode from "rehype-pretty-code";-import rehypeSlug from "rehype-slug";-import rehypeAutolinkHeadings from "rehype-autolink-headings";-import GithubSlugger from "github-slugger";-import { capitalize } from "./lib/utils";--export const BlogPost = defineDocumentType(() => ({- name: "BlogPost",- filePathPattern: `**/blog/*.mdx`,- contentType: "mdx",- fields: {- title: {- type: "string",- required: true,- },- seoTitle: {- type: "string",- },- publishedAt: {- type: "string",- required: true,- },- summary: {- type: "string",- required: true,- },- seoDescription: {- type: "string",- },- image: {- type: "string",- required: true,- },- author: {- type: "string",- required: true,- },- categories: {- type: "list",- of: {- type: "enum",- options: ["company", "education"],- default: "company",- },- required: true,- },- related: {- type: "list",- of: {- type: "string",- },- },- },- // @ts-ignore- computedFields: computedFields("blog"),-}));--export const ChangelogPost = defineDocumentType(() => ({- name: "ChangelogPost",- filePathPattern: `**/changelog/*.mdx`,- contentType: "mdx",- fields: {- title: {- type: "string",- required: true,- },- publishedAt: {- type: "string",- required: true,- },- summary: {- type: "string",- required: true,- },- image: {- type: "string",- required: true,- },- author: {- type: "string",- required: true,- },- },- // @ts-ignore- computedFields: computedFields("changelog"),-}));--export const HelpPost = defineDocumentType(() => ({- name: "HelpPost",- filePathPattern: `**/help/*.mdx`,- contentType: "mdx",- fields: {- title: {- type: "string",- required: true,- },- updatedAt: {- type: "string",- required: true,- },- summary: {- type: "string",- required: true,- },- author: {- type: "string",- required: true,- },- categories: {- type: "list",- of: {- type: "enum",- options: [- "overview",- "getting-started",- "link-management",- "custom-domains",- "migrating",- "saml-sso",- "api",- ],- default: "overview",- },- required: true,- },- related: {- type: "list",- of: {- type: "string",- },- },- excludeHeadingsFromSearch: {- type: "boolean",- },- },- // @ts-ignore- computedFields: computedFields("help"),-}));--export const CustomersPost = defineDocumentType(() => ({- name: "CustomersPost",- filePathPattern: `**/customers/*.mdx`,- contentType: "mdx",- fields: {- title: {- type: "string",- required: true,- },- publishedAt: {- type: "string",- required: true,- },- summary: {- type: "string",- required: true,- },- image: {- type: "string",- required: true,- },- company: {- type: "string",- required: true,- },- companyLogo: {- type: "string",- required: true,- },- companyUrl: {- type: "string",- required: true,- },- companyDescription: {- type: "string",- required: true,- },- companyIndustry: {- type: "string",- required: true,- },- companySize: {- type: "string",- required: true,- },- companyFounded: {- type: "number",- required: true,- },- plan: {- type: "string",- required: true,- },- },- // @ts-ignore- computedFields: computedFields("customers"),-}));--export const LegalPost = defineDocumentType(() => ({- name: "LegalPost",- filePathPattern: `**/legal/*.mdx`,- contentType: "mdx",- fields: {- title: {- type: "string",- required: true,- },- updatedAt: {- type: "string",- required: true,- },- },- // @ts-ignore- computedFields: computedFields("legal"),-}));--const computedFields = (- type: "blog" | "changelog" | "customers" | "help" | "legal",-) => ({- slug: {- type: "string",- resolve: (doc) => doc._raw.flattenedPath.replace(`${type}/`, ""),- },- tableOfContents: {- type: "array",- resolve: (doc) => {- // get all markdown heading 2 nodes (##)- const headings = doc.body.raw.match(/^##\s.+/gm);- const slugger = new GithubSlugger();- return (- headings?.map((heading) => {- const title = heading.replace(/^##\s/, "");- return {- title,- slug: slugger.slug(title),- };- }) || []- );- },- },- images: {- type: "array",- resolve: (doc) => {- return (- doc.body.raw.match(/(?<=<Image[^>]*\bsrc=")[^"]+(?="[^>]*\/>)/g) || []- );- },- },- tweetIds: {- type: "array",- resolve: (doc) => {- const tweetMatches = doc.body.raw.match(/<Tweet\sid="[0-9]+"\s\/>/g);- return tweetMatches?.map((tweet) => tweet.match(/[0-9]+/g)[0]) || [];- },- },- githubRepos: {- type: "array",- resolve: (doc) => {- // match all <GithubRepo url=""/> and extract the url- return doc.body.raw.match(- /(?<=<GithubRepo[^>]*\burl=")[^"]+(?="[^>]*\/>)/g,- );- },- },- structuredData: {- type: "object",- resolve: (doc) => ({- "@context": "https://schema.org",- "@type": `${capitalize(type)}Posting`,- headline: doc.title,- datePublished: doc.publishedAt,- dateModified: doc.publishedAt,- description: doc.summary,- image: doc.image,- url: `https://dub.co/${doc._raw.flattenedPath}`,- author: {- "@type": "Person",- name: doc.author,- },- }),- },-});--export default makeSource({- contentDirPath: "content",- documentTypes: [BlogPost, ChangelogPost, CustomersPost, LegalPost, HelpPost],- mdx: {- remarkPlugins: [remarkGfm],- rehypePlugins: [- rehypeSlug,- [- rehypePrettyCode,- {- theme: "one-dark-pro",- onVisitLine(node) {- // Prevent lines from collapsing in `display: grid` mode, and allow empty- // lines to be copy/pasted- if (node.children.length === 0) {- node.children = [{ type: "text", value: " " }];- }- },- onVisitHighlightedLine(node) {- node.properties.className.push("line--highlighted");- },- onVisitHighlightedWord(node) {- node.properties.className = ["word--highlighted"];- },- },- ],- [- rehypeAutolinkHeadings,- {- properties: {- className: ["anchor"],- "data-mdx-heading": "",- },- },- ],- ],- },-});diff --git a/apps/web/emails/clicks-summary.tsx b/apps/web/emails/clicks-summary.tsxindex c6f9384d02..0bd3017ca3 100644--- a/apps/web/emails/clicks-summary.tsx+++ b/apps/web/emails/clicks-summary.tsx@@ -16,7 +16,7 @@ import {} from "@react-email/components";import { Link2, MousePointerClick } from "lucide-react";import { DUB_LOGO } from "../lib/constants";-import { nFormatter, truncate } from "../lib/utils";+import { nFormatter, truncate } from "lib";import Footer from "./components/footer";export default function ClicksSummary({diff --git a/apps/web/emails/index.ts b/apps/web/emails/index.tsindex e7099d077f..6d4446fa8c 100644--- a/apps/web/emails/index.ts+++ b/apps/web/emails/index.ts@@ -1,4 +1,4 @@-import { nanoid } from "#/lib/utils";+import { nanoid } from "lib";import { ReactElement, JSXElementConstructor } from "react";import { Resend } from "resend";diff --git a/apps/web/emails/links-imported.tsx b/apps/web/emails/links-imported.tsxindex 2662427a73..9b352b3f7a 100644--- a/apps/web/emails/links-imported.tsx+++ b/apps/web/emails/links-imported.tsx@@ -14,7 +14,7 @@ import {Tailwind,Text,} from "@react-email/components";-import { linkConstructor, timeAgo } from "../lib/utils";+import { linkConstructor, timeAgo } from "lib";import { DUB_LOGO } from "../lib/constants";import Footer from "./components/footer";diff --git a/apps/web/emails/rebrand-email.tsx b/apps/web/emails/rebrand-email.tsxindex c8c63ed03b..30b09a8a70 100644--- a/apps/web/emails/rebrand-email.tsx+++ b/apps/web/emails/rebrand-email.tsx@@ -12,7 +12,7 @@ import {Tailwind,Text,} from "@react-email/components";-import { DUB_LOGO, DUB_THUMBNAIL } from "../lib/constants";+import { DUB_LOGO, DUB_THUMBNAIL } from "lib";import Footer from "./components/footer";export default function RebrandEmail({diff --git a/apps/web/emails/usage-exceeded.tsx b/apps/web/emails/usage-exceeded.tsxindex 722ad046ea..a9f77cd04a 100644--- a/apps/web/emails/usage-exceeded.tsx+++ b/apps/web/emails/usage-exceeded.tsx@@ -14,7 +14,7 @@ import {} from "@react-email/components";import { DUB_LOGO } from "../lib/constants";import { ProjectProps } from "../lib/types";-import { capitalize, nFormatter } from "../lib/utils";+import { capitalize, nFormatter } from "lib";import Footer from "./components/footer";export default function UsageExceeded({diff --git a/apps/web/lib/api/domains.ts b/apps/web/lib/api/domains.tsindex 2322ec6222..5c4992ce00 100644--- a/apps/web/lib/api/domains.ts+++ b/apps/web/lib/api/domains.ts@@ -1,11 +1,7 @@import prisma from "#/lib/prisma";import { redis } from "#/lib/upstash";import cloudinary from "cloudinary";-import {- getApexDomain,- getDomainWithoutWWW,- validDomainRegex,-} from "#/lib/utils";+import { getApexDomain, getDomainWithoutWWW, validDomainRegex } from "lib";import { isIframeable } from "../middleware/utils";export const validateDomain = async (diff --git a/apps/web/lib/api/links.ts b/apps/web/lib/api/links.tsindex 2a1551791c..a28a3cb1b7 100644--- a/apps/web/lib/api/links.ts+++ b/apps/web/lib/api/links.ts@@ -3,7 +3,7 @@ import { DEFAULT_REDIRECTS } from "#/lib/constants";import prisma from "#/lib/prisma";import { type Link as LinkProps } from "@prisma/client";import { redis } from "#/lib/upstash";-import { getParamsFromURL, nanoid, truncate, validKeyRegex } from "#/lib/utils";+import { getParamsFromURL, nanoid, truncate, validKeyRegex } from "lib";import { isReservedKey } from "#/lib/edge-config";import { NextApiRequest } from "next";import { isIframeable } from "../middleware/utils";diff --git a/apps/web/lib/constants/content.tsx b/apps/web/lib/constants/content.tsxdeleted file mode 100644index 0a90e57b11..0000000000--- a/apps/web/lib/constants/content.tsx+++ /dev/null@@ -1,93 +0,0 @@-import { Logo } from "ui";-import { allHelpPosts } from "contentlayer/generated";-import { Globe, Import, Link2, Lock, Settings, Webhook } from "lucide-react";--export const BLOG_CATEGORIES: {- title: string;- slug: "company" | "education";- description: string;-}[] = [- {- title: "Company News",- slug: "company",- description: "Updates and announcements from Dub.",- },- // {- // title: "Education",- // slug: "education",- // description: "Educational content about link management.",- // },- // {-];--export const POPULAR_ARTICLES = [- "what-is-dub",- "what-is-a-project",- "how-to-add-custom-domain",- "how-to-use-tags",- "how-to-invite-teammates",- "pro-plan",-];--export const HELP_CATEGORIES: {- title: string;- slug:- | "overview"- | "getting-started"- | "link-management"- | "custom-domains"- | "migrating"- | "api"- | "saml-sso";- description: string;- icon: JSX.Element;-}[] = [- {- title: "Dub Overview",- slug: "overview",- description: "Learn about Dub and how it can help you.",- icon: <Logo className="h-6 w-6 text-gray-500" />,- },- {- title: "Getting Started",- slug: "getting-started",- description: "Learn how to get started with Dub.",- icon: <Settings className="h-6 w-6 text-gray-500" />,- },- {- title: "Link Management",- slug: "link-management",- description: "Learn how to manage your links on Dub.",- icon: <Link2 className="h-6 w-6 text-gray-500" />,- },- {- title: "Custom Domains",- slug: "custom-domains",- description: "Learn how to use custom domains with Dub.",- icon: <Globe className="h-6 w-6 text-gray-500" />,- },- {- title: "Migrating to Dub",- slug: "migrating",- description: "Easily migrate to Dub from other services.",- icon: <Import className="h-6 w-6 text-gray-500" />,- },- {- title: "SAML SSO",- slug: "saml-sso",- description: "Secure your Dub project with SAML SSO.",- icon: <Lock className="h-6 w-6 text-gray-500" />,- },- {- title: "API",- slug: "api",- description: "Learn how to use the Dub API.",- icon: <Webhook className="h-6 w-6 text-gray-500" />,- },-];--export const getPopularArticles = () => {- return POPULAR_ARTICLES.map(- (slug) => allHelpPosts.find((post) => post.slug === slug)!,- );-};diff --git a/apps/web/lib/edge-config.ts b/apps/web/lib/edge-config.tsindex 2e01811b90..ee784086ec 100644--- a/apps/web/lib/edge-config.ts+++ b/apps/web/lib/edge-config.ts@@ -1,5 +1,5 @@import { get } from "@vercel/edge-config";-import { getDomainWithoutWWW } from "./utils";+import { getDomainWithoutWWW } from "lib";export const isBlacklistedDomain = async (domain: string) => {let blacklistedDomains, blacklistedTerms;diff --git a/apps/web/lib/swr-app/use-domains.ts b/apps/web/lib/swr-app/use-domains.tsindex 6ec9cf3ec4..3524dd57fa 100644--- a/apps/web/lib/swr-app/use-domains.ts+++ b/apps/web/lib/swr-app/use-domains.ts@@ -2,7 +2,7 @@ import { useParams } from "next/navigation";import { useMemo } from "react";import useSWR from "swr";import { DomainProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";export default function useDomains({ domain }: { domain?: string } = {}) {const { slug } = useParams() as {diff --git a/apps/web/lib/swr-app/use-project.ts b/apps/web/lib/swr-app/use-project.tsindex 8315b650aa..a19098b422 100644--- a/apps/web/lib/swr-app/use-project.ts+++ b/apps/web/lib/swr-app/use-project.ts@@ -1,7 +1,7 @@import { useParams } from "next/navigation";import useSWR from "swr";import { ProjectProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { useMemo } from "react";export default function useProject() {diff --git a/apps/web/lib/swr/use-domains.ts b/apps/web/lib/swr/use-domains.tsindex c0421f57e0..303059773b 100644--- a/apps/web/lib/swr/use-domains.ts+++ b/apps/web/lib/swr/use-domains.ts@@ -2,7 +2,7 @@ import { useRouter } from "next/router";import { useMemo } from "react";import useSWR from "swr";import { DomainProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";export default function useDomains({ domain }: { domain?: string } = {}) {const router = useRouter();diff --git a/apps/web/lib/swr/use-link.ts b/apps/web/lib/swr/use-link.tsindex b27dc328ba..d57bd8e0e1 100644--- a/apps/web/lib/swr/use-link.ts+++ b/apps/web/lib/swr/use-link.ts@@ -1,7 +1,7 @@import { useRouter } from "next/router";import useSWR from "swr";import { type Link as LinkProps } from "@prisma/client";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";export default function useLink() {const router = useRouter();diff --git a/apps/web/lib/swr/use-links-count.ts b/apps/web/lib/swr/use-links-count.tsindex d2e922978d..45d94acbed 100644--- a/apps/web/lib/swr/use-links-count.ts+++ b/apps/web/lib/swr/use-links-count.ts@@ -1,6 +1,6 @@import { useRouter } from "next/router";import useSWR from "swr";-import { fetcher, getQueryString } from "#/lib/utils";+import { fetcher, getQueryString } from "lib";export default function useLinksCount({groupBy,diff --git a/apps/web/lib/swr/use-links.ts b/apps/web/lib/swr/use-links.tsindex 1dc1269b58..b6726b7ca7 100644--- a/apps/web/lib/swr/use-links.ts+++ b/apps/web/lib/swr/use-links.ts@@ -1,7 +1,7 @@import { useRouter } from "next/router";import useSWR from "swr";import { type Link as LinkProps } from "@prisma/client";-import { fetcher, getQueryString } from "#/lib/utils";+import { fetcher, getQueryString } from "lib";import { UserProps } from "../types";export default function useLinks() {diff --git a/apps/web/lib/swr/use-project.ts b/apps/web/lib/swr/use-project.tsindex 468b7320a2..6a6a433a1d 100644--- a/apps/web/lib/swr/use-project.ts+++ b/apps/web/lib/swr/use-project.ts@@ -1,7 +1,7 @@import { useRouter } from "next/router";import useSWR from "swr";import { ProjectProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { useMemo } from "react";import { DEFAULT_REDIRECTS } from "../constants";diff --git a/apps/web/lib/swr/use-projects.ts b/apps/web/lib/swr/use-projects.tsindex 0efc25e14a..a1599fb33a 100644--- a/apps/web/lib/swr/use-projects.ts+++ b/apps/web/lib/swr/use-projects.ts@@ -1,6 +1,6 @@import useSWR from "swr";import { ProjectWithDomainProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";export default function useProjects() {const { data: projects } = useSWR<ProjectWithDomainProps[]>(diff --git a/apps/web/lib/swr/use-saml.ts b/apps/web/lib/swr/use-saml.tsindex 1f1f21cb66..a775c02406 100644--- a/apps/web/lib/swr/use-saml.ts+++ b/apps/web/lib/swr/use-saml.ts@@ -1,7 +1,7 @@import { useRouter } from "next/router";import useSWR from "swr";import type { SAMLSSORecord } from "@boxyhq/saml-jackson";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { useMemo } from "react";export default function useSAML() {diff --git a/apps/web/lib/swr/use-scim.ts b/apps/web/lib/swr/use-scim.tsindex 0b103091cf..1c92c92ee0 100644--- a/apps/web/lib/swr/use-scim.ts+++ b/apps/web/lib/swr/use-scim.ts@@ -1,7 +1,7 @@import { useRouter } from "next/router";import useSWR from "swr";import type { Directory } from "@boxyhq/saml-jackson";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";import { useMemo } from "react";export default function useSCIM() {diff --git a/apps/web/lib/swr/use-tags.ts b/apps/web/lib/swr/use-tags.tsindex 5fc13c70b9..d557c22f39 100644--- a/apps/web/lib/swr/use-tags.ts+++ b/apps/web/lib/swr/use-tags.ts@@ -1,7 +1,7 @@import { useRouter } from "next/router";import useSWR from "swr";import { TagProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";export default function useTags() {const router = useRouter();diff --git a/apps/web/lib/swr/use-users.ts b/apps/web/lib/swr/use-users.tsindex 5a873531de..fc3275c624 100644--- a/apps/web/lib/swr/use-users.ts+++ b/apps/web/lib/swr/use-users.ts@@ -1,7 +1,7 @@import { useRouter } from "next/router";import useSWR from "swr";import { UserProps } from "#/lib/types";-import { fetcher } from "#/lib/utils";+import { fetcher } from "lib";export default function useUsers({ invites }: { invites?: boolean } = {}) {const router = useRouter();diff --git a/apps/web/lib/tinybird.ts b/apps/web/lib/tinybird.tsindex bf76394284..2c8bf1e161 100644--- a/apps/web/lib/tinybird.ts+++ b/apps/web/lib/tinybird.ts@@ -1,6 +1,6 @@import { NextRequest, userAgent } from "next/server";import { LOCALHOST_GEO_DATA } from "./constants";-import { capitalize, getDomainWithoutWWW } from "./utils";+import { capitalize, getDomainWithoutWWW } from "lib";import { conn } from "./planetscale";/**diff --git a/apps/web/lib/upstash.ts b/apps/web/lib/upstash.tsindex a14c8c0ec3..d347adbc72 100644--- a/apps/web/lib/upstash.ts+++ b/apps/web/lib/upstash.ts@@ -1,6 +1,6 @@import { Ratelimit } from "@upstash/ratelimit";import { Redis } from "@upstash/redis";-import { nanoid } from "#/lib/utils";+import { nanoid } from "lib";// Initiate Redis instance by connecting to REST URLexport const redis = new Redis({diff --git a/apps/web/lib/utils.ts b/apps/web/lib/utils.tsdeleted file mode 100644index 984acf1180..0000000000--- a/apps/web/lib/utils.ts+++ /dev/null@@ -1,533 +0,0 @@-import { clsx, type ClassValue } from "clsx";-import { twMerge } from "tailwind-merge";-import { Metadata } from "next";-import { NextRouter } from "next/router";-import ms from "ms";-import { customAlphabet } from "nanoid";-import slugify from "@sindresorhus/slugify";-import {- SPECIAL_APEX_DOMAINS,- ccTLDs,- SECOND_LEVEL_DOMAINS,- HOME_DOMAIN,-} from "./constants";--export function cn(...inputs: ClassValue[]) {- return twMerge(clsx(inputs));-}--export function constructMetadata({- title = "Dub - Link Management for Modern Marketing Teams",- description = "Dub is an open-source link management tool for modern marketing teams to create, share, and track short links.",- image = "https://dub.co/_static/thumbnail.png",- icons = "/favicon.ico",- noIndex = false,-}: {- title?: string;- description?: string;- image?: string;- icons?: string;- noIndex?: boolean;-} = {}): Metadata {- return {- title,- description,- openGraph: {- title,- description,- images: [- {- url: image,- },- ],- },- twitter: {- card: "summary_large_image",- title,- description,- images: [image],- creator: "@dubdotco",- },- icons,- metadataBase: new URL(HOME_DOMAIN),- themeColor: "#FFF",- ...(noIndex && {- robots: {- index: false,- follow: false,- },- }),- };-}--export const nanoid = customAlphabet(- "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",- 7,-); // 7-character random string--interface SWRError extends Error {- status: number;-}--export async function fetcher<JSON = any>(- input: RequestInfo,- init?: RequestInit,-): Promise<JSON> {- const res = await fetch(input, init);-- if (!res.ok) {- const error = await res.text();- const err = new Error(error) as SWRError;- err.status = res.status;- throw err;- }-- return res.json();-}--export function nFormatter(- num?: number,- opts: { digits?: number; full?: boolean } = {- digits: 1,- },-) {- if (!num) return "0";- if (opts.full) {- return Intl.NumberFormat("en-US").format(num);- }- const lookup = [- { value: 1, symbol: "" },- { value: 1e3, symbol: "K" },- { value: 1e6, symbol: "M" },- { value: 1e9, symbol: "G" },- { value: 1e12, symbol: "T" },- { value: 1e15, symbol: "P" },- { value: 1e18, symbol: "E" },- ];- const rx = /\.0+$|(\.[0-9]*[1-9])0+$/;- var item = lookup- .slice()- .reverse()- .find(function (item) {- return num >= item.value;- });- return item- ? (num / item.value).toFixed(opts.digits).replace(rx, "$1") + item.symbol- : "0";-}--export function capitalize(str: string) {- if (!str || typeof str !== "string") return str;- return str.charAt(0).toUpperCase() + str.slice(1);-}--export const chunk = <T>(array: T[], chunk_size: number): T[][] => {- return array.reduce((resultArray, item, index) => {- const chunkIndex = Math.floor(index / chunk_size);-- if (!resultArray[chunkIndex]) {- resultArray[chunkIndex] = []; // start a new chunk- }-- resultArray[chunkIndex].push(item);-- return resultArray;- }, [] as T[][]);-};--export function linkConstructor({- key,- domain = "dub.sh",- localhost,- pretty,- noDomain,-}: {- key: string;- domain?: string;- localhost?: boolean;- pretty?: boolean;- noDomain?: boolean;-}) {- const link = `${- localhost ? "http://home.localhost:8888" : `https://${domain}`- }${key !== "_root" ? `/${key}` : ""}`;-- if (noDomain) return `/${key}`;- return pretty ? link.replace(/^https?:\/\//, "") : link;-}--export const timeAgo = (- timestamp: Date | null,- {- withAgo,- }: {- withAgo?: boolean;- } = {},-): string => {- if (!timestamp) return "Never";- const diff = Date.now() - new Date(timestamp).getTime();- if (diff < 1000) {- // less than 1 second- return "Just now";- } else if (diff > 82800000) {- // more than 23 hours – similar to how Twitter displays timestamps- return new Date(timestamp).toLocaleDateString("en-US", {- month: "short",- day: "numeric",- year:- new Date(timestamp).getFullYear() !== new Date().getFullYear()- ? "numeric"- : undefined,- });- }- return `${ms(diff)}${withAgo ? " ago" : ""}`;-};--export const getDateTimeLocal = (timestamp?: Date): string => {- const d = timestamp ? new Date(timestamp) : new Date();- if (d.toString() === "Invalid Date") return "";- return new Date(d.getTime() - d.getTimezoneOffset() * 60000)- .toISOString()- .split(":")- .slice(0, 2)- .join(":");-};--export const formatDate = (dateString: string) => {- return new Date(`${dateString}T00:00:00Z`).toLocaleDateString("en-US", {- day: "numeric",- month: "long",- year: "numeric",- timeZone: "UTC",- });-};--export const getFirstAndLastDay = (day: number) => {- const today = new Date();- const currentDay = today.getDate();- const currentMonth = today.getMonth();- const currentYear = today.getFullYear();- if (currentDay >= day) {- // if the current day is greater than target day, it means that we just passed it- return {- firstDay: new Date(currentYear, currentMonth, day),- lastDay: new Date(currentYear, currentMonth + 1, day - 1),- };- } else {- // if the current day is less than target day, it means that we haven't passed it yet- const lastYear = currentMonth === 0 ? currentYear - 1 : currentYear; // if the current month is January, we need to go back a year- const lastMonth = currentMonth === 0 ? 11 : currentMonth - 1; // if the current month is January, we need to go back to December- return {- firstDay: new Date(lastYear, lastMonth, day),- lastDay: new Date(currentYear, currentMonth, day - 1),- };- }-};--// Function to get the last day of the current month-export const getLastDayOfMonth = () => {- const today = new Date();- const lastDay = new Date(today.getFullYear(), today.getMonth() + 1, 0); // This will give the last day of the current month- return lastDay.getDate();-};--// Adjust the billingCycleStart based on the number of days in the current month-export const getAdjustedBillingCycleStart = (billingCycleStart) => {- const lastDay = getLastDayOfMonth();- if (billingCycleStart > lastDay) {- return lastDay;- } else {- return billingCycleStart;- }-};--export const generateDomainFromName = (name: string) => {- const normalizedName = slugify(name, { separator: "" });- if (normalizedName.length < 3) {- return "";- }- if (ccTLDs.has(normalizedName.slice(-2))) {- return `${normalizedName.slice(0, -2)}.${normalizedName.slice(-2)}`;- }- // remove vowels- const devowel = normalizedName.replace(/[aeiou]/g, "");- if (devowel.length >= 3 && ccTLDs.has(devowel.slice(-2))) {- return `${devowel.slice(0, -2)}.${devowel.slice(-2)}`;- }-- const shortestString = [normalizedName, devowel].reduce((a, b) =>- a.length < b.length ? a : b,- );-- return `${shortestString}.to`;-};--// courtesy of ChatGPT: https://sharegpt.com/c/pUYXtRs-export const validDomainRegex = new RegExp(- /^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,-);--export const validKeyRegex = new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u);--export const validSlugRegex = new RegExp(/^[a-zA-Z0-9\-]+$/);--export const getSubdomain = (name: string, apexName: string) => {- if (name === apexName) return null;- return name.slice(0, name.length - apexName.length - 1);-};--export const getApexDomain = (url: string) => {- let domain;- try {- // replace any custom scheme (e.g. notion://) with https://- // use the URL constructor to get the hostname- domain = new URL(url.replace(/^[a-zA-Z]+:\/\//, "https://")).hostname;- } catch (e) {- return "";- }- if (domain === "youtu.be") return "youtube.com";- if (domain === "raw.githubusercontent.com") return "github.com";- if (domain.endsWith(".vercel.app")) return "vercel.app";-- const parts = domain.split(".");- if (parts.length > 2) {- if (- // if this is a second-level TLD (e.g. co.uk, .com.ua, .org.tt), we need to return the last 3 parts- (SECOND_LEVEL_DOMAINS.has(parts[parts.length - 2]) &&- ccTLDs.has(parts[parts.length - 1])) ||- // if it's a special subdomain for website builders (e.g. weathergpt.vercel.app/)- SPECIAL_APEX_DOMAINS.has(parts.slice(-2).join("."))- ) {- return parts.slice(-3).join(".");- }- // otherwise, it's a subdomain (e.g. dub.vercel.app), so we return the last 2 parts- return parts.slice(-2).join(".");- }- // if it's a normal domain (e.g. dub.co), we return the domain- return domain;-};--export const isValidUrl = (url: string) => {- try {- new URL(url);- return true;- } catch (e) {- return false;- }-};--export const getUrlFromString = (str: string) => {- if (isValidUrl(str)) return str;- try {- if (str.includes(".") && !str.includes(" ")) {- return new URL(`https://${str}`).toString();- }- } catch (e) {- return null;- }-};--export const getDomainWithoutWWW = (url: string) => {- if (isValidUrl(url)) {- return new URL(url).hostname.replace(/^www\./, "");- }- try {- if (url.includes(".") && !url.includes(" ")) {- return new URL(`https://${url}`).hostname.replace(/^www\./, "");- }- } catch (e) {- return null;- }-};--export const getQueryString = (- router: NextRouter,- opts?: Record<string, string>,-) => {- const queryString = new URLSearchParams({- ...(router.query as Record<string, string>),- ...opts,- }).toString();- return `${queryString ? "?" : ""}${queryString}`;-};--export const setQueryString = ({- router,- param,- value,-}: {- router: NextRouter;- param: string;- value: string;-}) => {- if (param !== "page") delete router.query.page;- let newQuery;- if (value.length > 0) {- newQuery = {- ...router.query,- [param]: value,- };- } else {- delete router.query[param];- newQuery = { ...router.query };- }- // here, we omit the slug from the query string as well- const { slug, ...finalQuery } = newQuery;- router.replace({- pathname: `/${router.query.slug || "links"}`,- query: finalQuery,- });-};--export const truncate = (str: string | null, length: number) => {- if (!str || str.length <= length) return str;- return `${str.slice(0, length - 3)}...`;-};--export const getParamsFromURL = (url: string) => {- if (!url) return {};- try {- const params = new URL(url).searchParams;- const paramsObj: Record<string, string> = {};- for (const [key, value] of params.entries()) {- if (value && value !== "") {- paramsObj[key] = value;- }- }- return paramsObj;- } catch (e) {- return {};- }-};--export const constructURLFromUTMParams = (- url: string,- utmParams: Record<string, string>,-) => {- if (!url) return "";- try {- const newURL = new URL(url);- for (const [key, value] of Object.entries(utmParams)) {- if (value === "") {- newURL.searchParams.delete(key);- } else {- newURL.searchParams.set(key, value);- }- }- return newURL.toString();- } catch (e) {- return "";- }-};--export const paramsMetadata = [- { display: "Referral (ref)", key: "ref", examples: "twitter, facebook" },- { display: "UTM Source", key: "utm_source", examples: "twitter, facebook" },- { display: "UTM Medium", key: "utm_medium", examples: "social, email" },- { display: "UTM Campaign", key: "utm_campaign", examples: "summer_sale" },- { display: "UTM Term", key: "utm_term", examples: "blue_shoes" },- { display: "UTM Content", key: "utm_content", examples: "logolink" },-];--export const getUrlWithoutUTMParams = (url: string) => {- try {- const newURL = new URL(url);- paramsMetadata.forEach((param) => newURL.searchParams.delete(param.key));- return newURL.toString();- } catch (e) {- return url;- }-};--export async function generateMD5Hash(message) {- // Convert the message string to a Uint8Array- const encoder = new TextEncoder();- const data = encoder.encode(message);-- // Generate the hash using the SubtleCrypto interface- const hashBuffer = await crypto.subtle.digest("MD5", data);-- // Convert the hash to a hexadecimal string- const hashArray = Array.from(new Uint8Array(hashBuffer));- const hashHex = hashArray- .map((byte) => byte.toString(16).padStart(2, "0"))- .join("");-- return hashHex;-}--const logTypeToEnv = {- cron: process.env.DUB_SLACK_HOOK_CRON,- links: process.env.DUB_SLACK_HOOK_LINKS,-};--export const log = async ({- message,- type,- mention = false,-}: {- message: string;- type: "cron" | "links";- mention?: boolean;-}) => {- if (- process.env.NODE_ENV === "development" ||- !process.env.DUB_SLACK_HOOK_CRON ||- !process.env.DUB_SLACK_HOOK_LINKS- )- console.log(message);- /* Log a message to the console */- const HOOK = logTypeToEnv[type];- if (!HOOK) return;- try {- return await fetch(HOOK, {- method: "POST",- headers: {- "Content-Type": "application/json",- },- body: JSON.stringify({- blocks: [- {- type: "section",- text: {- type: "mrkdwn",- text: `${mention ? "<@U0404G6J3NJ> " : ""}${message}`,- },- },- ],- }),- });- } catch (e) {- console.log(`Failed to log to Dub Slack. Error: ${e}`);- }-};--export const deepEqual = (obj1: object, obj2: object) => {- if (obj1 === obj2) {- return true;- }-- if (- typeof obj1 !== "object" ||- typeof obj2 !== "object" ||- obj1 === null ||- obj2 === null- ) {- return false;- }-- const keys1 = Object.keys(obj1);- const keys2 = Object.keys(obj2);-- if (keys1.length !== keys2.length) {- return false;- }-- for (const key of keys1) {- if (!keys2.includes(key) || !deepEqual(obj1[key], obj2[key])) {- return false;- }- }-- return true;-};diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 73815aa5d3..a43e6ef6bf 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -1,5 +1,3 @@-const { withContentlayer } = require("next-contentlayer");-const REDIRECT_SEGMENTS = ["pricing","blog",@@ -11,7 +9,7 @@ const REDIRECT_SEGMENTS = [];/** @type {import('next').NextConfig} */-const nextConfig = {+module.exports = {reactStrictMode: false,experimental: {useDeploymentId: true,@@ -199,5 +197,3 @@ const nextConfig = {];},};--module.exports = withContentlayer(nextConfig);diff --git a/apps/web/package.json b/apps/web/package.jsonindex effa548ad8..d2b1b628b2 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -50,7 +50,6 @@"cmdk": "^0.2.0","cobe": "^0.6.3","concurrently": "^8.0.1",- "contentlayer": "^0.3.4","crisp-sdk-web": "^1.0.19","focus-trap-react": "^10.0.1","framer-motion": "^10.12.12",@@ -64,7 +63,6 @@"nanoid": "^5.0.1","next": "13.5.5-canary.4","next-auth": "^4.23.1",- "next-contentlayer": "^0.3.4","node-html-parser": "^6.1.4","nodemailer": "^6.9.3","npm": "^9.1.2",@@ -118,5 +116,8 @@"tailwindcss": "^3.3.3","turbo": "^1.10.14","typescript": "^5.1.6"+ },+ "browser": {+ "crypto": false}}diff --git a/apps/web/pages/api/edge/links/index.ts b/apps/web/pages/api/edge/links/index.tsindex ea440fd49f..c7ffc00ef9 100644--- a/apps/web/pages/api/edge/links/index.ts+++ b/apps/web/pages/api/edge/links/index.ts@@ -2,7 +2,7 @@ import { NextResponse, type NextRequest } from "next/server";import { ipAddress } from "@vercel/edge";import { LOCALHOST_IP } from "#/lib/constants";import { ratelimit, setRandomKey } from "#/lib/upstash";-import { isValidUrl } from "#/lib/utils";+import { isValidUrl } from "lib";import { isBlacklistedDomain } from "#/lib/edge-config";export const config = {diff --git a/apps/web/pages/api/edge/metatags.ts b/apps/web/pages/api/edge/metatags.tsindex 0ed35344c8..972bc2a323 100644--- a/apps/web/pages/api/edge/metatags.ts+++ b/apps/web/pages/api/edge/metatags.ts@@ -1,6 +1,6 @@import { NextFetchEvent, NextRequest } from "next/server";import { parse } from "node-html-parser";-import { isValidUrl } from "#/lib/utils";+import { isValidUrl } from "lib";import { ratelimit, recordMetatags } from "#/lib/upstash";import { getToken } from "next-auth/jwt";import { ipAddress } from "@vercel/edge";diff --git a/apps/web/pages/api/links/[key]/index.ts b/apps/web/pages/api/links/[key]/index.tsindex 54b68d695b..05c44a2ea0 100644--- a/apps/web/pages/api/links/[key]/index.ts+++ b/apps/web/pages/api/links/[key]/index.ts@@ -1,7 +1,7 @@import { withLinksAuth } from "#/lib/auth";import { deleteLink, editLink, processKey } from "#/lib/api/links";import { isBlacklistedDomain, isBlacklistedKey } from "#/lib/edge-config";-import { getApexDomain, log } from "#/lib/utils";+import { getApexDomain, log } from "lib";import { GOOGLE_FAVICON_URL } from "#/lib/constants";export const config = {diff --git a/apps/web/pages/api/links/index.ts b/apps/web/pages/api/links/index.tsindex 3fcb8f419a..c863ddd018 100644--- a/apps/web/pages/api/links/index.ts+++ b/apps/web/pages/api/links/index.ts@@ -6,7 +6,7 @@ import {} from "#/lib/api/links";import { withLinksAuth } from "#/lib/auth";import { isBlacklistedDomain, isBlacklistedKey } from "#/lib/edge-config";-import { getApexDomain, log } from "#/lib/utils";+import { getApexDomain, log } from "lib";import { DUB_PROJECT_ID, GOOGLE_FAVICON_URL } from "#/lib/constants";export const config = {diff --git a/apps/web/pages/api/og/changelog.tsx b/apps/web/pages/api/og/changelog.tsxdeleted file mode 100644index 0106202b5c..0000000000--- a/apps/web/pages/api/og/changelog.tsx+++ /dev/null@@ -1,87 +0,0 @@-import { ImageResponse, NextRequest } from "next/server";-import { allChangelogPosts } from "contentlayer/generated";-import { formatDate } from "#/lib/utils";--export const runtime = "edge";-export const contentType = "image/png";--const satoshiBold = fetch(- new URL("@/styles/Satoshi-Bold.ttf", import.meta.url),-).then((res) => res.arrayBuffer());--const interMedium = fetch(- new URL("@/styles/Inter-Medium.ttf", import.meta.url),-).then((res) => res.arrayBuffer());--export default async function handler() {- const [satoshiBoldData, interMediumData] = await Promise.all([- satoshiBold,- interMedium,- ]);-- const post = allChangelogPosts.sort((a, b) => {- if (new Date(a.publishedAt) > new Date(b.publishedAt)) {- return -1;- }- return 1;- })[0];-- return new ImageResponse(- (- <div- style={{- height: "100%",- width: "100%",- display: "flex",- flexDirection: "column",- alignItems: "center",- backgroundColor: "white",- fontFamily: "Inter Medium",- }}- >- <img- src="https://dub.co/_static/logotype.png"- style={{- height: "40px",- position: "absolute",- top: "20px",- left: "20px",- }}- />- <div tw="flex flex-col text-left pt-20 pb-10 pl-80 border-b border-gray-200 w-full">- <h1- style={{- fontFamily: "Satoshi Bold",- }}- tw="text-5xl font-bold text-black"- >- Changelog- </h1>- <p tw="text-lg text-gray-500">- All the latest updates, improvements, and fixes to Dub.- </p>- </div>- <div tw="flex w-full pt-10 pl-28">- <p tw="text-gray-500">{formatDate(post.publishedAt)}</p>- <div tw="flex flex-col ml-24">- <img src={post.image} tw="rounded-lg h-96" />- </div>- </div>- </div>- ),- {- width: 1200,- height: 630,- fonts: [- {- name: "Satoshi Bold",- data: satoshiBoldData,- },- {- name: "Inter Medium",- data: interMediumData,- },- ],- },- );-}diff --git a/apps/web/pages/api/og/help.tsx b/apps/web/pages/api/og/help.tsxdeleted file mode 100644index f69ef1ea7d..0000000000--- a/apps/web/pages/api/og/help.tsx+++ /dev/null@@ -1,139 +0,0 @@-/* eslint-env node */-import { truncate } from "#/lib/utils";-import { ImageResponse } from "@vercel/og";-import { NextRequest } from "next/server";--export const config = {- runtime: "edge",-};--const satoshiBold = fetch(- new URL("@/styles/Satoshi-Bold.ttf", import.meta.url),-).then((res) => res.arrayBuffer());--const interMedium = fetch(- new URL("@/styles/Inter-Medium.ttf", import.meta.url),-).then((res) => res.arrayBuffer());--export default async function (req: NextRequest) {- const [satoshiBoldData, interMediumData] = await Promise.all([- satoshiBold,- interMedium,- ]);-- const { searchParams } = new URL(req.url);-- const title = searchParams.get("title") || "Help Center";- const summary = searchParams.get("summary") || "Learn how to use Dub";-- return new ImageResponse(- (- <div- style={{- height: "100%",- width: "100%",- display: "flex",- flexDirection: "column",- alignItems: "flex-start",- justifyContent: "center",- padding: 80,- backgroundColor: "#030303",- backgroundImage:- "radial-gradient(circle at 25px 25px, #333 2%, transparent 0%), radial-gradient(circle at 75px 75px, #333 2%, transparent 0%)",- backgroundSize: "100px 100px",- backgroundPosition: "-30px -10px",- fontWeight: 600,- color: "white",- }}- >- <svg- style={{ position: "absolute", top: 70, left: 80 }}- height="40"- viewBox="0 0 834 236"- fill="none"- xmlns="http://www.w3.org/2000/svg"- >- <path- d="M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z"- fill="currentColor"- />- <mask- id="mask0_46_2"- style={{- maskType: "alpha",- }}- maskUnits="userSpaceOnUse"- x="41"- y="7"- width="225"- height="225"- >- <path- d="M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z"- fill="currentColor"- />- </mask>- <g mask="url(#mask0_46_2)">- <ellipse cx="153" cy="124.5" rx="58" ry="57.5" fill="black" />- <path d="M185 -10H211V181H185V-10Z" fill="black" />- </g>- <path- d="M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z"- fill="currentColor"- />- <path- d="M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z"- fill="currentColor"- />- <path- d="M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z"- fill="currentColor"- />- </svg>- <h1- style={{- fontSize: 82,- fontFamily: "Satoshi Bold",- margin: "0 0 40px -2px",- lineHeight: 1.1,- textShadow: "0 2px 30px #000",- letterSpacing: -4,- backgroundImage: "linear-gradient(90deg, #fff 40%, #aaa)",- backgroundClip: "text",- WebkitBackgroundClip: "text",- color: "transparent",- }}- >- {truncate(title, 100)}- </h1>- <p- style={{- position: "absolute",- bottom: 70,- left: 80,- margin: 0,- fontSize: 30,- fontFamily: "Inter Medium",- letterSpacing: -1,- }}- >- {truncate(summary, 140)}- </p>- </div>- ),- {- width: 1200,- height: 630,- fonts: [- {- name: "Satoshi Bold",- data: satoshiBoldData,- },- {- name: "Inter Medium",- data: interMediumData,- },- ],- },- );-}diff --git a/apps/web/pages/api/og/stats.tsx b/apps/web/pages/api/og/stats.tsxdeleted file mode 100644index 3f89d745fe..0000000000--- a/apps/web/pages/api/og/stats.tsx+++ /dev/null@@ -1,136 +0,0 @@-import { ImageResponse, NextRequest } from "next/server";-import { getLinkViaEdge } from "#/lib/planetscale";-import { getStats } from "#/lib/stats";-import { nFormatter, truncate } from "#/lib/utils";-import { DUB_LOGO } from "#/lib/constants";--export const runtime = "edge";-export const contentType = "image/png";--const satoshiBLack = fetch(- new URL("@/styles/Satoshi-Black.ttf", import.meta.url),-).then((res) => res.arrayBuffer());--const satoshiBold = fetch(- new URL("@/styles/Satoshi-Bold.ttf", import.meta.url),-).then((res) => res.arrayBuffer());--export default async function handler(req: NextRequest) {- const [satoshiBlackData, satoshiBoldData] = await Promise.all([- satoshiBLack,- satoshiBold,- ]);-- const domain = req.nextUrl.searchParams.get("domain") || "dub.sh";- const key = req.nextUrl.searchParams.get("key") || "github";-- const data = await getLinkViaEdge(domain, key);- if (!data?.publicStats) {- return new Response(`Stats for this link are not public`, {- status: 403,- });- }-- const timeseries = await getStats({- domain,- key,- endpoint: "timeseries",- interval: "30d",- });-- const maxClicks = Math.max(...timeseries.map((t) => t.clicks));- const totalClicks = timeseries.reduce((acc, t) => acc + t.clicks, 0);-- return new ImageResponse(- (- <div- style={{- height: "100%",- width: "100%",- display: "flex",- flexDirection: "column",- alignItems: "center",- backgroundColor: "white",- backgroundImage: `url(https://dub.co/_static/background.png)`,- }}- >- <img- src={DUB_LOGO}- style={{- width: "80px",- height: "80px",- position: "absolute",- top: "40px",- right: "40px",- }}- />- <h1- style={{- fontSize: "90px",- fontFamily: "Satoshi Black",- background:- "linear-gradient(95.78deg, #C7BF00 21.66%, #E43838 86.47%)",- backgroundClip: "text",- color: "transparent",- marginTop: "50px",- lineHeight: "7rem",- }}- >- {domain}/{truncate(key, 12)}- </h1>- <p- style={{- fontSize: "50px",- fontFamily: "Satoshi Bold",- color: "black",- opacity: 0.8,- marginTop: "0px",- }}- >- {nFormatter(totalClicks)} clicks in the last 30 days- </p>- <div- style={{- position: "absolute",- bottom: "0px",- display: "flex",- flexDirection: "row",- alignItems: "flex-end",- justifyContent: "center",- marginTop: "50px",- }}- >- {timeseries.map(({ start, clicks }) => (- <div- key={start}- style={{- display: "flex",- flexDirection: "column",- alignItems: "center",- justifyContent: "center",- width: "25px",- height: `${(clicks / maxClicks) * 360}px`, // normalize clicks count to scale of 360px- marginRight: "12px",- backgroundColor: "#2563eb",- }}- />- ))}- </div>- </div>- ),- {- width: 1200,- height: 630,- fonts: [- {- name: "Satoshi Black",- data: satoshiBlackData,- },- {- name: "Satoshi Bold",- data: satoshiBoldData,- },- ],- },- );-}diff --git a/apps/web/pages/api/projects/index.ts b/apps/web/pages/api/projects/index.tsindex 349671e748..15b9cb391a 100644--- a/apps/web/pages/api/projects/index.ts+++ b/apps/web/pages/api/projects/index.ts@@ -8,7 +8,7 @@ import {} from "#/lib/api/domains";import prisma from "#/lib/prisma";import { isReservedKey } from "#/lib/edge-config";-import { validSlugRegex } from "#/lib/utils";+import { validSlugRegex } from "lib";export default withUserAuth(async (req: NextApiRequest, res: NextApiResponse, session: Session) => {diff --git a/apps/web/pages/api/stripe/webhook.ts b/apps/web/pages/api/stripe/webhook.tsindex 2707213523..8da017bb26 100644--- a/apps/web/pages/api/stripe/webhook.ts+++ b/apps/web/pages/api/stripe/webhook.ts@@ -5,7 +5,7 @@ import prisma from "#/lib/prisma";import { stripe } from "#/lib/stripe";import { getPlanFromPriceId, isNewCustomer } from "#/lib/stripe/utils";import { redis } from "#/lib/upstash";-import { log } from "#/lib/utils";+import { log } from "lib";import { sendEmail } from "emails";import UpgradeEmail from "emails/upgrade-email";diff --git a/apps/web/pages/app.dub.co/[slug]/settings/billing.tsx b/apps/web/pages/app.dub.co/[slug]/settings/billing.tsxindex 7c7b5d5111..04b97d659d 100644--- a/apps/web/pages/app.dub.co/[slug]/settings/billing.tsx+++ b/apps/web/pages/app.dub.co/[slug]/settings/billing.tsx@@ -4,7 +4,7 @@ import { useContext, useEffect, useMemo, useState } from "react";import { motion } from "framer-motion";import { InfinityIcon, Divider } from "@/components/shared/icons";import { InfoTooltip } from "#/ui/tooltip";-import { fetcher, getFirstAndLastDay, nFormatter } from "#/lib/utils";+import { fetcher, getFirstAndLastDay, nFormatter } from "lib";import useProject from "#/lib/swr/use-project";import PlanBadge from "@/components/app/projects/plan-badge";import { toast } from "sonner";diff --git a/apps/web/pages/app.dub.co/[slug]/settings/people.tsx b/apps/web/pages/app.dub.co/[slug]/settings/people.tsxindex f422a89fee..0d507d5fe4 100644--- a/apps/web/pages/app.dub.co/[slug]/settings/people.tsx+++ b/apps/web/pages/app.dub.co/[slug]/settings/people.tsx@@ -3,7 +3,7 @@ import { useInviteTeammateModal } from "components/app/modals/invite-teammate-moimport { useState } from "react";import BlurImage from "#/ui/blur-image";import { UserProps } from "#/lib/types";-import { cn, timeAgo } from "#/lib/utils";+import { cn, timeAgo } from "lib";import { Popover } from "ui";import IconMenu from "@/components/shared/icon-menu";import { UserMinus } from "lucide-react";diff --git a/apps/web/pages/app.dub.co/settings/tokens.tsx b/apps/web/pages/app.dub.co/settings/tokens.tsxindex 781fa6da72..e9b3f7ab56 100644--- a/apps/web/pages/app.dub.co/settings/tokens.tsx+++ b/apps/web/pages/app.dub.co/settings/tokens.tsx@@ -1,4 +1,4 @@-import { fetcher, timeAgo } from "#/lib/utils";+import { fetcher, timeAgo } from "lib";import { TokenAvatar } from "#/ui/avatar";import Form from "#/ui/form";import { LoadingSpinner } from "ui";diff --git a/apps/web/pages/app.dub.co/welcome.tsx b/apps/web/pages/app.dub.co/welcome.tsxindex baad4d9b16..613f57c56a 100644--- a/apps/web/pages/app.dub.co/welcome.tsx+++ b/apps/web/pages/app.dub.co/welcome.tsx@@ -1,5 +1,5 @@import { useRouter } from "next/router";-import Background from "#/ui/home/background";+import { Background } from "ui";import Intro from "@/components/app/welcome/intro";import Interim from "@/components/app/welcome/interim";import { AnimatePresence } from "framer-motion";diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.jsonindex 37309d9f8f..988ad8ea7d 100644--- a/apps/web/tsconfig.json+++ b/apps/web/tsconfig.json@@ -11,8 +11,7 @@"@/pages/*": ["pages/*"],"@/styles/*": ["styles/*"],"#/ui/*": ["app/ui/*"],- "#/lib/*": ["lib/*"],- "contentlayer/generated": ["./.contentlayer/generated"]+ "#/lib/*": ["lib/*"]},"downlevelIteration": true,"forceConsistentCasingInFileNames": true,@@ -32,12 +31,6 @@}]},- "include": [- "next-env.d.ts",- "**/*.ts",- "**/*.tsx",- ".next/types/**/*.ts",- ".contentlayer/generated"- ],+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],"exclude": ["node_modules"]}diff --git a/packages/lib/package.json b/packages/lib/package.jsonindex 5d564caea9..c0a81c747e 100644--- a/packages/lib/package.json+++ b/packages/lib/package.json@@ -15,6 +15,7 @@"react": "^18.2.0"},"devDependencies": {+ "@types/ms": "^0.7.31","@types/node": "18.11.9","@types/react": "^18.2.5","react": "^18.2.0",@@ -23,8 +24,11 @@"typescript": "^5.1.6"},"dependencies": {+ "@sindresorhus/slugify": "^2.2.1","clsx": "^1.2.1",- "lucide-react": "^0.269.0",+ "ms": "^2.1.3",+ "nanoid": "^5.0.1",+ "next": "13.5.5-canary.4","tailwind-merge": "^1.13.2"}}diff --git a/packages/lib/constants/cctlds.ts b/packages/lib/src/constants/cctlds.tssimilarity index 100%rename from packages/lib/constants/cctlds.tsrename to packages/lib/src/constants/cctlds.tsdiff --git a/packages/lib/constants/countries.ts b/packages/lib/src/constants/countries.tssimilarity index 100%rename from packages/lib/constants/countries.tsrename to packages/lib/src/constants/countries.tsdiff --git a/packages/lib/constants/index.ts b/packages/lib/src/constants/index.tssimilarity index 100%rename from packages/lib/constants/index.tsrename to packages/lib/src/constants/index.tsdiff --git a/packages/lib/src/index.ts b/packages/lib/src/index.tsindex c1d18a632f..e8a6cf942f 100644--- a/packages/lib/src/index.ts+++ b/packages/lib/src/index.ts@@ -1,4 +1,2 @@-export * from "./hooks";-export * from "../constants";-export * from "../constants/content";+export * from "./constants";export * from "./utils";diff --git a/packages/lib/src/utils.ts b/packages/lib/src/utils.tsindex a5ef193506..1022ee6a55 100644--- a/packages/lib/src/utils.ts+++ b/packages/lib/src/utils.ts@@ -1,6 +1,538 @@import { clsx, type ClassValue } from "clsx";import { twMerge } from "tailwind-merge";+import { Metadata } from "next";+import { NextRouter } from "next/router";+import ms from "ms";+import { customAlphabet } from "nanoid";+import slugify from "@sindresorhus/slugify";+import {+ SPECIAL_APEX_DOMAINS,+ ccTLDs,+ SECOND_LEVEL_DOMAINS,+ HOME_DOMAIN,+} from "./constants";export function cn(...inputs: ClassValue[]) {return twMerge(clsx(inputs));}++export function constructMetadata({+ title = "Dub - Link Management for Modern Marketing Teams",+ description = "Dub is an open-source link management tool for modern marketing teams to create, share, and track short links.",+ image = "https://dub.co/_static/thumbnail.png",+ icons = "/favicon.ico",+ noIndex = false,+}: {+ title?: string;+ description?: string;+ image?: string;+ icons?: string;+ noIndex?: boolean;+} = {}): Metadata {+ return {+ title,+ description,+ openGraph: {+ title,+ description,+ images: [+ {+ url: image,+ },+ ],+ },+ twitter: {+ card: "summary_large_image",+ title,+ description,+ images: [image],+ creator: "@dubdotco",+ },+ icons,+ metadataBase: new URL(HOME_DOMAIN),+ themeColor: "#FFF",+ ...(noIndex && {+ robots: {+ index: false,+ follow: false,+ },+ }),+ };+}++export const nanoid = customAlphabet(+ "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",+ 7,+); // 7-character random string++interface SWRError extends Error {+ status: number;+}++export async function fetcher<JSON = any>(+ input: RequestInfo,+ init?: RequestInit,+): Promise<JSON> {+ const res = await fetch(input, init);++ if (!res.ok) {+ const error = await res.text();+ const err = new Error(error) as SWRError;+ err.status = res.status;+ throw err;+ }++ return res.json();+}++export function nFormatter(+ num?: number,+ opts: { digits?: number; full?: boolean } = {+ digits: 1,+ },+) {+ if (!num) return "0";+ if (opts.full) {+ return Intl.NumberFormat("en-US").format(num);+ }+ const lookup = [+ { value: 1, symbol: "" },+ { value: 1e3, symbol: "K" },+ { value: 1e6, symbol: "M" },+ { value: 1e9, symbol: "G" },+ { value: 1e12, symbol: "T" },+ { value: 1e15, symbol: "P" },+ { value: 1e18, symbol: "E" },+ ];+ const rx = /\.0+$|(\.[0-9]*[1-9])0+$/;+ var item = lookup+ .slice()+ .reverse()+ .find(function (item) {+ return num >= item.value;+ });+ return item+ ? (num / item.value).toFixed(opts.digits).replace(rx, "$1") + item.symbol+ : "0";+}++export function capitalize(str: string) {+ if (!str || typeof str !== "string") return str;+ return str.charAt(0).toUpperCase() + str.slice(1);+}++export const chunk = <T>(array: T[], chunk_size: number): T[][] => {+ return array.reduce((resultArray, item, index) => {+ const chunkIndex = Math.floor(index / chunk_size);++ if (!resultArray[chunkIndex]) {+ resultArray[chunkIndex] = []; // start a new chunk+ }++ resultArray[chunkIndex].push(item);++ return resultArray;+ }, [] as T[][]);+};++export function linkConstructor({+ key,+ domain = "dub.sh",+ localhost,+ pretty,+ noDomain,+}: {+ key: string;+ domain?: string;+ localhost?: boolean;+ pretty?: boolean;+ noDomain?: boolean;+}) {+ const link = `${+ localhost ? "http://home.localhost:8888" : `https://${domain}`+ }${key !== "_root" ? `/${key}` : ""}`;++ if (noDomain) return `/${key}`;+ return pretty ? link.replace(/^https?:\/\//, "") : link;+}++export const timeAgo = (+ timestamp: Date | null,+ {+ withAgo,+ }: {+ withAgo?: boolean;+ } = {},+): string => {+ if (!timestamp) return "Never";+ const diff = Date.now() - new Date(timestamp).getTime();+ if (diff < 1000) {+ // less than 1 second+ return "Just now";+ } else if (diff > 82800000) {+ // more than 23 hours – similar to how Twitter displays timestamps+ return new Date(timestamp).toLocaleDateString("en-US", {+ month: "short",+ day: "numeric",+ year:+ new Date(timestamp).getFullYear() !== new Date().getFullYear()+ ? "numeric"+ : undefined,+ });+ }+ return `${ms(diff)}${withAgo ? " ago" : ""}`;+};++export const getDateTimeLocal = (timestamp?: Date): string => {+ const d = timestamp ? new Date(timestamp) : new Date();+ if (d.toString() === "Invalid Date") return "";+ return new Date(d.getTime() - d.getTimezoneOffset() * 60000)+ .toISOString()+ .split(":")+ .slice(0, 2)+ .join(":");+};++export const formatDate = (dateString: string) => {+ return new Date(`${dateString}T00:00:00Z`).toLocaleDateString("en-US", {+ day: "numeric",+ month: "long",+ year: "numeric",+ timeZone: "UTC",+ });+};++export const getFirstAndLastDay = (day: number) => {+ const today = new Date();+ const currentDay = today.getDate();+ const currentMonth = today.getMonth();+ const currentYear = today.getFullYear();+ if (currentDay >= day) {+ // if the current day is greater than target day, it means that we just passed it+ return {+ firstDay: new Date(currentYear, currentMonth, day),+ lastDay: new Date(currentYear, currentMonth + 1, day - 1),+ };+ } else {+ // if the current day is less than target day, it means that we haven't passed it yet+ const lastYear = currentMonth === 0 ? currentYear - 1 : currentYear; // if the current month is January, we need to go back a year+ const lastMonth = currentMonth === 0 ? 11 : currentMonth - 1; // if the current month is January, we need to go back to December+ return {+ firstDay: new Date(lastYear, lastMonth, day),+ lastDay: new Date(currentYear, currentMonth, day - 1),+ };+ }+};++// Function to get the last day of the current month+export const getLastDayOfMonth = () => {+ const today = new Date();+ const lastDay = new Date(today.getFullYear(), today.getMonth() + 1, 0); // This will give the last day of the current month+ return lastDay.getDate();+};++// Adjust the billingCycleStart based on the number of days in the current month+export const getAdjustedBillingCycleStart = (billingCycleStart: number) => {+ const lastDay = getLastDayOfMonth();+ if (billingCycleStart > lastDay) {+ return lastDay;+ } else {+ return billingCycleStart;+ }+};++export const generateDomainFromName = (name: string) => {+ const normalizedName = slugify(name, { separator: "" });+ if (normalizedName.length < 3) {+ return "";+ }+ if (ccTLDs.has(normalizedName.slice(-2))) {+ return `${normalizedName.slice(0, -2)}.${normalizedName.slice(-2)}`;+ }+ // remove vowels+ const devowel = normalizedName.replace(/[aeiou]/g, "");+ if (devowel.length >= 3 && ccTLDs.has(devowel.slice(-2))) {+ return `${devowel.slice(0, -2)}.${devowel.slice(-2)}`;+ }++ const shortestString = [normalizedName, devowel].reduce((a, b) =>+ a.length < b.length ? a : b,+ );++ return `${shortestString}.to`;+};++// courtesy of ChatGPT: https://sharegpt.com/c/pUYXtRs+export const validDomainRegex = new RegExp(+ /^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,+);++export const validKeyRegex = new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u);++export const validSlugRegex = new RegExp(/^[a-zA-Z0-9\-]+$/);++export const getSubdomain = (name: string, apexName: string) => {+ if (name === apexName) return null;+ return name.slice(0, name.length - apexName.length - 1);+};++export const getApexDomain = (url: string) => {+ let domain;+ try {+ // replace any custom scheme (e.g. notion://) with https://+ // use the URL constructor to get the hostname+ domain = new URL(url.replace(/^[a-zA-Z]+:\/\//, "https://")).hostname;+ } catch (e) {+ return "";+ }+ if (domain === "youtu.be") return "youtube.com";+ if (domain === "raw.githubusercontent.com") return "github.com";+ if (domain.endsWith(".vercel.app")) return "vercel.app";++ const parts = domain.split(".");+ if (parts.length > 2) {+ if (+ // if this is a second-level TLD (e.g. co.uk, .com.ua, .org.tt), we need to return the last 3 parts+ (SECOND_LEVEL_DOMAINS.has(parts[parts.length - 2]) &&+ ccTLDs.has(parts[parts.length - 1])) ||+ // if it's a special subdomain for website builders (e.g. weathergpt.vercel.app/)+ SPECIAL_APEX_DOMAINS.has(parts.slice(-2).join("."))+ ) {+ return parts.slice(-3).join(".");+ }+ // otherwise, it's a subdomain (e.g. dub.vercel.app), so we return the last 2 parts+ return parts.slice(-2).join(".");+ }+ // if it's a normal domain (e.g. dub.co), we return the domain+ return domain;+};++export const isValidUrl = (url: string) => {+ try {+ new URL(url);+ return true;+ } catch (e) {+ return false;+ }+};++export const getUrlFromString = (str: string) => {+ if (isValidUrl(str)) return str;+ try {+ if (str.includes(".") && !str.includes(" ")) {+ return new URL(`https://${str}`).toString();+ }+ } catch (e) {+ return null;+ }+};++export const getDomainWithoutWWW = (url: string) => {+ if (isValidUrl(url)) {+ return new URL(url).hostname.replace(/^www\./, "");+ }+ try {+ if (url.includes(".") && !url.includes(" ")) {+ return new URL(`https://${url}`).hostname.replace(/^www\./, "");+ }+ } catch (e) {+ return null;+ }+};++export const getQueryString = (+ router: NextRouter,+ opts?: Record<string, string>,+) => {+ const queryString = new URLSearchParams({+ ...(router.query as Record<string, string>),+ ...opts,+ }).toString();+ return `${queryString ? "?" : ""}${queryString}`;+};++export const setQueryString = ({+ router,+ param,+ value,+}: {+ router: NextRouter;+ param: string;+ value: string;+}) => {+ if (param !== "page") delete router.query.page;+ let newQuery;+ if (value.length > 0) {+ newQuery = {+ ...router.query,+ [param]: value,+ };+ } else {+ delete router.query[param];+ newQuery = { ...router.query };+ }+ // here, we omit the slug from the query string as well+ const { slug, ...finalQuery } = newQuery;+ router.replace({+ pathname: `/${router.query.slug || "links"}`,+ query: finalQuery,+ });+};++export const truncate = (str: string | null, length: number) => {+ if (!str || str.length <= length) return str;+ return `${str.slice(0, length - 3)}...`;+};++export const getParamsFromURL = (url: string) => {+ if (!url) return {};+ try {+ const params = new URL(url).searchParams;+ const paramsObj: Record<string, string> = {};+ for (const [key, value] of params.entries()) {+ if (value && value !== "") {+ paramsObj[key] = value;+ }+ }+ return paramsObj;+ } catch (e) {+ return {};+ }+};++export const constructURLFromUTMParams = (+ url: string,+ utmParams: Record<string, string>,+) => {+ if (!url) return "";+ try {+ const newURL = new URL(url);+ for (const [key, value] of Object.entries(utmParams)) {+ if (value === "") {+ newURL.searchParams.delete(key);+ } else {+ newURL.searchParams.set(key, value);+ }+ }+ return newURL.toString();+ } catch (e) {+ return "";+ }+};++export const paramsMetadata = [+ { display: "Referral (ref)", key: "ref", examples: "twitter, facebook" },+ { display: "UTM Source", key: "utm_source", examples: "twitter, facebook" },+ { display: "UTM Medium", key: "utm_medium", examples: "social, email" },+ { display: "UTM Campaign", key: "utm_campaign", examples: "summer_sale" },+ { display: "UTM Term", key: "utm_term", examples: "blue_shoes" },+ { display: "UTM Content", key: "utm_content", examples: "logolink" },+];++export const getUrlWithoutUTMParams = (url: string) => {+ try {+ const newURL = new URL(url);+ paramsMetadata.forEach((param) => newURL.searchParams.delete(param.key));+ return newURL.toString();+ } catch (e) {+ return url;+ }+};++export async function generateMD5Hash(message: string) {+ // Convert the message string to a Uint8Array+ const encoder = new TextEncoder();+ const data = encoder.encode(message);++ // Generate the hash using the SubtleCrypto interface+ const hashBuffer = await crypto.subtle.digest("MD5", data);++ // Convert the hash to a hexadecimal string+ const hashArray = Array.from(new Uint8Array(hashBuffer));+ const hashHex = hashArray+ .map((byte) => byte.toString(16).padStart(2, "0"))+ .join("");++ return hashHex;+}++const logTypeToEnv = {+ cron: process.env.DUB_SLACK_HOOK_CRON,+ links: process.env.DUB_SLACK_HOOK_LINKS,+};++export const log = async ({+ message,+ type,+ mention = false,+}: {+ message: string;+ type: "cron" | "links";+ mention?: boolean;+}) => {+ if (+ process.env.NODE_ENV === "development" ||+ !process.env.DUB_SLACK_HOOK_CRON ||+ !process.env.DUB_SLACK_HOOK_LINKS+ )+ console.log(message);+ /* Log a message to the console */+ const HOOK = logTypeToEnv[type];+ if (!HOOK) return;+ try {+ return await fetch(HOOK, {+ method: "POST",+ headers: {+ "Content-Type": "application/json",+ },+ body: JSON.stringify({+ blocks: [+ {+ type: "section",+ text: {+ type: "mrkdwn",+ text: `${mention ? "<@U0404G6J3NJ> " : ""}${message}`,+ },+ },+ ],+ }),+ });+ } catch (e) {+ console.log(`Failed to log to Dub Slack. Error: ${e}`);+ }+};++type DeepEqual = (+ obj1: Record<string, any>,+ obj2: Record<string, any>,+) => boolean;++export const deepEqual: DeepEqual = (obj1, obj2) => {+ if (obj1 === obj2) {+ return true;+ }++ if (+ typeof obj1 !== "object" ||+ typeof obj2 !== "object" ||+ obj1 === null ||+ obj2 === null+ ) {+ return false;+ }++ const keys1 = Object.keys(obj1);+ const keys2 = Object.keys(obj2);++ if (keys1.length !== keys2.length) {+ return false;+ }++ for (const key of keys1) {+ if (!keys2.includes(key) || !deepEqual(obj1[key], obj2[key])) {+ return false;+ }+ }++ return true;+};diff --git a/packages/lib/tsconfig.json b/packages/lib/tsconfig.jsonindex cd6c94d6e8..fd1ad4ac5d 100644--- a/packages/lib/tsconfig.json+++ b/packages/lib/tsconfig.json@@ -1,5 +1,5 @@{"extends": "tsconfig/react-library.json",- "include": ["."],+ "include": [".", "../ui/src/hooks", "../ui/src/content.ts"],"exclude": ["dist", "build", "node_modules"]}diff --git a/packages/tailwind-config/tailwind.config.ts b/packages/tailwind-config/tailwind.config.tsindex baa6e3d167..02637362ae 100644--- a/packages/tailwind-config/tailwind.config.ts+++ b/packages/tailwind-config/tailwind.config.ts@@ -53,6 +53,8 @@ const config: Config = {"accordion-up": "accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)",// Custom wiggle animationwiggle: "wiggle 0.75s infinite",+ // Custom spinner animation+ spinner: "spinner 1.2s linear infinite",},keyframes: {// Modal@@ -136,6 +138,15 @@ const config: Config = {"60%": { transform: "translateX(2px) rotate(1.6deg)" },"75%": { transform: "translateX(-1px) rotate(-0.8deg)" },},+ // Custom spinner animation+ spinner: {+ "0%": {+ opacity: "1",+ },+ "100%": {+ opacity: "0",+ },+ },},colors: {brown: {diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 8dab0b0429..d391eb32aa 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -36,8 +36,8 @@"@radix-ui/react-tooltip": "^1.0.2","@vercel/analytics": "^1.0.0","class-variance-authority": "^0.7.0",- "lucide-react": "^0.269.0","lib": "workspace:*",+ "lucide-react": "^0.284.0","next": "13.5.5-canary.4","vaul": "^0.6.8"}diff --git a/packages/ui/src/background.tsx b/packages/ui/src/background.tsxnew file mode 100644index 0000000000..8a9822bb67--- /dev/null+++ b/packages/ui/src/background.tsx@@ -0,0 +1,71 @@+"use client";++import { useSelectedLayoutSegment } from "next/navigation";+import { SHOW_BACKGROUND_SEGMENTS } from "lib";++export function Background() {+ let segment;+ try {+ segment = useSelectedLayoutSegment();+ } catch (e) {+ // this is for /welcome which is still on /pages router+ }++ return !segment || SHOW_BACKGROUND_SEGMENTS.includes(segment) ? (+ <div style={styles.backgroundMain}>+ <div style={styles.backgroundMainBefore} />+ <div style={styles.backgroundMainAfter} />+ <div style={styles.backgroundContent} />+ </div>+ ) : null;+}++const styles: { [key: string]: React.CSSProperties } = {+ backgroundMain: {+ width: "100vw",+ minHeight: "100vh",+ position: "fixed",+ zIndex: -1,+ display: "flex",+ justifyContent: "center",+ padding: "120px 24px 160px 24px",+ pointerEvents: "none",+ },+ backgroundMainBefore: {+ background: "radial-gradient(circle, rgba(2, 0, 36, 0) 0, #fafafa 100%)",+ position: "absolute",+ content: '""',+ zIndex: 2,+ width: "100%",+ height: "100%",+ top: 0,+ },+ backgroundMainAfter: {+ content: '""',+ backgroundImage: "url(https://d2vwwcvoksz7ty.cloudfront.net/grid.svg)",+ zIndex: 1,+ position: "absolute",+ width: "100%",+ height: "100%",+ top: 0,+ opacity: 0.4,+ filter: "invert(1)",+ },+ backgroundContent: {+ zIndex: 3,+ width: "100%",+ maxWidth: "640px",+ backgroundImage: `radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 1) 0px, transparent 0%),+ radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 1) 0px, transparent 50%),+ radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 1) 0px, transparent 50%),+ radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 1) 0px, transparent 50%),+ radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 1) 0px, transparent 50%),+ radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 1) 0px, transparent 50%),+ radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%)`,+ position: "absolute",+ height: "100%",+ filter: "blur(100px) saturate(150%)",+ top: "80px",+ opacity: 0.15,+ },+};diff --git a/packages/lib/constants/content.ts b/packages/ui/src/content.tssimilarity index 100%rename from packages/lib/constants/content.tsrename to packages/ui/src/content.tsdiff --git a/packages/ui/src/footer.tsx b/packages/ui/src/footer.tsxindex 1400ca2739..c1dbbb9cbb 100644--- a/packages/ui/src/footer.tsx+++ b/packages/ui/src/footer.tsx@@ -5,7 +5,7 @@ import { LogoType, Github, LinkedIn, Twitter } from "./icons";import { useParams } from "next/navigation";import { MaxWidthWrapper } from "./max-width-wrapper";import va from "@vercel/analytics";-import { FEATURES_LIST } from "lib";+import { FEATURES_LIST } from "./content";const navigation = {features: FEATURES_LIST.map(({ shortTitle, slug }) => ({diff --git a/apps/web/public/_static/grid.svg b/packages/ui/src/grid.svgsimilarity index 100%rename from apps/web/public/_static/grid.svgrename to packages/ui/src/grid.svgdiff --git a/packages/lib/src/hooks/index.ts b/packages/ui/src/hooks/index.tssimilarity index 100%rename from packages/lib/src/hooks/index.tsrename to packages/ui/src/hooks/index.tsdiff --git a/packages/lib/src/hooks/use-current-anchor.ts b/packages/ui/src/hooks/use-current-anchor.tssimilarity index 100%rename from packages/lib/src/hooks/use-current-anchor.tsrename to packages/ui/src/hooks/use-current-anchor.tsdiff --git a/packages/lib/src/hooks/use-intersection-observer.ts b/packages/ui/src/hooks/use-intersection-observer.tssimilarity index 100%rename from packages/lib/src/hooks/use-intersection-observer.tsrename to packages/ui/src/hooks/use-intersection-observer.tsdiff --git a/packages/lib/src/hooks/use-local-storage.ts b/packages/ui/src/hooks/use-local-storage.tssimilarity index 100%rename from packages/lib/src/hooks/use-local-storage.tsrename to packages/ui/src/hooks/use-local-storage.tsdiff --git a/packages/lib/src/hooks/use-media-query.ts b/packages/ui/src/hooks/use-media-query.tssimilarity index 100%rename from packages/lib/src/hooks/use-media-query.tsrename to packages/ui/src/hooks/use-media-query.tsdiff --git a/packages/lib/src/hooks/use-scroll.ts b/packages/ui/src/hooks/use-scroll.tssimilarity index 100%rename from packages/lib/src/hooks/use-scroll.tsrename to packages/ui/src/hooks/use-scroll.tsdiff --git a/packages/ui/src/icons/loading-spinner.css b/packages/ui/src/icons/loading-spinner.cssdeleted file mode 100644index d6c881808d..0000000000--- a/packages/ui/src/icons/loading-spinner.css+++ /dev/null@@ -1,72 +0,0 @@-.loading-spinner {- position: relative;- top: 50%;- left: 50%;-}-.loading-spinner div {- animation: spinner 1.2s linear infinite;- background: gray;- position: absolute;- border-radius: 1rem;- width: 30%;- height: 8%;- left: -10%;- top: -4%;-}-.loading-spinner div:nth-child(1) {- animation-delay: -1.2s;- transform: rotate(1deg) translate(120%);-}-.loading-spinner div:nth-child(2) {- animation-delay: -1.1s;- transform: rotate(30deg) translate(120%);-}-.loading-spinner div:nth-child(3) {- animation-delay: -1s;- transform: rotate(60deg) translate(120%);-}-.loading-spinner div:nth-child(4) {- animation-delay: -0.9s;- transform: rotate(90deg) translate(120%);-}-.loading-spinner div:nth-child(5) {- animation-delay: -0.8s;- transform: rotate(120deg) translate(120%);-}-.loading-spinner div:nth-child(6) {- animation-delay: -0.7s;- transform: rotate(150deg) translate(120%);-}-.loading-spinner div:nth-child(7) {- animation-delay: -0.6s;- transform: rotate(180deg) translate(120%);-}-.loading-spinner div:nth-child(8) {- animation-delay: -0.5s;- transform: rotate(210deg) translate(120%);-}-.loading-spinner div:nth-child(9) {- animation-delay: -0.4s;- transform: rotate(240deg) translate(120%);-}-.loading-spinner div:nth-child(10) {- animation-delay: -0.3s;- transform: rotate(270deg) translate(120%);-}-.loading-spinner div:nth-child(11) {- animation-delay: -0.2s;- transform: rotate(300deg) translate(120%);-}-.loading-spinner div:nth-child(12) {- animation-delay: -0.1s;- transform: rotate(330deg) translate(120%);-}--@keyframes spinner {- 0% {- opacity: 1;- }- 100% {- opacity: 0;- }-}diff --git a/packages/ui/src/icons/loading-spinner.tsx b/packages/ui/src/icons/loading-spinner.tsxindex 9e5bc7760f..d1744adde1 100644--- a/packages/ui/src/icons/loading-spinner.tsx+++ b/packages/ui/src/icons/loading-spinner.tsx@@ -1,12 +1,32 @@-import "./loading-spinner.css";-import { cn } from "../../../lib/src/utils";+import { cn } from "lib";export default function LoadingSpinner({ className }: { className?: string }) {return (<div className={cn("h-5 w-5", className)}>- <div className={cn("loading-spinner", "h-5 w-5", className)}>+ <div+ style={{+ position: "relative",+ top: "50%",+ left: "50%",+ }}+ className={cn("loading-spinner", "h-5 w-5", className)}+ >{[...Array(12)].map((_, i) => (- <div key={i} />+ <div+ key={i}+ style={{+ animationDelay: `${-1.2 + 0.1 * i}s`,+ background: "gray",+ position: "absolute",+ borderRadius: "1rem",+ width: "30%",+ height: "8%",+ left: "-10%",+ top: "-4%",+ transform: `rotate(${30 * i}deg) translate(120%)`,+ }}+ className="animate-spinner"+ />))}</div></div>diff --git a/packages/ui/src/index.tsx b/packages/ui/src/index.tsxindex cf696a9db7..c506b3ae75 100644--- a/packages/ui/src/index.tsx+++ b/packages/ui/src/index.tsx@@ -3,8 +3,11 @@ import "./styles.css";// componentsexport * from "./badge";+export * from "./background";export * from "./button";+export * from "./content";export * from "./footer";+export * from "./hooks";export * from "./icons";export * from "./max-width-wrapper";export * from "./nav";diff --git a/packages/ui/src/nav-mobile.tsx b/packages/ui/src/nav-mobile.tsxindex bcdf3c840f..c30328738b 100644--- a/packages/ui/src/nav-mobile.tsx+++ b/packages/ui/src/nav-mobile.tsx@@ -3,7 +3,8 @@import Link from "next/link";import { useParams } from "next/navigation";import { navItems } from "./nav";-import { cn, FEATURES_LIST, APP_DOMAIN } from "lib";+import { cn, APP_DOMAIN } from "lib";+import { FEATURES_LIST } from "./content";import { useState } from "react";import { ChevronDown, Menu, X } from "lucide-react";diff --git a/packages/ui/src/nav.tsx b/packages/ui/src/nav.tsxindex e317d9ccd8..8db298e3c6 100644--- a/packages/ui/src/nav.tsx+++ b/packages/ui/src/nav.tsx@@ -3,9 +3,10 @@import Link from "next/link";import { useParams, useSelectedLayoutSegment } from "next/navigation";import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";-import { cn, useScroll, FEATURES_LIST } from "lib";+import { cn, APP_DOMAIN, SHOW_BACKGROUND_SEGMENTS } from "lib";+import { FEATURES_LIST } from "./content";+import { useScroll } from "./hooks";import { MaxWidthWrapper } from "./max-width-wrapper";-import { APP_DOMAIN, SHOW_BACKGROUND_SEGMENTS } from "../../lib/constants";import va from "@vercel/analytics";import { ChevronDown } from "lucide-react";import { LogoType } from "./icons";diff --git a/packages/ui/src/popover.tsx b/packages/ui/src/popover.tsxindex fd0f568b97..c9eac5a619 100644--- a/packages/ui/src/popover.tsx+++ b/packages/ui/src/popover.tsx@@ -3,7 +3,7 @@import { Dispatch, ReactNode, SetStateAction } from "react";import * as PopoverPrimitive from "@radix-ui/react-popover";import { Drawer } from "vaul";-import { useMediaQuery } from "lib";+import { useMediaQuery } from "./hooks";export function Popover({children,diff --git a/packages/ui/src/tooltip.tsx b/packages/ui/src/tooltip.tsxindex a273db3bf0..e67f08df0c 100644--- a/packages/ui/src/tooltip.tsx+++ b/packages/ui/src/tooltip.tsx@@ -3,7 +3,7 @@import { ReactNode } from "react";import * as TooltipPrimitive from "@radix-ui/react-tooltip";import { Drawer } from "vaul";-import { useMediaQuery } from "lib";+import { useMediaQuery } from "./hooks";export function Tooltip({children,diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.jsonindex 9a4263e44d..cd6c94d6e8 100644--- a/packages/ui/tsconfig.json+++ b/packages/ui/tsconfig.json@@ -1,5 +1,5 @@{"extends": "tsconfig/react-library.json",- "include": [".", "../lib"],+ "include": ["."],"exclude": ["dist", "build", "node_modules"]}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a6b47f7503..e4c56de0c5 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -148,9 +148,6 @@ importers:concurrently:specifier: ^8.0.1version: 8.0.1- contentlayer:- specifier: ^0.3.4- version: 0.3.4([email protected])crisp-sdk-web:specifier: ^1.0.19version: 1.0.19@@ -186,13 +183,10 @@ importers:version: 5.0.1next:specifier: 13.5.5-canary.4- version: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])+ version: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])next-auth:specifier: ^4.23.1- next-contentlayer:- specifier: ^0.3.4- version: 0.3.4([email protected])([email protected])([email protected])([email protected])([email protected])node-html-parser:specifier: ^6.1.4version: 6.1.4@@ -350,16 +344,28 @@ importers:packages/lib:dependencies:+ '@sindresorhus/slugify':+ specifier: ^2.2.1+ version: 2.2.1clsx:specifier: ^1.2.1version: 1.2.1- lucide-react:- specifier: ^0.269.0- version: 0.269.0([email protected])+ ms:+ specifier: ^2.1.3+ version: 2.1.3+ nanoid:+ specifier: ^5.0.1+ version: 5.0.1+ next:+ specifier: 13.5.5-canary.4+ version: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])tailwind-merge:specifier: ^1.13.2version: 1.13.2devDependencies:+ '@types/ms':+ specifier: ^0.7.31+ version: 0.7.31'@types/node':specifier: 18.11.9version: 18.11.9@@ -424,11 +430,11 @@ importers:specifier: workspace:*version: link:../liblucide-react:- specifier: ^0.269.0- version: 0.269.0([email protected])+ specifier: ^0.284.0+ version: 0.284.0([email protected])next:specifier: 13.5.5-canary.4- version: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])+ version: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])vaul:specifier: ^0.6.8version: 0.6.8(@types/[email protected])(@types/[email protected])([email protected])([email protected])@@ -2742,189 +2748,10 @@ packages:commander: 9.4.1dev: false- /@contentlayer/[email protected]([email protected]):- resolution: {integrity: sha512-vNDwgLuhYNu+m70NZ3XK9kexKNguuxPXg7Yvzj3B34cEilQjjzSrcTY/i+AIQm9V7uT5GGshx9ukzPf+SmoszQ==}- dependencies:- '@contentlayer/core': 0.3.4([email protected])- '@contentlayer/utils': 0.3.4- clipanion: 3.2.1([email protected])- typanion: 3.14.0- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color- dev: false-- /@contentlayer/[email protected]([email protected]):- resolution: {integrity: sha512-QSlLyc3y4PtdC5lFw0L4wTZUH8BQnv2nk37hNCsPAqGf+dRO7TLAzdc+2/mVIRgK+vSH+pSOzjLsQpFxxXRTZA==}- dependencies:- '@contentlayer/core': 0.3.4([email protected])- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color- dev: false-- /@contentlayer/[email protected]([email protected]):- resolution: {integrity: sha512-o68oBLwfYZ+2vtgfk1lgHxOl3LoxvRNiUfeQ8IWFWy/L4wnIkKIqLZX01zlRE5IzYM+ZMMN5V0cKQlO7DsyR9g==}- peerDependencies:- esbuild: 0.17.x || 0.18.x- markdown-wasm: 1.x- peerDependenciesMeta:- esbuild:- optional: true- markdown-wasm:- optional: true- dependencies:- '@contentlayer/utils': 0.3.4- camel-case: 4.1.2- comment-json: 4.2.3- esbuild: 0.19.4- gray-matter: 4.0.3- mdx-bundler: 9.2.1([email protected])- rehype-stringify: 9.0.4- remark-frontmatter: 4.0.1- remark-parse: 10.0.2- remark-rehype: 10.1.0- source-map-support: 0.5.21- type-fest: 3.13.1- unified: 10.1.2- transitivePeerDependencies:- - '@effect-ts/otel-node'- - supports-color- dev: false-- /@contentlayer/[email protected]([email protected]):- resolution: {integrity: sha512-4njyn0OFPu7WY4tAjMxiJgWOKeiHuBOGdQ36EYE03iij/pPPRbiWbL+cmLccYXUFEW58mDwpqROZZm6pnxjRDQ==}- dependencies:- '@contentlayer/core': 0.3.4([email protected])- '@contentlayer/utils': 0.3.4- chokidar: 3.5.3- fast-glob: 3.3.1- gray-matter: 4.0.3- imagescript: 1.2.16- micromatch: 4.0.5- ts-pattern: 4.3.0- unified: 10.1.2- yaml: 2.3.2- zod: 3.22.3- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color- dev: false-- /@contentlayer/[email protected]([email protected]):- resolution: {integrity: sha512-cyiv4sNUySZvR0uAKlM+kSAELzNd2h2QT1R2e41dRKbwOUVxeLfmGiLugr0aVac6Q3xYcD99dbHyR1xWPV+w9w==}- dependencies:- '@contentlayer/core': 0.3.4([email protected])- '@contentlayer/source-files': 0.3.4([email protected])- '@contentlayer/utils': 0.3.4- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color- dev: false-- /@contentlayer/[email protected]:- resolution: {integrity: sha512-ZWWOhbUWYQ2QHoLIlcUnEo7X4ZbwcyFPuzVQWWMkK43BxCveyQtZwBIzfyx54sqVzi0GUmKP8bHzsLQT0QxaLQ==}- peerDependencies:- '@effect-ts/otel-node': '*'- peerDependenciesMeta:- '@effect-ts/core':- optional: true- '@effect-ts/otel':- optional: true- '@effect-ts/otel-node':- optional: true- dependencies:- '@effect-ts/core': 0.60.5- '@effect-ts/otel': 0.15.1(@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])- '@effect-ts/otel-exporter-trace-otlp-grpc': 0.15.1(@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])- '@effect-ts/otel-sdk-trace-node': 0.15.1(@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])- '@js-temporal/polyfill': 0.4.4- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/exporter-trace-otlp-grpc': 0.39.1(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-node': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.17.0- chokidar: 3.5.3- hash-wasm: 4.9.0- inflection: 2.0.1- memfs: 3.5.3- oo-ascii-tree: 1.89.0- ts-pattern: 4.3.0- type-fest: 3.13.1- dev: false-/@deno/[email protected]:resolution: {integrity: sha512-ed4pNnfur6UbASEgF34gVxR9p7Mc3qF+Ygbmjiil8ws5IhNFhPDFy5vE5hQAUA9JmVsSxXPcVLM5Rf8LOZqQ5Q==}dev: false- /@effect-ts/[email protected]:- resolution: {integrity: sha512-qi1WrtJA90XLMnj2hnUszW9Sx4dXP03ZJtCc5DiUBIOhF4Vw7plfb65/bdBySPoC9s7zy995TdUX1XBSxUkl5w==}- dependencies:- '@effect-ts/system': 0.57.5- dev: false-- /@effect-ts/[email protected](@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected]):- resolution: {integrity: sha512-47gAg0O2pW5Jlo86jfzjdkwL5a7Bzb+Kj5WTmdu4CxYRfWn9ytKjuuYIfsNDW8neuhdKzn+P5wCddgEh0glYyQ==}- peerDependencies:- '@effect-ts/core': ^0.60.2- '@opentelemetry/api': ^1.4.0- '@opentelemetry/core': ^1.13.0- '@opentelemetry/exporter-trace-otlp-grpc': ^0.39.0- '@opentelemetry/sdk-trace-base': ^1.13.0- dependencies:- '@effect-ts/core': 0.60.5- '@effect-ts/otel': 0.15.1(@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/exporter-trace-otlp-grpc': 0.39.1(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.17.0(@opentelemetry/[email protected])- dev: false-- /@effect-ts/[email protected](@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected]):- resolution: {integrity: sha512-a2sF0ylmn8xOJs8fNeT/spJ1gUcsksAJCALxo9WOfuTCMtTwMVtVhCKEPEeQoL7wFqU+JgPkVdP91+FJ/Rkeow==}- peerDependencies:- '@effect-ts/core': ^0.60.2- '@opentelemetry/api': ^1.4.0- '@opentelemetry/core': ^1.13.0- '@opentelemetry/sdk-trace-base': ^1.13.0- '@opentelemetry/sdk-trace-node': ^1.13.0- dependencies:- '@effect-ts/core': 0.60.5- '@effect-ts/otel': 0.15.1(@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-node': 1.17.0(@opentelemetry/[email protected])- dev: false-- /@effect-ts/[email protected](@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected]):- resolution: {integrity: sha512-AmZJHl7t0+Peh7Yb2+hqn6r9+rd9/UfeA4AMV9h0YGTdOyouyFfD3wzWlxnAUzAQ4Lrod4kC7Noruret4EpqpA==}- peerDependencies:- '@effect-ts/core': ^0.60.2- '@opentelemetry/api': ^1.4.0- '@opentelemetry/core': ^1.13.0- '@opentelemetry/sdk-trace-base': ^1.13.0- dependencies:- '@effect-ts/core': 0.60.5- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.17.0(@opentelemetry/[email protected])- dev: false-- /@effect-ts/[email protected]:- resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==}- dev: false-/@emotion/[email protected]:resolution: {integrity: sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==}requiresBuild: true@@ -2939,20 +2766,6 @@ packages:dev: falseoptional: true- /@esbuild-plugins/[email protected]([email protected]):- resolution: {integrity: sha512-haFQ0qhxEpqtWWY0kx1Y5oE3sMyO1PcoSiWEPrAw6tm/ZOOLXjSs6Q+v1v9eyuVF0nNt50YEvrcrvENmyoMv5g==}- peerDependencies:- esbuild: '*'- dependencies:- '@types/resolve': 1.20.3- debug: 4.3.4- esbuild: 0.19.4- escape-string-regexp: 4.0.0- resolve: 1.22.6- transitivePeerDependencies:- - supports-color- dev: false-/@esbuild/[email protected]:resolution: {integrity: sha512-VPuTzXFm/m2fcGfN6CiwZTlLzxrKsWbPkG7ArRFpuxyaHUm/XFHQPD4xNwZT6uUmpIHhnSjcaCmcla8COzmZ5Q==}engines: {node: '>=12'}@@ -2962,15 +2775,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-mRsi2vJsk4Bx/AFsNBqOH2fqedxn5L/moT58xgg51DjX1la64Z3Npicut2VbhvDFO26qjWtPMsVxCd80YTFVeg==}- engines: {node: '>=12'}- cpu: [arm64]- os: [android]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-rZzb7r22m20S1S7ufIc6DC6W659yxoOrl7sKP1nCYhuvUlnCFHVSbATG4keGUtV8rDz11sRRDbWkvQZpzPaHiw==}engines: {node: '>=12'}@@ -2980,15 +2784,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-uBIbiYMeSsy2U0XQoOGVVcpIktjLMEKa7ryz2RLr7L/vTnANNEsPVAh4xOv7ondGz6ac1zVb0F8Jx20rQikffQ==}- engines: {node: '>=12'}- cpu: [arm]- os: [android]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-MW+B2O++BkcOfMWmuHXB15/l1i7wXhJFqbJhp82IBOais8RBEQv2vQz/jHrDEHaY2X0QY7Wfw86SBL2PbVOr0g==}engines: {node: '>=12'}@@ -2998,15 +2793,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-4iPufZ1TMOD3oBlGFqHXBpa3KFT46aLl6Vy7gwed0ZSYgHaZ/mihbYb4t7Z9etjkC9Al3ZYIoOaHrU60gcMy7g==}- engines: {node: '>=12'}- cpu: [x64]- os: [android]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-a28X1O//aOfxwJVZVs7ZfM8Tyih2Za4nKJrBwW5Wm4yKsnwBy9aiS/xwpxiiTRttw3EaTg4Srerhcm6z0bu9Wg==}engines: {node: '>=12'}@@ -3016,15 +2802,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-Lviw8EzxsVQKpbS+rSt6/6zjn9ashUZ7Tbuvc2YENgRl0yZTktGlachZ9KMJUsVjZEGFVu336kl5lBgDN6PmpA==}- engines: {node: '>=12'}- cpu: [arm64]- os: [darwin]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-e3doCr6Ecfwd7VzlaQqEPrnbvvPjE9uoTpxG5pyLzr2rI2NMjDHmvY1E5EO81O/e9TUOLLkXA5m6T8lfjK9yAA==}engines: {node: '>=12'}@@ -3034,15 +2811,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-YHbSFlLgDwglFn0lAO3Zsdrife9jcQXQhgRp77YiTDja23FrC2uwnhXMNkAucthsf+Psr7sTwYEryxz6FPAVqw==}- engines: {node: '>=12'}- cpu: [x64]- os: [darwin]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-Oup3G/QxBgvvqnXWrBed7xxkFNwAwJVHZcklWyQt7YCAL5bfUkaa6FVWnR78rNQiM8MqqLiT6ZTZSdUFuVIg1w==}engines: {node: '>=12'}@@ -3052,15 +2820,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-vz59ijyrTG22Hshaj620e5yhs2dU1WJy723ofc+KUgxVCM6zxQESmWdMuVmUzxtGqtj5heHyB44PjV/HKsEmuQ==}- engines: {node: '>=12'}- cpu: [arm64]- os: [freebsd]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-vAP+eYOxlN/Bpo/TZmzEQapNS8W1njECrqkTpNgvXskkkJC2AwOXwZWai/Kc2vEFZUXQttx6UJbj9grqjD/+9Q==}engines: {node: '>=12'}@@ -3070,15 +2829,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-3sRbQ6W5kAiVQRBWREGJNd1YE7OgzS0AmOGjDmX/qZZecq8NFlQsQH0IfXjjmD0XtUYqr64e0EKNFjMUlPL3Cw==}- engines: {node: '>=12'}- cpu: [x64]- os: [freebsd]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-2zXoBhv4r5pZiyjBKrOdFP4CXOChxXiYD50LRUU+65DkdS5niPFHbboKZd/c81l0ezpw7AQnHeoCy5hFrzzs4g==}engines: {node: '>=12'}@@ -3088,15 +2838,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-ZWmWORaPbsPwmyu7eIEATFlaqm0QGt+joRE9sKcnVUG3oBbr/KYdNE2TnkzdQwX6EDRdg/x8Q4EZQTXoClUqqA==}- engines: {node: '>=12'}- cpu: [arm64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-A47ZmtpIPyERxkSvIv+zLd6kNIOtJH03XA0Hy7jaceRDdQaQVGSDt4mZqpWqJYgDk9rg96aglbF6kCRvPGDSUA==}engines: {node: '>=12'}@@ -3106,15 +2847,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-z/4ArqOo9EImzTi4b6Vq+pthLnepFzJ92BnofU1jgNlcVb+UqynVFdoXMCFreTK7FdhqAzH0vmdwW5373Hm9pg==}- engines: {node: '>=12'}- cpu: [arm]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-uxdSrpe9wFhz4yBwt2kl2TxS/NWEINYBUFIxQtaEVtglm1eECvsj1vEKI0KX2k2wCe17zDdQ3v+jVxfwVfvvjw==}engines: {node: '>=12'}@@ -3124,15 +2856,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-EGc4vYM7i1GRUIMqRZNCTzJh25MHePYsnQfKDexD8uPTCm9mK56NIL04LUfX2aaJ+C9vyEp2fJ7jbqFEYgO9lQ==}- engines: {node: '>=12'}- cpu: [ia32]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==}engines: {node: '>=12'}@@ -3151,15 +2874,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-WVhIKO26kmm8lPmNrUikxSpXcgd6HDog0cx12BUfA2PkmURHSgx9G6vA19lrlQOMw+UjMZ+l3PpbtzffCxFDRg==}- engines: {node: '>=12'}- cpu: [loong64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-sD9EEUoGtVhFjjsauWjflZklTNr57KdQ6xfloO4yH1u7vNQlOfAlhEzbyBKfgbJlW7rwXYBdl5/NcZ+Mg2XhQA==}engines: {node: '>=12'}@@ -3169,15 +2883,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-keYY+Hlj5w86hNp5JJPuZNbvW4jql7c1eXdBUHIJGTeN/+0QFutU3GrS+c27L+NTmzi73yhtojHk+lr2+502Mw==}- engines: {node: '>=12'}- cpu: [mips64el]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-X1HSqHUX9D+d0l6/nIh4ZZJ94eQky8d8z6yxAptpZE3FxCWYWvTDd9X9ST84MGZEJx04VYUD/AGgciddwO0b8g==}engines: {node: '>=12'}@@ -3187,15 +2892,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-tQ92n0WMXyEsCH4m32S21fND8VxNiVazUbU4IUGVXQpWiaAxOBvtOtbEt3cXIV3GEBydYsY8pyeRMJx9kn3rvw==}- engines: {node: '>=12'}- cpu: [ppc64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-97ANpzyNp0GTXCt6SRdIx1ngwncpkV/z453ZuxbnBROCJ5p/55UjhbaG23UdHj88fGWLKPFtMoU4CBacz4j9FA==}engines: {node: '>=12'}@@ -3205,15 +2901,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-tRRBey6fG9tqGH6V75xH3lFPpj9E8BH+N+zjSUCnFOX93kEzqS0WdyJHkta/mmJHn7MBaa++9P4ARiU4ykjhig==}- engines: {node: '>=12'}- cpu: [riscv64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-pUvPQLPmbEeJRPjP0DYTC1vjHyhrnCklQmCGYbipkep+oyfTn7GTBJXoPodR7ZS5upmEyc8lzAkn2o29wD786A==}engines: {node: '>=12'}@@ -3223,15 +2910,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-152aLpQqKZYhThiJ+uAM4PcuLCAOxDsCekIbnGzPKVBRUDlgaaAfaUl5NYkB1hgY6WN4sPkejxKlANgVcGl9Qg==}- engines: {node: '>=12'}- cpu: [s390x]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-N55Q0mJs3Sl8+utPRPBrL6NLYZKBCLLx0bme/+RbjvMforTGGzFvsRl4xLTZMUBFC1poDzBEPTEu5nxizQ9Nlw==}engines: {node: '>=12'}@@ -3241,15 +2919,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-Mi4aNA3rz1BNFtB7aGadMD0MavmzuuXNTaYL6/uiYIs08U7YMPETpgNn5oue3ICr+inKwItOwSsJDYkrE9ekVg==}- engines: {node: '>=12'}- cpu: [x64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-LHSJLit8jCObEQNYkgsDYBh2JrJT53oJO2HVdkSYLa6+zuLJh0lAr06brXIkljrlI+N7NNW1IAXGn/6IZPi3YQ==}engines: {node: '>=12'}@@ -3259,15 +2928,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-9+Wxx1i5N/CYo505CTT7T+ix4lVzEdz0uCoYGxM5JDVlP2YdDC1Bdz+Khv6IbqmisT0Si928eAxbmGkcbiuM/A==}- engines: {node: '>=12'}- cpu: [x64]- os: [netbsd]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-nLgdc6tWEhcCFg/WVFaUxHcPK3AP/bh+KEwKtl69Ay5IBqUwKDaq/6Xk0E+fh/FGjnLwqFSsarsbPHeKM8t8Sw==}engines: {node: '>=12'}@@ -3277,15 +2937,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-MFsHleM5/rWRW9EivFssop+OulYVUoVcqkyOkjiynKBCGBj9Lihl7kh9IzrreDyXa4sNkquei5/DTP4uCk25xw==}- engines: {node: '>=12'}- cpu: [x64]- os: [openbsd]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-08SluG24GjPO3tXKk95/85n9kpyZtXCVwURR2i4myhrOfi3jspClV0xQQ0W0PYWHioJj+LejFMt41q+PG3mlAQ==}engines: {node: '>=12'}@@ -3295,15 +2946,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-6Xq8SpK46yLvrGxjp6HftkDwPP49puU4OF0hEL4dTxqCbfx09LyrbUj/D7tmIRMj5D5FCUPksBbxyQhp8tmHzw==}- engines: {node: '>=12'}- cpu: [x64]- os: [sunos]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-yYiRDQcqLYQSvNQcBKN7XogbrSvBE45FEQdH8fuXPl7cngzkCvpsG2H9Uey39IjQ6gqqc+Q4VXYHsQcKW0OMjQ==}engines: {node: '>=12'}@@ -3313,15 +2955,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-PkIl7Jq4mP6ke7QKwyg4fD4Xvn8PXisagV/+HntWoDEdmerB2LTukRZg728Yd1Fj+LuEX75t/hKXE2Ppk8Hh1w==}- engines: {node: '>=12'}- cpu: [arm64]- os: [win32]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-5rabnGIqexekYkh9zXG5waotq8mrdlRoBqAktjx2W3kb0zsI83mdCwrcAeKYirnUaTGztR5TxXcXmQrEzny83w==}engines: {node: '>=12'}@@ -3331,15 +2964,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-ga676Hnvw7/ycdKB53qPusvsKdwrWzEyJ+AtItHGoARszIqvjffTwaaW3b2L6l90i7MO9i+dlAW415INuRhSGg==}- engines: {node: '>=12'}- cpu: [ia32]- os: [win32]- requiresBuild: true- dev: false- optional: true-/@esbuild/[email protected]:resolution: {integrity: sha512-sN/I8FMPtmtT2Yw+Dly8Ur5vQ5a/RmC8hW7jO9PtPSQUPkowxWpcUZnqOggU7VwyT3Xkj6vcXWd3V/qTXwultQ==}engines: {node: '>=12'}@@ -3349,15 +2973,6 @@ packages:dev: falseoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-HP0GDNla1T3ZL8Ko/SHAS2GgtjOg+VmWnnYLhuTksr++EnduYB0f3Y2LzHsUwb2iQ13JGoY6G3R8h6Du/WG6uA==}- engines: {node: '>=12'}- cpu: [x64]- os: [win32]- requiresBuild: true- dev: false- optional: true-/@eslint-community/[email protected]([email protected]):resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3395,10 +3010,6 @@ packages:engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}dev: true- /@fal-works/[email protected]:- resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==}- dev: false-/@floating-ui/[email protected]:resolution: {integrity: sha512-buc8BXHmG9l82+OQXOFU3Kr2XQx9ys01U/Q9HMIrZ300iLc8HLMgh7dcCqgYzAzf4BkoQvDcXf5Y+CuEZ5JBYg==}dev: false@@ -3578,14 +3189,6 @@ packages:resolution: {integrity: sha512-7dqNYwG8gCt4hfg5PKgM7xLEcgSBcx/UgC92OMnhMmvAnq11QzDFPrxUkNR/u5kn17WWLZ8beZ4A3Qrz4pZcmQ==}dev: false- /@js-temporal/[email protected]:- resolution: {integrity: sha512-2X6bvghJ/JAoZO52lbgyAPFj8uCflhTo2g7nkFzEQdXd/D8rEeD4HtmTEpmtGCva260fcd66YNXBOYdnmHqSOg==}- engines: {node: '>=12'}- dependencies:- jsbi: 4.3.0- tslib: 2.6.2- dev: false-/@juggle/[email protected]:resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==}dev: false@@ -3609,43 +3212,6 @@ packages:read-yaml-file: 1.1.0dev: false- /@mdx-js/[email protected]([email protected]):- resolution: {integrity: sha512-r/vsqsM0E+U4Wr0DK+0EfmABE/eg+8ITW4DjvYdh3ve/tK2safaqHArNnaqbOk1DjYGrhxtoXoGaM3BY8fGBTA==}- peerDependencies:- esbuild: '>=0.11.0'- dependencies:- '@mdx-js/mdx': 2.3.0- esbuild: 0.19.4- node-fetch: 3.3.2- vfile: 5.3.7- transitivePeerDependencies:- - supports-color- dev: false-- /@mdx-js/[email protected]:- resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==}- dependencies:- '@types/estree-jsx': 1.0.1- '@types/mdx': 2.0.8- estree-util-build-jsx: 2.2.2- estree-util-is-identifier-name: 2.1.0- estree-util-to-js: 1.2.0- estree-walker: 3.0.3- hast-util-to-estree: 2.3.3- markdown-extensions: 1.1.1- periscopic: 3.1.0- remark-mdx: 2.3.0- remark-parse: 10.0.2- remark-rehype: 10.1.0- unified: 10.1.2- unist-util-position-from-estree: 1.1.2- unist-util-stringify-position: 3.0.3- unist-util-visit: 4.1.2- vfile: 5.3.7- transitivePeerDependencies:- - supports-color- dev: false-resolution: {integrity: sha512-VqMS11IxPXrPGXw6Oul6jcyS/n8GLOWzRMrPr3EMdtD6eOalM6zz05j08PcNiis8QzkfuYnCv49OvufTuaEwYQ==}peerDependencies:@@ -4008,13 +3574,6 @@ packages:resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==}dev: false- /@opentelemetry/[email protected]:- resolution: {integrity: sha512-9BJ8lMcOzEN0lu+Qji801y707oFO4xT3db6cosPvl+k7ItUHKN5ofWqtSbM9gbt1H4JJ/4/2TVrqI9Rq7hNv6Q==}- engines: {node: '>=14'}- dependencies:- '@opentelemetry/api': 1.6.0- dev: false-/@opentelemetry/[email protected]:resolution: {integrity: sha512-8WRuvGnfnbeR9ifGjLN8kklk2fkd0gBT6aN7NHO9zeYF/6qacAViD3bwAKqGXKnJgl39l1EU41I9diqUjamEEQ==}engines: {node: '>=14'}@@ -4032,25 +3591,6 @@ packages:engines: {node: '>=8.0.0'}dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-bDIRCgpKniSyhORU0fTL9ISW6ucU9nruKyXKwYrEBep/2f3uLz8LFyF51ZUK9QxIwBHw6WJudK/2UqttWzER4w==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.7.0'- dependencies:- '@opentelemetry/api': 1.6.0- dev: false-- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-2dBX3Sj99H96uwJKvc2w9NOiNgbvAO6mOFJFramNkKfS9O4Um+VWgpnlAazoYjT6kUJ1MP70KQ5ngD4ed+4NUw==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.5.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/semantic-conventions': 1.13.0- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected]):resolution: {integrity: sha512-MnMZ+sxsnlzloeuXL2nm5QcNczt/iO82UOeQQDHhV83F2fP3sgntW2evvtoxJki0MBLxEsh5ADD7PR/Hn5uzjw==}engines: {node: '>=14'}@@ -4061,16 +3601,6 @@ packages:'@opentelemetry/semantic-conventions': 1.14.0dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-tfnl3h+UefCgx1aeN2xtrmr6BmdWGKXypk0pflQR0urFS40aE88trnkOMc2HTJZbMrqEEl4HsaBeFhwLVXsrJg==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.7.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/semantic-conventions': 1.17.0- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected]):resolution: {integrity: sha512-1kIEi2G4uVrxqZV+9M09Il2XeylAUOpNXg1vpS50R2CgP99u6ICzu+xhENXWucaVya+tRduwrhkVzSagyP7Mtw==}engines: {node: '>=14'}@@ -4101,31 +3631,6 @@ packages:'@opentelemetry/sdk-metrics': 1.14.0(@opentelemetry/[email protected])dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-l5RhLKx6U+yuLhMrtgavTDthX50E1mZM3/SSySC7OPZiArFHV/b/9x9jxAzrOgIQUDxyj4N0V9aLKSA2t7Qzxg==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': ^1.0.0- dependencies:- '@grpc/grpc-js': 1.9.5- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/otlp-grpc-exporter-base': 0.39.1(@opentelemetry/[email protected])- '@opentelemetry/otlp-transformer': 0.39.1(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.13.0(@opentelemetry/[email protected])- dev: false-- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-Pv5X8fbi6jD/RJBePyn7MnCSuE6MbPB6dl+7YYBWJ5RcMGYMwvLXjd4h2jWsPV2TSUg38H/RoSP0aXvQ06Y7iw==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': ^1.0.0- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected]):resolution: {integrity: sha512-AUmMUPM1/oYGbOWYRBBQz4Ic/adMYA/mIMnAy+QAEmCzjBIC/fyRReVhJmF2cpkvYh7QOkX3017zl2dgWLHpvQ==}engines: {node: '>=14'}@@ -4136,19 +3641,6 @@ packages:'@opentelemetry/core': 1.14.0(@opentelemetry/[email protected])dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-u3ErFRQqQFKjjIMuwLWxz/tLPYInfmiAmSy//fGSCzCh2ZdJgqQjMOAxBgqFtCF2xFL+OmMhyuC2ThMzceGRWA==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': ^1.0.0- dependencies:- '@grpc/grpc-js': 1.9.5- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/otlp-exporter-base': 0.39.1(@opentelemetry/[email protected])- protobufjs: 7.2.5- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected]):resolution: {integrity: sha512-rgfyCofGMpou1OsCF1fNr/2iBzgeZj3rjplEBi0yfX6s3nNcJ6ZfhDvyblKG6dd/UydPSHYAtFAstZwwuucFJA==}engines: {node: '>=14'}@@ -4159,22 +3651,7 @@ packages:'@opentelemetry/api': 1.4.1'@opentelemetry/core': 1.14.0(@opentelemetry/[email protected])'@opentelemetry/otlp-exporter-base': 0.40.0(@opentelemetry/[email protected])- protobufjs: 7.2.5- dev: false-- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-0hgVnXXz5efI382B/24NxD4b6Zxlh7nxCdJkxkdmQMbn0yRiwoq/ZT+QG8eUL6JNzsBAV1WJlF5aJNsL8skHvw==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.3.0 <1.5.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/api-logs': 0.39.1- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-logs': 0.39.1(@opentelemetry/[email protected])(@opentelemetry/[email protected])- '@opentelemetry/sdk-metrics': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.13.0(@opentelemetry/[email protected])+ protobufjs: 7.2.5dev: false/@opentelemetry/[email protected](@opentelemetry/[email protected]):@@ -4192,37 +3669,6 @@ packages:'@opentelemetry/sdk-trace-base': 1.14.0(@opentelemetry/[email protected])dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-oklstXImtaly4vDaL+rGtX41YXZR50jp5a7CSEPMcStp1B7ozdZ5G2I5wftrDvOlOcLt/TIkGWDCr/OkVN7kWg==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.7.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- dev: false-- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-iZzu8K0QkZZ16JH9yox6hZk7/Rxc4SPeGU37pvlB9DtzfNxAEX1FMK9zvowv3ve7r2uzZNpa7JGVUwpy5ewdHQ==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.7.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- dev: false-- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.5.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.13.0- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected]):resolution: {integrity: sha512-qRfWIgBxxl3z47E036Aey0Lj2ZjlFb27Q7Xnj1y1z/P293RXJZGLtcfn/w8JF7v1Q2hs3SDGxz7Wb9Dko1YUQA==}engines: {node: '>=14'}@@ -4234,30 +3680,6 @@ packages:'@opentelemetry/semantic-conventions': 1.14.0dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-+u0ciVnj8lhuL/qGRBPeVYvk7fL+H/vOddfvmOeJaA1KC+5/3UED1c9KoZQlRsNT5Kw1FaK8LkY2NVLYfOVZQw==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.7.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.17.0- dev: false-- /@opentelemetry/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected]):- resolution: {integrity: sha512-/gmgKfZ1ZVFporKuwsewqIyvaUIGpv76JZ7lBpHQQPb37IMpaXO6pdqFI4ebHAWfNIm3akMyhmdtzivcgF3lgw==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.4.0 <1.5.0'- '@opentelemetry/api-logs': '>=0.38.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/api-logs': 0.39.1- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.13.0(@opentelemetry/[email protected])- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected]):resolution: {integrity: sha512-/JG7DOLo/Y3VR9azPXlXNRGQff3gp7nQbWl5cFD2SmlYqUrzMq1OjbksZLVztDu1+ynbFunseUG11SxhoxvSRg==}engines: {node: '>=14'}@@ -4271,18 +3693,6 @@ packages:'@opentelemetry/resources': 1.14.0(@opentelemetry/[email protected])dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-MOjZX6AnSOqLliCcZUrb+DQKjAWXBiGeICGbHAGe5w0BB18PJIeIo995lO5JSaFfHpmUMgJButTPfJJD27W3Vg==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.3.0 <1.5.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.13.0(@opentelemetry/[email protected])- lodash.merge: 4.6.2- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected]):resolution: {integrity: sha512-F0JXmLqT4LmsaiaE28fl0qMtc5w0YuMWTHt1hnANTNX8hxW4IKSv9+wrYG7BZd61HEbPm032Re7fXyzzNA6nIw==}engines: {node: '>=14'}@@ -4295,18 +3705,6 @@ packages:lodash.merge: 4.6.2dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-moTiQtc0uPR1hQLt6gLDJH9IIkeBhgRb71OKjNHZPE1VF45fHtD6nBDi5J/DkTHTwYP5X3kBJLa3xN7ub6J4eg==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.5.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.13.0(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.13.0- dev: false-/@opentelemetry/[email protected](@opentelemetry/[email protected]):resolution: {integrity: sha512-NzRGt3PS+HPKfQYMb6Iy8YYc5OKA73qDwci/6ujOIvyW9vcqBJSWbjZ8FeLEAmuatUB5WrRhEKu9b0sIiIYTrQ==}engines: {node: '>=14'}@@ -4319,48 +3717,11 @@ packages:'@opentelemetry/semantic-conventions': 1.14.0dev: false- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-2T5HA1/1iE36Q9eg6D4zYlC4Y4GcycI1J6NsHPKZY9oWfAxWsoYnRlkPfUqyY5XVtocCo/xHpnJvGNHwzT70oQ==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.7.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.17.0- dev: false-- /@opentelemetry/[email protected](@opentelemetry/[email protected]):- resolution: {integrity: sha512-Twlaje+t16b5j62CfcaKU869rP9oyBG/sVQWBI5+kDaWuP/YIFnF4LbovaEahK9GwAnW8vPIn6iYLAl/jZBidA==}- engines: {node: '>=14'}- peerDependencies:- '@opentelemetry/api': '>=1.0.0 <1.7.0'- dependencies:- '@opentelemetry/api': 1.6.0- '@opentelemetry/context-async-hooks': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/core': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/propagator-b3': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/propagator-jaeger': 1.17.0(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.17.0(@opentelemetry/[email protected])- semver: 7.5.4- dev: false-- /@opentelemetry/[email protected]:- resolution: {integrity: sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==}- engines: {node: '>=14'}- dev: false-/@opentelemetry/[email protected]:resolution: {integrity: sha512-rJfCY8rCWz3cb4KI6pEofnytvMPuj3YLQwoscCCYZ5DkdiPjo15IQ0US7+mjcWy9H3fcZIzf2pbJZ7ck/h4tug==}engines: {node: '>=14'}dev: false- /@opentelemetry/[email protected]:- resolution: {integrity: sha512-+fguCd2d8d2qruk0H0DsCEy2CTK3t0Tugg7MhZ/UQMvmewbZLNnJ6heSYyzIZWG5IPfAXzoj4f4F/qpM7l4VBA==}- engines: {node: '>=14'}- dev: false-/@panva/[email protected]:resolution: {integrity: sha512-dhPeilub1NuIG0X5Kvhh9lH4iW3ZsHlnzwgwbOlgwQ2wG1IqFzsgHqmKPk3WzsdWAeaxKJxgM0+W433RmN45GA==}dev: false@@ -6480,12 +5841,6 @@ packages:- supports-colordev: true- /@types/[email protected]:- resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==}- dependencies:- '@types/estree': 1.0.2- dev: false-/@types/[email protected]:resolution: {integrity: sha512-WFHg/KFLCdUQl3m27WSQu0NEaLzoHGmgZHlsSYr0Y0iIvItMcBq7opZc6AGXPXqf+btIM6vTBJyLvuDAihB+zQ==}dev: false@@ -6568,16 +5923,6 @@ packages:'@types/ms': 0.7.31dev: false- /@types/[email protected]:- resolution: {integrity: sha512-sHyakZlAezNFxmYRo0fopDZW+XvK6ipeZkkp5EAOLjdPfZp8VjZBJ67vSRI99RSCAoqXVmXOHS4fnWoxpuGQtQ==}- dependencies:- '@types/estree': 1.0.2- dev: false-- /@types/[email protected]:- resolution: {integrity: sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==}- dev: false-/@types/[email protected]:resolution: {integrity: sha512-L7A0AINMXQpVwxHJ4jxD6/XjZ4NDufaRlUJHjNIFKYUFBH1SvOW+neaqb0VTRSLW5suSrSu19ObFEFnfNcr+qg==}@@ -6617,10 +5962,6 @@ packages:'@types/unist': 2.0.8dev: false- /@types/[email protected]:- resolution: {integrity: sha512-r7/zWe+f9x+zjXqGxf821qz++ld8tp6Z4jUS6qmPZUXH6tfh4riXOhAqb12tWGWAevCFtMt1goLWkQMqIJKpsA==}- dev: false-/@types/[email protected]:resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}@@ -6631,10 +5972,6 @@ packages:resolution: {integrity: sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A==}dev: false- /@types/[email protected]:- resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==}- dev: false-/@types/[email protected]:resolution: {integrity: sha512-kMpQpfZKSCBqltAJwskgePRaYRFukDkm1oItcAbC3gNELR20XIBcN9VRgg4+m8DKsTfkWeA4m4Imp4DDuWy7FQ==}@@ -6676,10 +6013,6 @@ packages:csstype: 3.1.2dev: false- /@types/[email protected]:- resolution: {integrity: sha512-NH5oErHOtHZYcjCtg69t26aXEk4BN2zLWqf7wnDZ+dpe0iR7Rds1SPGEItl3fca21oOe0n3OCnZ4W7jBxu7FOw==}- dev: false-/@types/[email protected]:resolution: {integrity: sha512-2L9ifAGl7wmXwP4v3pN4p2FLhD0O1qsJpvKmNin5VA8+UvNVb447UDaAEV6UdrkA+m/Xs58U1RFps44x6TFsVQ==}@@ -7093,6 +6426,7 @@ packages:acorn: ^6.0.0 || ^7.0.0 || ^8.0.0dependencies:acorn: 8.10.0+ dev: trueresolution: {integrity: sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==}@@ -7217,6 +6551,7 @@ packages:resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}+ dev: trueresolution: {integrity: sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ==}@@ -7232,10 +6567,6 @@ packages:is-array-buffer: 3.0.2dev: false- resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==}- dev: false-resolution: {integrity: sha512-CNUtqr+Lnk9HVKUgst9bFFhIBuJnA4wU592SEjVxEDD/vxDqEKJ4ffXk74CqGqytkFmG0LklP0MNpN0VWowGWA==}engines: {node: '>=4'}@@ -7277,11 +6608,6 @@ packages:engines: {node: '>=4'}dev: false- resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==}- hasBin: true- dev: false-resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==}dev: false@@ -7625,13 +6951,6 @@ packages:engines: {node: '>=6'}dev: true- resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==}- dependencies:- pascal-case: 3.1.2- tslib: 2.6.2- dev: false-resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}engines: {node: '>= 6'}@@ -7678,22 +6997,10 @@ packages:ansi-styles: 4.3.0supports-color: 7.2.0- resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==}- dev: false-- resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==}- dev: false-resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}dev: false- resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==}- dev: false-resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}engines: {node: '>= 8.10.0'}@@ -7756,14 +7063,6 @@ packages:resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}dev: false- resolution: {integrity: sha512-dYFdjLb7y1ajfxQopN05mylEpK9ZX0sO1/RfMXdfmwjlIsPkbh4p7A682x++zFPLDCo1x3p82dtljHf5cW2LKA==}- peerDependencies:- typanion: '*'- dependencies:- typanion: 3.14.0- dev: false-resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==}dependencies:@@ -7884,10 +7183,6 @@ packages:delayed-stream: 1.0.0dev: false- resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}- dev: false-resolution: {integrity: sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==}dev: false@@ -7933,17 +7228,6 @@ packages:engines: {node: ^12.20.0 || >=14}dev: false- resolution: {integrity: sha512-SsxdiOf064DWoZLH799Ata6u7iV658A11PlWtZATDlXPpKGJnbJZ5Z24ybixAi+LUUqJ/GKowAejtC5GFUG7Tw==}- engines: {node: '>= 6'}- dependencies:- array-timsort: 1.0.3- core-util-is: 1.0.3- esprima: 4.0.1- has-own-prop: 2.0.0- repeat-string: 1.6.1- dev: false-resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}dev: false@@ -8022,25 +7306,6 @@ packages:engines: {node: '>= 0.6'}dev: false- resolution: {integrity: sha512-FYDdTUFaN4yqep0waswrhcXjmMJnPD5iXDTtxcUCGdklfuIrXM2xLx51xl748cHmGA6IsC+27YZFxU6Ym13QIA==}- engines: {node: '>=14.18'}- hasBin: true- requiresBuild: true- dependencies:- '@contentlayer/cli': 0.3.4([email protected])- '@contentlayer/client': 0.3.4([email protected])- '@contentlayer/core': 0.3.4([email protected])- '@contentlayer/source-files': 0.3.4([email protected])- '@contentlayer/source-remote-files': 0.3.4([email protected])- '@contentlayer/utils': 0.3.4- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color- dev: false-resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}dev: true@@ -8252,11 +7517,6 @@ packages:d3-array: 3.2.1dev: false- resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==}- engines: {node: '>= 12'}- dev: false-resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==}engines: {node: '>=0.11'}@@ -8871,36 +8131,6 @@ packages:'@esbuild/win32-x64': 0.16.4dev: false- resolution: {integrity: sha512-x7jL0tbRRpv4QUyuDMjONtWFciygUxWaUM1kMX2zWxI0X2YWOt7MSA0g4UdeSiHM8fcYVzpQhKYOycZwxTdZkA==}- engines: {node: '>=12'}- hasBin: true- requiresBuild: true- optionalDependencies:- '@esbuild/android-arm': 0.19.4- '@esbuild/android-arm64': 0.19.4- '@esbuild/android-x64': 0.19.4- '@esbuild/darwin-arm64': 0.19.4- '@esbuild/darwin-x64': 0.19.4- '@esbuild/freebsd-arm64': 0.19.4- '@esbuild/freebsd-x64': 0.19.4- '@esbuild/linux-arm': 0.19.4- '@esbuild/linux-arm64': 0.19.4- '@esbuild/linux-ia32': 0.19.4- '@esbuild/linux-loong64': 0.19.4- '@esbuild/linux-mips64el': 0.19.4- '@esbuild/linux-ppc64': 0.19.4- '@esbuild/linux-riscv64': 0.19.4- '@esbuild/linux-s390x': 0.19.4- '@esbuild/linux-x64': 0.19.4- '@esbuild/netbsd-x64': 0.19.4- '@esbuild/openbsd-x64': 0.19.4- '@esbuild/sunos-x64': 0.19.4- '@esbuild/win32-arm64': 0.19.4- '@esbuild/win32-ia32': 0.19.4- '@esbuild/win32-x64': 0.19.4- dev: false-resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}engines: {node: '>=6'}@@ -8921,6 +8151,7 @@ packages:resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}engines: {node: '>=10'}+ dev: trueresolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}@@ -9020,60 +8251,10 @@ packages:engines: {node: '>=4.0'}dev: true- resolution: {integrity: sha512-+5Ba/xGGS6mnwFbXIuQiDPTbuTxuMCooq3arVv7gPZtYpjp+VXH/NkHAP35OOefPhNG/UGqU3vt/LTABwcHX0w==}- dependencies:- '@types/estree': 1.0.2- dev: false-- resolution: {integrity: sha512-m56vOXcOBuaF+Igpb9OPAy7f9w9OIkb5yhjsZuaPm7HoGi4oTOQi0h2+yZ+AtKklYFZ+rPC4n0wYCJCEU1ONqg==}- dependencies:- '@types/estree-jsx': 1.0.1- estree-util-is-identifier-name: 2.1.0- estree-walker: 3.0.3- dev: false-- resolution: {integrity: sha512-OVJZ3fGGt9By77Ix9NhaRbzfbDV/2rx9EP7YIDJTmsZSEc5kYn2vWcNccYyahJL2uAQZK2a5Or2i0wtIKTPoRQ==}- dev: false-- resolution: {integrity: sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==}- dev: false-- resolution: {integrity: sha512-IzU74r1PK5IMMGZXUVZbmiu4A1uhiPgW5hm1GjcOfr4ZzHaMPpLNJjR7HjXiIOzi25nZDrgFTobHTkV5Q6ITjA==}- dependencies:- '@types/estree-jsx': 1.0.1- astring: 1.8.6- source-map: 0.7.4- dev: false-- resolution: {integrity: sha512-Y+ughcF9jSUJvncXwqRageavjrNPAI+1M/L3BI3PyLp1nmgYTGUXU6t5z1Y7OWuThoDdhPME07bQU+d5LxdJqw==}- engines: {node: '>=12.0.0'}- dependencies:- is-plain-obj: 3.0.0- dev: false-- resolution: {integrity: sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw==}- dependencies:- '@types/estree-jsx': 1.0.1- '@types/unist': 2.0.8- dev: false-resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}dev: true- resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}- dependencies:- '@types/estree': 1.0.2- dev: false-resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}engines: {node: '>=0.10.0'}@@ -9167,26 +8348,12 @@ packages:dependencies:reusify: 1.0.4- resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==}- dependencies:- format: 0.2.2- dev: false-resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==}dependencies:bser: 2.1.1dev: false- resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==}- engines: {node: ^12.20 || >= 14.13}- dependencies:- node-domexception: 1.0.0- web-streams-polyfill: 3.2.1- dev: false-resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==}dev: false@@ -9317,18 +8484,6 @@ packages:mime-types: 2.1.35dev: false- resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}- engines: {node: '>=0.4.x'}- dev: false-- resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==}- engines: {node: '>=12.20.0'}- dependencies:- fetch-blob: 3.2.0- dev: false-resolution: {integrity: sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==}dev: true@@ -9374,10 +8529,6 @@ packages:universalify: 0.1.2dev: false- resolution: {integrity: sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew==}- dev: false-resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}@@ -9638,16 +8789,6 @@ packages:resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}dev: true- resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}- engines: {node: '>=6.0'}- dependencies:- js-yaml: 3.14.1- kind-of: 6.0.3- section-matter: 1.0.0- strip-bom-string: 1.0.0- dev: false-resolution: {integrity: sha512-KcFVtoP1CVFtQu0aSk3AyAt2og66PFhZAlkUOuWKwzMLoulHXG5W5wE5xAnHb+yl3/wEFoqGW7/cDGMU8igDZQ==}engines: {node: '>=14.0.0'}@@ -9671,11 +8812,6 @@ packages:resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}engines: {node: '>=8'}- resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==}- engines: {node: '>=8'}- dev: false-resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==}dependencies:@@ -9721,22 +8857,6 @@ packages:type-fest: 1.4.0dev: false- resolution: {integrity: sha512-7SW7ejyfnRxuOc7ptQHSf4LDoZaWOivfzqw+5rpcQku0nHfmicPKE51ra9BiRLAmT8+gGLestr1XroUkqdjL6w==}- dev: false-- resolution: {integrity: sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw==}- dependencies:- '@types/hast': 2.3.6- '@types/unist': 2.0.8- hastscript: 7.2.0- property-information: 6.3.0- vfile: 5.3.7- vfile-location: 4.1.0- web-namespaces: 2.0.1- dev: false-resolution: {integrity: sha512-X2+RwZIMTMKpXUzlotatPzWj8bspCymtXH3cfG3iQKV+wPF53Vgaqxi/eLqGck0wKq1kS9nvoB1wchbCPEL8sg==}dev: false@@ -9754,97 +8874,12 @@ packages:'@types/unist': 2.0.8dev: false- resolution: {integrity: sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==}- dependencies:- '@types/hast': 2.3.6- dev: false-- resolution: {integrity: sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg==}- dependencies:- '@types/hast': 2.3.6- '@types/parse5': 6.0.3- hast-util-from-parse5: 7.1.2- hast-util-to-parse5: 7.1.0- html-void-elements: 2.0.1- parse5: 6.0.1- unist-util-position: 4.0.4- unist-util-visit: 4.1.2- vfile: 5.3.7- web-namespaces: 2.0.1- zwitch: 2.0.4- dev: false-- resolution: {integrity: sha512-ihhPIUPxN0v0w6M5+IiAZZrn0LH2uZomeWwhn7uP7avZC6TE7lIiEh2yBMPr5+zi1aUCXq6VoYRgs2Bw9xmycQ==}- dependencies:- '@types/estree': 1.0.2- '@types/estree-jsx': 1.0.1- '@types/hast': 2.3.6- '@types/unist': 2.0.8- comma-separated-tokens: 2.0.3- estree-util-attach-comments: 2.1.1- estree-util-is-identifier-name: 2.1.0- hast-util-whitespace: 2.0.1- mdast-util-mdx-expression: 1.3.2- mdast-util-mdxjs-esm: 1.3.1- property-information: 6.3.0- space-separated-tokens: 2.0.2- style-to-object: 0.4.2- unist-util-position: 4.0.4- zwitch: 2.0.4- transitivePeerDependencies:- - supports-color- dev: false-- resolution: {integrity: sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==}- dependencies:- '@types/hast': 2.3.6- '@types/unist': 2.0.8- ccount: 2.0.1- comma-separated-tokens: 2.0.3- hast-util-raw: 7.2.3- hast-util-whitespace: 2.0.1- html-void-elements: 2.0.1- property-information: 6.3.0- space-separated-tokens: 2.0.2- stringify-entities: 4.0.3- zwitch: 2.0.4- dev: false-- resolution: {integrity: sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw==}- dependencies:- '@types/hast': 2.3.6- comma-separated-tokens: 2.0.3- property-information: 6.3.0- space-separated-tokens: 2.0.2- web-namespaces: 2.0.1- zwitch: 2.0.4- dev: false-resolution: {integrity: sha512-02AQ3vLhuH3FisaMM+i/9sm4OXGSq1UhOOCpTLLQtHdL3tZt7qil69r8M8iDkZYyC0HCFylcYoP+8IO7ddta1A==}dependencies:'@types/hast': 2.3.6dev: false- resolution: {integrity: sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==}- dev: false-- resolution: {integrity: sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==}- dependencies:- '@types/hast': 2.3.6- comma-separated-tokens: 2.0.3- hast-util-parse-selector: 3.1.1- property-information: 6.3.0- space-separated-tokens: 2.0.2- dev: false-resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}hasBin: true@@ -9913,10 +8948,6 @@ packages:selderee: 0.10.0dev: false- resolution: {integrity: sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==}- dev: false-resolution: {integrity: sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==}dependencies:@@ -10014,11 +9045,6 @@ packages:queue: 6.0.2dev: false- resolution: {integrity: sha512-hhy8OVNymU+cYYj8IwCbdNlXJRoMr4HRd7+efkH32eBVfybVU/5SbzDYf3ZSiiF9ye/ghfBrI/ujec/nwl+fOQ==}- engines: {node: '>=14.0.0'}- dev: false-resolution: {integrity: sha512-eZ5H8rcgYazHbKC3PG4ClHNykCSxtAhxSSEM+2mb+7evD2CKF5V7c0dNum7AdpDh0ZdICwZY9sRSn8f+KH96sg==}engines: {node: '>=4'}@@ -10039,11 +9065,6 @@ packages:resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}engines: {node: '>=0.8.19'}- resolution: {integrity: sha512-wzkZHqpb4eGrOKBl34xy3umnYHx8Si5R1U4fwmdxLo5gdH6mEK8gclckTj/qWqy4Je0bsDYe/qazZYuO7xe3XQ==}- engines: {node: '>=14.0.0'}- dev: false-resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}dependencies:@@ -10098,17 +9119,6 @@ packages:resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==}dev: false- resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==}- dev: false-- resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==}- dependencies:- is-alphabetical: 2.0.1- is-decimal: 2.0.1- dev: false-resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==}dependencies:@@ -10167,10 +9177,6 @@ packages:has-tostringtag: 1.0.0dev: false- resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}- dev: false-resolution: {integrity: sha512-yVChGzahRFvbkscn2MlwGismPO12i9+znNruC5gVEntG3qu0xQMzsGg/JFbrsqDOHtHFPci+V5aP5T9I+yeKqw==}engines: {node: '>=0.10.0'}@@ -10207,10 +9213,6 @@ packages:dependencies:is-extglob: 2.1.1- resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==}- dev: false-resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==}engines: {node: '>=8'}@@ -10246,11 +9248,6 @@ packages:engines: {node: '>=8'}dev: true- resolution: {integrity: sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==}- engines: {node: '>=10'}- dev: false-resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}engines: {node: '>=12'}@@ -10272,12 +9269,6 @@ packages:resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==}dev: false- resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==}- dependencies:- '@types/estree': 1.0.2- dev: false-resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}engines: {node: '>= 0.4'}@@ -10540,6 +9531,7 @@ packages:hasBin: truedependencies:argparse: 2.0.1+ dev: trueresolution: {integrity: sha512-SnZNcinB4RIcnEyZqFPdGPVgrg2AcnykiBy0sHVJQKHYeaLUvi3Exj+iaPpLnFVkDPZIV4U0yvgC9/R4uEAZ9g==}@@ -10859,12 +9851,6 @@ packages:dependencies:js-tokens: 4.0.0- resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}- dependencies:- tslib: 2.6.2- dev: false-resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}dependencies:@@ -10895,6 +9881,14 @@ packages:react: 18.2.0dev: false+ resolution: {integrity: sha512-dVSMHYAya/TeY3+vsk+VQJEKNQN2AhIo0+Dp09B2qpzvcBuu93H98YZykFcjIAfmanFiDd8nqfXFR38L757cyQ==}+ peerDependencies:+ react: ^16.5.1 || ^17.0.0 || ^18.0.0+ dependencies:+ react: 18.2.0+ dev: false+resolution: {integrity: sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg==}engines: {node: '>=12'}@@ -10916,11 +9910,6 @@ packages:tmpl: 1.0.5dev: false- resolution: {integrity: sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q==}- engines: {node: '>=0.10.0'}- dev: false-resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}dev: false@@ -10929,14 +9918,6 @@ packages:resolution: {integrity: sha512-4vRUvPyxdO8cWULGTh9dZWL2tZK6LDBvj+OGHBER7poH9Qdt7kXEoj20wiz4lQUbUXQZFjPbe5mVDo9nutizCw==}dev: false- resolution: {integrity: sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA==}- dependencies:- '@types/mdast': 3.0.13- '@types/unist': 2.0.8- unist-util-visit: 4.1.2- dev: false-resolution: {integrity: sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw==}dependencies:@@ -10965,14 +9946,6 @@ packages:- supports-colordev: false- resolution: {integrity: sha512-JjA2OjxRqAa8wEG8hloD0uTU0kdn8kbtOWpPP94NBkfAlbxn4S8gCGf/9DwFtEeGPXrDcNXdiDjVaRdUFqYokw==}- dependencies:- '@types/mdast': 3.0.13- mdast-util-to-markdown: 1.5.0- micromark-extension-frontmatter: 1.1.1- dev: false-resolution: {integrity: sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==}dependencies:@@ -11029,61 +10002,6 @@ packages:- supports-colordev: false- resolution: {integrity: sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA==}- dependencies:- '@types/estree-jsx': 1.0.1- '@types/hast': 2.3.6- '@types/mdast': 3.0.13- mdast-util-from-markdown: 1.3.1- mdast-util-to-markdown: 1.5.0- transitivePeerDependencies:- - supports-color- dev: false-- resolution: {integrity: sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==}- dependencies:- '@types/estree-jsx': 1.0.1- '@types/hast': 2.3.6- '@types/mdast': 3.0.13- '@types/unist': 2.0.8- ccount: 2.0.1- mdast-util-from-markdown: 1.3.1- mdast-util-to-markdown: 1.5.0- parse-entities: 4.0.1- stringify-entities: 4.0.3- unist-util-remove-position: 4.0.2- unist-util-stringify-position: 3.0.3- vfile-message: 3.1.4- transitivePeerDependencies:- - supports-color- dev: false-- resolution: {integrity: sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==}- dependencies:- mdast-util-from-markdown: 1.3.1- mdast-util-mdx-expression: 1.3.2- mdast-util-mdx-jsx: 2.1.4- mdast-util-mdxjs-esm: 1.3.1- mdast-util-to-markdown: 1.5.0- transitivePeerDependencies:- - supports-color- dev: false-- resolution: {integrity: sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w==}- dependencies:- '@types/estree-jsx': 1.0.1- '@types/hast': 2.3.6- '@types/mdast': 3.0.13- mdast-util-from-markdown: 1.3.1- mdast-util-to-markdown: 1.5.0- transitivePeerDependencies:- - supports-color- dev: false-resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==}dependencies:@@ -11091,19 +10009,6 @@ packages:unist-util-is: 5.2.1dev: false- resolution: {integrity: sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==}- dependencies:- '@types/hast': 2.3.6- '@types/mdast': 3.0.13- mdast-util-definitions: 5.1.2- micromark-util-sanitize-uri: 1.2.0- trim-lines: 3.0.1- unist-util-generated: 2.0.1- unist-util-position: 4.0.4- unist-util-visit: 4.1.2- dev: false-resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==}dependencies:@@ -11123,33 +10028,6 @@ packages:'@types/mdast': 3.0.13dev: false- resolution: {integrity: sha512-hWEEip1KU9MCNqeH2rqwzAZ1pdqPPbfkx9OTJjADqGPQz4t9BO85fhI7AP9gVYrpmfArf9/xJZUN0yBErg/G/Q==}- engines: {node: '>=14', npm: '>=6'}- peerDependencies:- esbuild: 0.*- dependencies:- '@babel/runtime': 7.23.1- '@esbuild-plugins/node-resolve': 0.1.4([email protected])- '@fal-works/esbuild-plugin-global-externals': 2.1.2- '@mdx-js/esbuild': 2.3.0([email protected])- esbuild: 0.19.4- gray-matter: 4.0.3- remark-frontmatter: 4.0.1- remark-mdx-frontmatter: 1.1.1- uuid: 8.3.2- vfile: 5.3.7- transitivePeerDependencies:- - supports-color- dev: false-- resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==}- engines: {node: '>= 4.0.0'}- dependencies:- fs-monkey: 1.0.5- dev: false-resolution: {integrity: sha512-QmpUu4KqDmX0plH4u+tf0riMc1KHE1+lw95cMrLlXQAFOx/xnBtwhZ52XJxd9X2O6kwKBqX32kmhbhlobD0cuw==}dev: false@@ -11499,15 +10377,6 @@ packages:uvu: 0.5.6dev: false- resolution: {integrity: sha512-m2UH9a7n3W8VAH9JO9y01APpPKmNNNs71P0RbknEmYSaZU5Ghogv38BYO94AI5Xw6OYfxZRdHZZ2nYjs/Z+SZQ==}- dependencies:- fault: 2.0.1- micromark-util-character: 1.2.0- micromark-util-symbol: 1.1.0- micromark-util-types: 1.1.0- dev: false-resolution: {integrity: sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg==}dependencies:@@ -11580,67 +10449,6 @@ packages:micromark-util-types: 1.1.0dev: false- resolution: {integrity: sha512-zZpeQtc5wfWKdzDsHRBY003H2Smg+PUi2REhqgIhdzAa5xonhP03FcXxqFSerFiNUr5AWmHpaNPQTBVOS4lrXw==}- dependencies:- '@types/estree': 1.0.2- micromark-factory-mdx-expression: 1.0.9- micromark-factory-space: 1.1.0- micromark-util-character: 1.2.0- micromark-util-events-to-acorn: 1.2.3- micromark-util-symbol: 1.1.0- micromark-util-types: 1.1.0- uvu: 0.5.6- dev: false-- resolution: {integrity: sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA==}- dependencies:- '@types/acorn': 4.0.6- '@types/estree': 1.0.2- estree-util-is-identifier-name: 2.1.0- micromark-factory-mdx-expression: 1.0.9- micromark-factory-space: 1.1.0- micromark-util-character: 1.2.0- micromark-util-symbol: 1.1.0- micromark-util-types: 1.1.0- uvu: 0.5.6- vfile-message: 3.1.4- dev: false-- resolution: {integrity: sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA==}- dependencies:- micromark-util-types: 1.1.0- dev: false-- resolution: {integrity: sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w==}- dependencies:- '@types/estree': 1.0.2- micromark-core-commonmark: 1.1.0- micromark-util-character: 1.2.0- micromark-util-events-to-acorn: 1.2.3- micromark-util-symbol: 1.1.0- micromark-util-types: 1.1.0- unist-util-position-from-estree: 1.1.2- uvu: 0.5.6- vfile-message: 3.1.4- dev: false-- resolution: {integrity: sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q==}- dependencies:- acorn: 8.10.0- acorn-jsx: 5.3.2([email protected])- micromark-extension-mdx-expression: 1.0.8- micromark-extension-mdx-jsx: 1.0.5- micromark-extension-mdx-md: 1.0.1- micromark-extension-mdxjs-esm: 1.0.5- micromark-util-combine-extensions: 1.1.0- micromark-util-types: 1.1.0- dev: false-resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==}dependencies:@@ -11658,19 +10466,6 @@ packages:uvu: 0.5.6dev: false- resolution: {integrity: sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA==}- dependencies:- '@types/estree': 1.0.2- micromark-util-character: 1.2.0- micromark-util-events-to-acorn: 1.2.3- micromark-util-symbol: 1.1.0- micromark-util-types: 1.1.0- unist-util-position-from-estree: 1.1.2- uvu: 0.5.6- vfile-message: 3.1.4- dev: false-resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==}dependencies:@@ -11743,19 +10538,6 @@ packages:resolution: {integrity: sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==}dev: false- resolution: {integrity: sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w==}- dependencies:- '@types/acorn': 4.0.6- '@types/estree': 1.0.2- '@types/unist': 2.0.8- estree-util-visit: 1.2.1- micromark-util-symbol: 1.1.0- micromark-util-types: 1.1.0- uvu: 0.5.6- vfile-message: 3.1.4- dev: false-resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==}dev: false@@ -12050,7 +10832,7 @@ packages:'@panva/hkdf': 1.1.1cookie: 0.5.0jose: 4.15.2- next: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])+ next: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])nodemailer: 6.9.3oauth: 0.9.15openid-client: 5.6.0@@ -12061,27 +10843,6 @@ packages:uuid: 8.3.2dev: false- /[email protected]([email protected])([email protected])([email protected])([email protected])([email protected]):- resolution: {integrity: sha512-UtUCwgAl159KwfhNaOwyiI7Lg6sdioyKMeh+E7jxx0CJ29JuXGxBEYmCI6+72NxFGIFZKx8lvttbbQhbnYWYSw==}- peerDependencies:- contentlayer: 0.3.4- next: ^12 || ^13- react: '*'- react-dom: '*'- dependencies:- '@contentlayer/core': 0.3.4([email protected])- '@contentlayer/utils': 0.3.4- contentlayer: 0.3.4([email protected])- next: 13.5.5-canary.4(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color- dev: false-resolution: {integrity: sha512-hHlbhKPj9pW+Cymvfzc15lvhaOZ54l+8sXDXJWm3OBNBzgrVj6hwGPmqqsXg40xO1Leq+kXpllzRPuncpC0Phw==}engines: {node: '>=14.6.0'}@@ -12126,7 +10887,7 @@ packages:- babel-plugin-macrosdev: false- /[email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]):+ /[email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-a07Akh5WtCXRY/indnpTU21ccXPqEAVrzVueHpcgOq55gRnmYWle7dF/qrBzAlvrldoLG7bzQKNt0AaG2inNWg==}engines: {node: '>=16.14.0'}hasBin: true@@ -12142,7 +10903,7 @@ packages:optional: truedependencies:'@next/env': 13.5.5-canary.4- '@opentelemetry/api': 1.6.0+ '@opentelemetry/api': 1.4.1'@swc/helpers': 0.5.2busboy: 1.6.0caniuse-lite: 1.0.30001543@@ -12166,13 +10927,6 @@ packages:- babel-plugin-macrosdev: false- resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}- dependencies:- lower-case: 2.0.2- tslib: 2.6.2- dev: false-resolution: {integrity: sha512-WDD0bdg9mbq6F4mRxEYcPWwfA1vxd0mrvKOyxI7Xj/atfRHVeutzuWByG//jfm4uPzp0y4Kj051EORCBSQMycw==}engines: {node: '>=12.0.0'}@@ -12189,11 +10943,6 @@ packages:minimatch: 3.1.2dev: false- resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}- engines: {node: '>=10.5.0'}- dev: false-resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}engines: {node: 4.x || >=6.0.0}@@ -12207,15 +10956,6 @@ packages:whatwg-url: 5.0.0dev: false- resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dependencies:- data-uri-to-buffer: 4.0.1- fetch-blob: 3.2.0- formdata-polyfill: 4.0.10- dev: false-resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==}engines: {node: '>= 6.13.0'}@@ -12447,11 +11187,6 @@ packages:dependencies:mimic-fn: 2.1.0- resolution: {integrity: sha512-HRFmdGyLTO/xUo9XNHwa8ColVVP6IEeeRKcxbzRIbgRpPcIiDGo99ShecJdkaXOyR+q4Wi6hiX5b7yrsBI/gxA==}- engines: {node: '>= 14.17.0'}- dev: false-resolution: {integrity: sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==}engines: {node: '>=8'}@@ -12566,19 +11301,6 @@ packages:callsites: 3.1.0dev: true- resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}- dependencies:- '@types/unist': 2.0.8- character-entities: 2.0.2- character-entities-legacy: 3.0.0- character-reference-invalid: 2.0.1- decode-named-character-reference: 1.0.2- is-alphanumerical: 2.0.1- is-decimal: 2.0.1- is-hexadecimal: 2.0.1- dev: false-resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==}engines: {node: '>=4'}@@ -12627,13 +11349,6 @@ packages:engines: {node: '>= 0.8'}dev: false- resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==}- dependencies:- no-case: 3.0.4- tslib: 2.6.2- dev: false-resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==}engines: {node: '>=4'}@@ -12662,14 +11377,6 @@ packages:resolution: {integrity: sha512-YYEs+eauIjDH5nUEGi18EohWE0nV2QbGTqmxQcqgZ/0g+laPCQmuIqq7EBLVi9uim9zMgfJv0QBZEnQ3uHw/Tw==}dev: false- resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==}- dependencies:- '@types/estree': 1.0.2- estree-walker: 3.0.3- is-reference: 3.0.2- dev: false-resolution: {integrity: sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==}dev: false@@ -13115,10 +11822,6 @@ packages:react-is: 16.13.1dev: false- resolution: {integrity: sha512-gVNZ74nqhRMiIUYWGQdosYetaKc83x8oT41a0LlV3AAFCAZwCpg4vmGkq8t34+cUhp3cnM4XDiU/7xlgK7HGrg==}- dev: false-resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==}dev: false@@ -13756,23 +12459,6 @@ packages:unist-util-visit: 4.1.2dev: false- resolution: {integrity: sha512-Uk5xu1YKdqobe5XpSskwPvo1XeHUUucWEQSl8hTrXt5selvca1e8K1EZ37E6YoZ4BT8BCqCdVfQW7OfHfthtVQ==}- dependencies:- '@types/hast': 2.3.6- hast-util-to-html: 8.0.4- unified: 10.1.2- dev: false-- resolution: {integrity: sha512-38fJrB0KnmD3E33a5jZC/5+gGAC2WKNiPw1/fdXJvijBlhA7RCsvJklrYJakS0HedninvaCYW8lQGf9C918GfA==}- dependencies:- '@types/mdast': 3.0.13- mdast-util-frontmatter: 1.0.1- micromark-extension-frontmatter: 1.1.1- unified: 10.1.2- dev: false-resolution: {integrity: sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==}dependencies:@@ -13784,49 +12470,6 @@ packages:- supports-colordev: false- resolution: {integrity: sha512-7teX9DW4tI2WZkXS4DBxneYSY7NHiXl4AKdWDO9LXVweULlCT8OPWsOjLEnMIXViN1j+QcY8mfbq3k0EK6x3uA==}- engines: {node: '>=12.2.0'}- dependencies:- estree-util-is-identifier-name: 1.1.0- estree-util-value-to-estree: 1.3.0- js-yaml: 4.1.0- toml: 3.0.0- dev: false-- resolution: {integrity: sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==}- dependencies:- mdast-util-mdx: 2.0.1- micromark-extension-mdxjs: 1.0.1- transitivePeerDependencies:- - supports-color- dev: false-- resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==}- dependencies:- '@types/mdast': 3.0.13- mdast-util-from-markdown: 1.3.1- unified: 10.1.2- transitivePeerDependencies:- - supports-color- dev: false-- resolution: {integrity: sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==}- dependencies:- '@types/hast': 2.3.6- '@types/mdast': 3.0.13- mdast-util-to-hast: 12.3.0- unified: 10.1.2- dev: false-- resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==}- engines: {node: '>=0.10'}- dev: false-resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}engines: {node: '>=0.10.0'}@@ -14027,14 +12670,6 @@ packages:loose-envify: 1.4.0dev: false- resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}- engines: {node: '>=4'}- dependencies:- extend-shallow: 2.0.1- kind-of: 6.0.3- dev: false-resolution: {integrity: sha512-DEL/RW/f4qLw/NrVg97xKaEBC8IpzIG2fvxnzCp3Z4yk4jQ3MXom+Imav9wApjxX2dfS3eW7x0DXafJr85i39A==}dependencies:@@ -14259,10 +12894,6 @@ packages:whatwg-url: 7.1.0dev: true- resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}- dev: false-resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==}requiresBuild: true@@ -14414,13 +13045,6 @@ packages:safe-buffer: 5.2.1dev: false- resolution: {integrity: sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==}- dependencies:- character-entities-html4: 2.1.0- character-entities-legacy: 3.0.0- dev: false-resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==}engines: {node: '>=6'}@@ -14434,11 +13058,6 @@ packages:dependencies:ansi-regex: 5.0.1- resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==}- engines: {node: '>=0.10.0'}- dev: false-resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}engines: {node: '>=4'}@@ -14477,12 +13096,6 @@ packages:inline-style-parser: 0.1.1dev: false- resolution: {integrity: sha512-1JGpfPB3lo42ZX8cuPrheZbfQ6kqPPnPHlKMyeRYtfKD+0jG+QsXgXN57O/dvJlzlB2elI6dGmrPnl5VPQFPaA==}- dependencies:- inline-style-parser: 0.1.1- dev: false-resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}engines: {node: '>= 12.0.0'}@@ -14740,10 +13353,6 @@ packages:engines: {node: '>=0.6'}dev: false- resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==}- dev: false-resolution: {integrity: sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==}hasBin: true@@ -14785,10 +13394,6 @@ packages:pretty-bytes: 5.6.0dev: false- resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}- dev: false-resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==}dev: false@@ -14796,10 +13401,6 @@ packages:resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}- resolution: {integrity: sha512-pefrkcd4lmIVR0LA49Imjf9DYLK8vtWhqBPA3Ya1ir8xCW0O2yjL9dsCVvI7pCodLC5q7smNpEtDR2yVulQxOg==}- dev: false-resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}dev: false@@ -14977,10 +13578,6 @@ packages:- ts-nodedev: false- resolution: {integrity: sha512-ZW/lVMRabETuYCd9O9ZvMhAh8GslSqaUjxmK/JLPCh6l73CvLBiuXswj/+7LdnWOgYsQ130FqLzFz5aGT4I3Ug==}- dev: false-resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}engines: {node: '>= 0.8.0'}@@ -15018,11 +13615,6 @@ packages:engines: {node: '>=14.16'}dev: false- resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==}- engines: {node: '>=14.16'}- dev: false-resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==}engines: {node: '>= 0.4'}@@ -15203,35 +13795,12 @@ packages:vfile: 5.3.7dev: false- resolution: {integrity: sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A==}- dev: false-resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==}dependencies:'@types/unist': 2.0.8dev: false- resolution: {integrity: sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww==}- dependencies:- '@types/unist': 2.0.8- dev: false-- resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==}- dependencies:- '@types/unist': 2.0.8- dev: false-- resolution: {integrity: sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ==}- dependencies:- '@types/unist': 2.0.8- unist-util-visit: 4.1.2- dev: false-resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==}dependencies:@@ -15453,13 +14022,6 @@ packages:- '@types/react-dom'dev: false- resolution: {integrity: sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==}- dependencies:- '@types/unist': 2.0.8- vfile: 5.3.7- dev: false-resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==}dependencies:@@ -15508,15 +14070,6 @@ packages:defaults: 1.0.4dev: false- resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==}- dev: false-- resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==}- engines: {node: '>= 8'}- dev: false-resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}dev: false