diff --git a/.bitmap b/.bitmap new file mode 100644 index 00000000..429a743d --- /dev/null +++ b/.bitmap @@ -0,0 +1,61 @@ +/* THIS IS A BIT-AUTO-GENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. */ + +/** + * The Bitmap file is an auto generated file used by Bit to track all your Bit components. It maps the component to a folder in your file system. + * This file should be committed to VCS(version control). + * Components are listed using their component ID (https://bit.dev/docs/components/component-id). + * If you want to delete components you can use the "bit remove " command. + * See the docs (https://bit.dev/docs/components/removing-components) for more information, or use "bit remove --help". + */ + +{ + "config/constants": { + "scope": "openclimatefix.nowcasting-ui", + "version": "2d85a41a06e6a88a47be7e9f6640e183f544f535", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/config/constants" + }, + "helpers/global-state": { + "scope": "openclimatefix.nowcasting-ui", + "version": "3aa0ba6421560ebc771d20fb81da96890b4afe02", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/helpers/global-state" + }, + "helpers/utils": { + "scope": "openclimatefix.nowcasting-ui", + "version": "5eef1983976f95dfdc73aca5b3dc7f9d388019ed", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/helpers/utils" + }, + "icons/icons": { + "scope": "openclimatefix.nowcasting-ui", + "version": "ea31239d3480642c9ce2dbc77ffe0b5ed1b5ccdb", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/icons/icons" + }, + "icons/logo": { + "scope": "openclimatefix.nowcasting-ui", + "version": "6667cb48e159b21398040cd4170154980398e1a2", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/icons/logo" + }, + "layout/header": { + "scope": "openclimatefix.nowcasting-ui", + "version": "f649ced28a24a78d733ed24d1edad168057e7047", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/layout/header" + }, + "misc/chart-info": { + "scope": "openclimatefix.nowcasting-ui", + "version": "78d53fbf60df1e82c9c0791f572e66fb4ad4e423", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/misc/chart-info" + }, + "misc/tooltip": { + "scope": "openclimatefix.nowcasting-ui", + "version": "b2bc99110a7ea2ff6e0776bac58c72a9b5593080", + "mainFile": "index.ts", + "rootDir": "nowcasting-ui/misc/tooltip" + }, + "$schema-version": "15.0.0" +} \ No newline at end of file diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz new file mode 100644 index 00000000..c6f75f38 Binary files /dev/null and b/.yarn/install-state.gz differ diff --git a/components/Layout.tsx b/components/Layout.tsx new file mode 100644 index 00000000..5015eb06 --- /dev/null +++ b/components/Layout.tsx @@ -0,0 +1,13 @@ +import { Tooltip } from '@openclimatefix/nowcasting-ui.misc.tooltip'; +import { FC, PropsWithChildren } from 'react'; + +const Layout: FC> = ({ children }) => { + return ( + <> + +
{children}
+ + ); +}; + +export default Layout; diff --git a/nowcasting-ui/config/constants/constants.tsx b/nowcasting-ui/config/constants/constants.tsx new file mode 100644 index 00000000..05aceef8 --- /dev/null +++ b/nowcasting-ui/config/constants/constants.tsx @@ -0,0 +1,18 @@ +export enum VIEWS { + FORECAST = "FORECAST", + DELTA = "DELTA", + SOLAR_SITES = "SOLAR SITES" +} + +export enum DELTA_BUCKET { + NEG4 = -80, + NEG3 = -60, + NEG2 = -40, + NEG1 = -20, + ZERO = 0, + POS1 = 20, + POS2 = 40, + POS3 = 60, + POS4 = 80 +} +export const getDeltaBucketKeys = () => Object.keys(DELTA_BUCKET).filter((k) => isNaN(Number(k))); diff --git a/nowcasting-ui/config/constants/index.ts b/nowcasting-ui/config/constants/index.ts new file mode 100644 index 00000000..cb07fb86 --- /dev/null +++ b/nowcasting-ui/config/constants/index.ts @@ -0,0 +1 @@ +export { VIEWS, DELTA_BUCKET, getDeltaBucketKeys } from "./constants"; diff --git a/nowcasting-ui/helpers/global-state/global-state.tsx b/nowcasting-ui/helpers/global-state/global-state.tsx new file mode 100644 index 00000000..7bd1c9eb --- /dev/null +++ b/nowcasting-ui/helpers/global-state/global-state.tsx @@ -0,0 +1,45 @@ +import { createGlobalState } from "react-hooks-global-state"; +import { getDeltaBucketKeys } from "@openclimatefix/nowcasting-ui.config.constants"; + +export function get30MinNow(offsetMinutes = 0) { + // this is a function to get the date of now, but rounded up to the closest 30 minutes + const date = new Date(); + + let minutes = date.getMinutes(); + if (offsetMinutes !== 0) { + minutes += offsetMinutes; + date.setMinutes(minutes); + } + if (minutes <= 30) { + date.setHours(date.getHours()); + date.setMinutes(30, 0, 0); // Resets also seconds and milliseconds + } else { + date.setHours(date.getHours() + 1); + date.setMinutes(0, 0, 0); // Resets also seconds and milliseconds + } + return date.toISOString(); +} + +type GlobalStateType = { + selectedISOTime?: string; + timeNow: string; + clickedGspId?: number; + forecastCreationTime?: string; + visibleLines: string[]; + selectedBuckets: string[]; + show4hView?: boolean; +}; + +export const { useGlobalState } = createGlobalState({ + selectedISOTime: get30MinNow(), + timeNow: get30MinNow(), + clickedGspId: undefined, + forecastCreationTime: undefined, + visibleLines: ["GENERATION", "GENERATION_UPDATED", "FORECAST", "PAST_FORECAST"], + selectedBuckets: getDeltaBucketKeys().filter((key: string) => key !== "ZERO"), + show4hView: + process.env.NODE_ENV === "development" || + // Also hide on Staging/Preview deployments for now, only show on dev by default. + // (!!process.env.VERCEL_ENV && process.env.VERCEL_ENV !== "production") || + false +}); diff --git a/nowcasting-ui/helpers/global-state/index.ts b/nowcasting-ui/helpers/global-state/index.ts new file mode 100644 index 00000000..8cd82706 --- /dev/null +++ b/nowcasting-ui/helpers/global-state/index.ts @@ -0,0 +1 @@ +export { useGlobalState } from "./global-state"; diff --git a/nowcasting-ui/helpers/utils/index.ts b/nowcasting-ui/helpers/utils/index.ts new file mode 100644 index 00000000..ba4af370 --- /dev/null +++ b/nowcasting-ui/helpers/utils/index.ts @@ -0,0 +1,2 @@ +export { classNames, formatISODateStringHumanNumbersOnly } from "./utils"; +export type { UtilsProps } from "./utils"; diff --git a/nowcasting-ui/helpers/utils/utils.tsx b/nowcasting-ui/helpers/utils/utils.tsx new file mode 100644 index 00000000..67ff691d --- /dev/null +++ b/nowcasting-ui/helpers/utils/utils.tsx @@ -0,0 +1,26 @@ +import React, { ReactNode } from "react"; + +export type UtilsProps = { + /** + * a node to be rendered in the special component. + */ + children?: ReactNode; +}; + +export const classNames = (...classes: string[]) => { + return classes.filter(Boolean).join(" "); +}; + +export const formatISODateStringHumanNumbersOnly = (date: string) => { + // Change date to nice human-readable format. + // Note that this converts the string to Europe London Time + // timezone and seconds are removed + + const d = new Date(date); + + const date_london = d.toLocaleDateString("en-GB", { timeZone: "Europe/London" }); + const date_london_time = d.toLocaleTimeString("en-GB", { timeZone: "Europe/London" }).slice(0, 5); + + // further formatting could be done to make it yyyy/mm/dd HH:MM + return `${date_london} ${date_london_time}`; +}; diff --git a/nowcasting-ui/icons/icons/icons.composition.tsx b/nowcasting-ui/icons/icons/icons.composition.tsx new file mode 100644 index 00000000..e1c324c6 --- /dev/null +++ b/nowcasting-ui/icons/icons/icons.composition.tsx @@ -0,0 +1,24 @@ +import React from "react"; +import { + ExternalLinkIcon, + LegendLineGraphIcon, + CloseButtonIcon, + ClockIcon, + InfoIcon, + UpArrow, + DownArrow +} from "./icons"; + +export const BasicIcons = () => { + return ( +
+ + + + + + + +
+ ); +}; diff --git a/nowcasting-ui/icons/icons/icons.tsx b/nowcasting-ui/icons/icons/icons.tsx new file mode 100644 index 00000000..074b70d9 --- /dev/null +++ b/nowcasting-ui/icons/icons/icons.tsx @@ -0,0 +1,144 @@ +import React from "react"; + +type LegendLineGraphIconProps = { + className?: string; + dashed?: boolean; +}; + +type IconProps = { + className?: string; +}; + +type InfoIconProps = { + className?: string; +}; + +export const LegendLineGraphIcon: React.FC = ({ + className, + dashed = false +}) => ( + + + +); + +export const CloseButtonIcon: React.FC = ({ className }) => ( + + + +); + +export const ClockIcon: React.FC = ({ className }) => ( + + + + +); + +export const InfoIcon: React.FC = ({ className }) => ( + + + +); + +export const ExternalLinkIcon: React.FC = ({ className }) => ( + + + + + + + + + + + + +); + +// icons for the delta view + +type DeltaIconProps = { + className?: string; +}; + +export const UpArrow: React.FC = ({ className }) => ( + + + +); + +export const DownArrow: React.FC = ({ className }) => ( + + + +); diff --git a/nowcasting-ui/icons/icons/index.ts b/nowcasting-ui/icons/icons/index.ts new file mode 100644 index 00000000..9f9e56b1 --- /dev/null +++ b/nowcasting-ui/icons/icons/index.ts @@ -0,0 +1,9 @@ +export { + ExternalLinkIcon, + LegendLineGraphIcon, + CloseButtonIcon, + ClockIcon, + InfoIcon, + UpArrow, + DownArrow +} from "./icons"; diff --git a/nowcasting-ui/icons/logo/index.ts b/nowcasting-ui/icons/logo/index.ts new file mode 100644 index 00000000..e3dd3645 --- /dev/null +++ b/nowcasting-ui/icons/logo/index.ts @@ -0,0 +1 @@ +export { OCFlogo } from "./logo"; diff --git a/nowcasting-ui/icons/logo/logo.composition.tsx b/nowcasting-ui/icons/logo/logo.composition.tsx new file mode 100644 index 00000000..754a7a46 --- /dev/null +++ b/nowcasting-ui/icons/logo/logo.composition.tsx @@ -0,0 +1,6 @@ +import React from "react"; +import { OCFlogo } from "./logo"; + +export const BasicLogo = () => { + return ; +}; diff --git a/nowcasting-ui/icons/logo/logo.tsx b/nowcasting-ui/icons/logo/logo.tsx new file mode 100644 index 00000000..742a49e2 --- /dev/null +++ b/nowcasting-ui/icons/logo/logo.tsx @@ -0,0 +1,11 @@ +import React from "react"; +export const OCFlogo = () => ( + + ofc + +); diff --git a/nowcasting-ui/layout/header/header.composition.tsx b/nowcasting-ui/layout/header/header.composition.tsx new file mode 100644 index 00000000..e30e5028 --- /dev/null +++ b/nowcasting-ui/layout/header/header.composition.tsx @@ -0,0 +1,8 @@ +import React from "react"; +import { Header } from "./header"; +import { VIEWS } from "@openclimatefix/nowcasting-ui.config.constants"; + +export const BasicHeader = () => { + const [view, setView] = React.useState(VIEWS.FORECAST); + return
; +}; diff --git a/nowcasting-ui/layout/header/header.tsx b/nowcasting-ui/layout/header/header.tsx new file mode 100644 index 00000000..05c2bf9d --- /dev/null +++ b/nowcasting-ui/layout/header/header.tsx @@ -0,0 +1,129 @@ +import { classNames } from "@openclimatefix/nowcasting-ui.helpers.utils"; +import { ProfileDropDown } from "@openclimatefix/nowcasting-ui.layout.header"; +import { OCFlogo } from "@openclimatefix/nowcasting-ui.icons.logo"; +import Link from "next/link"; +import { Menu } from "@headlessui/react"; +import { VIEWS } from "@openclimatefix/nowcasting-ui.config.constants"; +import { Dispatch, SetStateAction } from "react"; +import { ExternalLinkIcon } from "@openclimatefix/nowcasting-ui.icons.icons"; +import React from "react"; + +type HeaderLinkProps = { + url: string; + text: string; + className?: string; + disabled?: boolean; + currentView?: VIEWS; + view?: VIEWS; + setViewFunc?: Dispatch>; +}; +export const HeaderLink: React.FC = ({ + url, + text, + className, + disabled = false, + currentView, + view, + setViewFunc +}) => { + const computedClasses = classNames( + className || "", + disabled + ? "text-gray-500 cursor-not-allowed" + : "text-white cursor-pointer hover:text-ocf-yellow-400", + "flex px-4 py-2 font-semibold text-sm" + ); + + // Denotes external link for styling + if (url.includes("http")) { + return ( + + + {text} + + + + ); + } + + if (setViewFunc && view) { + const isCurrentView = currentView === view; + return ( + + setViewFunc(view)} + > + {text} + + + ); + } + + return ( + + {({ active }) => ( + // @ts-ignore + + {text} + + )} + + ); +}; + +type HeaderProps = { view: VIEWS; setView: Dispatch>; version: string }; + +export const Header: React.FC = ({ view, setView, version }) => { + return ( +
+
+ + ofc + +
+ powered by + +
+
+
+ + + + + + +
+
+ +
+
+ ); +}; diff --git a/nowcasting-ui/layout/header/index.ts b/nowcasting-ui/layout/header/index.ts new file mode 100644 index 00000000..22f859d6 --- /dev/null +++ b/nowcasting-ui/layout/header/index.ts @@ -0,0 +1,2 @@ +export { Header } from "./header"; +export { ProfileDropDown } from "./profile-dropdown"; diff --git a/nowcasting-ui/layout/header/profile-dropdown.tsx b/nowcasting-ui/layout/header/profile-dropdown.tsx new file mode 100644 index 00000000..3ecc941d --- /dev/null +++ b/nowcasting-ui/layout/header/profile-dropdown.tsx @@ -0,0 +1,135 @@ +import React, { Fragment } from "react"; +import { Menu, Transition } from "@headlessui/react"; +import { useUser } from "@auth0/nextjs-auth0"; +// import { version } from "@openclimatefix/nowcasting-ui.config.package-json"; +import { + classNames, + formatISODateStringHumanNumbersOnly +} from "@openclimatefix/nowcasting-ui.helpers.utils"; +import Link from "next/link"; +import { Tooltip } from "@openclimatefix/nowcasting-ui.misc.tooltip"; +import { useGlobalState } from "@openclimatefix/nowcasting-ui.helpers.global-state"; +import { ChartInfo } from "@openclimatefix/nowcasting-ui.misc.chart-info"; +import { ExternalLinkIcon } from "@openclimatefix/nowcasting-ui.icons.icons"; + +interface IProfileDropDown { + version: string; +} + +export const ProfileDropDown = ({ version }: IProfileDropDown) => { + const { user } = useUser(); + const [show4hView, setShow4hView] = useGlobalState("show4hView"); + const isStaging = process.env.NEXT_PUBLIC_VERCEL_ENV !== "production"; + + return ( + +
+ + Open user menu + + +
+ + + +
+ } position="left" className={"text-right"} fullWidth> + Data + +
+
+ +
+ { + var copyText = "ops@openclimatefix.org"; + navigator.clipboard.writeText(copyText); + }} + className="cursor-pointer" + title="Copy Email to Clipboard" + > + Click to email OCF at ops@openclimatefix.org +
+ } + position="left" + className={"text-right"} + fullWidth + > + + Help{" "} + + + + +
+ + + + +
+ +
+

Version {version}

+
+
+

Signed in as

+

{user && user.email}

+
+
+ {isStaging && ( + + {({ active }) => ( +
+ +
+ )} +
+ )} + + {({ active }) => ( +
+ + Sign out + +
+ )} +
+ + +
+ ); +}; diff --git a/nowcasting-ui/misc/chart-info/chart-info.tsx b/nowcasting-ui/misc/chart-info/chart-info.tsx new file mode 100644 index 00000000..788d6984 --- /dev/null +++ b/nowcasting-ui/misc/chart-info/chart-info.tsx @@ -0,0 +1,31 @@ +import React from "react"; +import { useGlobalState } from "@openclimatefix/nowcasting-ui.helpers.global-state"; +import { formatISODateStringHumanNumbersOnly } from "@openclimatefix/nowcasting-ui.helpers.utils"; + +export const ChartInfo: React.FC = () => { + const [forecastCreationTime] = useGlobalState("forecastCreationTime"); + return ( +
+
    +
  • All datetimes are in Europe/London timezone.
  • +
  • + Following{" "} + + PVLive + + , datetimes show the end of the settlement period.
    + For example, 17:00 refers to solar generation between 16:30 to 17:00. +
  • +
  • The Y axis units are in MW, for the national and GSP plots.
  • +
    +
  • OCF Forecast Creation Time:
  • +
  • {formatISODateStringHumanNumbersOnly(forecastCreationTime || "")}
  • +
+
+ ); +}; diff --git a/nowcasting-ui/misc/chart-info/index.ts b/nowcasting-ui/misc/chart-info/index.ts new file mode 100644 index 00000000..27f01d87 --- /dev/null +++ b/nowcasting-ui/misc/chart-info/index.ts @@ -0,0 +1 @@ +export { ChartInfo } from "./chart-info"; diff --git a/nowcasting-ui/misc/tooltip/index.ts b/nowcasting-ui/misc/tooltip/index.ts new file mode 100644 index 00000000..8402f319 --- /dev/null +++ b/nowcasting-ui/misc/tooltip/index.ts @@ -0,0 +1 @@ +export { Tooltip } from "./tooltip"; diff --git a/nowcasting-ui/misc/tooltip/tooltip.composition.tsx b/nowcasting-ui/misc/tooltip/tooltip.composition.tsx new file mode 100644 index 00000000..01ec516a --- /dev/null +++ b/nowcasting-ui/misc/tooltip/tooltip.composition.tsx @@ -0,0 +1,10 @@ +import React from "react"; +import { Tooltip } from "./tooltip"; + +export const BasicTooltip = () => { + return ( + + Test + + ); +}; diff --git a/nowcasting-ui/misc/tooltip/tooltip.tsx b/nowcasting-ui/misc/tooltip/tooltip.tsx new file mode 100644 index 00000000..7ed04a6a --- /dev/null +++ b/nowcasting-ui/misc/tooltip/tooltip.tsx @@ -0,0 +1,55 @@ +import React from "react"; + +type TooltipProps = { + tip: string | React.ReactNode; + position?: "left" | "right" | "middle" | "top"; + className?: string; + fullWidth?: boolean; +}; + +export const Tooltip: React.FC = ({ + children, + tip, + position = "left", + className, + fullWidth = false +}) => { + let containerPositionClass = ""; + let tipPositionClass = ""; + switch (position) { + case "left": + containerPositionClass = "right-2"; + tipPositionClass = "-right-2 top-0"; + break; + case "right": + containerPositionClass = "left-2"; + tipPositionClass = "-left-2 top-0"; + break; + case "middle": + containerPositionClass = "left-1/2 transform -translate-x-1/2"; + tipPositionClass = "top-0"; + break; + case "top": + containerPositionClass = "bottom-7 right-2"; + tipPositionClass = "-right-2 bottom-0"; + } + return ( +
+ {position !== "top" && children} + + {position === "top" && children} +
+ ); +}; diff --git a/pages/_app.tsx b/pages/_app.tsx index 2b03ea50..317c4520 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -3,6 +3,7 @@ import type { AppProps } from 'next/app'; import Head from 'next/head'; import { Inter } from '@next/font/google'; +import Layout from '~/components/Layout'; const inter = Inter({ subsets: ['latin'] }); @@ -15,11 +16,10 @@ export default function App({ Component, pageProps }: AppProps) { -
+ + -
+ ); } diff --git a/public/bit/asset-manifest.json b/public/bit/asset-manifest.json new file mode 100644 index 00000000..7b0edda4 --- /dev/null +++ b/public/bit/asset-manifest.json @@ -0,0 +1,17 @@ +{ + "files": { + "main.js": "/static/js/main.a1d2e359.js", + "runtime-main.js": "/static/js/runtime-main.20a5d04b.js", + "static/css/706.e520b3c9.css": "/static/css/706.e520b3c9.css", + "static/js/706.f5543c5c.js": "/static/js/706.f5543c5c.js", + "workbox-2a6c6302.js": "/workbox-2a6c6302.js", + "service-worker.js": "/service-worker.js", + "index.html": "/index.html" + }, + "entrypoints": [ + "static/js/runtime-main.20a5d04b.js", + "static/css/706.e520b3c9.css", + "static/js/706.f5543c5c.js", + "static/js/main.a1d2e359.js" + ] +} \ No newline at end of file diff --git a/public/bit/index.html b/public/bit/index.html new file mode 100644 index 00000000..17a8ebb2 --- /dev/null +++ b/public/bit/index.html @@ -0,0 +1 @@ +my-workspace-name
\ No newline at end of file diff --git a/public/bit/service-worker.js b/public/bit/service-worker.js new file mode 100644 index 00000000..b86fda44 --- /dev/null +++ b/public/bit/service-worker.js @@ -0,0 +1 @@ +if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return r[e]||(s=new Promise((async s=>{if("document"in self){const r=document.createElement("script");r.src=e,document.head.appendChild(r),r.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!r[e])throw new Error(`Module ${e} didn’t register its module`);return r[e]}))},s=(s,r)=>{Promise.all(s.map(e)).then((e=>r(1===e.length?e[0]:e)))},r={require:Promise.resolve(s)};self.define=(s,i,t)=>{r[s]||(r[s]=Promise.resolve().then((()=>{let r={};const n={uri:location.origin+s.slice(1)};return Promise.all(i.map((s=>{switch(s){case"exports":return r;case"module":return n;default:return e(s)}}))).then((e=>{const s=t(...e);return r.default||(r.default=s),r}))})))}}define("./service-worker.js",["./workbox-2a6c6302"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.clientsClaim(),e.precacheAndRoute([{url:"/index.html",revision:"6fb9792ba8c11eb0f6225d6997f4b603"},{url:"/static/css/706.e520b3c9.css",revision:null},{url:"/static/js/706.f5543c5c.js",revision:null},{url:"/static/js/706.f5543c5c.js.LICENSE.txt",revision:"d62f274bb3724dbf6c8cb284ac59449b"},{url:"/static/js/main.a1d2e359.js",revision:null},{url:"/static/js/runtime-main.20a5d04b.js",revision:null}],{}),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("public/index.html"),{denylist:[/^\/_/,/\/[^/?]+\.[^/]+$/]}))})); diff --git a/public/bit/static/css/706.e520b3c9.css b/public/bit/static/css/706.e520b3c9.css new file mode 100644 index 00000000..f10d4cc2 --- /dev/null +++ b/public/bit/static/css/706.e520b3c9.css @@ -0,0 +1 @@ +.component_container__1xT9C{display:flex;flex-direction:column;height:100%}.size-definition_headingFontSize__2SH3c{--bit-h-xxs:18px;--bit-h-xs:26px;--bit-h-sm:36px;--bit-h-md:40px;--bit-h-lg:50px;--bit-h-xl:60px;--bit-h-xxl:80px}.size-definition_textFontSize__oTjvu{--bit-p-xxs:12px;--bit-p-xs:14px;--bit-p-sm:15px;--bit-p-md:16px;--bit-p-lg:18px;--bit-p-xl:20px;--bit-p-xxl:24px}.shadow-definition_shadowTheme__3gEvc{--bit-shadow-none:none;--bit-shadow-faint:0 2px 10px 0 rgba(0,0,0,.1);--bit-shadow-resting:0px 0px 4px rgba(0,0,0,.08),0px 2px 4px rgba(0,0,0,.08);--bit-shadow-raised-low:0 -1px 1px 0 rgba(0,0,0,.09),0 2px 2px 0 rgba(0,0,0,.23);--bit-shadow-hover-low:0 2px 8px 0 rgba(0,0,0,.2);--bit-shadow-hover-medium:0 0 20px 0 rgba(0,0,0,.12),0 2px 6px 0 rgba(0,0,0,.24);--bit-shadow-hover-high:0px 11px 29px 0px rgba(0,0,0,.23)}.color-definition_primaryPalette__9zIB8{--bit-text-color:#414141;--bit-text-color-heavy:#2b2b2b;--bit-text-color-light:#6c707c;--bit-text-inactive:#babec9;--bit-text-inactive-heavy:#878c9a;--bit-border-color:#babec9;--bit-border-color-heavy:#878c9a;--bit-border-color-light:#cccfd4;--bit-border-color-lightest:#ededed;--bit-accent-color:#6c5ce7;--bit-accent-heavy:#5d4aec;--bit-accent-light:#897dec;--bit-accent-text:#6c5ce7;--bit-accent-text-heavy:#5d4aec;--bit-text-on-accent:#fff;--bit-accent-bg:#eceaff;--bit-accent-bg-heavy:#c9c3f6;--bit-bg-color:#fff;--bit-bg-heavy:#f6f6f6;--bit-bg-heaviest:#ededed;--bit-bg-bedrock:#fff;--bit-bg-navigation:#f6f6f6;--bit-bg-overlay:#fff;--bit-bg-modal:#fff;--bit-bg-tooltip:#fff;--bit-bg-tooltip-heavy:#f6f6f6;--bit-bg-dent:#f6f6f6;--bit-error-color:#e62e5c;--bit-error-heavy:#d31948;--bit-error-light:#f086a0;--bit-error-bg:#fdeff2;--bit-error-bg-heavy:#f7bac9;color:#414141}.brand-definition_brands__3ZLtc{--bit-github-bg:#2b2b2b;--bit-brand-text:#fff;--bit-slack-bg:#4a154b;--bit-twitter-bg:#1da1f2}.heading-margin-definition_headingMargins__8Vy0z{--bit-h1Margin:20px;--bit-h2Margin:20px;--bit-h3Margin:20px;--bit-h4Margin:8px;--bit-h5Margin:8px;--bit-h6Margin:8px;--bit-h7Margin:8px}@font-face{font-family:"CircularPro";src:url(https://static.bit.dev/fonts/CircularPro-Book.otf)}@font-face{font-family:"CircularPro";font-weight:700;src:url(https://static.bit.dev/fonts/CircularPro-Bold.otf)}@font-face{font-family:"CircularPro";font-weight:800;src:url(https://static.bit.dev/fonts/CircularPro-Black.otf)}@font-face{font-family:"CircularPro";font-style:italic;src:url(https://static.bit.dev/fonts/CircularPro-BookItalic.otf)}@font-face{font-family:"CircularPro";font-style:italic;font-weight:700;src:url(https://static.bit.dev/fonts/CircularPro-BoldItalic.otf)}@font-face{font-family:"CircularPro";font-style:italic;font-weight:800;src:url(https://static.bit.dev/fonts/CircularPro-BlackItalic.otf)}.book-font_bookFont__2Qu2T{font-family:"CircularPro","Gill Sans","Gill Sans MT","Helvetica Neue",Helvetica,Arial,sans-serif}.texts_defaults__1vaFe{line-height:1.23}.sizes_heading__1_zNE{--bit-h-xxs:16px;--bit-h-xs:18px;--bit-h-sm:24px;--bit-h-md:26px;--bit-h-lg:36px;--bit-h-xl:40px;--bit-h-xxl:50px}.global_overrides__2t3-C{line-height:normal}.pane_pane__3dqrh{transition:width .3s,height .3s}[data-split-layout*=first]>.pane_pane__3dqrh,[data-split-layout*=last]>.pane_pane__3dqrh{max-width:none;min-width:0;min-width:auto}.splitter_splitter__ksfT0{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-split-layout^=row] .splitter_splitter__ksfT0{cursor:col-resize;height:100%}[data-split-layout^=column] .splitter_splitter__ksfT0{cursor:row-resize;width:100%}body{padding:0}.split-pane_splitPane__yDe0w{display:flex;flex-direction:column}.split-pane_splitPane__yDe0w.split-pane_isDragging__16sAq{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.split-pane_splitPane__yDe0w[data-is-dragging=true]>*{transition:none}.split-pane_splitPane__yDe0w[data-split-layout^=row]{flex-direction:row}.split-pane_splitPane__yDe0w[data-split-layout^="row reverse"]{flex-direction:row-reverse}.split-pane_splitPane__yDe0w[data-split-layout^=column]{flex-direction:column}.split-pane_splitPane__yDe0w[data-split-layout^="column reverse"]{flex-direction:column-reverse}.splitter_hoverSplitter__3NVhJ{background:#ededed;background:var(--bit-border-color-lightest,#ededed);flex:none;min-height:1px;min-width:1px;position:relative}.splitter_highlighter__37bXI{height:100%;width:100%}.splitter_highlighter__37bXI,.splitter_highlighter__37bXI:after,.splitter_highlighter__37bXI:before{transition:background-color .3s ease-in-out,box-shadow .3s ease-in-out}.splitter_highlighter__37bXI:hover,.splitter_highlighter__37bXI:hover:after,.splitter_highlighter__37bXI:hover:before,[data-is-dragging=true]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI,[data-is-dragging=true]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:after,[data-is-dragging=true]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:before{background:#6c5ce7;background:var(--bit-accent-color,#6c5ce7);transition-delay:.18s}.splitter_highlighter__37bXI:after,.splitter_highlighter__37bXI:before{background:transparent;content:" ";display:block;position:absolute}[data-split-layout^=row]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:after,[data-split-layout^=row]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:before{height:100%;width:200%}[data-split-layout^=row]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:before{left:-200%}[data-split-layout^=row]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:after{right:-200%}[data-split-layout^=column]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:after,[data-split-layout^=column]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:before{height:200%;width:100%}[data-split-layout^=column]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:before{top:-200%}[data-split-layout^=column]>.splitter_hoverSplitter__3NVhJ>.splitter_highlighter__37bXI:after{bottom:-200%}.grid_gridContainer__1L1Hw{grid-gap:16px 16px;display:grid}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-1__3I3EE{grid-template-columns:repeat(1,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-1__3Myef{grid-template-columns:repeat(1,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-1__2nhC9{grid-template-columns:repeat(1,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-1__eoCml{grid-template-columns:repeat(1,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-1__2TdBj{grid-template-columns:repeat(1,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-1__2FdqD{grid-template-columns:repeat(1,1fr)}}.grid-template_colTemplate--all-1__35UV2{grid-template-columns:repeat(1,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-2__rhiAC{grid-template-columns:repeat(2,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-2__3avUV{grid-template-columns:repeat(2,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-2__20Kn5{grid-template-columns:repeat(2,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-2__2fHM5{grid-template-columns:repeat(2,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-2__2aTFB{grid-template-columns:repeat(2,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-2__3KgGx{grid-template-columns:repeat(2,1fr)}}.grid-template_colTemplate--all-2__3gxiX{grid-template-columns:repeat(2,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-3__YiUC0{grid-template-columns:repeat(3,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-3__2yGxo{grid-template-columns:repeat(3,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-3__zIb50{grid-template-columns:repeat(3,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-3__ZpOMv{grid-template-columns:repeat(3,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-3__1S2xJ{grid-template-columns:repeat(3,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-3__1jFU9{grid-template-columns:repeat(3,1fr)}}.grid-template_colTemplate--all-3__2yDZE{grid-template-columns:repeat(3,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-4__YgbZX{grid-template-columns:repeat(4,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-4__1Vtrr{grid-template-columns:repeat(4,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-4__3_-Ki{grid-template-columns:repeat(4,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-4__35R-2{grid-template-columns:repeat(4,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-4__BOcFI{grid-template-columns:repeat(4,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-4__3nBik{grid-template-columns:repeat(4,1fr)}}.grid-template_colTemplate--all-4__wSAFL{grid-template-columns:repeat(4,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-5__3INGW{grid-template-columns:repeat(5,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-5__13AzV{grid-template-columns:repeat(5,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-5__1sYP3{grid-template-columns:repeat(5,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-5__nzhrX{grid-template-columns:repeat(5,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-5__2W8ew{grid-template-columns:repeat(5,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-5__3-H7i{grid-template-columns:repeat(5,1fr)}}.grid-template_colTemplate--all-5__21Bvs{grid-template-columns:repeat(5,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-6__3X6F0{grid-template-columns:repeat(6,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-6__1McPX{grid-template-columns:repeat(6,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-6__3Oy_P{grid-template-columns:repeat(6,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-6__1Qvyf{grid-template-columns:repeat(6,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-6__1EcnM{grid-template-columns:repeat(6,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-6__2-uWT{grid-template-columns:repeat(6,1fr)}}.grid-template_colTemplate--all-6__2IcU5{grid-template-columns:repeat(6,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-7__2VJKr{grid-template-columns:repeat(7,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-7__kyr-Z{grid-template-columns:repeat(7,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-7__3dFp9{grid-template-columns:repeat(7,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-7__1gwIi{grid-template-columns:repeat(7,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-7__Y5L1X{grid-template-columns:repeat(7,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-7__278my{grid-template-columns:repeat(7,1fr)}}.grid-template_colTemplate--all-7__3asAJ{grid-template-columns:repeat(7,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-8__19TMa{grid-template-columns:repeat(8,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-8__32s92{grid-template-columns:repeat(8,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-8__3epgs{grid-template-columns:repeat(8,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-8__12Ao_{grid-template-columns:repeat(8,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-8__3yTAm{grid-template-columns:repeat(8,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-8__3ZhHV{grid-template-columns:repeat(8,1fr)}}.grid-template_colTemplate--all-8__2rbXJ{grid-template-columns:repeat(8,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-9__228Pz{grid-template-columns:repeat(9,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-9__2mT8Q{grid-template-columns:repeat(9,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-9__3jdcQ{grid-template-columns:repeat(9,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-9__1XmM3{grid-template-columns:repeat(9,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-9__1Ch2n{grid-template-columns:repeat(9,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-9__2By8r{grid-template-columns:repeat(9,1fr)}}.grid-template_colTemplate--all-9__3CAMe{grid-template-columns:repeat(9,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-10__3Twek{grid-template-columns:repeat(10,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-10__17BHW{grid-template-columns:repeat(10,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-10__hK1DT{grid-template-columns:repeat(10,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-10__1vyiJ{grid-template-columns:repeat(10,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-10__luI4x{grid-template-columns:repeat(10,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-10__22cnm{grid-template-columns:repeat(10,1fr)}}.grid-template_colTemplate--all-10__xAfUE{grid-template-columns:repeat(10,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-11__68LMz{grid-template-columns:repeat(11,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-11__1qOp9{grid-template-columns:repeat(11,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-11__16NmY{grid-template-columns:repeat(11,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-11__3BQ0e{grid-template-columns:repeat(11,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-11__9zGRT{grid-template-columns:repeat(11,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-11__1hyaN{grid-template-columns:repeat(11,1fr)}}.grid-template_colTemplate--all-11__2rGi0{grid-template-columns:repeat(11,1fr)}@media only screen and (min-width:360px){.grid-template_colTemplate--xs-12__1l3bd{grid-template-columns:repeat(12,1fr)}}@media only screen and (min-width:480px){.grid-template_colTemplate--sm-12__28J5x{grid-template-columns:repeat(12,1fr)}}@media only screen and (min-width:768px){.grid-template_colTemplate--md-12__3PHx2{grid-template-columns:repeat(12,1fr)}}@media only screen and (min-width:920px){.grid-template_colTemplate--l-12__1u63g{grid-template-columns:repeat(12,1fr)}}@media only screen and (min-width:1200px){.grid-template_colTemplate--lg-12__1CQTb{grid-template-columns:repeat(12,1fr)}}@media only screen and (min-width:1440px){.grid-template_colTemplate--xl-12__1cFT4{grid-template-columns:repeat(12,1fr)}}.grid-template_colTemplate--all-12__2Gacb{grid-template-columns:repeat(12,1fr)}.table-heading-column_headingColumn__16cHw{align-items:center;display:flex;flex-wrap:wrap;font-size:var(--bit-p-xxs);font-weight:700}.table-heading-row_titleRow__28nL1{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);display:grid;padding:18px 20px}.table-heading-row_titleRow__28nL1.table-heading-row_hide__bUfqa{display:none}.table-heading-row_titleCol__3aTKY{color:var(--bit-text-color-light);text-transform:uppercase}.table-column_tableColumn__1PIUq{align-items:center;display:flex;font-size:var(--bit-p-xs)}.table-row_propRow__A2A2o{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,var(--bit-border-color-lightest,#ededed));margin-bottom:8px;padding:18px 20px}.table-row_propRow__A2A2o.table-row_singleColumn__2WSUu{grid-template-columns:repeat(1,1fr)}.table-row_mobileTitle__2gYkI{display:none}.table-row_mobileTitle__2gYkI.table-row_show__17-6i{color:var(--bit-text-color-light);display:flex;font-size:var(--bit-p-xxs);font-weight:700;min-width:110px;text-transform:uppercase}.table-row_columnContent__3gJ8Y,.table-row_column__1M52V{align-items:center;display:flex;flex-wrap:wrap}.table-row_title__3l_MY{margin:initial;text-transform:capitalize}.table-row_required__3s-EN{color:var(--bit-text-color-light);font-size:12px;white-space:nowrap}.table-row_name__3Urse{color:#4646c6;margin-right:5px}.table-row_name__3Urse,.table-row_type__38HuP{font-family:Roboto mono;font-size:var(--bit-p-xxs)}.table-row_type__38HuP{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff);border-radius:4px;display:inline-block;padding:5px;width:-moz-fit-content;width:fit-content}.table-row_typeColumn__3otNL .table-row_highlighted__1Z8sZ{background:transparent none repeat 0 0/auto auto padding-box border-box scroll!important;background:initial!important;display:flex!important;flex-grow:1;font-family:Roboto mono;font-size:var(--bit-p-xxs);margin:0;padding:0!important;white-space:pre-wrap;word-break:break-word}.table-row_typeColumn__3otNL .table-row_highlighted__1Z8sZ>code>span{color:#397300}.table-row_typeColumn__3otNL .table-row_highlighted__1Z8sZ>code{font-family:inherit}.table-row_default__B4mpZ{font-family:Roboto mono;font-size:var(--bit-p-xxs)}.table-row_breakWord__2JRJ9{word-break:break-word}.table_table__3zfm7>div{grid-gap:16px 24px}.tabs_tabContainer__327lX{display:flex}.tabs_tab__2jlXI{color:#878c9a;color:var(--on-background-color,#878c9a);cursor:pointer;font-size:12px;font-weight:700;outline:none;padding:8px;position:relative;text-transform:uppercase;transition:color .3s ease-in-out}.tabs_tab__2jlXI:hover{color:var(--bit-text-color-heavy)}.tabs_tab__2jlXI.tabs_disabled__jX4IW{color:#6c707c;color:var(--bit-text-color-light,#6c707c)}.tabs_tab__2jlXI.tabs_active__2DWoN{color:var(--bit-text-color-heavy)}.tabs_tab__2jlXI.tabs_active__2DWoN:before{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);border-radius:2px;content:"";height:3px;left:0;position:absolute;right:0;top:0;transition:background-color .3s,height .3s}.dark-theme_darkMod__3B0td{--bit-text-color:#ededed;--bit-text-color-heavy:#f6f6f6;--bit-text-color-light:#878c9a;--bit-text-inactive:#6c707c;--bit-text-inactive-heavy:#878c9a;--bit-border-color:#6c707c;--bit-border-color-heavy:#878c9a;--bit-border-color-light:#414141;--bit-border-color-lightest:#414141;--bit-accent-color:#5d4aec;--bit-accent-heavy:#6c5ce7;--bit-accent-light:#3e29df;--bit-accent-text:#c9c3f6;--bit-accent-text-heavy:#eceaff;--bit-text-on-accent:var(--bit-text-color,#ededed);--bit-accent-bg:#1a1452;--bit-accent-bg-heavy:#221967;--bit-bg-color:#2b2b2b;--bit-bg-heavy:#414141;--bit-bg-heaviest:#6c707c;--bit-bg-bedrock:#0c0c0c;--bit-navigation:#2b2b2b;--bit-bg-overlay:#2b2b2b;--bit-bg-modal:#2b2b2b;--bit-bg-tooltip:#2b2b2b;--bit-bg-tooltip-heavy:#414141;--bit-bg-dent:#2b2b2b;--bit-error-color:#f7bac9;--bit-error-heavy:#fdeff2;--bit-error-light:#f086a0;--bit-error-bg:#8d1130;--bit-error-bg-heavy:#d31948;color:#ededed}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{background-color:#333;border-radius:4px;color:#fff;font-size:14px;line-height:1.4;outline:0;position:relative;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{border-top-color:initial;border-width:8px 8px 0;bottom:-7px;left:0;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:initial;border-width:0 8px 8px;left:0;top:-7px;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-left-color:initial;border-width:8px 0 8px 8px;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{border-right-color:initial;border-width:8px 8px 8px 0;left:-7px;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{color:#333;height:16px;width:16px}.tippy-arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.tippy-content{padding:5px 9px;position:relative;z-index:1}.tippy-box[data-placement^=top]>.tippy-svg-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-svg-arrow:after,.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg{top:16px;transform:rotate(180deg)}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg{bottom:16px}.tippy-box[data-placement^=left]>.tippy-svg-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-svg-arrow:after,.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg{left:11px;top:calc(50% - 3px);transform:rotate(90deg)}.tippy-box[data-placement^=right]>.tippy-svg-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-svg-arrow:after,.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg{right:11px;top:calc(50% - 3px);transform:rotate(-90deg)}.tippy-svg-arrow{fill:#333;height:16px;text-align:left;text-align:initial;width:16px}.tippy-svg-arrow,.tippy-svg-arrow>svg{position:absolute}.tippy-box[data-theme~=teambit]{background:#2b2b2b;background:var(--bit-bg-tooltip,#2b2b2b);border-radius:8px;color:#fff;color:var(--bit-text-color,#fff)}.tippy-box[data-theme~=teambit] .tippy-content{padding:.85em;white-space:nowrap}.tippy-box[data-theme~=teambit].tippy-breakLine .tippy-content{white-space:pre-line;word-break:break-all}.tippy-box[data-theme~=teambit] .tippy-svg-arrow{fill:#2b2b2b;fill:var(--bit-bg-tooltip,#2b2b2b)}.collapser-button_collapser__1sB4S{bottom:80px;cursor:pointer;position:absolute;transition:right .3s,left .3s ease-in-out;z-index:100}.collapser-button_collapser__1sB4S.collapser-button_open__1Y3pL .collapser-button_circle__3x-WE>div{transform:rotate(-.5turn) translateY(2px);transform-origin:center}.collapser-button_circle__3x-WE{background-color:#fff;background-color:var(--bit-bg-color,#fff);box-shadow:0 -1px 1px 0 rgba(0,0,0,.09),0 1px 2px 0 rgba(0,0,0,.23);font-size:12px;height:100%;padding:10px;transition:padding .3s ease-in-out}.collapser-button_circle__3x-WE>div{transition:transform .3s ease-in-out}.collapser-button_right__30QZR .collapser-button_circle__3x-WE{border-bottom-right-radius:50%;border-top-right-radius:50%;padding-left:10px}.collapser-button_right__30QZR .collapser-button_circle__3x-WE:hover{padding-left:16px}.collapser-button_left__3YDVC .collapser-button_circle__3x-WE{border-bottom-left-radius:50%;border-top-left-radius:50%;padding-right:10px}.collapser-button_left__3YDVC .collapser-button_circle__3x-WE:hover{padding-right:16px}.empty-box_emptyCompositions__39KL3{font-size:15px;font-size:var(--bit-p-sm,15px);margin:auto;padding:20px}.empty-box_emptyCompositions__39KL3 *{text-overflow:ellipsis}.empty-box_innerBorder__3l3MC{border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:8px;overflow:hidden;padding:24px}.empty-box_innerBorder__3l3MC>div{font-weight:700;margin-bottom:14px;overflow:hidden}.empty-box_innerBorder__3l3MC>a{color:#897dec;text-decoration:none}.empty-box_innerBorder__3l3MC>a>span{font-size:12px;font-size:var(--bit-p-xxs,12px);padding-left:5px}.preview_preview__2rBUC{background-color:#fff;height:100%}.compositions-menu-bar_compositionsMenuBar__3Zi1l{align-items:center;box-sizing:border-box;display:flex;padding:8px}.compositions-menu-bar_spacer__eqKj0{flex:1 0}.block-quote_blockQuote__2oezT{background-color:hsla(0,2%,79%,.2);border-left:5px solid #897dec;border-radius:5px;margin:0 0 1em;padding:1em 10px 1em 18px}.block-quote_blockQuote__2oezT>:last-child{margin-bottom:0}.bold_bold__22RIR{font-weight:700}.external-link_link__2pnxO{text-decoration:none}.external-link_link__2pnxO:hover{text-decoration:underline}.heading-sizes_xxs__16i5n{font-size:16px;font-size:var(--bit-h-xxs,16px)}.heading-sizes_xs__35C6F{font-size:18px;font-size:var(--bit-h-xs,18px)}.heading-sizes_sm__374eW{font-size:24px;font-size:var(--bit-h-sm,24px)}.heading-sizes_md__2o0eK{font-size:26px;font-size:var(--bit-h-md,26px)}.heading-sizes_lg__1rOne{font-size:36px;font-size:var(--bit-h-lg,36px)}.heading-sizes_xl__2Gx7r{font-size:40px;font-size:var(--bit-h-xl,40px)}.heading-sizes_xxl__RvLJ6{font-size:50px;font-size:var(--bit-h-xxl,50px)}.heading_h1__6ObAB,.heading_h2__1LlAR,.heading_h3__3ltZb,.heading_h4__3hwBl,.heading_h5__2kCCV,.heading_h6__2fMF0{font-weight:700;margin:0}.heading_h1__6ObAB{margin-bottom:20px}.anchor_anchor__dT8Je{align-items:center;display:flex;text-decoration:none}.anchor_anchorIcon__3M01O{color:var(--bit-text-color-light);font-size:18px}.linked-heading_linkedHeading__1rFO7{align-items:center;display:flex;margin-bottom:16px;width:-moz-fit-content;width:fit-content}.linked-heading_linkedHeading__1rFO7:hover .linked-heading_anchor__1KyWA{opacity:1;visibility:inherit}.linked-heading_heading__3guht{margin-bottom:0;margin-right:8px}.linked-heading_anchor__1KyWA{opacity:0;transform:translateY(4px);transition:visibility .3s,opacity .3s ease-in-out;visibility:hidden}.create-heading_mdxLinkedHeading__3rb-Y{justify-content:start;margin-top:40px;width:100%}.create-heading_mdxLinkedHeading__3rb-Y[align=center]{justify-content:center}.create-heading_mdxLinkedHeading__3rb-Y[align=left]{justify-content:start}.create-heading_mdxLinkedHeading__3rb-Y[align=right]{justify-content:flex-end}.create-heading_mdxLinkedHeading__3rb-Y.create-heading_mainHeadingStyles__3beQu{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);padding-bottom:8px}.create-heading_mdxLinkedHeading__3rb-Y:first-child{padding-top:0}.image_img__12Mr5{max-width:100%}.image_img__12Mr5:not(:last-child){margin-bottom:16px}.inline-code_inlineCode__14IlD{background-color:#a6a6a633;border-radius:.25em;font-family:monospace,sans-serif;font-size:.85em;padding:.2em .4em}.inline-code_highlight__1GKzL{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff)}.italic_italic__a09ti{font-style:italic}.ol_ol__2TVO8{list-style:revert;list-style-position:outside;margin:0 0 16px;padding:0 0 0 32px}.ol_ol__2TVO8 ol,.ol_ol__2TVO8 ul{padding-left:18px}.ol_ol__2TVO8>li>p{margin-bottom:0}.text-sizes_xxs__1vRC4{font-size:12px;font-size:var(--bit-p-xxs,12px)}.text-sizes_xs__1uEG0{font-size:14px;font-size:var(--bit-p-xs,14px)}.text-sizes_sm__3ISdH{font-size:15px;font-size:var(--bit-p-sm,15px)}.text-sizes_md__3RLVC{font-size:16px;font-size:var(--bit-p-md,16px)}.text-sizes_lg__hpPBF{font-size:18px;font-size:var(--bit-p-lg,18px)}.text-sizes_xl__1_XBv{font-size:20px;font-size:var(--bit-p-xl,20px)}.text-sizes_xxl__15HKB{font-size:24px;font-size:var(--bit-p-xxl,24px)}.paragraph_paragraph__ZoDOW{margin:0 0 1em}.separator_separator__2lWy-{border:none;border-bottom:1px solid var(--bit-border-color-lightest);border-radius:5px;margin-bottom:40px;margin-top:30px}.copied-message_copiedMessage__1LScB{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);border-radius:12px;color:#fff;color:var(--bit-text-on-accent,#fff);font-size:12px;opacity:0;padding:2px 5px;pointer-events:none;position:absolute;transform:translate(-100%);transition:visibility .5s,opacity .5s ease-in-out;visibility:hidden}.copied-message_showMessage__1yrjF{opacity:1;visibility:visible}.code-snippet_snippetWrapper__3MtdM{position:relative}.code-snippet_snippetWrapper__3MtdM:hover .code-snippet_copyIcon__3gB8x{opacity:1}.code-snippet_snippetWrapper__3MtdM .code-snippet_codeSnippet__7pNwY{background-color:#fff;border-radius:10px;font-family:Roboto mono;font-size:var(--bit-p-xs);margin:0!important;padding:16px!important}.code-snippet_snippetWrapper__3MtdM .code-snippet_copyIcon__3gB8x{background-color:#fff;border-radius:8px;box-sizing:border-box;color:#414141;cursor:pointer;margin-left:8px;opacity:0;padding:2px;transition:opacity .3s ease-in-out;width:24px}.code-snippet_snippetWrapper__3MtdM code{font-family:inherit!important}.code-snippet_copy__1dOnc{align-items:center;display:flex;position:absolute;right:6px;top:6px}.error_error__21_ru{color:#e62e5c;color:var(--bit-error-color,#e62e5c)}.react-playground_column__3-RCp{height:450px}.react-playground_column__3-RCp .react-playground_codePane__1Wbjj,.react-playground_column__3-RCp .react-playground_previewPane__2yvJN{max-height:90%;min-height:10%;width:100%}.react-playground_column__3-RCp .react-playground_error__1eXa8,.react-playground_column__3-RCp .react-playground_previewPane__2yvJN{border-bottom:none;border-radius:6px 6px 0 0}.react-playground_row__2hvAM{height:100%;max-height:450px}.react-playground_row__2hvAM .react-playground_codePane__1Wbjj,.react-playground_row__2hvAM .react-playground_previewPane__2yvJN{height:100%;max-width:90%;min-width:10%}.react-playground_row__2hvAM .react-playground_error__1eXa8,.react-playground_row__2hvAM .react-playground_previewPane__2yvJN{border-left:none;border-radius:0 6px 6px 0}.react-playground_error__1eXa8{background-color:var(--bit-bg-color);border:1px solid var(--bit-error-color);bottom:0;box-sizing:border-box;color:var(--bit-error-color);font-family:Roboto mono;font-size:11px;left:0;margin:0;overflow:auto;padding:8px;position:absolute;right:0;top:0;transition:all 1s ease-in-out}.react-playground_codePane__1Wbjj{background-color:#282c34;overflow:auto}.react-playground_editor__3YMQv{font-family:Roboto mono!important;font-size:11px;max-width:none!important;min-width:100%;width:-moz-fit-content;width:fit-content}.react-playground_editor__3YMQv>textarea{outline:none;white-space:pre!important}.react-playground_editor__3YMQv>pre{white-space:pre!important}.react-playground_splitter__1QEh-{background-color:#282c34}.react-playground_previewPane__2yvJN{border:1px solid var(--bit-border-color-lightest);box-sizing:border-box;display:flex;flex-shrink:1!important;overflow:auto;position:relative;transform:translateZ(0)}.react-playground_previewBox__27qKA{margin:auto;min-height:20px;min-width:20px}.react-playground_playground__2cl5-{border-radius:6px;display:flex;overflow:hidden}.react-playground_playground__2cl5->div{width:100%}.snippet_snippet__15SBN{margin-bottom:16px}.sup_sup__2y-cd{font-size:smaller;vertical-align:super}.base-table_table__3Y--f{border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-collapse:collapse;border-radius:8px;border-spacing:0;display:block;margin-bottom:16px;max-width:100%;overflow:auto;width:-moz-fit-content;width:fit-content}.base-table_table__3Y--f tr:nth-child(2n){background-color:#f6f6f6;background-color:var(--bit-bg-dent,#f6f6f6)}.base-table_table__3Y--f thead{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.base-table_table__3Y--f th{color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);font-size:var(--bit-p-xs);font-weight:700;padding:12px 20px}.base-table_table__3Y--f td,.base-table_table__3Y--f th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.base-table_table__3Y--f table,.base-table_table__3Y--f td,.base-table_table__3Y--f th,.base-table_table__3Y--f thead,.base-table_table__3Y--f tr{text-align:start}.base-table_table__3Y--f table[align=center],.base-table_table__3Y--f td[align=center],.base-table_table__3Y--f th[align=center],.base-table_table__3Y--f thead[align=center],.base-table_table__3Y--f tr[align=center]{text-align:center}.base-table_table__3Y--f table[align=left],.base-table_table__3Y--f td[align=left],.base-table_table__3Y--f th[align=left],.base-table_table__3Y--f thead[align=left],.base-table_table__3Y--f tr[align=left]{text-align:start}.base-table_table__3Y--f table[align=right],.base-table_table__3Y--f td[align=right],.base-table_table__3Y--f th[align=right],.base-table_table__3Y--f thead[align=right],.base-table_table__3Y--f tr[align=right]{text-align:end}.td_td__1A4nk{padding:12px 20px}.tr_tr__2BGLp:not(:last-child){border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.ul_ul__2ftuy{list-style:revert;list-style-position:outside;margin:0 0 16px;padding:0 0 0 32px}.ul_ul__2ftuy>li>ol,.ul_ul__2ftuy>li>ul{margin-bottom:0;padding-left:18px}.ul_ul__2ftuy>li>p{margin-bottom:none}.mdx-layout_mdxContent__3Al5T{line-height:1.5}.mdx-layout_mdxContent__3Al5T img{max-width:100%}.link_link__1rqGc{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7);text-decoration:none}.link_link__1rqGc:hover{color:#5d4aec;color:var(--bit-accent-heavy,#5d4aec);text-decoration:underline}.admonition{border-radius:8px;margin-bottom:1em;padding:15px 30px 15px 15px}.admonition h3{display:flex;margin-bottom:8px;margin-top:0;text-transform:uppercase}.admonition-heading>div{margin-bottom:0;margin-top:0}.admonition-icon{display:inline-flex;margin-right:4px;padding-top:1px}.admonition-icon svg{stroke-width:0;stroke:currentColor;fill:currentColor;display:inline-block;height:22px;width:18px}.admonition-content>:last-child{margin-bottom:0}.admonition{background-color:#eceaff;background-color:var(--bit-accent-primary-bg,#eceaff);border-left:8px solid #6c5ce7;border-left:8px solid var(--bit-accent-primary-color,#6c5ce7)}.admonition h5{color:#6c5ce7;color:var(--bit-accent-primary-color,#6c5ce7);display:flex}.admonition-caution{background-color:#fff5dd;background-color:var(--bit-accent-hunger-bg,#fff5dd);border-left:8px solid #ffc640;border-left:8px solid var(--bit-accent-hunger-color,#ffc640)}.admonition-caution h5{color:#ffc640;color:var(--bit-accent-hunger-color,#ffc640)}.admonition-tip{background-color:#eefaf3;background-color:var(--bit-accent-success-bg,#eefaf3);border-left:8px solid #37b26c;border-left:8px solid var(--bit-accent-success-color,#37b26c)}.admonition-tip h5{color:#37b26c;color:var(--bit-accent-success-color,#37b26c)}.admonition-warning{background-color:#fdeff2;background-color:var(--bit-accent-impulsive-bg,#fdeff2);border-left:8px solid #e62e5c;border-left:8px solid var(--bit-accent-impulsive-color,#e62e5c)}.admonition-warning h5{color:#e62e5c;color:var(--bit-accent-impulsive-color,#e62e5c)}.admonition-important{background-color:#f3faff;background-color:var(--bit-accent-process-color,#f3faff);border-left:8px solid #0984e3;border-left:8px solid var(--bit-accent-process-color,#0984e3)}.admonition-important h5{color:#0984e3;color:var(--bit-accent-process-color,#0984e3)}.admonition-note{background-color:#fff5dd;background-color:var(--bit-accent-hunger-bg,#fff5dd);border-left:8px solid #ffc640;border-left:8px solid var(--bit-accent-hunger-color,#ffc640)}.admonition-note h5{color:#ffc640;color:var(--bit-accent-hunger-color,#ffc640)}.separator_separator__1nFE8{border:none;border-bottom:1px solid var(--bit-border-color-lightest);border-radius:5px;margin-bottom:40px;margin-top:30px}.separator_separator__2tK2S{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);width:100%}.heading-sizes_xxs__2C5ZW{font-size:16px;font-size:var(--bit-h-xxs,16px)}.heading-sizes_xs__12v1L{font-size:18px;font-size:var(--bit-h-xs,18px)}.heading-sizes_sm__3C3WG{font-size:24px;font-size:var(--bit-h-sm,24px)}.heading-sizes_md__1BACo{font-size:26px;font-size:var(--bit-h-md,26px)}.heading-sizes_lg__2i8_O{font-size:36px;font-size:var(--bit-h-lg,36px)}.heading-sizes_xl__3B6OE{font-size:40px;font-size:var(--bit-h-xl,40px)}.heading-sizes_xxl__3Al74{font-size:50px;font-size:var(--bit-h-xxl,50px)}.heading_h1__xTY8C,.heading_h2__mzfqE,.heading_h3__J5IpK,.heading_h4__1fCpD,.heading_h5__1L-lu,.heading_h6__16JKa{font-weight:700;margin:0}.heading_h1__xTY8C{margin-bottom:20px}.card_card__jJFg2{box-sizing:border-box;padding:20px}.elevations_low__1t2N6{box-shadow:var(--bit-shadow-hover-low)}.elevations_medium__1Hy_C{box-shadow:var(--bit-shadow-hover-medium)}.elevations_high__36HYH{box-shadow:var(--bit-shadow-hover-high)}.roundness_sharp__17YTl{border-radius:2px}.roundness_default__3lY_L{border-radius:5px}.roundness_small__1YHQG{border-radius:8px}.roundness_medium__17YTe{border-radius:10px}.roundness_circle__D3IrX{border-radius:50%}.background_bedrock__DWw56{background:var(--bit-bg-bedrock)}.background_base__3Mm6-,.background_layer__18OmZ{background:var(--bit-bg-color)}.background_crust__SZkrI{background:var(--bit-bg-tooltip)}.background_topping__2SMEa{background:var(--bit-bg-color)}.background_topping__2SMEa:hover{background:var(--bit-bg-heavy)}.background_dent__2c1sb{background:var(--bit-bg-dent)}.accent-color_primary__2PDvR{--bit-accent-color:#6c5ce7;--bit-accent-heavy:#5d4aec;--bit-accent-light:#897dec;--bit-accent-text:#6c5ce7;--bit-accent-text-heavy:#5d4aec;--bit-text-on-accent:#fff;--bit-accent-bg:#eceaff;--bit-accent-bg-heavy:#c9c3f6}.accent-color_complementary__29smS{--bit-accent-color:#f83d6c;--bit-accent-heavy:#f7174f;--bit-accent-light:#f96389;--bit-accent-text:#f83d6c;--bit-accent-text-heavy:#f7174f;--bit-text-on-accent:#fff;--bit-accent-bg:#ffe2ea;--bit-accent-bg-heavy:#fb9cb4}.accent-color_impulsive__2YARy{--bit-accent-color:#e62e5c;--bit-accent-heavy:#d31948;--bit-accent-light:#f086a0;--bit-accent-text:#e62e5c;--bit-accent-text-heavy:#d31948;--bit-text-on-accent:#fff;--bit-accent-bg:#fdeff2;--bit-accent-bg-heavy:#f7bac9}.accent-color_hungry__3lj8x{--bit-accent-color:#ffc640;--bit-accent-heavy:#ff991f;--bit-accent-light:#ffe380;--bit-accent-text:#ffc640;--bit-accent-text-heavy:#ff991f;--bit-text-on-accent:#0c0c0c;--bit-accent-bg:#fff5dd;--bit-accent-bg-heavy:#fff0b3}.accent-color_success__1MO6T{--bit-accent-color:#37b26c;--bit-accent-heavy:#2e945a;--bit-accent-light:#94deb4;--bit-accent-text:#37b26c;--bit-accent-text-heavy:#2e945a;--bit-text-on-accent:#fff;--bit-accent-bg:#eefaf3;--bit-accent-bg-heavy:#d0f1de}.accent-color_process__3Gk6U{--bit-accent-color:#0984e3;--bit-accent-heavy:#3d5afe;--bit-accent-light:#95ccf5;--bit-accent-text:#0984e3;--bit-accent-text-heavy:#3d5afe;--bit-text-on-accent:#fff;--bit-accent-bg:#f3faff;--bit-accent-bg-heavy:#d2ecfe}.accent-color_emphasized__1XwsY{--bit-accent-color:#2b2b2b;--bit-accent-heavy:#0c0c0c;--bit-accent-light:#414141;--bit-accent-text:#2b2b2b;--bit-accent-text-heavy:#0c0c0c;--bit-text-on-accent:#fff;--bit-accent-bg:#ededed;--bit-accent-bg-heavy:#cccfd4}.accent-color_neutral__1-cSq{--bit-accent-color:#414141;--bit-accent-heavy:#2b2b2b;--bit-accent-light:#6c707c;--bit-accent-text:#414141;--bit-accent-text-heavy:#2b2b2b;--bit-text-on-accent:#fff;--bit-accent-bg:#f6f6f6;--bit-accent-bg-heavy:#ededed}.level-icon_notificationIcon__2IKLB{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7);font-weight:700;text-align:center}.level-icon_notificationIcon__2IKLB:before{background:radial-gradient(circle at center,#fff 0,#fff 50%,transparent 51%)}.alert-card_card__7UCf3{padding:24px}.alert-card_heading__1ZLcB{display:flex;margin-bottom:24px}.alert-card_icon__1HV2u{align-self:center;font-size:1.15em;margin-right:16px}.alert-card_separator__3bzjc{margin-bottom:24px}.button_vanillaButton__3KA2F{cursor:pointer;font:inherit;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dots-loader_dotsLoader__1KNOd{letter-spacing:.6em;text-indent:.6em}.dots-loader_dotsLoader__1KNOd>*{animation:1.27s ease-in-out infinite both;animation-name:dots-loader_scale-down__1KIpO;display:inline-block}.dots-loader_dotsLoader__1KNOd>:first-child{animation-delay:-.37s}.dots-loader_dotsLoader__1KNOd>:nth-child(2){animation-delay:-185ms}@keyframes dots-loader_scale-down__1KIpO{0%,20%,to{transform:scale(0)}60%{transform:scale(1)}}.option-button_optionButton__15D_l{align-items:center;background:none;border:none;border-radius:.5em;box-sizing:border-box;color:inherit;display:inline-flex;font-size:inherit;height:2em;padding:0 .5em}.option-button_optionButton__15D_l:hover{background-color:var(--bit-bg-heavy)}.option-button_optionButton__15D_l.option-button_active__GseO9{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed);color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.option-button_optionButton__15D_l:focus{box-shadow:0 0 0 .125em #eceaff;box-shadow:0 0 0 .125em var(--bit-accent-bg,#eceaff);outline:none}.message-card_messageCard__36VAa{border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);display:flex;padding:20px}.message-card_icon__1NnKY{font-size:25px;margin-right:16px}.message-card_textBox__2Zm1m{font-size:14px}.message-card_textBox__2Zm1m,.message-card_textBox__2Zm1m>*{overflow:hidden;text-overflow:ellipsis}.message-card_textBox__2Zm1m>div:first-child{font-weight:700;margin-bottom:16px}.status-message-card_success__h_HXf{color:#2e945a;color:var(--passing,#2e945a)}.status-message-card_failure__3T1rz{color:#d31948;color:var(--failing,#d31948)}.status-message-card_pending__389FW{color:#414141;color:var(--pending,#414141)}.status-message-card_processing__wJ2IU{color:#0984e3;color:var(--processing,#0984e3)}.status-message-card_skipped__3Dkbu{color:#ff8b00;color:var(--skipped,#ff8b00)}.status-message-card_unknown__3HJJA{color:#6c707c;color:var(--unknown,#6c707c)}.compositions_compositionsPage__3pBxI{height:100%;width:100%}.compositions_compositionPreview__7QD_-{padding-top:20px;width:100%}.compositions_left__1P90N{display:flex;flex-direction:column}.compositions_left__1P90N,.compositions_right__2b5YK{max-width:calc(100% - 200px);min-width:200px;overflow-y:auto}.compositions_right__2b5YK{background:#fafafa;background:var(--background-color,#fafafa)}.compositions_menuBar__2eHAy{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.compositions_splitter__26Yb3{position:relative}.compositions_splitter__26Yb3>:first-child{position:absolute;z-index:101}.compositions_collapser__2j0L7{right:0}.compositions_tabsContainer__KYyt6{display:flex;flex-direction:column;height:100%}.compositions_tabs__1iqCT{flex:none}.compositions_tabContent__1fcMt{flex:1 1;overflow:auto}.compositions_tabContent__1fcMt:empty{display:none}.compositions_compositions__1fIHU{padding:16px 8px 0}.compositions_openInNewTab__1Umr5{color:inherit;text-decoration:none}.compositions_openInNewTab__1Umr5:active{color:inherit}.compositions_noCompositionsPage__2n2JR{box-sizing:border-box;margin:0 auto;max-width:1440px;padding:50px 40px 100px;width:100%}.compositions_noCompositionsPage__2n2JR .compositions_title__U1my4{font-size:26px;font-size:var(--bit-h-xs,26px);margin-bottom:24px}.compositions_noCompositionsPage__2n2JR .compositions_separator__2P7UE{margin-bottom:41px}.compositions_buildStatusMessage__1U9r5{margin:auto}.compositions-panel_linkWrapper__2wP08{align-items:center;display:flex;font-size:var(--bit-p-xs);height:40px;justify-content:space-between;padding:0 12px;transition:all .3s ease-in-out}.compositions-panel_linkWrapper__2wP08:hover{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed);transition:background-color .3s ease-in-out}.compositions-panel_linkWrapper__2wP08:hover .compositions-panel_right__iG9rT{color:#6c707c;color:var(--bit-text-color-light,#6c707c);opacity:1;transition:visibility .2s,opacity .1s ease-in-out;visibility:inherit}.compositions-panel_linkWrapper__2wP08:hover .compositions-panel_right__iG9rT .compositions-panel_icon__1Dkmk:hover{color:var(--bit-text-color-heavy)}.compositions-panel_linkWrapper__2wP08.compositions-panel_active__29OAb{align-items:center;background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);color:#fff;color:var(--bit-bg-color,#fff);display:flex}.compositions-panel_linkWrapper__2wP08.compositions-panel_active__29OAb:hover{background-color:#5d4aec}.compositions-panel_linkWrapper__2wP08.compositions-panel_active__29OAb .compositions-panel_box__306KV{background-color:#fff;background-color:var(--bit-bg-color,#fff)}.compositions-panel_linkWrapper__2wP08.compositions-panel_active__29OAb .compositions-panel_right__iG9rT{color:#eceaff;color:var(--bit-accent-bg,#eceaff);opacity:1;visibility:inherit}.compositions-panel_linkWrapper__2wP08.compositions-panel_active__29OAb .compositions-panel_right__iG9rT .compositions-panel_icon__1Dkmk:hover{color:#fff;color:var(--bit-bg-color,#fff)}.compositions-panel_linkWrapper__2wP08 .compositions-panel_right__iG9rT{font-size:13px;opacity:0;transition:visibility .2s,opacity .1s ease-in-out;visibility:hidden}.compositions-panel_box__306KV{background-color:var(--bit-text-color-heavy);border-radius:1px;flex-shrink:0;height:10px;margin-right:11px;width:10px}.compositions-panel_name__3tWvO{margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compositions-panel_panelLink__24fFx{align-items:center;color:inherit;cursor:pointer;display:flex;height:100%;min-width:0;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.compositions-panel_panelLink__24fFx:active{color:inherit}.compositions-panel_tabs__3ns2e{align-items:center;display:flex;margin-bottom:17px}.compositions-panel_tabs__3ns2e>div{font-size:12px;font-weight:700;padding:8px;position:relative;text-transform:uppercase}.compositions-panel_tabs__3ns2e>div:not(:first-child){color:#878c9a}.compositions-panel_tabs__3ns2e>div:first-child:before{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);border-radius:10px;content:"";height:3px;left:0;position:absolute;right:0;top:0;transition:background-color .3s,height .3s}.top-bar-nav_topBarLink__1zCjq{align-items:center;box-sizing:border-box;color:inherit;display:flex;padding:0 4px;position:relative;text-decoration:none;transition:color .3s}.top-bar-nav_topBarLink__1zCjq:hover:not(.top-bar-nav_active__3wq7g)>div{background-color:var(--bit-bg-heavy)}.top-bar-nav_topBarLink__1zCjq.top-bar-nav_active__3wq7g{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.top-bar-nav_topBarLink__1zCjq.top-bar-nav_active__3wq7g:after{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);height:4px}.top-bar-nav_topBarLink__1zCjq:after{background-color:transparent;border-top-left-radius:2px;border-top-right-radius:2px;bottom:0;content:"";height:0;left:0;position:absolute;right:0;transition:background-color .3s,height .3s}.top-bar-nav_topBarLink__1zCjq>div{align-items:center;border-radius:8px;display:flex;height:30px;padding:0 8px;transition:background-color .3s ease-in-out}.abs-container_container__2aX43{position:relative}.abs-container_containee__hRCgP{position:absolute;visibility:hidden}[data-open=true] .abs-container_containee__hRCgP{visibility:visible}.positions_top__b4EnP{bottom:100%}.positions_top-start__3dA5R{bottom:100%;left:0}.positions_top-end__3554R{bottom:100%;right:0}.positions_right__laNnK{left:100%}.positions_right-start__3DlEW{left:100%;top:0}.positions_right-end__3gTt7{bottom:0;left:100%}.positions_bottom__1Jn2y{top:100%}.positions_bottom-start__2YGw4{left:0;top:100%}.positions_bottom-end__1XYgz{right:0;top:100%}.positions_left__3dqic{right:100%}.positions_left-start__33HrT{right:100%;top:0}.positions_left-end__24Rkl{bottom:0;right:100%}.positions_cover__2b2wM{left:0;top:0}.displacement_displacement__2OhnE[data-position^=top]{margin-bottom:var(--bit-drawer-margin)}.displacement_displacement__2OhnE[data-position^=right]{margin-left:var(--bit-drawer-margin)}.displacement_displacement__2OhnE[data-position^=bottom]{margin-top:var(--bit-drawer-margin)}.displacement_displacement__2OhnE[data-position^=left]{margin-right:var(--bit-drawer-margin)}.displacement_displacement__2OhnE[data-position=bottom-start],.displacement_displacement__2OhnE[data-position=top-start]{margin-left:var(--bit-drawer-indent)}.displacement_displacement__2OhnE[data-position=bottom-end],.displacement_displacement__2OhnE[data-position=top-end]{margin-right:var(--bit-drawer-indent)}.displacement_displacement__2OhnE[data-position^=left-start],.displacement_displacement__2OhnE[data-position^=right-start]{margin-top:var(--bit-drawer-indent)}.displacement_displacement__2OhnE[data-position^=left-end],.displacement_displacement__2OhnE[data-position^=right-end]{margin-bottom:var(--bit-drawer-indent)}.drawer_placeholder__3UFCF{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fade-in-out_fadeInOut__35c7b{opacity:0;transform:scale(.61);transition:all .18s}[data-open=true]>.fade-in-out_fadeInOut__35c7b{opacity:1;transform:scale(1)}.abs-container_container__3APe_{position:relative}.abs-container_containee__3tn8g{position:absolute;visibility:hidden}[data-open=true] .abs-container_containee__3tn8g{visibility:visible}.positions_top__4u_Me{bottom:100%}.positions_top-start__U9pL6{bottom:100%;left:0}.positions_top-end__3AqYP{bottom:100%;right:0}.positions_right__1iEsm{left:100%}.positions_right-start__2K-_c{left:100%;top:0}.positions_right-end__1zFj7{bottom:0;left:100%}.positions_bottom__2x9WJ{top:100%}.positions_bottom-start__amrFv{left:0;top:100%}.positions_bottom-end__187cJ{right:0;top:100%}.positions_left__2V-CZ{right:100%}.positions_left-start__av8a6{right:100%;top:0}.positions_left-end__3bYvg{bottom:0;right:100%}.positions_cover__v6uqO{left:0;top:0}.displacement_displacement__171Kl[data-position^=top]{margin-bottom:var(--bit-drawer-margin)}.displacement_displacement__171Kl[data-position^=right]{margin-left:var(--bit-drawer-margin)}.displacement_displacement__171Kl[data-position^=bottom]{margin-top:var(--bit-drawer-margin)}.displacement_displacement__171Kl[data-position^=left]{margin-right:var(--bit-drawer-margin)}.displacement_displacement__171Kl[data-position=bottom-start],.displacement_displacement__171Kl[data-position=top-start]{margin-left:var(--bit-drawer-indent)}.displacement_displacement__171Kl[data-position=bottom-end],.displacement_displacement__171Kl[data-position=top-end]{margin-right:var(--bit-drawer-indent)}.displacement_displacement__171Kl[data-position^=left-start],.displacement_displacement__171Kl[data-position^=right-start]{margin-top:var(--bit-drawer-indent)}.displacement_displacement__171Kl[data-position^=left-end],.displacement_displacement__171Kl[data-position^=right-end]{margin-bottom:var(--bit-drawer-indent)}.tooltip-card_menu__2mMYg{background:var(--bit-bg-tooltip);padding:8px}.arrow_arrow__zHjMa{margin:0 auto;position:absolute}.arrow_arrow__zHjMa:before{background:var(--bit-bg-tooltip);content:"";display:block;height:10px;transform:rotate(45deg);width:10px}.arrow-position_bottom__1s62s,.arrow-position_top__1jlTG{left:calc(50% - 5px)}.arrow-position_left__3hZAQ,.arrow-position_right__3CRpn{top:calc(50% - 5px)}.arrow-position_cover__XWJ6X,.arrow-position_none__FXufj{display:none}.arrow-shadow_top-end__2Uoqd:before,.arrow-shadow_top-start__2hJGY:before,.arrow-shadow_top__3mLj2:before{box-shadow:2px 2px 4px 0 rgba(0,0,0,.1)}.arrow-shadow_bottom-end__6oqTd:before,.arrow-shadow_bottom-start__Kmi4q:before,.arrow-shadow_bottom__3xJEl:before{box-shadow:-2px -2px 4px 0 rgba(0,0,0,.1)}.arrow-shadow_right-end__2p_gK:before,.arrow-shadow_right-start__1ayH0:before,.arrow-shadow_right__2hu5e:before{box-shadow:-2px 2px 4px 0 rgba(0,0,0,.1)}.arrow-shadow_left-end__12gaW:before,.arrow-shadow_left-start__3iPjS:before,.arrow-shadow_left__2dI6k:before{box-shadow:2px -2px 4px 0 rgba(0,0,0,.1)}.tooltip-drawer_tooltip__3pAdM{--bit-drawer-margin:10px}.tooltip-drawer_arrow__207Yj{--bit-drawer-margin:5px;--bit-drawer-indent:8px}.key_keyCombo__339Eo{align-items:center;display:flex;white-space:nowrap}.key_keyCombo__339Eo .key_keycap__DZuL3{margin-right:4px}.key_keyCombo__339Eo .key_keycap__DZuL3:last-child{margin-right:0}.key_keySequence__dfdz-{align-items:center;display:flex;white-space:nowrap}.key_keycap__DZuL3{align-items:center;background-color:#f6f6f6;background-color:var(--bit-bg-dent,#f6f6f6);border-radius:3px;box-sizing:border-box;color:#6c707c;color:var(--bit-text-color-light,#6c707c);display:flex;font-size:12px;height:1.7em;justify-content:center;min-width:1.7em;padding:0 .4em;text-transform:uppercase}.key_thenSep__3R73d{font-size:.8em;margin:0 4px}.main-dropdown_mainDropdown__3Ovqc{height:100%}.main-dropdown_mainDropdown__3Ovqc>div{align-items:center;display:flex;height:100%}.main-dropdown_mainDropdown__3Ovqc .main-dropdown_menu__2IgJ3{border-radius:6px;font-size:var(--bit-p-xs);padding:0;right:-5px;width:300px}.main-dropdown_mainDropdown__3Ovqc .main-dropdown_menu__2IgJ3>div{margin-bottom:8px}.main-dropdown_iconAnchor__2jwxY{align-items:center;border-radius:6px;cursor:pointer;display:flex;font-size:16px;height:30px;transition:background-color .3s ease-in-out}[data-open=true] .main-dropdown_iconAnchor__2jwxY{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}[data-open=true] .main-dropdown_iconAnchor__2jwxY,[data-open=true] .main-dropdown_iconAnchor__2jwxY:hover{background-color:#fff;background-color:var(--bit-bg-color,#fff)}.main-dropdown_iconAnchor__2jwxY:hover{background-color:var(--bit-bg-heavy)}.main-dropdown_icon__2zTpv{padding:0 8px}.main-dropdown_menuBlock__1CnXe{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);padding:16px 0 10px}.main-dropdown_menuBlock__1CnXe:last-child{border-bottom:none}.main-dropdown_title__iAF3-{color:#878c9a;font-size:10px;font-weight:700;margin-bottom:8px;padding:0 16px;text-transform:uppercase}.main-dropdown_line__UeTE-{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;padding:0 16px}.main-dropdown_line__UeTE-:hover{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff)}.item_menuItem__3Ukn0{align-items:center;color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);display:flex;padding:8px;text-decoration:none}.item_menuItem__3Ukn0 .item_icon__3JTpQ{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:1.15em;margin-right:.76em}.item_interactive__2tJhH:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6);cursor:pointer}.item_active__2xR2w,.item_active__2xR2w:hover{background:#eceaff;background:var(--bit-accent-bg,#eceaff)}.item_active__2xR2w .item_icon__3JTpQ{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.abs-container_container__1CNYz{position:relative}.abs-container_containee__25lt3{position:absolute;visibility:hidden}[data-open=true] .abs-container_containee__25lt3{visibility:visible}.positions_top__3WW5f{bottom:100%}.positions_top-start__C1RNy{bottom:100%;left:0}.positions_top-end__1CDmZ{bottom:100%;right:0}.positions_right__2Plh1{left:100%}.positions_right-start__pdSlA{left:100%;top:0}.positions_right-end__VB1Mw{bottom:0;left:100%}.positions_bottom__25P4Z{top:100%}.positions_bottom-start__3l964{left:0;top:100%}.positions_bottom-end__3aCzI{right:0;top:100%}.positions_left__3_9dR{right:100%}.positions_left-start__35DVP{right:100%;top:0}.positions_left-end__1IeQ7{bottom:0;right:100%}.positions_cover__19bdw{left:0;top:0}.displacement_displacement__3-RcS[data-position^=top]{margin-bottom:var(--bit-drawer-margin)}.displacement_displacement__3-RcS[data-position^=right]{margin-left:var(--bit-drawer-margin)}.displacement_displacement__3-RcS[data-position^=bottom]{margin-top:var(--bit-drawer-margin)}.displacement_displacement__3-RcS[data-position^=left]{margin-right:var(--bit-drawer-margin)}.displacement_displacement__3-RcS[data-position=bottom-start],.displacement_displacement__3-RcS[data-position=top-start]{margin-left:var(--bit-drawer-indent)}.displacement_displacement__3-RcS[data-position=bottom-end],.displacement_displacement__3-RcS[data-position=top-end]{margin-right:var(--bit-drawer-indent)}.displacement_displacement__3-RcS[data-position^=left-start],.displacement_displacement__3-RcS[data-position^=right-start]{margin-top:var(--bit-drawer-indent)}.displacement_displacement__3-RcS[data-position^=left-end],.displacement_displacement__3-RcS[data-position^=right-end]{margin-bottom:var(--bit-drawer-indent)}.dropdown_dropdown__3IJlT{padding:8px}.tab_tab__1-xLU{align-items:center;border-bottom:3px solid #fff;border-bottom:3px solid var(--bit-bg-modal,#fff);box-sizing:border-box;cursor:pointer;display:flex;margin-right:8px;padding:0 16px 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tab_tab__1-xLU.tab_active__2zTkm{border-bottom:3px solid #6c5ce7;border-bottom:3px solid var(--bit-accent-color,#6c5ce7);cursor:inherit}.styles_avatar__2JKuv{align-items:center;border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:50%;box-sizing:border-box;display:inline-flex;font-weight:700;justify-content:center;position:relative;text-align:center;text-transform:uppercase}.styles_avatar__2JKuv .styles_tooltip__2TKbE{max-width:13ch}.styles_avatar__2JKuv .styles_letter__2_QEE{color:#fff;color:var(--bit-bg-color,#fff);display:inline-block;justify-self:center;text-align:center}.styles_avatar__2JKuv .styles_orgDefault__1-5lA{display:inline-block;text-align:center}.styles_avatarImg__2Nqdy{border-radius:50%;bottom:0;box-sizing:border-box;height:100%;left:0;margin:auto;position:absolute;right:0;top:0;width:100%}.styles_soloAvatarIcon__2TDEj{align-items:center;display:flex;justify-content:center;overflow:hidden}.styles_default__3E7IX{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed);border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);box-sizing:border-box}.letter-colors_a__23SOf{color:#ff6b81}.letter-colors_b__1VbUQ{color:coral}.letter-colors_c__1J0MA{color:#efc951}.letter-colors_d__2eQBx{color:#94cd53}.letter-colors_e__1jpkh{color:#57606f}.letter-colors_f__Nu8QV{color:#ffa502}.letter-colors_g__ryUxw{color:#409d94}.letter-colors_h__1X3Qu{color:#ff4757}.letter-colors_i__pOpTr{color:#747d8c}.letter-colors_j__1OWTx{color:#2f3542}.letter-colors_k__6tPVW{color:#c47367}.letter-colors_l__3HFpz{color:#70a1ff}.letter-colors_m__3FZjh{color:#6665e2}.letter-colors_n__1DsAf{color:#2c437e}.letter-colors_o__2Vij_{color:#60a3bc}.letter-colors_p__3BMK7{color:#2ed573}.letter-colors_q__XfmwL{color:#1e90ff}.letter-colors_r__22DA7{color:#275a80}.letter-colors_s__3pRw7{color:#7e6a6a}.letter-colors_t__12k7w{color:#5fc068}.letter-colors_u__1bujB{color:#d03961}.letter-colors_v__2k9lJ{color:#006266}.letter-colors_w__17D2C{color:#833471}.letter-colors_x__XbGR9{color:#fda7df}.letter-colors_y__2Itga{color:#12cbc4}.letter-colors_z__1I3vZ{color:#4a69bd}.letter-bg-colors_a__29e2g{background-color:#ff6b81}.letter-bg-colors_b__2AYJz{background-color:coral}.letter-bg-colors_c__3w8af{background-color:#efc951}.letter-bg-colors_d__1iV7W{background-color:#94cd53}.letter-bg-colors_e__3N-Gy{background-color:#57606f}.letter-bg-colors_f__2UQPA{background-color:#ffa502}.letter-bg-colors_g__2hWNc{background-color:#409d94}.letter-bg-colors_h__1RDVl{background-color:#ff4757}.letter-bg-colors_i__3hXob{background-color:#747d8c}.letter-bg-colors_j__3BK6C{background-color:#2f3542}.letter-bg-colors_k__2rvky{background-color:#c47367}.letter-bg-colors_l__2HBb0{background-color:#70a1ff}.letter-bg-colors_m__3mLrw{background-color:#6665e2}.letter-bg-colors_n__1--BK{background-color:#2c437e}.letter-bg-colors_o__8W24x{background-color:#60a3bc}.letter-bg-colors_p__s5PYF{background-color:#2ed573}.letter-bg-colors_q__1fCLU{background-color:#1e90ff}.letter-bg-colors_r__c4XuG{background-color:#275a80}.letter-bg-colors_s__dVMUw{background-color:#7e6a6a}.letter-bg-colors_t__1fFKd{background-color:#5fc068}.letter-bg-colors_u__C5ZbO{background-color:#d03961}.letter-bg-colors_v__2tTv8{background-color:#006266}.letter-bg-colors_w__3KpVz{background-color:#833471}.letter-bg-colors_x__3F6bW{background-color:#fda7df}.letter-bg-colors_y__3wPL9{background-color:#12cbc4}.letter-bg-colors_z__2Z-IZ{background-color:#4a69bd}.ellipsis_ellipsisDiv__1v6Vy,.ellipsis_ellipsis__3YM0m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ellipsis_ellipsisDiv__1v6Vy{display:inline-block}.skeleton_block__1hSI1,.skeleton_circle__3Cobv,.skeleton_skeleton__1tpvR{background:currentColor}.skeleton_line__2f0cm>*,.skeleton_skeletonContent__2fHEv>*,.skeleton_word__2w0x0>*{background:currentColor;display:inline-block;line-height:1}.skeleton_word__2w0x0{display:inline-block;font-family:monospace;-webkit-user-select:none;-moz-user-select:none;user-select:none}.skeleton_line__2f0cm>*{width:100%}.skeleton_circle__3Cobv{border-radius:50%!important;display:inline-block;height:1em;width:1em}.skeleton-design_line__2PnXX>*,.skeleton-design_skeletonContent__2I9RB>*,.skeleton-design_word__3OuzB>*{border-radius:4px}.skeleton-design_block__1vbUT,.skeleton-design_circle__33Iah,.skeleton-design_line__2PnXX>*,.skeleton-design_shimmer__21A9J,.skeleton-design_skeletonContent__2I9RB>*,.skeleton-design_skeleton__33Hbu,.skeleton-design_word__3OuzB>*{animation:skeleton-design_placeHolderShimmer__BCFBs 1.5s linear infinite forwards;background-image:linear-gradient(90deg,currentColor 0,#ffffff61 30%,#ffffff61 70%,currentColor);background-repeat:no-repeat;background-size:10vw}@keyframes skeleton-design_skeleton-effect-fade__3-EBn{0%{opacity:1}50%{opacity:.6}to{opacity:1}}@keyframes skeleton-design_placeHolderShimmer__BCFBs{0%{background-position:-10vw 0}to{background-position:100vw 0}}.skeleton-design_block__1vbUT{border-radius:4px}.version-dropdown_versionDropdown__1TpY8{height:100%}.version-dropdown_versionDropdown__1TpY8>div{align-items:center;display:flex;height:100%}.version-dropdown_versionDropdown__1TpY8 .version-dropdown_menu__1MpTM{border-radius:6px;font-size:var(--bit-p-xs);padding:0;right:0;z-index:5000}.version-dropdown_title__1R3Qy{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);padding:16px 16px 12px}.version-dropdown_titleContainer__3O-Eh{margin-bottom:2px}.version-dropdown_versionContainer__f4E7K{max-height:240px;overflow-y:scroll;padding-bottom:8px}.version-dropdown_versionRow__3FKYu{align-items:center;display:flex;height:40px;justify-content:space-between;padding:0 16px}.version-dropdown_versionRow__3FKYu.version-dropdown_localVersion__1LzE1{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.version-dropdown_versionRow__3FKYu .version-dropdown_versionTimestamp__bf37T{margin-right:2px}.version-dropdown_versionRow__3FKYu .version-dropdown_versionUserAvatar__2FGpO{padding:0 8px}.version-dropdown_versionRow__3FKYu .version-dropdown_laneIcon__IEHqM{padding:0 4px}.version-dropdown_versionRow__3FKYu .version-dropdown_version__3SqAw{align-content:space-between;align-items:center;display:flex;flex-direction:row;width:60%}.version-dropdown_versionRow__3FKYu .version-dropdown_versionName__14kXn{min-width:-moz-fit-content;min-width:fit-content;padding:0 8px}.version-dropdown_withVersions__36kC_{cursor:pointer}.version-dropdown_withVersions__36kC_>div{margin-right:5px}.version-dropdown_withVersions__36kC_>span{display:inline;display:initial}.version-dropdown_withVersions__36kC_:hover{background-color:var(--bit-bg-heavy)}[data-open=true] .version-dropdown_withVersions__36kC_{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7);transition:color .3s,background-color .3s ease-in-out}[data-open=true] .version-dropdown_withVersions__36kC_,[data-open=true] .version-dropdown_withVersions__36kC_:hover{background-color:#fff;background-color:var(--bit-bg-color,#fff)}.version-dropdown_tabs__1l9pu{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);display:flex;line-height:14px;margin-top:8px;overflow-x:auto;padding:0 24px}.version-dropdown_tabs__1l9pu .version-dropdown_tab__1hOui{font-size:12px;font-weight:700;padding-top:4px}.version-dropdown_loading__12LQu{color:#f6f6f6;color:var(--bit-bg-heavy,#f6f6f6)}.pill-label_pillLabel__2jikD{align-items:center;border:1px solid #ededed;border-color:var(--bit-border-color-lightest,#ededed);border-radius:12px;color:#6c707c;color:var(--bit-text-color-light,#6c707c);display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);padding:2px 8px;text-transform:capitalize;width:-moz-fit-content;width:fit-content}.version-label_label__yTbuq.version-label_latest__39qtB{border-color:#37b26c;color:#37b26c}.version-label_label__yTbuq.version-label_current__3Enxc{border-color:#0984e3;color:#0984e3}.version-label_versionLabel__2GU0U{align-self:flex-end;margin-bottom:16px}.version-label_emptyLabel__a9LvI{height:25px;margin-bottom:16px}.version-label_labelContainer__OPzRy{display:flex;flex-direction:column}.ellipsis_ellipsisDiv__3SkbQ,.ellipsis_ellipsis__1nI4V{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ellipsis_ellipsisDiv__3SkbQ{display:inline-block}.version-info_versionRow__2pOjR{align-items:center;display:flex;height:40px;justify-content:space-between;padding:0 16px}.version-info_versionTimestamp__EBINT{margin-right:2px;min-width:-moz-fit-content;min-width:fit-content;text-align:right}.version-info_versionUserAvatar__jZVaG{padding:0 8px}.version-info_laneIcon__2-H4C{padding:0 4px}.version-info_version__YSY8z{align-content:space-between;align-items:center;display:flex;flex-direction:row;max-width:70%}.version-info_versionName__35RoS{padding:0 8px}.version-info_versionName__35RoS.version-info_tag__MUhcT{min-width:-moz-fit-content;min-width:fit-content}.version-info_versionName__35RoS.version-info_snap__2u17t{min-width:20%}.version-info_commitMessage__10JOK,.version-info_emptyMessage__3WLjs{min-width:50%;padding:0 8px}.version-info_emptyMessage__3WLjs{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-style:italic}.lane-info_versionRow__2I9cB{align-items:center;display:flex;height:40px;justify-content:space-between;padding:0 24px}.lane-info_versionRow__2I9cB .lane-info_versionTimestamp__281AQ{margin-right:2px}.lane-info_versionRow__2I9cB .lane-info_versionUserAvatar__2MkH1{padding:0 8px}.lane-info_versionRow__2I9cB .lane-info_laneIcon__3xd3V{padding:0 4px}.lane-info_versionRow__2I9cB .lane-info_version__2Lom_{align-content:space-between;align-items:center;display:flex;flex-direction:row;width:60%}.lane-info_versionRow__2I9cB .lane-info_versionName__3FF8J{padding:0 8px}.version-dropdown-placeholder_simple__2ntbt{align-items:center;border:1px solid #babec9;border:1px solid var(--bit-border-color,#babec9);border-radius:6px;box-sizing:border-box;cursor:pointer;display:flex;height:30px;padding:0 8px;transition:background-color .3s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.version-dropdown-placeholder_simple__2ntbt>div{margin-right:5px}.version-dropdown-placeholder_simple__2ntbt:hover{background-color:var(--bit-bg-heavy)}.version-dropdown-placeholder_simple__2ntbt>div{max-width:80px}.version-dropdown-placeholder_simple__2ntbt.version-dropdown-placeholder_disabled__1Ehku{background-color:#ededed;cursor:default}.version-dropdown-placeholder_simple__2ntbt.version-dropdown-placeholder_disabled__1Ehku>span{display:none}.version-dropdown-placeholder_simple__2ntbt .version-dropdown-placeholder_versionName__GwG9W.version-dropdown-placeholder_tag__E97dk{min-width:-moz-fit-content;min-width:fit-content}.version-dropdown-placeholder_simple__2ntbt .version-dropdown-placeholder_versionName__GwG9W.version-dropdown-placeholder_snap__2bdVI{min-width:20%}.version-dropdown-placeholder_detailed__1_8Z1{align-items:center;border:1px solid #babec9;border:1px solid var(--bit-border-color,#babec9);border-radius:6px;box-sizing:border-box;cursor:pointer;display:flex;height:30px;padding:0 8px;transition:background-color .3s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.version-dropdown-placeholder_detailed__1_8Z1>div{margin-right:5px}.version-dropdown-placeholder_detailed__1_8Z1:hover{background-color:var(--bit-bg-heavy)}.version-dropdown-placeholder_detailed__1_8Z1>div{max-width:80px}.version-dropdown-placeholder_detailed__1_8Z1.version-dropdown-placeholder_disabled__1Ehku{background-color:#ededed;cursor:default}.version-dropdown-placeholder_detailed__1_8Z1.version-dropdown-placeholder_disabled__1Ehku>span{display:none}.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_versionName__GwG9W.version-dropdown-placeholder_tag__E97dk{min-width:-moz-fit-content;min-width:fit-content}.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_versionName__GwG9W.version-dropdown-placeholder_snap__2bdVI{min-width:20%}.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_commitMessage__kt6HM,.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_emptyMessage__1Ug7w{max-width:50%;padding:0 8px}.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_emptyMessage__1Ug7w{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-style:italic}.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_author__1BWHr{min-width:-moz-fit-content;min-width:fit-content;text-transform:capitalize}.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_versionTimestamp__39dAG{margin-right:2px;min-width:-moz-fit-content;min-width:fit-content;text-align:right}.version-dropdown-placeholder_detailed__1_8Z1 .version-dropdown-placeholder_versionUserAvatar__11SAY{flex:none}.full-loader_fullLoader__TqEQZ{align-items:center;display:flex;font-size:24px;height:100%;justify-content:center;width:100%}.dropdown_menu__3YpNv{border-radius:6px;font-size:14px;font-size:var(--bit-p-xs,14px);padding:0;width:400px;z-index:102}.dropdown_placeholder__2cwY5{align-items:center;background-color:#fff;background-color:var(--bit-bg-color,#fff);border:1px solid #37b26c;border-radius:6px;box-sizing:border-box;color:#37b26c;cursor:pointer;display:flex;height:30px;padding:0 6px;transition:background-color .3s,color .3s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dropdown_placeholder__2cwY5:hover{background-color:#2e945a;border-color:#2e945a;color:#fff;color:var(--bit-bg-color,#fff)}@media screen and (max-width:768px){.dropdown_placeholder__2cwY5{padding:0 8px}.dropdown_placeholder__2cwY5 .dropdown_content__8JQa4{display:none}}.dropdown_placeholder__2cwY5>span:first-child{font-size:17px}[data-open=true] .dropdown_placeholder__2cwY5{background-color:#2e945a;border-color:#2e945a;color:#fff;color:var(--bit-bg-color,#fff);transition:color .3s,background-color .3s ease-in-out}.dropdown_placeholder__2cwY5>div{padding:0 6px}.menu_container__lqq7Y{z-index:5000}.menu_top__2p4D_{color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);padding:16px 24px 24px}.menu_title__1w1jT{align-items:center;display:flex;font-size:var(--bit-p-xs);font-weight:700}.menu_title__1w1jT>span:first-child{font-weight:inherit;margin-right:8px}.menu_drawer__2aWtG{justify-content:space-between}.menu_drawer__2aWtG>div{align-items:center;display:flex}.menu_drawer__2aWtG>div>span:first-child{font-size:16px;font-size:var(--bit-p-md,16px);margin-right:8px}.menu_tabs__3yOVK{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);display:flex;line-height:14px;overflow-x:auto;padding:0 24px}.menu_registry__1WitH>div:last-child{border-top:none;padding:0}.menu_importContent__1XPan>div{margin:12px 0}.menu_importContent__1XPan>div:nth-child(2),.menu_importContent__1XPan>div:nth-child(4){margin-bottom:24px}.menu_bottom__1o1Mx{align-items:center;display:flex}.menu_bottom__1o1Mx>span:first-child{font-size:16px;font-size:var(--bit-p-md,16px);margin-right:8px}.tab-content_middle__xNK67{margin:0 24px 16px}.tab-content_middle__xNK67>div{margin:12px 0}.tab-content_bottom__2QURg{border-top:1px solid #ededed;border-top:1px solid var(--bit-border-color-lightest,#ededed);padding:8px 0}.tab-content_drawer__ajArV{align-items:center;display:flex;justify-content:space-between}.tab-content_open__19X_8{transform:rotate(180deg)}.bottom-link_link__1qrGu{align-items:center;color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);cursor:pointer;display:flex;height:40px;padding:0 24px;text-decoration:none;text-decoration:initial}.bottom-link_link__1qrGu:hover{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed)}.bottom-link_link__1qrGu>span:first-child{font-size:16px;font-size:var(--bit-p-md,16px);margin-right:8px}.copy-box_copyBox__3AsM2{align-items:center;background:var(--bit-bg-dent);border:1px solid var(--bit-border-color-lightest);border-radius:6px;display:flex;font-size:var(--bit-p-xs);height:40px;justify-content:space-between;min-width:80px;padding:0 11px}.copy-box_copyBox__3AsM2 .copy-box_leftSection__UcREq{font-family:monospace;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:all;-moz-user-select:all;user-select:all;white-space:pre}.copy-box_button__2gYYJ{background-color:var(--bit-bg-color-highlight);border:none;box-sizing:border-box;color:var(--bit-accent-color);cursor:pointer;outline:none}.copy-box_rightSection__1hxC1{align-items:center;display:flex;position:relative}.copy-box_copyIcon__3JvDX{font-size:var(--bit-p-lg)}.bit-info_moreInfo__27S9s>div:last-child{border-top:none;padding:0}.inline-code_inlineCode__32YCK{background-color:#a6a6a633;border-radius:.25em;font-family:monospace,sans-serif;font-size:.85em;padding:.2em .4em}.inline-code_highlight__2iDu_{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff)}.abs-container_container__1VZLN{position:relative}.abs-container_containee__3MbBv{position:absolute;visibility:hidden}[data-open=true] .abs-container_containee__3MbBv{visibility:visible}.positions_top__1oHYT{bottom:100%}.positions_top-start__DQlHE{bottom:100%;left:0}.positions_top-end__Dwy8f{bottom:100%;right:0}.positions_right__3d5U4{left:100%}.positions_right-start__2IKYx{left:100%;top:0}.positions_right-end__RsZHo{bottom:0;left:100%}.positions_bottom__5YPqu{top:100%}.positions_bottom-start__2rRxd{left:0;top:100%}.positions_bottom-end__3_7om{right:0;top:100%}.positions_left__ZzRyV{right:100%}.positions_left-start__DZIMA{right:100%;top:0}.positions_left-end__F65Ze{bottom:0;right:100%}.positions_cover__1bvBS{left:0;top:0}.displacement_displacement__wDLm_[data-position^=top]{margin-bottom:var(--bit-drawer-margin)}.displacement_displacement__wDLm_[data-position^=right]{margin-left:var(--bit-drawer-margin)}.displacement_displacement__wDLm_[data-position^=bottom]{margin-top:var(--bit-drawer-margin)}.displacement_displacement__wDLm_[data-position^=left]{margin-right:var(--bit-drawer-margin)}.displacement_displacement__wDLm_[data-position=bottom-start],.displacement_displacement__wDLm_[data-position=top-start]{margin-left:var(--bit-drawer-indent)}.displacement_displacement__wDLm_[data-position=bottom-end],.displacement_displacement__wDLm_[data-position=top-end]{margin-right:var(--bit-drawer-indent)}.displacement_displacement__wDLm_[data-position^=left-start],.displacement_displacement__wDLm_[data-position^=right-start]{margin-top:var(--bit-drawer-indent)}.displacement_displacement__wDLm_[data-position^=left-end],.displacement_displacement__wDLm_[data-position^=right-end]{margin-bottom:var(--bit-drawer-indent)}.drawer_placeholder__2BQ82{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.elevations_low__1nNck{box-shadow:0 2px 8px 0 rgba(0,0,0,.2);box-shadow:var(--bit-shadow-hover-low,0 2px 8px 0 rgba(0,0,0,.2))}.elevations_medium__IDMZe{box-shadow:0 0 20px 0 rgba(0,0,0,.12),0 2px 6px 0 rgba(0,0,0,.24);box-shadow:var(--bit-shadow-hover-medium,0 0 20px 0 rgba(0,0,0,.12),0 2px 6px 0 rgba(0,0,0,.24))}.elevations_high__3kQkA{box-shadow:0 11px 29px 0 rgba(0,0,0,.23);box-shadow:var(--bit-shadow-hover-high,0 11px 29px 0 rgba(0,0,0,.23))}.background_bedrock__1zcmz{background:#fff;background:var(--bit-bg-bedrock,#fff)}.background_base__3T-HL,.background_layer__1P9a_{background:#fff;background:var(--bit-bg-color,#fff)}.background_crust__1A4WN{background:#fff;background:var(--bit-bg-tooltip,#fff)}.background_topping__3TX3g{background:#fff;background:var(--bit-bg-color,#fff)}.background_topping__3TX3g:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.background_dent__YHaUu{background:#f6f6f6;background:var(--bit-bg-dent,#f6f6f6)}.menu-item_menuItem__2HSwv{align-items:center;background-color:transparent;color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);display:flex;padding:8px;text-decoration:none;transition:background-color .15s ease-in-out,color .15s ease-in-out,border-color .15s ease-in-out}.menu-item_withIcon__3ORD4>:first-child{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:1.15em;margin-right:.76em}.menu-item_withIcon__3ORD4.menu-item_active__2Spr3>:first-child{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.menu-item_interactive__1uu9j:hover{background-color:#f6f6f6;background-color:var(--bit-bg-heavy,#f6f6f6);cursor:pointer}.menu-item_active__2Spr3,.menu-item_active__2Spr3:hover{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff)}.dropdown_dropdownPlaceholder__NqM6w{border:1px solid #ededed;border:1px solid var(--border-medium-color,#ededed);border-radius:8px;justify-content:space-between;padding:.69em 1em}.dropdown_dropdownPlaceholder__NqM6w:hover{background-color:#f4f5f6;background-color:var(--surface-neutral-hover-color,#f4f5f6);border:1px solid #cecece;border:1px solid var(--border-medium-hover-color,#cecece)}.dropdown_dropdownPlaceholder__NqM6w:active{background-color:#eeeff2;background-color:var(--surface-neutral-active-color,#eeeff2);border:1px solid #babec9;border:1px solid var(--border-high-color,#babec9)}.dropdown_removePlaceholderBorder__SToUX .dropdown_dropdownPlaceholder__NqM6w{border:none}.dropdown_dropdownMenu__1Iy0B{border:1px solid #ededed;border:1px solid var(--border-medium-color,#ededed);box-sizing:border-box;min-width:220px;padding:8px 0}.icon-button_iconButton__39tTD{align-items:center;border-radius:8px;display:flex;padding:7px 16px;transition:background-color .3s ease-in-out}.icon-button_iconButton__39tTD.icon-button_iconOnly__3UFho{padding:6px 8px}.icon-button_iconButton__39tTD[data-priority=ghost]{background-color:#fff;background-color:var(--bit-bg-color,#fff);border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b)}.icon-button_iconButton__39tTD[data-priority=ghost].icon-button_active__3Tg3n,.icon-button_iconButton__39tTD[data-priority=ghost].icon-button_active__3Tg3n.icon-button_withIcon__L8kMr>:first-child{border-color:#6c5ce7;border-color:var(--bit-accent-color,#6c5ce7);color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.icon-button_iconButton__39tTD[data-priority=ghost]:hover{background-color:#f6f6f6;background-color:var(--bit-bg-heavy,#f6f6f6)}.icon-button_iconButton__39tTD[data-priority=ghost]:active{background-color:#ededed;background-color:var(--bit-bg-heaviest,#ededed)}.icon-button_iconButton__39tTD[data-priority=ghost]:disabled:hover{background-color:#fff;background-color:var(--bit-bg-color,#fff)}.icon-button_iconButton__39tTD[data-priority=cta]{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);border:1px solid #6c5ce7;border:1px solid var(--bit-accent-color,#6c5ce7);color:#fff;color:var(--bit-text-on-accent,#fff)}.icon-button_iconButton__39tTD[data-priority=cta]:hover:not(:disabled){background-color:#5d4aec;background-color:var(--bit-accent-heavy,#5d4aec);border:1px solid #5d4aec;border:1px solid var(--bit-accent-heavy,#5d4aec)}.icon-button_iconButton__39tTD[data-priority=cta]:disabled{background-color:#f6f6f6;background-color:var(--bit-bg-heavy,#f6f6f6);border-color:#f6f6f6;border-color:var(--bit-bg-heavy,#f6f6f6)}.icon-button_iconButton__39tTD:disabled{color:#babec9;color:var(--bit-border-color,#babec9);cursor:not-allowed}.icon-button_iconButton__39tTD:focus{box-shadow:0 0 0 .125em #eceaff;box-shadow:0 0 0 .125em var(--bit-accent-bg,#eceaff);outline:none}.icon-button_iconButton__39tTD.icon-button_withoutBorder__PWOI4{border:1px solid transparent}.icon-button_withIcon__L8kMr>:first-child{color:inherit;font-size:16px}.icon-button_withIcon__L8kMr.icon-button_margin__9KA5j>:first-child{margin-right:8px}.sizes_buttonSizes__2_A6B[data-size=s]{font-size:14px;height:32px}.sizes_buttonSizes__2_A6B[data-size=m]{font-size:16px;height:40px}.sizes_buttonSizes__2_A6B[data-size=l]{font-size:16px;height:48px}.buttons-plugin_buttonsHolder__1PkOc{align-items:center;border-top:1px solid #ededed;border-top:1px solid var(--design-border-medium-color,#ededed);display:flex;justify-content:space-between;padding:12px 16px 4px}.buttons-plugin_clearText__3IabZ{color:#9598a1;color:var(--design-on-surface-low-color,#9598a1);cursor:pointer}.tab-line_tabLine__1qyi1{background-color:#6c5ce7;background-color:var(--primary-color,#6c5ce7);height:4px;left:0;position:absolute;transition:transform .15s ease-in-out,width .15s ease-in-out}.tab-line_tabLine__1qyi1[data-position=top]{top:0}.tab-line_tabLine__1qyi1[data-position=bottom]{bottom:0}.tab-folder_tabFolder__3rBoJ{background-color:#f6f5fe;background-color:var(--primary-surface-color,#f6f5fe);border:1px solid #ededed;border:1px solid var(--border-medium-color,#ededed);border-radius:8px 8px 0 0;bottom:0;box-sizing:border-box;height:100%;left:0;position:absolute;transition:transform .15s ease-in-out,width .15s ease-in-out}.responsive-navbar_tab__1B0pX{align-items:center;color:#878c9a;cursor:pointer;display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);outline:none;padding:8px 16px;pointer-events:none;position:relative;transition:color .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.responsive-navbar_tab__1B0pX.responsive-navbar_active__Q2F6f,.responsive-navbar_tab__1B0pX:hover{color:#2b2b2b;color:var(--on-surface-color,#2b2b2b)}.responsive-navbar_tab__1B0pX.responsive-navbar_active__Q2F6f[data-priority=folder]{color:#6c5ce7;color:var(--primary-color,#6c5ce7);transition:transform .15s ease-in-out,color .15s ease-in-out}.responsive-navbar_tab__1B0pX[data-priority=folder]{z-index:1}.responsive-navbar_tab__1B0pX>*{pointer-events:auto}.responsive-navbar_navTabs__1o64S{display:flex;gap:8px;position:relative}.responsive-navbar_navTabs__1o64S.responsive-navbar_overflow__2qQQ1{overflow-x:auto}.responsive-navbar_more__efqaB{align-items:center;display:flex}.responsive-navbar_more__efqaB .responsive-navbar_dots__259gL{align-items:center;border-radius:8px;color:#707279;color:var(--on-surface-medium-color,#707279);cursor:pointer;display:flex;justify-content:center;padding:8px 16px;transition:background-color .3s ease-in-out}.responsive-navbar_more__efqaB .responsive-navbar_dots__259gL>img{width:16px}.responsive-navbar_secondaryTabContainer__1SUB_ .responsive-navbar_item__3h1i3{pointer-events:none;width:100%}.responsive-navbar_secondaryTabContainer__1SUB_ .responsive-navbar_item__3h1i3 .responsive-navbar_menuItem__1jskH{padding:0;pointer-events:auto}.responsive-navbar_secondaryTabContainer__1SUB_ .responsive-navbar_item__3h1i3 .responsive-navbar_menuItem__1jskH>*{padding:8px;width:100%}.responsive-navbar_hidden__32Tjc{display:none}.menu_topBar__3gehv{justify-content:space-between;width:100%}.menu_leftSide__1Aqri,.menu_topBar__3gehv{align-items:center;display:flex;height:100%;min-width:0}.menu_leftSide__1Aqri{flex-grow:1}.menu_navigation__rWXfS{height:100%;list-style:none;padding-left:28px}@media screen and (max-width:768px){.menu_navigation__rWXfS{padding-left:0}}.menu_navigation__rWXfS li{display:block;height:100%;margin-right:16px}.menu_navigation__rWXfS.menu_desktopNav__14GWa{display:flex}@media screen and (max-width:768px){.menu_navigation__rWXfS.menu_desktopNav__14GWa{display:none}}.menu_navigation__rWXfS.menu_mobileNav__BYE-m{align-items:center;display:none}@media screen and (max-width:1200px){.menu_navigation__rWXfS.menu_mobileNav__BYE-m{display:flex;margin-right:8px}}.menu_rightSide__3l_gB{align-items:center;display:flex;height:100%;padding-left:16px}.menu_rightSide__3l_gB>*{margin-right:12px}.menu_rightSide__3l_gB>:last-child{margin-right:16px}@media screen and (max-width:1200px){.menu_rightSide__3l_gB>*{margin-right:8px}}.menu_rightSide__3l_gB .menu_widget__27Q-M{font-size:17px}.menu_useBox__3GQTc{--bit-drawer-margin:14px}.menu_componentVersionMenu__1rTYF{width:350px}.menu_tab__9CiC6>div{color:#2b2b2b;color:var(--on-background-color,#2b2b2b);padding:0}.menu_topBarNav__b2Vfq{height:100%}.menu_topBarNav__b2Vfq.menu_noBorder__3bCni:after{display:none}@media screen and (max-width:768px){.menu_hideOnMobile__MetlU{display:none}}.menu_topBar__1kif6{justify-content:space-between;width:100%}.menu_leftSide__Qzl_I,.menu_topBar__1kif6{align-items:center;display:flex;height:100%}.menu_rightSide__2X86x{align-items:center;display:flex}.menu_rightSide__2X86x>*{margin-right:12px}.menu_rightSide__2X86x>:last-child{margin-right:16px}.section_menuSection__2T254{font-size:var(--bit-p-xs);margin:12px 0}div.section_menuSection__2T254>*{padding-left:30px}.drawer_drawer__2Rm_d{border-bottom:1px solid #ededed;display:flex;flex-direction:column;max-height:100%;min-height:32px;overflow:hidden}.drawer_drawerName__3wjjX{align-items:center;cursor:pointer;display:flex;flex:none;font-size:12px;font-size:var(--bit-p-xxs,12px);font-weight:700;height:32px;justify-content:space-between;line-height:1.2em;padding:0 8px;transition:background-color .3s,border-color .3s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.drawer_drawerName__3wjjX:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6);border-color:#f6f6f6;border-color:var(--bit-bg-heavy,#f6f6f6)}.drawer_drawerName__3wjjX:hover .drawer_link__3AMhu{opacity:1;visibility:visible}.drawer_drawerName__3wjjX .drawer_arrow__31Cc_{color:#6c707c;color:var(--bit-text-color-light,#6c707c);display:inline-block;font-size:var(--bit-p-xs);line-height:inherit;margin-right:10px;transition:all .3s}.drawer_drawerName__3wjjX .drawer_arrow__31Cc_.drawer_collapsed__QmZa8{transform:rotate(-90deg)}.drawer_drawerName__3wjjX>:first-child{align-items:center;display:flex;flex-grow:1;margin-right:5px;overflow:hidden}.drawer_drawerName__3wjjX>:first-child>span:last-child{margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer_drawerContent__fyKiW{flex:1 1;line-height:1.2em;max-height:0;transition:max-height .3s ease-in-out}.drawer_drawerContent__fyKiW.drawer_open__2tgZT{max-height:calc(100% - 32px)}.drawer_drawerFilters__3YnB2{border-bottom:1px solid #ededed;display:flex;flex-direction:column}.side-bar_sidebar__bXL99{display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}.side-bar_sidebarDrawer__2zDXP{flex:0 1}.side-bar_sidebarDrawer__2zDXP.side-bar_open__2fxTo{flex:1 1}.round-loader_loader__DaHfo{animation:round-loader_load6__1r8pd 1.7s ease infinite,round-loader_round__3r3pf 1.7s ease infinite;border-radius:50%;color:blue;font-size:30px;height:1em;margin:20px auto;overflow:hidden;position:relative;text-indent:-9999em;transform:translateZ(0);width:1em}@keyframes round-loader_load6__1r8pd{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}}@keyframes round-loader_round__3r3pf{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.dependencies-compare_page__Haswm{margin-top:16px}.dependencies-compare_loader__23L9w{align-items:center;display:flex;height:100%}.muted-text_mutedText__131p4{color:#6c707c;color:var(--bit-text-color-light,#6c707c)}.indent_indent__2Ctq2{padding-left:calc(var(--indent-depth)*8px + 8px)}.indent_indentMargin__C_YPV{margin-left:calc(var(--indent-depth)*8px + 8px)}.tree-node_fileNode__Yt7_2{align-items:center;border-left:0 solid transparent;box-sizing:border-box;color:inherit;display:flex;font-size:inherit;font-size:var(--bit-p-xs);height:32px;justify-content:space-between;line-height:1.2em;padding-right:8px;text-decoration:none}.tree-node_fileNode__Yt7_2:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.tree-node_fileNode__Yt7_2.tree-node_active___W-T5{background:#eceaff;background:var(--bit-accent-bg,#eceaff)}.tree-node_fileNode__Yt7_2 .tree-node_icon__IpoD9{height:16px;margin-right:4px;width:16px}.tree-node_fileNode__Yt7_2 .tree-node_left__2WRq_{align-items:center;display:flex;flex:1 1;height:100%;min-width:0}.tree-node_fileNode__Yt7_2 .tree-node_left__2WRq_>span{margin-right:8px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;white-space:nowrap}.tree-node_fileNode__Yt7_2 .tree-node_right__3nWKh{align-items:center;display:flex;font-size:12px}.tree-node_fileNode__Yt7_2 .tree-node_right__3nWKh>*{margin-right:4px}.tree-node_fileNode__Yt7_2 .tree-node_right__3nWKh>:last-child(){margin-right:0}.collapsable-tree-node_childrenTree__2yP8W{font-size:var(--bit-p-xs);overflow:hidden;transition:max-height .4s ease-in-out}.folder-tree-node_folder__3MTgk{align-items:center;cursor:pointer;display:flex;font-size:inherit;font-size:var(--bit-p-xs);font-weight:700;height:32px;justify-content:space-between;line-height:1.2em;padding-right:8px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.folder-tree-node_folder__3MTgk:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.folder-tree-node_folder__3MTgk .folder-tree-node_icon__3oBcn{color:#6c707c;color:var(--bit-text-color-light,#6c707c);display:inline-block;line-height:inherit;margin-right:8px;transition:all .3s}.folder-tree-node_folder__3MTgk .folder-tree-node_icon__3oBcn.folder-tree-node_collapsed__ZtxNc{transform:rotate(-90deg)}.folder-tree-node_img__24VxX{filter:grayscale(1);height:16px;margin-right:8px;width:16px}.folder-tree-node_left__3u2W3{align-items:center;display:flex;flex:1 1;min-width:0}.folder-tree-node_left__3u2W3 .folder-tree-node_name__1L53X{margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.code-compare-tree_componentCompareCodeTreeContainer__2mqyP{border-right:2px solid #ededed;display:flex;flex-direction:column;font-size:14px;height:100%;overflow:auto}.code-compare-tree_componentCompareCodeTabDrawer__3pOV4{height:100%}.code-compare-tree_componentCompareCodeTabDrawer__3pOV4>div:first-child{border:none;border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.code-compare-tree_componentCompareCodeDrawerContent__3tSJ5{overflow-y:auto}.code-compare-tree_drawerIcon__1z3yr{font-size:14px;margin-right:8px}.code-compare-tree_label__2hvwG{font-size:10px;font-weight:inherit;padding:4px}.hidden-checkbox_hidden__1EB5l{background:none;border:0;height:1px;margin:0 -1px 0 0;opacity:0;outline:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;width:1px}.checkbox-indicator_checkedIndicator__2Mxqr{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}input:disabled+.checkbox-indicator_checkedIndicator__2Mxqr{cursor:auto}.checkbox-indicator_defaultCheckbox__2q4aH:before{content:"☐"}input:focus+.checkbox-indicator_defaultCheckbox__2q4aH{outline:auto}input:disabled+.checkbox-indicator_defaultCheckbox__2q4aH{opacity:.62}input:checked+.checkbox-indicator_defaultCheckbox__2q4aH:before{content:"☑"}.toggle_label__2vbgO{display:inline-block;font-size:16px;height:1em;width:2em}.toggle_slider__1UtRm{background-color:#babec9;background-color:var(--bit-border-color,#babec9);border-radius:1em;cursor:pointer;display:inline-block;height:100%;position:relative;transition:.4s;width:100%}.toggle_slider__1UtRm:hover{background-color:#878c9a;background-color:var(--bit-border-color-heavy,#878c9a)}.toggle_slider__1UtRm:before{background-color:#fff;background-color:var(--bit-bg-color,#fff);border-radius:50%;bottom:.125em;content:"";height:.75em;left:.125em;position:absolute;transition:.4s;width:.75em}input:disabled+.toggle_slider__1UtRm{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed);cursor:not-allowed}input:checked+.toggle_slider__1UtRm{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7)}input:checked:disabled+.toggle_slider__1UtRm{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff)}input:checked+.toggle_slider__1UtRm:before{transform:translateX(1em)}input:focus+.toggle_slider__1UtRm{box-shadow:0 0 0 .125em #eceaff;box-shadow:0 0 0 .125em var(--bit-accent-bg,#eceaff)}.code-compare-view_componentCompareCodeViewContainer__2kfYb{display:flex;flex-direction:column;height:100%;width:100%}.code-compare-view_componentCompareCodeDiffEditorContainer__VivqQ{display:flex;flex:1 1;height:100%;padding:8px 16px 0}.code-compare-view_componentCompareCodeDiffEditorContainer__VivqQ>section{border-radius:8px;overflow:hidden}.code-compare-view_fileName__3HY74{align-items:baseline;display:flex;padding:8px}.code-compare-view_ignoreWhitespaceControlContainer__2Ltep{color:#414141;color:var(--bit-text-color,#414141);display:flex;height:24px;padding:0 8px;width:-moz-fit-content;width:fit-content}.code-compare-view_toggleContainer__3udTS{align-items:center;display:flex;margin-bottom:8px;margin-left:8px}.code-compare-view_toggleContainer__3udTS .code-compare-view_toggle__1XO70{margin-right:8px}.code-compare-view_loader__Z1i5i{align-items:center;display:flex;height:100%;justify-items:center;width:100%}.compare-status-resolver_statusLine__14hbn{align-items:baseline;display:flex;line-height:16px}.compare-status-resolver_statusLine__14hbn>div:not(:last-of-type){margin-right:2px}.compare-status-resolver_statusLine__14hbn>div:not(:last-of-type):after{content:","}.compare-status-resolver_statusLine__14hbn .compare-status-resolver_modified__1Mg1G{color:#ff8b00!important}.compare-status-resolver_statusLine__14hbn .compare-status-resolver_error__16rQW{color:#df083e!important}.compare-status-resolver_errorBlock__8Khe-{margin-right:2px}.compare-status-resolver_errorBlock__8Khe->span{font-size:1.1em}.compare-status-resolver_status__23xAA{display:flex;justify-content:center}.compare-status-resolver_status__23xAA.compare-status-resolver_modified__1Mg1G{color:#ff8b00}.compare-status-resolver_status__23xAA.compare-status-resolver_deleted__2p4m6{color:#df083e}.compare-status-resolver_status__23xAA.compare-status-resolver_new__1aQzN{color:#37b26c}.compare-status-resolver_list__1annl{list-style:revert;list-style-position:inside}.compare-status-resolver_list__1annl>li:only-child{list-style:none}.compare-status-resolver_tooltip__2TLWq{font-size:12px}.code-compare_componentCompareCodeContainer__1QiX3{display:flex;min-height:calc(100% - 56px);width:100%}.code-compare_left__3EEwd{display:flex;max-width:calc(100% - 200px);min-width:200px}.code-compare_right__30EuD{background:#fafafa;max-width:calc(100% - 200px);min-width:200px;overflow-y:auto;position:relative}.code-compare_splitter__2enUK{position:relative}.code-compare_splitter__2enUK>:first-child{position:absolute;z-index:101}.code-compare_collapser__29mLM{right:1px}.code-compare_depNode__21xP8{overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.compare-aspect-view_componentCompareAspectViewContainer__20hgh{height:100%;width:100%}.compare-aspect-view_componentCompareAspectDiffEditorContainer__c0bNb{display:flex;flex-direction:column;height:calc(100% - 56px);padding:0 8px}.compare-aspect-view_name__fJcGx{align-items:baseline;display:flex;padding:8px}.compare-aspect-view_componentCompareAspectCalculatedDiff__3d9_T,.compare-aspect-view_componentCompareAspectConfigDiff__G89Yc{display:flex;flex:1 1;flex-direction:column;height:100%;padding:8px}.compare-aspect-view_componentCompareAspectCalculatedDiff__3d9_T>section,.compare-aspect-view_componentCompareAspectConfigDiff__G89Yc>section{border-radius:8px;overflow:hidden}.compare-aspect-view_loader__3A_Tv{align-items:center;display:flex;height:100%;justify-items:center;width:100%}.compare-aspects_componentCompareAspectContainer__3a4fx{display:flex;min-height:calc(100% - 56px);width:100%}.compare-aspects_left__vjEAd{display:flex;max-width:calc(100% - 200px);min-width:200px}.compare-aspects_right__19ziG{background:#fafafa;max-height:100%;max-width:calc(100% - 200px);min-width:200px;overflow-y:auto;position:relative}.compare-aspects_splitter__1y9lG{position:relative}.compare-aspects_splitter__1y9lG>:first-child{position:absolute;z-index:101}.compare-aspects_collapser__22yuP{right:1px}.compare-aspects_depNode__1YljN{overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.compare-aspects_loader__uB5UQ{align-items:center;display:flex;height:100%;justify-items:center;width:100%}.component-compare-version-picker_componentCompareVersionPicker__3R_MJ{display:flex;flex-direction:row;padding:8px 0}.component-compare-version-picker_componentCompareVersionMenu__21SPH{left:0;min-width:400px}.component-compare-version-picker_showMenuOverNav__2okvv{z-index:102}.component-compare-version-picker_componentCompareVersionPlaceholder__2bd4z{align-items:center;display:flex;justify-content:space-between}.component-compare-version-picker_componentCompareVersionContainer__16MM3{align-items:center;display:flex;font-size:14px;min-width:0}.component-compare-version-picker_componentCompareVersionContainer__16MM3.component-compare-version-picker_left__2BVBl{padding-right:16px}.component-compare-version-picker_componentCompareVersionContainer__16MM3.component-compare-version-picker_right__Y2QTp{padding-left:16px}.component-compare-version-picker_componentCompareDropdown__3Pbjm{width:100%}.component-compare-version-picker_arrowContainer__envW_{align-self:center;display:flex;height:60%}.component-compare-version-picker_arrowContainer__envW_ img{align-self:center;display:flex;height:100%}.component-compare-version-picker_titleText__zDfMd{align-self:center;display:flex;font-size:16px;font-weight:700}.component-compare-version-picker_rightPad__3KwKO{padding-right:8px}.component-compare_componentCompareContainer__1YtYy{display:flex;flex-direction:column;height:100%;overflow:hidden}.component-compare_top__2KYvw{display:flex;flex-direction:column;padding:24px 24px 16px}.component-compare_bottom___F18A{display:flex;flex-direction:column;height:100%;overflow-y:hidden}.component-compare_navContainer__1w19U{align-items:center;border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);min-height:48px}.component-compare_navigation__1qnUF{display:flex;height:100%;list-style:none}@media screen and (max-width:768px){.component-compare_navigation__1qnUF{padding-left:6px}}.component-compare_navigation__1qnUF>li{display:block;height:100%;margin-right:16px}.component-compare_loader__3lKh2{align-items:center;display:flex;height:100%;justify-items:center;width:100%}.component-compare_compareMenuLink__2SD7-{height:100%}.component-compare_tab__2gM8E>div{padding:0}.component-compare_tab__2gM8E>div>div{z-index:10}.component-compare_collapsedMenuLink__2OQMw:after{display:none}.compare-status-resolver_statusLine__TY1Pp{align-items:baseline;display:flex;line-height:16px}.compare-status-resolver_statusLine__TY1Pp>div:not(:last-of-type){margin-right:2px}.compare-status-resolver_statusLine__TY1Pp>div:not(:last-of-type):after{content:","}.compare-status-resolver_statusLine__TY1Pp .compare-status-resolver_modified__2bo7j{color:#ff8b00!important}.compare-status-resolver_statusLine__TY1Pp .compare-status-resolver_error__X_GnO{color:#df083e!important}.compare-status-resolver_errorBlock__3i4Wk{margin-right:2px}.compare-status-resolver_errorBlock__3i4Wk>span{font-size:1.1em}.compare-status-resolver_status__3aM-5{display:flex;justify-content:center}.compare-status-resolver_status__3aM-5.compare-status-resolver_modified__2bo7j{color:#ff8b00}.compare-status-resolver_status__3aM-5.compare-status-resolver_deleted__1AQbS{color:#df083e}.compare-status-resolver_status__3aM-5.compare-status-resolver_new___d5nQ{color:#37b26c}.compare-status-resolver_list__aHrjP{list-style:revert;list-style-position:inside}.compare-status-resolver_list__aHrjP>li:only-child{list-style:none}.compare-status-resolver_tooltip__2NYnm{font-size:12px}.compare-split-layout-preset_mainContainer__1fEXu{display:flex;height:100%;overflow:hidden}.compare-split-layout-preset_subContainerLeft__2F6cp{background-color:#ededed;flex:1 1;padding:16px}.compare-split-layout-preset_subContainerRight__2jd4x{background-color:#ededed;flex:1 1;padding:16px 16px 16px 0}.compare-split-layout-preset_loader__2N4Ey{align-items:center;display:flex;height:100%}.contributors_row__36Syk{color:#6c707c;color:var(--bit-text-color-light,#6c707c);flex-wrap:wrap;font-size:var(--bit-p-xs);margin-bottom:25px}.contributors_row__36Syk,.contributors_row__36Syk .contributors_users__2R_wO{align-items:center;display:flex}.contributors_marginRight__DiWq0{margin-right:5px}.contributors_name__2WdBg{font-weight:700}.contributors_name__2WdBg.contributors_displayName__cHeZH{text-transform:capitalize}.version-block_versionWrapper__2ivbV{display:flex}.version-block_versionWrapper__2ivbV .version-block_left__9k_ki{align-items:flex-end;border-right:1px solid #ededed;border-right:1px solid var(--bit-border-color-lightest,#ededed);display:flex;flex-direction:column;padding-left:10px;padding-right:22px;padding-top:24px;text-align:right}@media screen and (max-width:768px){.version-block_versionWrapper__2ivbV .version-block_left__9k_ki{display:none}}.version-block_emptyLabel__16AZy{height:25px;margin-bottom:21px}.version-block_link__wU7TO{color:var(--bit-text-color-heavyed);font-size:14px;margin-bottom:8px;text-decoration:none}.version-block_link__wU7TO:hover{text-decoration:underline}.version-block_right__qsZph{margin-bottom:45px;max-width:700px;padding-left:50px;padding-top:20px}.version-block_right__qsZph .version-block_versionTitle__1J5dk{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7);font-weight:inherit;margin-bottom:10px}.version-block_right__qsZph .version-block_titleLink__1auIq{display:inline-block;max-width:-moz-fit-content;max-width:fit-content;text-decoration:none}@media screen and (max-width:768px){.version-block_right__qsZph{padding-left:0}}.version-block_commitMessage__2G08u{font-size:15px}.version-block_emptyMessage__T6x9K{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:15px;font-style:italic}.version-block_placeholder__5CFsi{width:57px}.component-compare-changelog_changeLogPage__1TGNv{box-sizing:border-box;display:flex;flex-direction:column;overflow-y:auto;padding:16px}.themed-text_themedText__1UHVC{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.deprecation-icon_deprecatedTooltip__1zUul{padding:2px 5px}.deprecation-icon_deprecatedTooltip__1zUul>div{padding:initial!important}.deprecation-icon_deprectaedTooltipContent__1xZVl{font-size:12px}.dependency-compare-node_arrowIcon__2bF4g{height:16px;padding-right:8px}.dependency-compare-node_versionUp__1aX7M{color:#37b26c;color:var(--positive-color,#37b26c)}.dependency-compare-node_versionDown__36GQG{color:#e62e5c;color:var(--negative-color,#e62e5c)}.dependency-compare-node_link__2f3KS{color:var(--bit-text-color-heavyed);text-decoration:none}.dependency-compare-node_link__2f3KS:hover{text-decoration:underline}.dependency-compare-variants_root__3tvto{border-color:#37b26c;border-radius:10px;border-top-width:20px;box-shadow:0 0 0 2px #d0f1de,var(--bit-shadow-hover-medium)}.dependency-compare-variants_root__3tvto:before{color:#fff;content:"Current component";font-size:10px;left:10px;line-height:20px;position:absolute;top:1px}.dependencies-graph_graph__1qOlI .react-flow__edge-path{stroke:#878c9a;stroke-width:2px}.dependencies-graph_graph__1qOlI .react-flow__handle{background:none;border:none}.dependencies-graph_graph__1qOlI .react-flow__handle-bottom{bottom:-4px}.dependencies-graph_graph__1qOlI .react-flow__handle-top{top:-4px}.dependencies-graph_graph__1qOlI .react-flow__handle-left{left:-4px}.dependencies-graph_graph__1qOlI .react-flow__handle-right{right:-4px}.dependencies-graph_graph__1qOlI .react-flow__arrowhead polyline{stroke:#878c9a;stroke-width:2px}.dependencies-graph_graph__1qOlI .react-flow__edge{pointer-events:all!important}.dependencies-graph_graph__1qOlI .react-flow__edge:hover .react-flow__edge-text,.dependencies-graph_graph__1qOlI .react-flow__edge:hover .react-flow__edge-textbg{opacity:1;transition:all .3s}.dependencies-graph_graph__1qOlI .react-flow__edge-textbg{fill:#414141}.dependencies-graph_graph__1qOlI .react-flow__edge-text{fill:#fff}.dependencies-graph_graph__1qOlI .react-flow__edge-text,.dependencies-graph_graph__1qOlI .react-flow__edge-textbg{opacity:0}.dependencies-graph_minimap__130hn{background:#fff!important;border-radius:5px;bottom:24px;box-shadow:var(--bit-shadow-faint);right:24px}.dependencies-graph_minimap__130hn .react-flow__minimap-mask{stroke:#0d2de3;stroke-width:4px;fill:transparent}.dependencies-graph_controls__19ulm{bottom:24px;box-shadow:var(--bit-shadow-faint);left:24px}.component-node_compNode__3ezH7{background:#fff;border-style:solid;border-width:2px;max-width:300px;min-width:200px;padding:16px;text-align:left}.component-node_firstRow__FNqjw{align-items:center;display:flex;margin-bottom:4px}.component-node_envIcon__3OMF1{height:16px;margin-right:8px;width:16px}.component-node_breadcrumbs__2zs8B{color:#6c707c;font-size:12px}.component-node_nameLine__2lIGd{align-items:center;display:flex}.component-node_name__1sP0A{font-weight:700;margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.component-node_version__3v2bo{margin-right:8px;max-width:80px}.component-node_buffs__uHzup{display:flex;font-size:15px;line-height:1;line-height:16px;margin-left:auto}.component-node_buffs__uHzup>*{margin-right:8px}.component-node_buffs__uHzup>:last-child{margin-right:0}.component-node_buffs__uHzup:empty{display:none}.component-node_link__1QMTg{color:var(--bit-text-color-heavyed);text-decoration:none}.component-node_link__1QMTg:hover{text-decoration:underline}.variants_root__2l-85{border-color:#37b26c;border-radius:10px;border-top-width:20px;box-shadow:0 0 0 2px #d0f1de,var(--bit-shadow-hover-medium)}.variants_root__2l-85:before{color:#fff;content:"Current component";font-size:10px;left:10px;line-height:20px;position:absolute;top:1px}.variants_defaultNode__1FYsT{border-color:#3a95ff;box-shadow:0 0 0 2px #f3faff}.variants_external__22RCi{border-color:#6c707c;box-shadow:0 0 0 2px var(border--color)}.edge_peer__ksEJW{stroke-dasharray:5 5}.edge_dev__3anz_{stroke-dasharray:10 5}.graph-page_page__zW07k{display:flex;flex-direction:column;height:100%;padding:24px}.graph-page_page__zW07k h2{margin-bottom:24px}.graph-page_graph__J9kvb{background:#f6f6f6;background:var(--bit-bg-dent,#f6f6f6);border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:5px;flex-grow:1;height:100%;width:auto}.graph-page_summery__Es9tg{margin-bottom:24px}.graph-page_filters__1X50o{box-shadow:var(--bit-shadow-faint);font-size:.75em;padding:8px;position:absolute;right:8px;top:8px;z-index:8}.checkbox-label_checkboxLabel__3lX5a{-webkit-user-select:none;-moz-user-select:none;user-select:none}.checkbox-label_checkboxLabel__3lX5a input:disabled~*{color:var(--bit-text-color-light)}.checkbox-indicator_checkmarkInputIndicator__feDXs{align-items:center;border:1px solid var(--bit-border-color);border-radius:.125em;box-sizing:border-box;display:inline-flex;height:1em;justify-content:center;position:relative;transition:background-color 80ms,border-color 80ms;width:1em}.checkbox-indicator_checkmarkInputIndicator__feDXs:before{content:" "}input:focus+.checkbox-indicator_checkmarkInputIndicator__feDXs{box-shadow:0 0 0 .125em var(--bit-accent-bg);outline:none}input:checked+.checkbox-indicator_checkmarkInputIndicator__feDXs{background-color:var(--bit-accent-color);border-color:var(--bit-accent-color)}input:checked+.checkbox-indicator_checkmarkInputIndicator__feDXs .checkbox-indicator_icon__M3xml{visibility:visible}input:checked+.checkbox-indicator_checkmarkInputIndicator__feDXs:hover{background-color:var(--bit-accent-heavy);border-color:var(--bit-accent-heavy)}input:disabled+.checkbox-indicator_checkmarkInputIndicator__feDXs{background:var(--bit-border-color-lightest)}input:checked:disabled+.checkbox-indicator_checkmarkInputIndicator__feDXs{background:var(--bit-accent-bg-heavy);border-color:var(--bit-accent-bg-heavy)}.checkbox-indicator_icon__M3xml{color:#fff;font-size:.76em;position:absolute;visibility:hidden}.hidden-checkbox_hidden__2aP-T{background:none;border:0;height:1px;margin:0 -1px 0 0;opacity:0;outline:0;overflow:hidden;padding:0;pointer-events:none;width:1px}.card_card__1Vbfc{box-sizing:border-box;padding:20px}.elevations_low__j0kuG{box-shadow:0 2px 8px 0 rgba(0,0,0,.2);box-shadow:var(--bit-shadow-hover-low,0 2px 8px 0 rgba(0,0,0,.2))}.elevations_medium__2rc3Q{box-shadow:0 0 20px 0 rgba(0,0,0,.12),0 2px 6px 0 rgba(0,0,0,.24);box-shadow:var(--bit-shadow-hover-medium,0 0 20px 0 rgba(0,0,0,.12),0 2px 6px 0 rgba(0,0,0,.24))}.elevations_high__2_DA0{box-shadow:0 11px 29px 0 rgba(0,0,0,.23);box-shadow:var(--bit-shadow-hover-high,0 11px 29px 0 rgba(0,0,0,.23))}.background_bedrock__uCmb0{background:#fff;background:var(--bit-bg-bedrock,#fff)}.background_base__3TQQT,.background_layer__1UlCP{background:#fff;background:var(--bit-bg-color,#fff)}.background_crust__2vHMw{background:#fff;background:var(--bit-bg-tooltip,#fff)}.background_topping__y6kLP{background:#fff;background:var(--bit-bg-color,#fff)}.background_topping__y6kLP:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.background_dent__3YXGi{background:#f6f6f6;background:var(--bit-bg-dent,#f6f6f6)}.autocomplete-input_input__bWcJb{background:none;border:none;color:inherit;font-family:inherit;font-size:inherit;outline:none}.autocomplete-input_input__bWcJb::-moz-placeholder{color:#babec9;color:var(--bit-text-inactive,#babec9)}.autocomplete-input_input__bWcJb::placeholder{color:#babec9;color:var(--bit-text-inactive,#babec9)}.command-bar-item_commandBarOption__eZ7rt{align-items:center;display:flex;height:2.5em;padding:0 1.5em;transition:background-color .18s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.command-bar_commandBar__1plWZ{border:1px solid #babec9;border:1px solid var(--bit-border-color,#babec9);color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);display:none;flex-direction:column;overflow:hidden}.command-bar_commandBar__1plWZ.command-bar_visible__TMKMb{display:flex}.command-bar_shadow__kdPtp{box-shadow:0 40px 60px 0 rgba(0,0,0,.32)}.command-bar_commandBar__1plWZ{padding:0;z-index:5000}.command-bar_input__3dSln{line-height:2.8;padding:0 1.2em}.command-bar_results__1zbHd{font-size:.7em;transition:opacity .18s}.command-bar_results__1zbHd:not(:empty){border-top:1px solid #babec9;border-top:1px solid var(--bit-border-color,#babec9);margin-bottom:8px}.command-bar_results__1zbHd.command-bar_loading__3aoqd{opacity:.61}.toggle_label__2NNqi{display:inline-block;font-size:16px;height:1em;width:2em}.toggle_slider__O3Mqd{background-color:#babec9;background-color:var(--bit-border-color,#babec9);border-radius:1em;cursor:pointer;display:inline-block;height:100%;position:relative;transition:.4s;width:100%}.toggle_slider__O3Mqd:hover{background-color:#878c9a;background-color:var(--bit-border-color-heavy,#878c9a)}.toggle_slider__O3Mqd:before{background-color:#fff;background-color:var(--bit-bg-color,#fff);border-radius:50%;bottom:.125em;content:"";height:.75em;left:.125em;position:absolute;transition:.4s;width:.75em}input:disabled+.toggle_slider__O3Mqd{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed);cursor:not-allowed}input:checked+.toggle_slider__O3Mqd{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7)}input:checked:disabled+.toggle_slider__O3Mqd{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff)}input:checked+.toggle_slider__O3Mqd:before{transform:translateX(1em)}input:focus+.toggle_slider__O3Mqd{box-shadow:0 0 0 .125em #eceaff;box-shadow:0 0 0 .125em var(--bit-accent-bg,#eceaff)}.deprecate-filter_deprecateFilter__18z0g{align-items:center}.deprecate-filter_deprecateFilter__18z0g>div{display:flex;line-height:16px}.deprecate-filter_deprecateFilter__18z0g .deprecate-filter_filterIcon__1DgOl{display:flex;padding:8px}.deprecate-filter_deprecateFilter__18z0g .deprecate-filter_filterIcon__1DgOl img{width:16px}.deprecate-filter_deprecateFilter__18z0g .deprecate-filter_filterIcon__1DgOl .deprecate-filter_filterIconLabel__2xAko{font-size:14px;margin:0 8px}.drawer_placeholder__3xDcz{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.elevations_low__10pN2{box-shadow:0 2px 8px 0 rgba(0,0,0,.2);box-shadow:var(--bit-shadow-hover-low,0 2px 8px 0 rgba(0,0,0,.2))}.elevations_medium__1nblO{box-shadow:0 0 20px 0 rgba(0,0,0,.12),0 2px 6px 0 rgba(0,0,0,.24);box-shadow:var(--bit-shadow-hover-medium,0 0 20px 0 rgba(0,0,0,.12),0 2px 6px 0 rgba(0,0,0,.24))}.elevations_high__jMl4T{box-shadow:0 11px 29px 0 rgba(0,0,0,.23);box-shadow:var(--bit-shadow-hover-high,0 11px 29px 0 rgba(0,0,0,.23))}.background_bedrock__1b6tn{background:#fff;background:var(--bit-bg-bedrock,#fff)}.background_base__z0kuc,.background_layer__utdWH{background:#fff;background:var(--bit-bg-color,#fff)}.background_crust__2zNUo{background:#fff;background:var(--bit-bg-tooltip,#fff)}.background_topping__W50uh{background:#fff;background:var(--bit-bg-color,#fff)}.background_topping__W50uh:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.background_dent__M_z_O{background:#f6f6f6;background:var(--bit-bg-dent,#f6f6f6)}.dropdown_dropdownMenu__13cBe{box-sizing:border-box;padding:8px 0}.checkbox-indicator_checkmarkInputIndicator__1Uuhh{align-items:center;border:1px solid #babec9;border:1px solid var(--bit-border-color,#babec9);border-radius:.125em;box-sizing:border-box;display:inline-flex;font-size:16px;height:1em;justify-content:center;position:relative;transition:background-color 80ms,border-color 80ms;width:1em}.checkbox-indicator_checkmarkInputIndicator__1Uuhh:before{content:" "}input:focus+.checkbox-indicator_checkmarkInputIndicator__1Uuhh{box-shadow:0 0 0 .125em #eceaff;box-shadow:0 0 0 .125em var(--bit-accent-bg,#eceaff);outline:none}input:checked+.checkbox-indicator_checkmarkInputIndicator__1Uuhh{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);border-color:#6c5ce7;border-color:var(--bit-accent-color,#6c5ce7)}input:checked+.checkbox-indicator_checkmarkInputIndicator__1Uuhh .checkbox-indicator_icon__1_dRO{visibility:visible}input:checked+.checkbox-indicator_checkmarkInputIndicator__1Uuhh:hover{background-color:#5d4aec;background-color:var(--bit-accent-heavy,#5d4aec);border-color:#5d4aec;border-color:var(--bit-accent-heavy,#5d4aec)}input:disabled+.checkbox-indicator_checkmarkInputIndicator__1Uuhh{background:#ededed;background:var(--bit-border-color-lightest,#ededed)}input:checked:disabled+.checkbox-indicator_checkmarkInputIndicator__1Uuhh{background:#c9c3f6;background:var(--bit-accent-bg-heavy,#c9c3f6);border-color:#c9c3f6;border-color:var(--bit-accent-bg-heavy,#c9c3f6)}.checkbox-indicator_icon__1_dRO{color:#fff;font-size:.76em;position:absolute;visibility:hidden}.checkbox-label_checkboxLabel__2eKSy{-webkit-user-select:none;-moz-user-select:none;user-select:none}.checkbox-label_checkboxLabel__2eKSy input:disabled~*{color:#6c707c;color:var(--bit-text-color-light,#6c707c)}.checkbox-item_checkboxItem__2Q7nQ{align-items:center;color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);display:flex;padding:8px;text-decoration:none}.checkbox-item_checkboxItem__2Q7nQ.checkbox-item_hoverable__3shQc:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6);cursor:pointer}.checkbox-item_checkboxItem__2Q7nQ.checkbox-item_withDescription__2vNCm{align-items:baseline}.checkbox-item_contentHolder__cVDuS{display:flex;flex:auto;justify-content:space-between}.checkbox-item_text__ZmhQn{font-size:16px;font-size:var(--bit-p-md,16px);padding-left:16px}.checkbox-item_descriptionHolder__2wAFr{display:flex;flex-direction:column}.checkbox-item_descriptionText__nQR22{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:14px;font-size:var(--bit-p-xs,14px);padding-left:16px}.checkbox-item_iconHolder__2Fm2r{align-items:center;display:flex}.checkbox-item_icon__39MkU{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:16px}.checkbox-item_img__obtPj{width:16px}.menu-item_menuItem__3A_iJ{align-items:center;color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);display:flex;padding:8px;text-decoration:none}.menu-item_menuItem__3A_iJ .menu-item_icon__JeMtb{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:1.15em;margin-right:.76em}.menu-item_interactive__2Wafv:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6);cursor:pointer}.menu-item_active__2xTBX,.menu-item_active__2xTBX:hover{background:#eceaff;background:var(--bit-accent-bg,#eceaff)}.menu-item_active__2xTBX .menu-item_icon__JeMtb{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.multi-select_dropdownPlaceholder__3LHGb{border-radius:8px;justify-content:space-between}.multi-select_dropdown__1hrHf{border-radius:8px;box-sizing:border-box}.multi-select_dropdown__1hrHf.multi-select_dropdownBorder__S51a8{border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed)}.multi-select_dropClass__dgIO8{padding-bottom:8px;padding-top:8px}.multi-select_checkboxItem__2gScz{padding-left:24px;padding-right:24px}.multi-select_buttonsHolder__3aiMr{display:flex;justify-content:flex-end;padding:8px 24px}.multi-select_clearText__2j13b{color:#6c707c;color:var(--bit-text-color-light,#6c707c);cursor:pointer;margin-right:24px}.multi-select_doneText__2coYR{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7);cursor:pointer}.envs-filter_envsFilterContainer__19zw_>div{display:flex;line-height:16px}.envs-filter_envsFilterContainer__19zw_ .envs-filter_filterIcon__3yoA4{border-radius:8px;display:flex;padding:8px}.envs-filter_envsFilterContainer__19zw_ .envs-filter_filterIcon__3yoA4:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6);cursor:pointer}.envs-filter_envsFilterContainer__19zw_ .envs-filter_filterIcon__3yoA4 img{filter:invert(44%) sepia(7%) saturate(560%) hue-rotate(187deg) brightness(96%) contrast(91%);width:16px}.envs-filter_envsFilterContainer__19zw_ .envs-filter_filterIcon__3yoA4 .envs-filter_filterIconLabel__3cFDF{font-size:14px;margin:0 8px}.envs-filter_envsFilterContainer__19zw_ .envs-filter_filterIcon__3yoA4 .envs-filter_dropdownArrow__3qKZ9{display:flex}.envs-filter_envFilterDropdownContainer__11Dxj{width:100%}.envs-filter_envFilterDropdown__3hfKI{width:100%;z-index:100}.envs-filter_envDropdownItemContainer__hF6WW{align-items:baseline;display:flex;flex-direction:column;width:calc(100% - 24px)}.envs-filter_envDropdownItemIconContainer__3sjNB{display:flex;height:16px;width:16px}.envs-filter_envDropdownItem__3aHG-{font-size:16px;font-size:var(--bit-p-md,16px);width:100%}.envs-filter_envDropdownItemIcon__2sdzf,.envs-filter_envDropdownItemLabel__3VpPj,.envs-filter_envDropdownItem__3aHG-{display:flex;justify-content:space-between;padding-left:8px}.envs-filter_description__10r9F{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:14px;font-size:var(--bit-p-xs,14px);padding-left:8px;padding-right:16px;width:calc(100% - 24px)}.envs-filter_envDropdownItemContainerWithIcon__3SYxv{display:flex;flex-direction:row;justify-content:space-between;width:calc(100% - 24px)}.envs-filter_descriptionText__1fg6Y{width:100%}.envs-filter_envLink__2mXGJ{color:#fff;text-decoration:none}.show-main-filter_onLaneFilter__3DAuj{align-items:center}.show-main-filter_onLaneFilter__3DAuj>div{display:flex;line-height:16px}.show-main-filter_onLaneFilter__3DAuj .show-main-filter_filterIcon__2iHk0{display:flex;padding:8px}.show-main-filter_onLaneFilter__3DAuj .show-main-filter_filterIcon__2iHk0 img{width:16px}.show-main-filter_onLaneFilter__3DAuj .show-main-filter_filterIcon__2iHk0 .show-main-filter_filterIconLabel__2OFvP{font-size:14px;margin:0 8px}.indent_indent__3DAhI{padding-left:calc(var(--indent-depth)*8px + 8px)}.indent_indentMargin__1TM3C{margin-left:calc(var(--indent-depth)*8px + 8px)}.collapsing-node_childrenTree__3Bu5i{font-size:var(--bit-p-xs);overflow:hidden;transition:max-height .4s ease-in-out}.component-view_component__QN1U7{align-items:center;border-left:0 solid transparent;box-sizing:border-box;color:inherit;display:flex;font-size:inherit;font-size:var(--bit-p-xs);height:32px;justify-content:space-between;padding-right:8px;text-decoration:none}.component-view_component__QN1U7:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.component-view_component__QN1U7:hover .component-view_envIcon__2m6Fm{filter:grayscale(0)}.component-view_component__QN1U7.component-view_active__2F9Sa{background:#eceaff;background:var(--bit-accent-bg,#eceaff)}.component-view_component__QN1U7.component-view_active__2F9Sa .component-view_envIcon__2m6Fm{filter:grayscale(0)}.component-view_component__QN1U7 .component-view_icon__1fIij{height:16px;opacity:.8;width:16px}.component-view_component__QN1U7 .component-view_left__2zBlb{align-items:center;display:flex;flex:1 1;line-height:16px;min-width:0}.component-view_component__QN1U7 .component-view_left__2zBlb>span{overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.component-view_component__QN1U7 .component-view_envIcon__2m6Fm{filter:grayscale(1);height:16px;transition:filter .3s ease-in-out;width:16px}.component-view_component__QN1U7 .component-view_right__1b2O7{align-items:center;display:flex;font-size:12px}.component-view_component__QN1U7 .component-view_right__1b2O7>*{margin-right:4px}.component-view_component__QN1U7 .component-view_right__1b2O7>:last-child(){margin-right:0}.component-view_componentEnvTooltip__1sEqP{font-size:var(--bit-p-xs);max-width:none!important}.component-view_componentEnvTooltip__1sEqP .component-view_componentEnvTitle__22xfm{color:#c9c3f6;font-size:12px;font-size:var(--bit-p-xxs,12px);font-weight:700;margin-bottom:4px}.component-view_onMainTooltip__Dq3VH{font-size:var(--bit-p-xxs);max-width:none!important}.component-view_envLink__2fRdL{color:#fff;text-decoration:none}.component-view_mainOnly__3r1Jm{opacity:60%}.scope-tree-node_scope__1kw1T{align-items:center;cursor:pointer;display:flex;font-size:inherit;font-size:var(--bit-p-xs);font-weight:700;height:32px;justify-content:space-between;padding-right:8px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.scope-tree-node_scope__1kw1T:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.scope-tree-node_scope__1kw1T .scope-tree-node_arrow__w_QN_{color:#6c707c;color:var(--bit-text-color-light,#6c707c);display:inline-block;line-height:inherit;margin-right:10px;transition:all .3s}.scope-tree-node_scope__1kw1T .scope-tree-node_arrow__w_QN_.scope-tree-node_collapsed__Vf6m4{transform:rotate(-90deg)}.scope-tree-node_highlighted__pS_ZH{color:#5d4aec;color:var(--bit-accent-heavy,#5d4aec)}.scope-tree-node_left__173i6{align-items:center;display:flex;flex:1 1;min-width:0}.scope-tree-node_left__173i6 .scope-tree-node_name__2mAb3{line-height:16px;margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-tree-node_componentTree__DczGU{font-size:var(--bit-p-xs);overflow:hidden;transition:max-height .4s ease-in-out}.namespace-tree-node_namespace__2RA1d{align-items:center;cursor:pointer;display:flex;font-size:inherit;font-size:var(--bit-p-xs);font-weight:700;height:32px;justify-content:space-between;padding-right:8px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.namespace-tree-node_namespace__2RA1d:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.namespace-tree-node_namespace__2RA1d .namespace-tree-node_arrow__20jXe{color:#6c707c;color:var(--bit-text-color-light,#6c707c);display:inline-block;line-height:inherit;margin-right:10px;transition:all .3s}.namespace-tree-node_namespace__2RA1d .namespace-tree-node_arrow__20jXe.namespace-tree-node_collapsed__2LKU4{transform:rotate(-90deg)}.namespace-tree-node_highlighted__2cuKH{color:#5d4aec;color:var(--bit-accent-heavy,#5d4aec)}.namespace-tree-node_left__1QADt{align-items:center;display:flex;flex:1 1;min-width:0}.namespace-tree-node_left__1QADt .namespace-tree-node_name__3lHUa{line-height:16px;margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.namespace-tree-node_componentTree__3aZ67{font-size:var(--bit-p-xs);overflow:hidden;transition:max-height .4s ease-in-out}.muted-italic_mutedItalic__1naYv{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-style:italic}.sidebar-loader_sidebar__k5T1O{border-right:1px solid #f6f6f6;border-right:1px solid var(--bit-bg-dent,#f6f6f6);color:#f6f6f6;color:var(--bit-bg-dent,#f6f6f6);flex:none;height:100vh;width:264px}.sidebar-loader_sidebar__k5T1O span{height:12px}.sidebar-loader_overview__2QQDE{border-bottom:1px solid #f6f6f6;border-bottom:1px solid var(--bit-bg-dent,#f6f6f6);padding:26px 22px}.sidebar-loader_overview__2QQDE>div:first-child{margin-bottom:10px}.sidebar-loader_link__Cnb73{align-items:center;display:flex}.sidebar-loader_link__Cnb73>span:first-child{height:20px;margin-right:8px}.sidebar-loader_link__Cnb73>span:first-child span{height:20px;width:20px}.sidebar-loader_componentList__1qMOq{color:#f6f6f6;color:var(--bit-bg-dent,#f6f6f6);padding:26px 22px}.sidebar-loader_componentList__1qMOq>span{display:block}.sidebar-loader_componentList__1qMOq span{margin:10px 0}.sidebar-loader_componentList__1qMOq span:first-child{margin-top:0}.component-drawer_drawerContainer__26F2C{display:flex;flex-direction:column;height:100%}.component-drawer_emptyDrawer__24QuZ{display:block;padding:8px 8px 0 28px}.component-drawer_widgetIcon__QPw9D{align-items:center;border-radius:8px;display:flex;margin-left:4px;padding:4px}.component-drawer_widgetIcon__QPw9D.component-drawer_open__2LZBD,.component-drawer_widgetIcon__QPw9D:hover{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed)}.component-drawer_widgetIcon__QPw9D img{width:16px}.component-drawer_widgetIcon__QPw9D.component-drawer_open__2LZBD img,.component-drawer_widgetIcon__QPw9D:active img{filter:invert(38%) sepia(33%) saturate(7140%) hue-rotate(234deg) brightness(96%) contrast(87%)}.component-drawer_filterWidgetIcon__998nh{margin-right:8px}.component-drawer_filtersContainer__16xVO{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);max-height:0;opacity:0;transition:max-height .3s ease-in-out,opacity .25s ease-in-out}.component-drawer_filtersContainer__16xVO.component-drawer_open__2LZBD{max-height:100%;opacity:1}.component-drawer_filter__3Rmlj{display:none}.component-drawer_filter__3Rmlj.component-drawer_open__2LZBD{display:flex;flex-direction:row;font-size:14px;justify-content:space-between;margin:4px 8px}.component-drawer_drawerTreeContainer__DOiIF{height:100%;overflow-y:auto}.component-status_status__2x5RM{display:flex;justify-content:center}.component-status_status__2x5RM.component-status_modified__39XgW{color:#ff8b00}.component-status_status__2x5RM.component-status_error__3V2Ea{color:#df083e}.component-status_status__2x5RM.component-status_new__2zAqu{color:#37b26c}.component-status_status__2x5RM.component-status_dependency__m91Qq,.component-status_status__2x5RM.component-status_staged__25Po8,.component-status_status__2x5RM.component-status_updates__3S8nV{color:#0d2de3}.component-tooltip_list__2oWDE{list-style:revert;list-style-position:inside}.component-tooltip_list__2oWDE>li:only-child{list-style:none}.component-tooltip_tooltip__7qojt{font-size:12px}.component-status-resolver_statusLine__tFG9-{align-items:baseline;display:flex}.component-status-resolver_statusLine__tFG9->div:not(:last-of-type){margin-right:2px}.component-status-resolver_statusLine__tFG9->div:not(:last-of-type):after{content:","}.component-status-resolver_statusLine__tFG9- .component-status-resolver_modified__1vofG{color:#ff8b00!important}.component-status-resolver_statusLine__tFG9- .component-status-resolver_error__22beK{color:#df083e!important}.component-status-resolver_errorBlock__1hLFG{margin-right:2px}.component-status-resolver_errorBlock__1hLFG>span{font-size:1.1em}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}[hidden]{display:none}body{line-height:1}menu,ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}.corner_corner__2PE8o{align-items:center;background:#ededed;background:var(--bit-border-color-lightest,#ededed);box-sizing:border-box;display:flex;font-weight:700;height:56px;justify-content:space-between;max-width:30%;max-width:264px;padding:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.corner_corner__2PE8o .corner_link__18YRy{align-items:center;color:var(--bit-text-color-heavy);display:flex;flex:1 1;min-width:0;text-decoration:none;transition:color .3s ease-in-out}.corner_corner__2PE8o .corner_link__18YRy:active{color:var(--bit-text-color-heavy)}.corner_corner__2PE8o .corner_link__18YRy:hover{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.corner_corner__2PE8o .corner_link__18YRy>span{overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:480px){.corner_corner__2PE8o .corner_link__18YRy>span{display:none}}.corner_corner__2PE8o .corner_avatar__2Hjbl{margin-right:10px;min-width:25px}.corner_corner__2PE8o>b{font-weight:700}.corner_corner__2PE8o .corner_icon__3i8k2{color:#6c707c;color:var(--bit-text-color-light,#6c707c);cursor:pointer;transition:color .3s ease-in-out}.corner_corner__2PE8o .corner_icon__3i8k2:hover{color:var(--bit-text-color-heavy)}.top-bar_topbar__618ia{align-items:center;background:#ededed;background:var(--bit-bg-heaviest,#ededed);box-sizing:border-box;display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);height:56px;z-index:102}.component-grid_componentGrid__-4Xzl{grid-column-gap:10px;grid-gap:32px;-moz-column-gap:10px;column-gap:10px;display:grid;grid-template-columns:repeat(auto-fill,minmax(197px,1fr))}.empty-component-gallery_emptyComponentGallery__37KcN{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto;padding:0 20px;text-align:center}.empty-component-gallery_emptyComponentGallery__37KcN>img{margin-bottom:40px}.empty-component-gallery_title__16LpM{font-size:24px;font-size:var(--bit-p-xxl,24px);margin-bottom:32px}.empty-component-gallery_title__16LpM>span:last-child{font-weight:700}.empty-component-gallery_purpleLink__2oFDm{align-items:center;color:#5d4aec;color:var(--bit-accent-heavy,#5d4aec);cursor:pointer;display:inline-flex;text-decoration:none}.empty-component-gallery_purpleLink__2oFDm .empty-component-gallery_text__2DqoR{margin-right:5px}.empty-component-gallery_purpleLink__2oFDm .empty-component-gallery_icon__31-i9{margin-top:4px}.empty-component-gallery_bottomText__2kWL2{font-size:var(--bit-p-xs);margin-bottom:16px}.empty-component-gallery_bottomText__2kWL2 .empty-component-gallery_purpleLink__2oFDm{color:#5d4aec;color:var(--bit-accent-heavy,#5d4aec);cursor:pointer;text-decoration:underline}.empty-component-gallery_iconLine__3nqXr{display:flex}.empty-component-gallery_iconLine__3nqXr .empty-component-gallery_logo__1n1yC{height:24px;margin:0 7px;width:24px}.empty-workspace_text__2oKK_{margin-bottom:30px}.preview-container_previewContainer__2vC8P{border-radius:5px 5px 0 0;height:0;overflow:hidden;padding-bottom:57%;position:relative}.preview-container_preview__1l99k{border-bottom:1px solid #cccfd4;border-bottom:1px solid var(--bit-border-color-light,#cccfd4);bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.preview-container_preview__1l99k>div>iframe{pointer-events:none}.preview-container_emptyPreview__G_ejZ{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed)}.deprecation-sticker_deprecated__3eacP{background-color:#ffc640;border-radius:4px;display:none;font-size:10px;font-weight:700;padding:3px 8px;position:absolute;right:12px;text-transform:uppercase;top:7px;z-index:1}.deprecation-sticker_deprecated__3eacP.deprecation-sticker_show__3_A8T{display:inline;display:initial}.details_content__ljwS4{display:flex;flex-direction:column;height:96px;justify-content:space-between;padding:16px}.details_nameSpace__Pea_M{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:10px;font-weight:700;margin-bottom:7px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.details_name__1YRja{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.details_name__1YRja>span:first-child{font-weight:700;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.details_versionHolder__22WVp{align-items:center;display:flex;overflow:hidden}.details_versionHolder__22WVp .details_img__2sKb2{height:14px;margin-left:5px}.details_description__2Gzn-{line-clamp:2;box-orient:vertical;-webkit-line-clamp:2;-webkit-box-orient:vertical;-moz-line-clamp:2;color:#6c707c;color:var(--bit-text-color-light,#6c707c);display:-webkit-box;font-size:14px;font-size:var(--bit-p-xs,14px);overflow:hidden;text-overflow:ellipsis}.card_componentCard__fpri4{border-color:#cccfd4;border-color:var(--bit-border-color-light,#cccfd4);border-radius:5px;border-style:solid;border-width:1px;cursor:pointer;overflow:hidden;position:relative;transition:border-color .3s ease-in-out;width:100%}.card_componentCard__fpri4:hover{border-color:#6c707c;border-color:var(--bit-text-color-light,#6c707c);overflow:visible;overflow:initial}.component-card_componentCardLink__IG4rc{color:var(--bit-text-color-heavy);text-decoration:none}.component-card_bottom__3w-np{justify-content:space-between;padding:0 16px 16px}.component-card_bottom__3w-np,.component-card_bottom__3w-np>div{align-items:center;display:flex}.component-card_bottom__3w-np>div>span{font-size:14px;margin-right:10px}.component-card_bottom__3w-np>div .component-card_size__1urdO{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:11px;vertical-align:middle}.component-card_dot__3V9As{background-color:#ededed;border-radius:50%;display:inline-block;height:14px;width:14px}.component-card_img__35h0q{height:14px}.preview-placeholder_previewPlaceholder__YTjy0{align-items:center;color:#c7c7c7;display:flex;flex-direction:column;height:100%;justify-content:center;pointer-events:auto}.preview-placeholder_previewPlaceholder__YTjy0>span:first-child{font-size:30px;margin-bottom:14px}.preview-placeholder_previewPlaceholder__YTjy0>div{font-size:13px}.preview-placeholder_tooltip__2GkU9{max-width:155px;text-align:center}.load-preview_loadPreview__19w9D{align-items:center;background-color:#414141;background-color:var(--bit-text-color,#414141);border-radius:6px;color:#fff;color:var(--bit-text-on-accent,#fff);cursor:pointer;display:flex;font-size:12px;left:8px;padding:4px 8px;position:absolute;top:8px;transition:background-color .3s ease-in-out}.load-preview_loadPreview__19w9D:hover{background-color:var(--bit-text-color-heavy)}.load-preview_loadPreview__19w9D .load-preview_icon__rZ21U{margin-right:5px;transform:rotate(270deg)}.workspace-component-card_wrapper__2LBMT{position:relative}.workspace-component-card_limitLength__2u6Ie{max-width:70%}.workspace-overview_container__t0pKq{box-sizing:border-box;height:100%;overflow-y:auto;padding:80px 5% 150px}.workspace_emptyContainer__1dsAn{height:100vh}.workspace_workspaceWrapper__3vmnN{display:flex;flex-direction:column;height:100vh;overflow:hidden}.workspace_topbar__28OyP{flex:none}.workspace_main__30sLQ{flex:1 1;height:100%;overflow:hidden}.workspace_splitter__3rzg1{position:relative}.workspace_splitter__3rzg1>:first-child{position:absolute;z-index:101}.workspace_sidebar__37y5K{height:100%;max-width:85%;min-width:100px;position:relative}.menu-widget-icon_icon__3PnJB{font-size:16px}.menu-widget-icon_widgetMenuIcon__3spxQ{align-items:center;display:flex;justify-content:center}.aspect-box_aspectBox__HYqVO{border:1px solid #babec9;border:1px solid var(--bit-border-color,#babec9);border-radius:9px;display:grid;padding:16px}.aspect-box_titleLine__1UmFM{justify-content:space-between;margin-bottom:28px}.aspect-box_iconWrapper__321rW,.aspect-box_titleLeft__3y2TE,.aspect-box_titleLine__1UmFM{align-items:center;display:flex}.aspect-box_iconWrapper__321rW{border:1px solid #ededed;border-radius:50%;justify-content:center;margin-right:5px;padding:2px}.aspect-box_iconWrapper__321rW .aspect-box_icon__VjAOQ{filter:brightness(0);width:12px}.aspect-box_name__-dsup{font-size:20px}.aspect-box_aspectLink__2kjQN{color:#6c707c;color:var(--bit-text-color-light,#6c707c);cursor:pointer}.aspect-box_sectionTitleContainer__2RACg{display:flex;flex-direction:row;justify-content:space-between}.aspect-box_expandCollapse__Qv7yk{align-items:flex-start;cursor:pointer;display:flex}.aspect-box_expandCollapse__Qv7yk img{border-radius:8px;width:16px}.aspect-box_expandCollapse__Qv7yk img:hover{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed)}.aspect-box_copyMessage__2KFvY{display:flex;position:static;transform:none}.aspect-box_toolbar__3Ph6L{align-items:flex-start;display:flex;flex-direction:row}.aspect-box_copyIcon__3HYTq{display:flex;font-size:var(--bit-p-xs)}.aspect-box_copyButton__3jAun{background-color:var(--bit-bg-color-highlight);border:none;box-sizing:border-box;color:var(--bit-accent-color);cursor:pointer;outline:none}.aspect-box_sectionTitle__Id1hT{display:flex;font-size:var(--bit-p-xs);font-weight:700;margin-bottom:16px}.aspect-box_log__2XI4n{background:#282c34;border-radius:6px;overflow:hidden;word-break:break-all}.aspect-box_log__2XI4n.aspect-box_config__2ay6y{margin-bottom:24px}.aspect-box_log__2XI4n>div{overflow-x:auto;padding:16px}.aspect-page_aspectPage__3S5D8{box-sizing:border-box;overflow-y:scroll;padding:50px 40px 100px;width:100%}.aspect-page_aspectPage__3S5D8>div{margin:0 auto;max-width:1440px}.aspect-page_title__2JMMn{font-size:26px;font-size:var(--bit-h-xs,26px);margin-bottom:25px}.aspect-page_separator__iz045{margin-bottom:41px}.aspect-page_aspectBox__2q5eI{margin-bottom:32px}.component-result_name__3VQYJ{flex:1 1;margin:0 .5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.component-result_icon__1KEBX{font-size:1.15em;height:1em;width:1em}.page-frame_centerColumn__3MmeY{margin-left:auto;margin-right:auto;max-width:1000px;width:calc(100% - 40px)}.page-frame_wideColumn__nYSxy{margin-left:auto;margin-right:auto;max-width:1440px;width:calc(100% - 40px)}.page-frame_textColumn__25X-B{max-width:700px}.label_label__9c9FG{background:var(--bit-accent-bg);border-radius:6px;color:var(--bit-accent-heavy);display:inline-block;font-size:12px;font-size:var(--bit-p-xxs,12px);font-weight:700;padding:4px 8px;text-transform:uppercase}.label-list_labelList__slHGT{margin-bottom:16px}.label-list_labelList__slHGT>*{margin-bottom:1em}.label-list_labelList__slHGT>:not(:last-child){margin-right:1em}.section_section__3Kr0F:empty{display:none}.section_sectionMargin__2JK0f{margin-bottom:40px}.tab-line_tabLine__1Vtzo{background-color:#6c5ce7;background-color:var(--primary-color,#6c5ce7);height:4px;left:0;position:absolute;transition:transform .15s ease-in-out,width .15s ease-in-out}.tab-line_tabLine__1Vtzo[data-position=top]{top:0}.tab-line_tabLine__1Vtzo[data-position=bottom]{bottom:0}.tab-folder_tabFolder__1XqTm{background-color:#f6f5fe;background-color:var(--primary-surface-color,#f6f5fe);border:1px solid #ededed;border:1px solid var(--border-medium-color,#ededed);border-radius:8px 8px 0 0;bottom:0;box-sizing:border-box;height:100%;left:0;position:absolute;transition:transform .15s ease-in-out,width .15s ease-in-out}.responsive-navbar_tab__h2BUK{align-items:center;color:#878c9a;cursor:pointer;display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);outline:none;padding:8px 16px;pointer-events:none;position:relative;transition:color .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.responsive-navbar_tab__h2BUK.responsive-navbar_active__2aH7r,.responsive-navbar_tab__h2BUK:hover{color:#2b2b2b;color:var(--on-surface-color,#2b2b2b)}.responsive-navbar_tab__h2BUK.responsive-navbar_active__2aH7r[data-priority=folder]{color:#6c5ce7;color:var(--primary-color,#6c5ce7);transition:transform .15s ease-in-out,color .15s ease-in-out}.responsive-navbar_tab__h2BUK[data-priority=folder]{z-index:1}.responsive-navbar_tab__h2BUK>*{pointer-events:auto}.responsive-navbar_navTabs__ekn4T{display:flex;gap:8px;position:relative}.responsive-navbar_navTabs__ekn4T.responsive-navbar_overflow__2VGfX{overflow-x:auto}.responsive-navbar_more__3ptQ0{align-items:center;display:flex}.responsive-navbar_more__3ptQ0 .responsive-navbar_dots__35bK4{align-items:center;border-radius:8px;color:#707279;color:var(--on-surface-medium-color,#707279);cursor:pointer;display:flex;justify-content:center;padding:8px 16px;transition:background-color .3s ease-in-out}.responsive-navbar_more__3ptQ0 .responsive-navbar_dots__35bK4>img{width:16px}.responsive-navbar_secondaryTabContainer__6CVKO .responsive-navbar_item__25kgV{pointer-events:none;width:100%}.responsive-navbar_secondaryTabContainer__6CVKO .responsive-navbar_item__25kgV .responsive-navbar_menuItem__JvCdr{padding:0;pointer-events:auto}.responsive-navbar_secondaryTabContainer__6CVKO .responsive-navbar_item__25kgV .responsive-navbar_menuItem__JvCdr>*{padding:8px;width:100%}.responsive-navbar_hidden__Q-XYr{display:none}.paragraph_paragraph__2ua3B{margin:0 0 1em}.sub-title_subTitle__-glk0{margin-bottom:16px}.row_row__3BXWP{align-items:center;display:flex;flex-wrap:wrap}.component-overview_componentTitle__3BVCz>h1{margin:0}.component-overview_badgeContainer__10QE3{align-items:center;display:flex;flex-wrap:wrap;margin-top:8px}.component-overview_badgeContainer__10QE3>*{margin:0 8px}.component-overview_subTitle__2kAFX{white-space:break-spaces}.component-overview_titleRow__1dFIx{margin-bottom:20px}.component-overview_contentTabs__1IbFQ{margin-bottom:16px;max-width:100%;min-width:70%}@media screen and (max-width:920px){.component-overview_contentTabs__1IbFQ{width:100%}}.component-overview_contentTabs__1IbFQ .component-overview_nav__3vVfJ>div{font-size:12px;padding:6px 12px}.component-overview_contentTabs__1IbFQ .component-overview_tab__1P5g9{border-bottom:0}.component-overview_copyBox__1Ni_N{background:#fff;background:var(--background-color,#fff);border-top-left-radius:0}.overview_overviewWrapper__1dWkQ{--bit-h-lg:36px;overflow:auto}.overview_overviewWrapper__1dWkQ .overview_componentOverviewBlock__cSyA1{margin-bottom:0;max-width:1440px;padding:50px 40px 10px}.overview_legacyPreview__Ldjic{margin:0 auto}.component-size_componentSizeTooltip__3m7wK{padding:0}.component-size_componentSizeTooltipContent__3GZMA{font-size:12px}.component-size_label__3DLRb{padding:4px 8px}.compare-split-layout-preset_mainContainer__33ngE{display:flex;height:100%;overflow:hidden}.compare-split-layout-preset_subContainerLeft__1JSGh{background-color:#ededed;flex:1 1;padding:16px}.compare-split-layout-preset_subContainerRight__1xt0p{background-color:#ededed;flex:1 1;padding:16px 16px 16px 0}.compare-split-layout-preset_loader__1E8vI{align-items:center;display:flex;height:100%}.overview-compare_checkboxContainer__25wdp{margin-top:16px;padding-left:16px}.overview-compare_subView__2QnoB{background-color:#fff;height:100%;overflow:auto}.overview-compare_loader__3yHGN{align-items:center;display:flex;height:100%}.overview-compare_toggleContainer__1uyZ9{align-items:center;display:flex;margin-bottom:8px}.overview-compare_toggleContainer__1uyZ9 .overview-compare_toggle__2THz3{margin-right:8px}.overview-compare_splitLayout__3Raq1{margin-top:8px}.composition-compare_dropdownContainer__25a1P{background-color:#ededed;background-color:var(--bit-bg-heaviest,#ededed);display:flex}.composition-compare_leftDropdown__ouZFH{display:flex;flex:1 1;padding:16px}.composition-compare_rightDropdown__3EtxL{display:flex;flex:1 1;padding:16px 16px 16px 0}.composition-compare_mainContainer__3dGi1{display:flex;height:100%}.composition-compare_subContainerLeft__Jizds{background-color:#ededed;flex:1 1;padding:16px}.composition-compare_subContainerRight__AkKxS{background-color:#ededed;flex:1 1;padding:16px 16px 16px 0}.composition-compare_subView__3NNoe{background-color:#fff;height:100%;overflow-y:scroll}.composition-compare_loader__1_yPp{align-items:center;display:flex;height:100%}.composition-dropdown_placeholder__2nL2F{align-items:center;background-color:#fff;background-color:var(--bit-bg-color,#fff);border:1px solid #babec9;border:1px solid var(--bit-border-color,#babec9);border-radius:6px;box-sizing:border-box;display:flex;height:30px;justify-content:space-between;padding:0 8px;transition:background-color .3s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.composition-dropdown_menu__2hIHs{border-radius:6px;font-size:var(--bit-p-xs);max-height:240px;max-width:100%;overflow-y:scroll;padding:0;width:100%}.circular-font_circularFont__3ikwh{font-family:"CircularXX","Gill Sans","Gill Sans MT","Helvetica Neue",Helvetica,Arial,sans-serif}@font-face{font-family:"CircularXX";src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Regular.woff2)}@font-face{font-family:"CircularXX";font-weight:700;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Bold.woff2)}@font-face{font-family:"CircularXX";font-weight:800;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Black.woff2)}@font-face{font-family:"CircularXX";font-style:italic;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Italic.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:700;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-BoldItalic.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:800;src:url(https://static.bit.dev/circular-xx/CirculrXXWeb-BlackItalic.woff2)}@font-face{font-family:"CircularXX";font-weight:300;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-light.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:300;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-lightItalic.woff2)}@font-face{font-family:"CircularXX";font-weight:500;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Medium.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:500;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-MediumItalic.woff2)}.base-theme_theme__2IGd_{background:var(--background-color);color:var(--on-background-color);min-height:100%}.theme-toggler_toggler__1Cqk8{background:#fff;background:var(--surface-color,#fff);border-radius:8px;cursor:pointer;padding:.5em;transition:color .18s,background-color .18s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.theme-toggler_toggler__1Cqk8:hover{background:#edebfc;background:var(--surface-hover-color,#edebfc)}.theme-toggler_toggler__1Cqk8:active{background:#dcd8f9;background:var(--surface-active-color,#dcd8f9)}.loader-ribbon_loader__pknIn{opacity:0;transition:opacity 1.27s ease-out;width:100%}.loader-ribbon_loader__pknIn.loader-ribbon_loading__18mM_{opacity:1}.loader-ribbon_loader__pknIn .loader-ribbon_progress__1yIFa{animation:loader-ribbon_completed__3hZP4 1.27s forwards}.loader-ribbon_loader__pknIn.loader-ribbon_loading__18mM_>.loader-ribbon_progress__1yIFa{animation:loader-ribbon_progress__1yIFa 3.3s ease-out infinite forwards}.loader-ribbon_progress__1yIFa{background:#6c5ce7;background:var(--bit-accent-color,#6c5ce7);border-radius:4px;box-shadow:0 0 3px rgba(#6c5ce7,.381);box-shadow:0 0 3px rgba(var(--bit-accent-color,#6c5ce7),.381);height:3px;max-width:100%;width:0}@keyframes loader-ribbon_progress__1yIFa{to{width:100%}}@keyframes loader-ribbon_completed__3hZP4{0%{height:3px}50%{height:7px;width:100%}to{height:3px;opacity:0;width:100%}}.client-context_loader__xgMK-{position:fixed;z-index:20}.scope-menu_top__Jvz3E{color:#414141;color:var(--bit-text-color,#414141);padding:16px 24px}.scope-menu_title__1oquh{align-items:center;display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);font-weight:700}.scope-menu_title__1oquh>span:first-child{color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);font-weight:700;margin-right:8px}.scope-menu_importContent__1EluJ>div{margin:12px 0}.scope-menu_importContent__1EluJ>div:nth-child(2){margin-bottom:24px}.scope-menu_drawerTitle__22wSz{align-items:center;display:flex}.scope-menu_drawerTitle__22wSz>span:first-child{font-size:16px;font-size:var(--bit-p-md,16px);margin-right:8px}.menu_scopMenu__1WcH2{background-color:#fff;background-color:var(--bit-bg-color,#fff);border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.menu_useBox__6MOCS{--bit-drawer-margin:14px}.component-count_componentCount__23qSv{background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed);border-radius:6px;font-size:12px;margin-right:8px;padding:0 6px}.scope-labels_pillsContainer__dwkXe{align-items:center;display:flex;margin-bottom:24px}.scope-labels_pillsContainer__dwkXe>div{margin-right:10px;padding:4px 8px}.scope-labels_pillIcon__FalWb{font-size:16px;font-size:var(--bit-p-md,16px);margin-right:6px}.scope-icon_scopeIcon__3diGE{align-items:center;background-color:#babec9;background-color:var(--bit-border-color,#babec9);border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:9px;box-sizing:border-box;display:flex;font-weight:400;height:1em;justify-content:center;position:relative;text-align:center;width:1em}.scope-icon_letter__1yVE-{color:#fff;color:var(--bit-bg-color,#fff)}.scope-icon_scopeImg__1lKtJ{height:100%}.scope-icon_iconBackground__2PXRS{background-color:#fff;background-color:var(--bit-bg-color,#fff)}.scope-title_title__1gfIN{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:0;margin-right:16px}.scope-title_title__1gfIN>div:first-child{margin-right:16px}.scope-title_orgName__-Ngwp{color:var(--bit-text-color-heavy);font-weight:400;font-weight:700}.scope-details_scopeTitle__26jCw{margin-bottom:32px;max-width:700px}.scope-details_scopeTitle__26jCw>p{margin-bottom:24px}.scope-details_scopeTitle__26jCw .scope-details_titleRow__36Y-T{align-items:baseline;display:flex;flex-wrap:wrap;margin-bottom:20px}.scope-details_scopeTitle__26jCw .scope-details_avatar__gWbUx{margin-right:4px}.empty-scope_text__3yT30{margin-bottom:30px}.scope-overview_container__2TwoW{box-sizing:border-box;height:100%;overflow-y:auto;padding:80px 5% 150px}.scope_scope__2v_8Y{display:flex;flex-direction:column;height:100vh;overflow:hidden}.scope_scope__2v_8Y .scope_topbar__bavKt{flex:none}.scope_scope__2v_8Y .scope_topbar__bavKt,.scope_scope__2v_8Y .scope_topbar__bavKt .scope_whiteCorner__2TuGb{background-color:#fff;background-color:var(--bit-bg-color,#fff);border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.scope_main__2PrHl{flex:1 1;height:100%;overflow:hidden}.scope_splitter__1bzpb{position:relative}.scope_splitter__1bzpb>:first-child{position:absolute;z-index:101}.scope_sidebar__1Dy7n{height:100%;max-width:85%;min-width:100px;position:relative}.scope_pane__3v-Ly{height:100%}.test-loader_testLoader__CKZQv{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto;max-width:300px;padding:20px}.test-loader_testLoader__CKZQv>div:first-child{margin-bottom:50px}.test-loader_testLoader__CKZQv>div{margin-bottom:20px}.test-loader_testLoader__CKZQv>img{margin-bottom:50px;max-width:220px;width:100%}.test-loader_testLoader__CKZQv .test-loader_text__3DInL{font-size:24px}.cli-snippet_log__3cxVB{background:#091720;border-radius:6px;overflow:hidden;padding:16px}.cli-snippet_block__2X5G6{font-family:roboto mono;font-size:12px}.cli-snippet_block__2X5G6 .cli-snippet_line__3vnrG{color:#ededed;line-height:1.5}.cli-snippet_pre__2woyr{display:inline-block;white-space:pre-wrap}.cli-snippet_pre__2woyr span{white-space:break-spaces;word-break:break-all}.test-row_testBlock__3nt8o.test-row_open__SfYjP{border-bottom:none}.test-row_testBlock__3nt8o.test-row_open__SfYjP>.test-row_row__38slY>span{transform:rotate(.5turn);visibility:inherit}.test-row_row__38slY{padding:11px 0}.test-row_snippet__TM_-X{margin-bottom:12px}.test-file-title_testFileTitle__2dhtd{border-left-style:solid;border-left-width:4px;padding-bottom:30px;padding-left:24px}.test-file-title_testFile__318zE{font-size:20px;font-size:var(--bit-p-xl,20px);padding:12px 0}.test-file-title_iconLine__1U_Zt{align-items:center;display:flex}.test-file-title_iconLine__1U_Zt .test-file-title_testIcon__2Fw0b.test-file-title_pass__2AH_4>span{color:#4bba7b}.test-file-title_iconLine__1U_Zt .test-file-title_testIcon__2Fw0b.test-file-title_fail__1_O88>span{color:#e9436c}.test-file-title_iconLine__1U_Zt .test-file-title_testIcon__2Fw0b.test-file-title_pending__1VmCv>span{color:#0984e3}.test-file-title_testIcon__2Fw0b{align-items:center;display:flex;font-size:var(--bit-p-xs);margin-right:16px}.test-file-title_testIcon__2Fw0b .test-file-title_icon__1p5n3{color:#878c9a;font-size:12px;font-size:var(--bit-p-xxs,12px);margin-right:8px}.test-table_testBlock__1DfuK{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.test-table_testBlock__1DfuK.test-table_open__cF39l{border-bottom:none}.test-table_testBlock__1DfuK.test-table_open__cF39l>.test-table_row__3Gfa7>span{transform:rotate(.5turn);visibility:inherit}.test-table_testBlock__1DfuK:hover{background-color:#f6f6f6}.test-table_testBlock__1DfuK:hover>.test-table_row__3Gfa7>span{visibility:inherit}.test-table_testBlock__1DfuK.test-table_hover__lVabR .test-table_row__3Gfa7{cursor:pointer}.test-table_testTable__UTVs8{border:1px solid #babec9;border:1px solid var(--bit-border-color,#babec9);border-bottom-right-radius:9px;border-left:none;border-top-right-radius:9px;margin-bottom:32px;padding-right:24px}.test-table_testRow__3iSzG{border-left-style:solid;border-left-width:4px;padding-left:24px}.test-table_testRow__3iSzG.test-table_passed__2Mk59{border-left-color:#37b26c}.test-table_testRow__3iSzG.test-table_failed__3EJjk{border-left-color:#e62e5c;padding-bottom:12px}.test-table_testRow__3iSzG.test-table_pending__dqajJ{border-left-color:#0984e3}.test-table_testTitle__1Ysxi{align-items:flex-start;display:flex;justify-content:space-between}.test-table_heading__1QoZe{color:#6c707c;color:var(--bit-text-color-light,#6c707c);font-size:12px;font-size:var(--bit-p-xxs,12px);font-weight:700;text-transform:uppercase}.test-table_row__3Gfa7{grid-gap:30px;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr) 20px;padding:0 13px}.test-table_row__3Gfa7>*{padding:15px 0}.test-table_row__3Gfa7>span{margin:auto;visibility:hidden}.test-table_log__138kC{max-height:0;overflow:hidden;transition:max-height .3s,visibility .3s ease-in-out;visibility:hidden;width:100%}.test-table_log__138kC.test-table_open__cF39l{max-height:400px;visibility:inherit}.test-table_snippet__1kfAv{display:grid}.test-table_snippet__1kfAv>span{display:none}.test-table_snippet__1kfAv>pre{background:#282c34!important;max-height:350px}.test-table_snippet__1kfAv>pre>code>span{background:#282c34!important;color:#fff!important;font-size:11px}.test-table_test__6RsTA{align-items:center;display:flex;margin-right:10px}.test-table_test__6RsTA>span{align-self:baseline;margin-right:10px;transform:translateY(1px)}.test-table_test__6RsTA>div{font-size:var(--bit-p-xs);font-weight:700}.test-table_test__6RsTA>div>span{margin-right:5px}.test-table_testBreadcrumbs__1eRzC.test-table_singleLine__3pHTr{align-items:center;display:flex;flex-wrap:wrap;font-weight:inherit}.test-table_duration__uolgy{align-items:center;color:#878c9a;display:flex;font-size:var(--bit-p-xs);white-space:nowrap}.test-table_duration__uolgy>span:first-child{color:#6c707c;color:var(--bit-text-color-light,#6c707c);margin-right:8px}.test-table_pass__F5mYS{color:#37b26c}.test-table_fail__1pCgz{color:#e62e5c}.test-table_pendingIcon__2nvlZ{color:#0984e3;font-size:14px}.test-table_skippedIcon__EbEL_{color:#6c707c;font-size:14px}.tests-page_testsPage__3CAIY{box-sizing:border-box;margin:0 auto;max-width:1440px;overflow-y:auto;padding:50px 40px 100px;width:100%}.tests-page_testsPage__3CAIY .tests-page_title__1IDNZ{font-size:26px;font-size:var(--bit-h-xs,26px);margin-bottom:24px}.tests-page_testsPage__3CAIY .tests-page_separator__1cIn6{margin-bottom:41px}.tests-page_testBlock__dutVM{margin-bottom:50px}.compare-tests_checkboxContainer__2nJaJ{margin-top:16px;padding-left:16px}.compare-tests_subView__3ZI11{background-color:#fff;height:100%;overflow:auto}.compare-tests_loader__11GzJ{align-items:center;display:flex;height:100%}.compare-tests_toggleContainer__1AS8B{align-items:center;display:flex;margin-bottom:8px}.compare-tests_toggleContainer__1AS8B .compare-tests_toggle__1o-qs{margin-right:8px}.compare-tests_splitLayout__3Usnj{margin-top:8px}.component-deprecated_label__1HXz4{background-color:#fffcf4;background-color:var(--design-warning-surface-color,#fffcf4);border-color:#ffc640;border-color:var(--design-warning-color,#ffc640);color:#2b2b2b;padding:0}.component-deprecated_label__1HXz4>div{align-items:center;display:flex;padding:4px 8px}.component-deprecated_label__1HXz4 .component-deprecated_arrowImage__3ZNOZ,.component-deprecated_label__1HXz4 .component-deprecated_deprecatedImage__3g1oW{width:16px}.component-deprecated_label__1HXz4 .component-deprecated_deprecatedImage__3g1oW{margin-right:8px}.component-deprecated_separator__2pn3r{border-right:1px solid #ffc640;border-right:1px solid var(--design-warning-color,#ffc640)}.component-deprecated_componentTooltip__3KTqy{max-width:none!important;padding:0}.component-deprecated_componentTooltipContent__q0XeJ{font-size:12px}.component-deprecated_componentTooltipContent__q0XeJ>div{font-weight:700;margin-bottom:8px}.component-deprecated_link__3TUja{color:inherit;text-decoration:none}.x-button_xButton__32I0N{background:inherit;border:none;color:#babec9;color:var(--bit-text-inactive,var(--bit-text-color-light,#babec9));display:inline-flex;padding:0;transition:color 80ms}.x-button_xButton__32I0N.x-button_interactive__3YJiT{cursor:pointer}.x-button_xButton__32I0N.x-button_interactive__3YJiT:hover{color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b)}.notification_timestamp__2Jgaw{font-size:.85em}.notification_notification__3ShVF{align-items:flex-start;animation:notification_enter__1U8Mc .3s forwards;background:#fff;background:var(--bit-bg-tooltip,#fff);box-shadow:var(--bit-shadow-faint);display:flex;max-height:100vh;max-width:330px;min-width:230px;padding:16px;transform-origin:right bottom;transition:all .3s,max-height .15s ease-out}.notification_notification__3ShVF.notification_dismissing__1MVKa{animation:notification_exit__Rq2qF .3s forwards;margin:0;max-height:0;overflow:hidden;padding:0}.notification_main__qsu_6{flex-grow:1;margin-right:8px}.notification_type__1nyns{font-weight:700;margin-bottom:4px;text-transform:capitalize}.notification_message__2khk4{margin-bottom:8px;word-break:break-word}.notification_icon__2H8f1{font-size:24px;justify-self:flex-start;margin-right:16px;width:24px}@keyframes notification_exit__Rq2qF{0%{opacity:1;transform:translate(0) scale(1)}99%{opacity:0;transform:translate(200%) scale(.1)}to{visibility:hidden}}@keyframes notification_enter__1U8Mc{0%{opacity:0;transform:translate(200%) scale(.1)}99%{opacity:1;transform:translate(0) scale(1)}}.notification-center_notificationCenter__zUFWG{bottom:8px;display:flex;flex-direction:column;font-size:14px;justify-content:flex-end;max-height:calc(100vh - 64px);position:fixed;right:16px;z-index:5000}.notification-center_notificationCenter__zUFWG.notification-center_dismissing__3pcuz{animation:notification-center_exitRight__1Pjs3 .3s ease-in-out forwards}.notification-center_actions__186kN{flex:none;padding:0 8px}.notification-center_notificationsContainer__2ON4-{display:flex;flex-direction:column-reverse;margin-bottom:4px;overflow-x:hidden;overflow-y:auto;padding:8px 8px 4px}.notification-center_notificationsContainer__2ON4->*{flex:none}.notification-center_notificationsContainer__2ON4->:not(:first-child){margin-bottom:4px}.notification-center_timestamp__St4rq{font-size:.85em;text-align:right}@keyframes notification-center_exitRight__1Pjs3{0%{opacity:1;transform:translate(0)}99%{opacity:0;transform:translate(200%)}to{opacity:0;transform:translate(200%);visibility:hidden}}.button_Button__2QCn_{border-radius:5px;font-family:inherit;font-size:inherit;height:46px;height:var(--primary-button-height,46px);outline:none;text-align:center;transition:all .3s}.button_Button__2QCn_:disabled{cursor:auto;filter:saturate(.38)}.button_Button__2QCn_[data-variation=normal]{background-color:#fff;background-color:var(--bit-bg-color,#fff);border:1px solid #fff;border:1px solid var(--bit-bg-color,#fff);color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.button_Button__2QCn_[data-variation=normal]:hover:not(:disabled){background-color:#fff;background-color:var(--bit-bg-heavy,#fff);border:1px solid #fff;border:1px solid var(--bit-bg-heavy,#fff);color:#5d4aec;color:var(--bit-accent-heavy,#5d4aec)}.button_Button__2QCn_[data-variation=ghost]{background-color:#fff;background-color:var(--bit-bg-color,#fff);border:1px solid #6c5ce7;border:1px solid var(--bit-accent-color,#6c5ce7);color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.button_Button__2QCn_[data-variation=ghost]:hover:not(:disabled){background-color:#fff;background-color:var(--bit-bg-heavy,#fff);border:1px solid #5d4aec;border:1px solid var(--bit-accent-heavy,#5d4aec);color:#5d4aec;color:var(--bit-accent-heavy,#5d4aec)}.button_Button__2QCn_[data-variation=cta]{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);border:1px solid #6c5ce7;border:1px solid var(--bit-accent-color,#6c5ce7);color:#fff;color:var(--bit-text-on-accent,#fff)}.button_Button__2QCn_[data-variation=cta]:hover:not(:disabled){background-color:#5d4aec;background-color:var(--bit-accent-heavy,#5d4aec);border:1px solid #5d4aec;border:1px solid var(--bit-accent-heavy,#5d4aec)}.elevations_low__1RkQ_{box-shadow:none;box-shadow:var(--bit-shadow-hover-low,initial)}.elevations_low__1RkQ_:active:not(:disabled){box-shadow:none;box-shadow:var(--bit-shadow-resting,initial);transform:translateY(2px)}.elevations_medium__3BpJY{box-shadow:none;box-shadow:var(--bit-shadow-hover-medium,initial)}.elevations_medium__3BpJY:active:not(:disabled){box-shadow:none;box-shadow:var(--bit-shadow-resting,initial);transform:translateY(2px)}.elevations_high__3Qg4B{box-shadow:none;box-shadow:var(--bit-shadow-hover-high,initial)}.elevations_high__3Qg4B:active:not(:disabled){box-shadow:none;box-shadow:var(--bit-shadow-resting,initial);transform:translateY(11px)}.dismiss-button_dismissButton__3J83H{align-items:center;display:flex;height:40px;justify-content:center;width:100%}.dismiss-button_dismissButton__3J83H-entering{animation:dismiss-button_enter__751DQ .3s forwards}.dismiss-button_dismissButton__3J83H-exiting{animation:dismiss-button_exit__3VWED .3s forwards}.dismiss-button_dismissButton__3J83H-exited{display:none}@keyframes dismiss-button_exit__3VWED{0%{opacity:1;transform:translate(0) scale(1)}99%{opacity:0;transform:translate(200%) scale(.1)}to{visibility:hidden}}@keyframes dismiss-button_enter__751DQ{0%{opacity:0;transform:translate(200%) scale(.1)}99%{opacity:1;transform:translate(0) scale(1)}}.change-log-page_changeLogPage__1tKou{box-sizing:border-box;margin:0 auto;max-width:1440px;overflow-y:auto;padding:50px 40px 100px;width:100%}.change-log-page_changeLogPage__1tKou .change-log-page_title__9kEj5{font-size:26px;font-size:var(--bit-h-xs,26px);margin-bottom:24px}.change-log-page_changeLogPage__1tKou .change-log-page_separator__b-Of9{margin-bottom:0}.change-log-page_separatorNoChangeLog__1vUA-{margin-bottom:41px}.change-log-page_changeLogCard__25vNf{margin-bottom:8px}.change-log-page_logContainer__4KoMq{display:flex;flex-direction:column}.code-view_codeView__1bBfh{box-sizing:border-box;overflow:hidden;padding:24px 40px;width:100%}.code-view_codeView__1bBfh .code-view_codeSnippetWrapper__1ix2v{max-width:100%;width:100%}.code-view_codeView__1bBfh .code-view_codeSnippetWrapper__1ix2v .code-view_codeSnippet__3Cmw7{display:block;height:calc(100vh - 200px);overflow:auto}.code-view_codeView__1bBfh .code-view_codeSnippetWrapper__1ix2v .code-view_codeSnippet__3Cmw7>code>code{border-right:1px solid #323232;margin-right:16px;padding-right:16px!important}.code-view_codeView__1bBfh .code-view_codeSnippetWrapper__1ix2v>span{top:13px!important}.code-view_img__5OiL2{margin-right:10px;width:20px}.code-view_fileName__2tZ_k{align-items:baseline;display:flex}.code-view_emptyCodeView__-1cvF{font-size:24px;margin:auto;text-align:center}.dependency-drawer_dependencyDrawer__31RJ1>div:first-child{border:initial;font-size:14px;padding-left:16px}.dependency-drawer_dependencyDrawerContent__2A8cy{overflow-y:auto}.dependency-drawer_dependencyLink__3TLqO{align-items:center;border-left:0 solid transparent;box-sizing:border-box;color:inherit;display:flex;font-size:inherit;font-size:var(--bit-p-xs);height:32px;overflow:hidden;padding:0 8px 0 32px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.dependency-drawer_dependencyLink__3TLqO>span:first-child{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7);margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dependency-drawer_depNode__19iZi{align-items:center;display:flex;flex:1 1;font-size:14px;min-width:0}.dependency-drawer_depNode__19iZi:hover{background:#f6f6f6;background:var(--bit-bg-heavy,#f6f6f6)}.artifacts-tree_artifactsPanel__tYAKw{background:#fafafa;border-right:2px solid #ededed;display:flex;flex-direction:column;font-size:var(--bit-p-xs);height:100%;overflow-y:auto}.artifacts-tree_artifactsPanelCodeTabDrawer__2OFzr>div:first-child{border:none;border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.artifacts-tree_openDrawer__kuMDp{flex:1 1;height:100%}.artifacts-tree_artifactsPanelCodeDrawerContent__2ASCz{overflow-y:auto}.artifacts-tree_drawerIcon__2L2z6{font-size:var(--bit-p-xs);margin-right:8px}.artifacts-tree_label__3vTCV{font-size:var(--bit-p-xxs);font-weight:inherit;padding:4px}.artifacts-tree_icon__2k1do{color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);font-size:var(--bit-p-xxs);padding:4px;pointer-events:auto}.artifacts-tree_artifactIconLink__30gpQ{text-decoration:none}.artifacts-tree_link__2-_LE{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.artifacts-tree_node__26io3{pointer-events:none}.artifacts-tree_node__26io3>div{pointer-events:auto}.artifacts-tree_artifactWidgets__doUsI{display:flex}.artifacts-tree_size__1dPXL{background-color:#edebfc;background-color:var(--bit-accent-bg,#edebfc);border-radius:4px;color:#6c5ce7;color:var(--bit-accent-text,#6c5ce7);font-size:"12px";font-size:var(--bit-p-xxs,"12px");line-height:1em;margin-right:8px;padding:4px}.artifacts-tree_size__1dPXL.artifacts-tree_selected__WvCcQ{border:1px solid #6c5ce7;border:1px solid var(--bit-accent-text,#6c5ce7)}.code-tab-tree_codeTabTree__2MuUH{display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}.code-tab-tree_codeTabDrawer__DpR73>div:first-child{border:none;border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.code-tab-tree_openDrawer__1t2iF{flex:1 1;height:100%}.code-tab-tree_codeDrawerContent__3eI1m{overflow-y:auto}.code-tab-tree_drawerIcon__3umXD{font-size:14px;margin-right:8px}.code-tab-tree_label__y9LjK{font-size:10px;font-weight:inherit;padding:4px}.code-tab-page_codePage__uh_uj{height:calc(100vh - 56px);width:100%}.code-tab-page_left__A1uX1{display:flex;max-width:calc(100% - 200px);min-width:200px}.code-tab-page_right__3rrBi{max-width:calc(100% - 200px);min-width:200px;overflow-y:auto;position:relative}.code-tab-page_splitter__32XBc{position:relative}.code-tab-page_splitter__32XBc>:first-child{position:absolute;z-index:101}.code-tab-page_collapser__3j9Uh{right:1px}.code-tab-page_depNode__2vhAl{overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.command-result_name__3xapw{flex:1 1}.command-result_commandKeys__BAYbe{float:right;font-size:.85em}.command-result_icon__3zfBb{font-size:1.15em;height:1em;margin-right:.5em;width:1em}.command-bar_commanderUi__2crco{font-size:20px;left:50%;max-width:90%;position:fixed;top:130px;transform:translate(-50%);width:643px}.component-compare-version-picker_componentCompareVersionPicker__2iS3c{display:flex;flex-direction:row;padding:8px 0}.component-compare-version-picker_componentCompareVersionMenu__JRwIh{left:0;min-width:400px}.component-compare-version-picker_showMenuOverNav__2eYds{z-index:102}.component-compare-version-picker_componentCompareVersionPlaceholder__2PdYe{align-items:center;display:flex;justify-content:space-between}.component-compare-version-picker_componentCompareVersionContainer__1l2b-{align-items:center;display:flex;font-size:14px;min-width:0}.component-compare-version-picker_componentCompareVersionContainer__1l2b-.component-compare-version-picker_left__1vuem{padding-right:16px}.component-compare-version-picker_componentCompareVersionContainer__1l2b-.component-compare-version-picker_right__cR-28{padding-left:16px}.component-compare-version-picker_componentCompareDropdown__1YVZq{width:100%}.component-compare-version-picker_arrowContainer__eDiYB{align-self:center;display:flex;height:60%}.component-compare-version-picker_arrowContainer__eDiYB img{align-self:center;display:flex;height:100%}.component-compare-version-picker_titleText__2rJqr{align-self:center;display:flex;font-size:16px;font-weight:700}.component-compare-version-picker_rightPad__1LudM{padding-right:8px}.empty-box_emptyCompositions__SjA0D{font-size:15px;font-size:var(--bit-p-sm,15px);margin:auto;padding:20px}.empty-box_emptyCompositions__SjA0D *{text-overflow:ellipsis}.empty-box_innerBorder__27U8B{border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:8px;overflow:hidden;padding:24px}.empty-box_innerBorder__27U8B>div{font-weight:700;margin-bottom:14px;overflow:hidden}.empty-box_innerBorder__27U8B>a{color:#897dec;text-decoration:none}.empty-box_innerBorder__27U8B>a>span{font-size:12px;font-size:var(--bit-p-xxs,12px);padding-left:5px}.component-compare_componentCompareContainer__2pgKN{display:flex;flex-direction:column;height:100%;overflow:hidden}.component-compare_top__1IAIW{display:flex;flex-direction:column;padding:24px 24px 16px}.component-compare_bottom__1Nfve{display:flex;flex:1 1;flex-direction:column;overflow:hidden;padding-bottom:16px}.component-compare_navContainer__1Dr0J{align-items:center;border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);min-height:48px}.component-compare_navigation__3vPqK{display:flex;list-style:none;min-height:48px}@media screen and (max-width:768px){.component-compare_navigation__3vPqK{padding-left:6px}}.component-compare_navigation__3vPqK>li{display:block;height:100%;margin-right:16px}.component-compare_loader__2s0LW{display:flex;height:100%;margin:auto;width:100%}.lane-compare_laneCompareContainer__9VZ5k{display:flex;flex:1 1;flex-direction:column}.lane-compare_componentCompareContainer__2pACV{height:55vh}.lane-compare_versionPicker__yfZWA{display:flex;flex-direction:column;width:100%}.lane-compare_componentCompareDrawer__8pXcr>div:first-child{border:none;border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.lane-compare_componentCompareDrawerContent__2gKty{overflow-y:auto}.lane-details_laneTitle__25jJ_{max-width:700px}.lane-details_laneTitle__25jJ_>p{margin-bottom:24px}.lane-details_laneTitle__25jJ_ .lane-details_titleRow__l-jfO{align-items:baseline;display:flex;flex-wrap:wrap;margin-bottom:20px}.lane-details_laneTitle__25jJ_ .lane-details_avatar__3CgmG{margin-right:4px}.lane-details_laneIcon__1mzbt{border:0}.lane-details_pillsContainer__2XmE5{align-items:center;display:flex;margin-bottom:24px}.lane-details_pillsContainer__2XmE5>div{margin-right:10px;padding:4px 8px}.lane-details_pillIcon__2hujr{font-size:16px;font-size:var(--bit-p-md,16px);margin-right:6px}.empty-lane-overview_text__2CHg1{margin-bottom:30px}.lane-overview_container__1c4S1{box-sizing:border-box;height:100%;overflow-y:auto;padding:50px 5% 150px}.lane-overview_laneDetails__2I1D0{padding-bottom:32px}.lanes-overview-menu_topBarLink__2b0QR{align-items:center;box-sizing:border-box;color:inherit;display:flex;margin:0 5px;padding:0 8px;position:relative;text-decoration:none;transition:color .3s}.lanes-overview-menu_topBarLink__2b0QR:hover:not(.lanes-overview-menu_active__2k_83)>div{background-color:var(--bit-bg-heavy)}.lanes-overview-menu_topBarLink__2b0QR.lanes-overview-menu_active__2k_83{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.lanes-overview-menu_topBarLink__2b0QR.lanes-overview-menu_active__2k_83:after{background-color:#6c5ce7;background-color:var(--bit-accent-color,#6c5ce7);height:4px}.lanes-overview-menu_topBarLink__2b0QR:after{background-color:transparent;border-top-left-radius:2px;border-top-right-radius:2px;bottom:0;content:"";height:0;left:0;position:absolute;right:0;transition:background-color .3s,height .3s}.lanes-overview-menu_topBarLink__2b0QR>div{align-items:center;border-radius:8px;display:flex;height:30px;padding:0 8px;transition:background-color .3s ease-in-out}.lanes-overview-menu_topBar__3bFmi{justify-content:space-between;width:100%}.lanes-overview-menu_leftSide__1F7Up,.lanes-overview-menu_topBar__3bFmi{align-items:center;display:flex;height:100%}.lanes-overview-menu_navigation__1u4Zk{display:flex;height:100%;list-style:none;padding-left:28px}@media screen and (max-width:768px){.lanes-overview-menu_navigation__1u4Zk{padding-left:6px}}.lanes-overview-menu_navigation__1u4Zk>li{display:block;height:100%;margin-right:16px}.lanes-overview-menu_rightSide__tCkg3{align-items:center;display:flex;height:100%}.lanes-overview-menu_rightSide__tCkg3>*{margin-right:12px}.lanes-overview-menu_rightSide__tCkg3>:last-child{margin-right:16px}.lanes-overview-menu_rightSide__tCkg3 .lanes-overview-menu_widgets__z5KNz{align-items:center;display:flex;height:100%;margin-right:20px}.lanes-overview-menu_rightSide__tCkg3 .lanes-overview-menu_widgets__z5KNz>nav>a{padding:0}.lanes-overview-menu_rightSide__tCkg3 .lanes-overview-menu_widgets__z5KNz>nav>a:last-child{margin-right:0}.lanes-overview-menu_rightSide__tCkg3 .lanes-overview-menu_widget__C87Hf{font-size:17px}.lanes-overview-menu_useBox__C6nN9{--bit-drawer-margin:14px}.use-lanes-menu_top__3fdpG{color:#414141;color:var(--bit-text-color,#414141);padding:16px 24px}.use-lanes-menu_title__FoCQM{align-items:center;display:flex;font-size:14px;font-size:var(--bit-p-xs,14px);font-weight:700}.use-lanes-menu_titleIcon__3vXjI,.use-lanes-menu_titleText__1bPzL{color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);font-weight:700;margin-right:8px}.use-lanes-menu_importContentCmd__3u7-K,.use-lanes-menu_importContentLabel__22B5_{margin:12px 0}.use-lanes-menu_drawerTitle__1mTee{align-items:center;display:flex;margin-right:8px}.use-lanes-menu_useBox__1Ls-5{--bit-drawer-margin:14px}.use-lanes-menu_lanesMenu__2o_ts{background-color:#fff;background-color:var(--bit-bg-color,#fff)}.lane-menu-item_menuItem__1VykH,.use-lanes-menu_lanesMenu__2o_ts{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.lane-menu-item_menuItem__1VykH{cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;min-width:120px;padding:8px 16px}.lane-menu-item_defaultLanePill__Nigwv{font-size:12px;font-size:var(--bit-p-xxs,12px);text-transform:lowercase}.lane-placeholder_placeholder__p3_9u{align-items:center;background-color:#ededed;background-color:var(--bit-border-color-lightest,#ededed);border:1px solid #cccfd4;border:1px solid var(--bit-border-color-light,#cccfd4);border-radius:6px;display:flex;font-size:14px;line-height:16px;line-height:var(--bit-p-md,16px);padding:4px 8px 4px 4px}.lane-placeholder_placeholder__p3_9u.lane-placeholder_disabled__2Nr2g{border:initial}.lane-placeholder_placeholderText__2o2V4{flex:1 1;font-size:14px;font-size:var(--bit-p-xs,14px);padding:4px 12px}.lane-placeholder_icon__3vdbQ{padding-left:8px}.lane-placeholder_menu__3LdbO{border-radius:8px}.lane-grouped-menu-item_groupedMenuItem__3uPfR{display:flex;flex-direction:column;min-width:120px}.lane-grouped-menu-item_scope__1m10N{font-weight:700;padding:8px 16px}.lane-search_search__2FYgS{background:#fff;background:var(--bit-bg-color,#fff);border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:6px;margin-bottom:8px;padding:8px;width:calc(100% - 16px)}.lane-selector_dropdown__31d4u{border-radius:8px;z-index:100}.lane-selector_dropdown__31d4u.lane-selector_disabled__2ruKI>div{cursor:inherit}.lane-selector_header__1kAeu{padding:8px 16px}.lane-selector_header__1kAeu,.lane-selector_search__13v1s{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed)}.lane-selector_search__13v1s{margin:8px 0 0}.lane-selector_menu__2UPUI{width:calc(100% - 24px)}.lane-switcher_laneSwitcherContainer__1nUjG{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,#ededed);border-top:1px solid #ededed;border-top:1px solid var(--bit-border-color-lightest,#ededed);display:flex;padding-bottom:8px;padding-left:16px!important;padding-right:8px;padding-top:8px;width:calc(100% - 24px)}.lane-switcher_laneGalleryIcon__2ZpAy{border-radius:8px;display:flex;flex:0 1;font-size:14px}.lane-switcher_laneGalleryIcon__2ZpAy>span:first-child{margin-right:0}.lane-switcher_laneSelector__3yGl3{flex:1 1;padding-right:8px;width:100%}.component-compare-changelog_changeLogPage__BjCtJ{box-sizing:border-box;display:flex;flex-direction:column;overflow-y:auto;padding:16px}.compare-aspect-view_componentCompareAspectViewContainer__h4FN2{height:100%;width:100%}.compare-aspect-view_componentCompareAspectDiffEditorContainer__1Vo0M{display:flex;flex-direction:column;height:calc(100% - 56px);padding:0 8px}.compare-aspect-view_name__1ho5w{align-items:baseline;display:flex;padding:8px}.compare-aspect-view_componentCompareAspectCalculatedDiff__1Wpce,.compare-aspect-view_componentCompareAspectConfigDiff__15ti7{display:flex;flex:1 1;flex-direction:column;height:100%;padding:8px}.compare-aspect-view_componentCompareAspectCalculatedDiff__1Wpce>section,.compare-aspect-view_componentCompareAspectConfigDiff__15ti7>section{border-radius:8px;overflow:hidden}.compare-aspect-view_loader__3pUhC{align-items:center;display:flex;height:100%;justify-items:center;width:100%}.compare-aspects_componentCompareAspectContainer__Cx-XR{display:flex;min-height:calc(100% - 56px);width:100%}.compare-aspects_left__30PJx{display:flex;max-width:calc(100% - 200px);min-width:200px}.compare-aspects_right__2Sbem{background:#fafafa;max-height:100%;max-width:calc(100% - 200px);min-width:200px;overflow-y:auto;position:relative}.compare-aspects_splitter__2KWhf{position:relative}.compare-aspects_splitter__2KWhf>:first-child{position:absolute;z-index:101}.compare-aspects_collapser__34pcy{right:1px}.compare-aspects_depNode__2Ozva{overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.compare-aspects_loader__2D5Hi{align-items:center;display:flex;height:100%;justify-items:center;width:100%}.api-reference-explorer_apiReferenceExplorer__lpQeH{border-right:2px solid #ededed;display:flex;flex-direction:column;font-size:var(--bit-p-xs);height:100%;overflow:auto}.api-reference-page_apiRefPageContainer__1ikmU{display:flex;flex-direction:column;height:100%;width:100%}.api-reference-page_selectedAPIDetailsContainer__3wOuY{display:flex;flex-direction:column;height:calc(100% - 80px);padding:24px 40px;width:calc(100% - 80px)}.api-reference-page_splitter__QslpU{position:relative}.api-reference-page_splitter__QslpU>:first-child{position:absolute;z-index:101}.api-reference-page_collapser__1pvf4{right:1px}.api-reference-page_right__2A6CQ{background:#fafafa;max-width:calc(100% - 200px);min-width:200px;overflow-y:auto;position:relative}.api-reference-page_left__2uTf5{display:flex;max-width:calc(100% - 200px);min-width:200px}.api-reference-page_loader__2vgbE{align-items:center;display:flex;height:100%;justify-items:center;width:100%}.api-reference-page_apiNodeDetailsNameContainer__3vwxc{display:flex;flex-direction:row}.api-reference-page_apiTypeIcon__3RpYT{padding-right:8px}.api-reference-page_apiTypeIcon__3RpYT img{height:26px;height:var(--bit-h-md,26px)}.api-reference-page_name__2bz9t{margin:0}.api-reference-page_selectedAPILocationContainer__2tzoa{align-items:center;border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:6px;display:flex;margin-left:8px;padding-right:8px}.api-reference-page_selectedAPILocationContainer__2tzoa:hover{background-color:#f4f5f6;background-color:var(--bit-bg-heavy,#f4f5f6)}.api-reference-page_locationLabel__DVTX5{color:"#707279";color:var(--bit-text-color-light,"#707279");display:flex;padding:4px}.api-reference-page_locationIcon__14lDZ{display:flex}.api-reference-page_locationIcon__14lDZ img{height:12px}.api-reference-page_locationLink__1dUlX{align-items:center;align-self:center;border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:6px;color:"#707279";color:var(--bit-text-color-light,"#707279");display:flex;font-size:"12px";font-size:var(--bit-p-xxs,"12px");margin-left:12px;min-width:-moz-fit-content;min-width:fit-content;padding-right:4px;text-decoration:none}.api-reference-page_locationLink__1dUlX:hover{background-color:#f4f5f6;background-color:var(--bit-bg-heavy,#f4f5f6)}.table-column_tableColumn__p99Tz{align-items:center;display:flex;font-size:var(--bit-p-xs)}.table-row_propRow__3S8Qr{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,var(--bit-border-color-lightest,#ededed));margin-bottom:8px;padding:18px 20px}.table-row_propRow__3S8Qr.table-row_singleColumn__pGa7-{grid-template-columns:repeat(1,1fr)}.table-row_mobileTitle__3sImc{display:none}.table-row_mobileTitle__3sImc.table-row_show__bdRVf{color:var(--bit-text-color-light);display:flex;font-size:var(--bit-p-xxs);font-weight:700;min-width:110px;text-transform:uppercase}.table-row_columnContent__2LEH1,.table-row_column__3m6pm{align-items:center;display:flex;flex-wrap:wrap}.table-row_title__3gU1M{margin:initial;text-transform:capitalize}.table-row_required__SsijI{color:var(--bit-text-color-light);font-size:12px;white-space:nowrap}.table-row_name__2szGO{color:#4646c6;margin-right:5px}.table-row_name__2szGO,.table-row_type__2cuel{font-family:Roboto mono;font-size:var(--bit-p-xxs)}.table-row_type__2cuel{background-color:#eceaff;background-color:var(--bit-accent-bg,#eceaff);border-radius:4px;display:inline-block;padding:5px;width:-moz-fit-content;width:fit-content}.table-row_typeColumn__14fDF .table-row_highlighted__111bG{background:transparent none repeat 0 0/auto auto padding-box border-box scroll!important;background:initial!important;display:flex!important;flex-grow:1;font-family:Roboto mono;font-size:var(--bit-p-xxs);margin:0;padding:0!important;white-space:pre-wrap;word-break:break-word}.table-row_typeColumn__14fDF .table-row_highlighted__111bG>code>span{color:#397300}.table-row_typeColumn__14fDF .table-row_highlighted__111bG>code{font-family:inherit}.table-row_default__3gbkZ{font-family:Roboto mono;font-size:var(--bit-p-xxs)}.table-row_breakWord__13CTL{word-break:break-word}.enum-member-summary_signature__2zM0Q{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);margin-right:5px;word-break:normal}.enum-member-summary_name__z4uZT{word-break:normal}.enum-member-summary_row__32syl{grid-template-columns:1fr 2fr 1fr}.variable-node-summary_name__1IBEb{word-break:normal}.variable-node-summary_row__GHNDh{grid-template-columns:1fr 2fr 1fr}.variable-node-summary_node__2dqnA{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.parameter_renderer_parameterContainer__3C-2x,.parameter_renderer_parameterName__3aiAc,.parameter_renderer_parameterType__32JOa{display:flex}.parameter_renderer_parameterContainer__3C-2x{padding-bottom:16px}.parameter_renderer_parameterName__3aiAc{padding-right:8px}.parameter_renderer_node__21ssq{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.function-node-summary_table__zb4mj>div{grid-gap:8px 16px}.function-node-summary_signatureContainer__1J_YX{background-color:#fff;border-radius:6px;color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);margin-right:5px;padding:4px;width:100%;word-break:normal}.function-node-summary_signatureContainer__1J_YX.function-node-summary_isHovering__36sQa{background-color:#f4f5f6;cursor:pointer}.function-node-summary_row__1pRvw{grid-template-columns:1fr 1fr 2fr}.function-node-summary_row__1pRvw.function-node-summary_isHovering__36sQa{background-color:#f4f5f6;cursor:pointer}.function-node-summary_name__3uBGg{word-break:normal}.function-node-summary_rowWithSignatureDetails__B6H1g{border-bottom:1px solid #ededed;border-bottom:1px solid var(--bit-border-color-lightest,var(--bit-border-color-lightest,#ededed));margin-bottom:8px}.function-node-summary_showSignature__in63D{border-bottom:none}.function-node-summary_signatureDetails__2eyHB{background-color:#f4f5f6;background-color:var(--bit-bg-heavy,#f4f5f6)}.function-node-summary_returnContainer__3pD5v,.function-node-summary_returnTitle__1ywfV,.function-node-summary_returnType__1d3gL{display:flex}.function-node-summary_returnContainer__3pD5v{padding:18px 20px}.function-node-summary_returnTitle__1ywfV{font-size:var(--bit-p-xxs);font-weight:500;padding-right:16px;text-transform:uppercase}.function-node-summary_node__1See2{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.dist_schemaNodeIndexContainer__gP1uM{display:flex;flex-direction:column;height:100%;max-width:20%;min-width:150px;overflow-y:auto}.dist_groupName__cknCp{display:flex;font-size:var(--bit-p-sm);font-weight:500;text-transform:capitalize}.dist_groupedNodesContainer__2XJLB{display:flex;flex-direction:column;flex-wrap:wrap;padding-bottom:8px;width:100%}.dist_group__PdSGf{border-left:1px solid #ededed;border-left:1px solid var(--bit-border-color-lightest,#ededed);display:flex;flex-direction:column;padding-right:16px}.dist_firstNode__3Sa0Q{margin-top:16px}.dist_firstNodeLink__3QU6Z{padding-top:0}.dist_groupedNode__1rpfY{display:flex;font-size:var(--bit-p-xs)}.dist_noGroup__2uZTI{padding-left:0}.dist_groupedNodeName__153Yl{border-radius:4px}.dist_title__2sgJA{font-size:var(--bit-p-xs);font-weight:500;margin-bottom:8px;text-transform:uppercase}.api-node-details_apiNodeDetailsContainer__2aMH4{display:flex;height:calc(100% - 40px);padding:24px 0}.api-node-details_apiDetails__1GDaV{overflow-y:auto;padding-right:16px;width:100%}.api-node-details_schemaNodesIndex__GDmau{flex:0 1;height:100%}.api-node-details_apiNodeDetailsNameContainer__32CrU{align-items:center;display:flex;flex-direction:row;padding-bottom:24px}.api-node-details_apiNodeDetailsName__1fXv9,.api-node-details_apiTypeIcon__2T9zz{padding-right:8px}.api-node-details_apiTypeIcon__2T9zz img{height:18px}.api-node-details_codeEditorContainer__2nS3u>section{border-radius:8px;overflow:hidden;width:auto!important}.api-node-details_editor__2Smq0{background-color:#1e1e1e;background-color:var(--editor-bg-color,#1e1e1e)}.api-node-details_apiNodeDetailsComment__2oM6f{font-size:var(--bit-p-xs);padding-bottom:24px}.api-node-details_apiNodeDetailsSignatureContainer__1-7sK{display:flex;flex-direction:column;padding-bottom:24px}.api-node-details_apiNodeDetailsExample__1JT0S{padding-bottom:24px}.api-node-details_apiNodeDetailsExampleTitle__1AQ_4{padding:16px 0}.api-node-details_apiNodeImplementationDrawer__2AoEx{width:100%}.api-node-details_apiNodeDetailsLocationContainer__13aAA{align-items:center;display:flex;flex-direction:row;line-height:16px;padding-bottom:24px}.api-node-details_apiNodeImplementationCodeView__2KmTz{padding:16px 0}.api-node-details_apiNodeImplementationCodeView__2KmTz>h1{display:none!important}.api-node-details_apiNodeDetailsLocation__2UAfT{display:flex;width:100%}.api-node-details_apiNodeDetailsLocationIcon__t5O4-{display:flex;padding-right:8px}.api-node-details_apiNodeDetailsLocationIcon__t5O4- img{height:14px}.api-node-details_apiNodeDetailsLocationLink__2DCu3{font-size:var(--bit-p-xs);max-width:-moz-fit-content;max-width:fit-content}.api-node-details_apiNodeDetailsMembersContainer__2P-x9{padding-bottom:16px}.grouped-schema-nodes-summary_groupName__2ekwm{font-size:var(--bit-p-md);font-weight:500;padding-bottom:16px;text-transform:capitalize}.grouped-schema-nodes-summary_groupNodesContainer__2CYJa{display:flex;flex-direction:column}.grouped-schema-nodes-summary_table__22epo>div{grid-gap:16px 24px}.grouped-schema-nodes-summary_paddingTop__2tbfD{padding-top:16px}.grouped-schema-nodes-summary_row__7Unm9{grid-template-columns:1fr 1fr 2fr}.function_renderer_container__1hLdj{display:flex;flex-direction:column;padding-bottom:16px}.function_renderer_title__185KA{font-size:var(--bit-p-md);font-weight:500;padding-bottom:16px}.function_renderer_value__3rQzK{background:var(--bit-bg-dent);border-radius:6px;font-family:Roboto mono;font-size:var(--bit-p-xs);padding:16px}.function_renderer_typeParams__3ILAj{padding-top:16px}.function_renderer_bold__3nH9F{font-weight:500}.function_renderer_table__1Ud-R>div{grid-gap:16px 24px}.function_renderer_returnType__2-XFV{color:#4646c6;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs)}.function_renderer_node__Gs3w9{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.type-ref_renderer_container__356tJ{display:flex;padding:16px 0}.type-ref_renderer_nodeLink__3zsX6,.type-ref_renderer_node__YZ0GG{display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.type-ref_renderer_node__YZ0GG{color:#397300}.type-ref_renderer_nodeLink__3zsX6{color:#4646c6}.type-union_renderer_node__1JiTU{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.type-union_renderer_separator__SVz_A{padding:0 4px}.type-intersection_renderer_node__1G9Tj{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.type-intersection_renderer_separator__Qqb5Q{padding:0 4px}.type-literal_renderer_container___SiqK{height:auto}.type-literal_renderer_node__11KKX{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal}.inference-type_container__1dlih{display:flex}.inference-type_node__2VC-f,.type-array_renderer_node__3nZTM{color:#397300;display:flex;font-family:Roboto mono;font-size:var(--bit-p-xxs);word-break:normal} \ No newline at end of file diff --git a/public/bit/static/js/706.f5543c5c.js b/public/bit/static/js/706.f5543c5c.js new file mode 100644 index 00000000..cc31c57e --- /dev/null +++ b/public/bit/static/js/706.f5543c5c.js @@ -0,0 +1,627 @@ +/*! For license information please see 706.f5543c5c.js.LICENSE.txt */ +(self.webpackChunkpv_sites_mobile=self.webpackChunkpv_sites_mobile||[]).push([[706],{69094:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>a,pi:()=>o,_T:()=>i,mG:()=>s,Jh:()=>c,ev:()=>l});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]{"use strict";n.r(t),n.d(t,{MDXContext:()=>l,MDXProvider:()=>p,mdx:()=>h,useMDXComponents:()=>d,withMDXComponents:()=>u});var r=n(49725);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=r.createContext({}),u=function(e){return function(t){var n=d(t.components);return r.createElement(e,o({},t,{components:n}))}},d=function(e){var t=r.useContext(l),n=t;return e&&(n="function"===typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=d(e.components);return r.createElement(l.Provider,{value:t},e.children)},f="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=d(n),p=a,f=u["".concat(i,".").concat(p)]||u[p]||g[p]||o;return n?r.createElement(f,s(s({ref:t},l),{},{components:n})):r.createElement(f,s({ref:t},l))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"===typeof e||a){var o=n.length,i=new Array(o);i[0]=m;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[f]="string"===typeof e?e:a,i[1]=s;for(var l=2;l{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?e.apply(this,a):function(){for(var e=arguments.length,r=new Array(e),o=0;oce,default:()=>ge,loader:()=>z,useMonaco:()=>le});var m=p((function(e,t){throw new Error(e[t]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),h={changes:function(e,t){return f(t)||m("changeType"),Object.keys(t).some((function(t){return n=e,r=t,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&m("changeField"),t},selector:function(e){g(e)||m("selectorType")},handler:function(e){g(e)||f(e)||m("handlerType"),f(e)&&Object.values(e).some((function(e){return!g(e)}))&&m("handlersType")},initial:function(e){var t;e||m("initialIsRequired"),f(e)||m("initialType"),t=e,Object.keys(t).length||m("initialContent")}};function _(e,t){return g(t)?t(e.current):t}function v(e,t){return e.current=u(u({},e.current),t),t}function y(e,t,n){return g(t)?t(e.current):Object.keys(n).forEach((function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.call(t,e.current[n])})),n}var b={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.initial(e),h.handler(t);var n={current:e},r=p(y)(n,t),a=p(v)(n),o=p(h.changes)(e),i=p(_)(n);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return h.selector(e),e(n.current)}function c(e){d(r,a,o,i)(e)}return[s,c]}};const R=b;const E={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs"}};const S=function(e){return{}.toString.call(e).includes("Object")};var O={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},w=function(e){return function t(){for(var n=this,r=arguments.length,a=new Array(r),o=0;o=e.length?e.apply(this,a):function(){for(var e=arguments.length,r=new Array(e),o=0;o{r.current=!1}:e,t)};function re(){}function ae(e,t,n,r){return function(e,t){return e.editor.getModel(oe(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r&&oe(e,r))}(e,t,n,r)}function oe(e,t){return e.Uri.parse(t)}function ie({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:a,originalModelPath:o,modifiedModelPath:i,keepCurrentOriginalModel:s,keepCurrentModifiedModel:c,theme:l,loading:u,options:d,height:p,width:f,className:g,wrapperProps:m,beforeMount:h,onMount:_}){const[v,y]=(0,H.useState)(!1),[b,R]=(0,H.useState)(!0),E=(0,H.useRef)(null),S=(0,H.useRef)(null),O=(0,H.useRef)(null),w=(0,H.useRef)(_),C=(0,H.useRef)(h);te((()=>{const e=z.init();return e.then((e=>(S.current=e)&&R(!1))).catch((e=>"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e))),()=>E.current?function(){const e=E.current.getModel();var t,n;s||null===(t=e.original)||void 0===t||t.dispose();c||null===(n=e.modified)||void 0===n||n.dispose();E.current.dispose()}():e.cancel()})),ne((()=>{const e=E.current.getModifiedEditor();e.getOption(S.current.editor.EditorOption.readOnly)?e.setValue(t):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t,forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],v),ne((()=>{E.current.getModel().original.setValue(e)}),[e],v),ne((()=>{const{original:e,modified:t}=E.current.getModel();S.current.editor.setModelLanguage(e,r||n),S.current.editor.setModelLanguage(t,a||n)}),[n,r,a],v),ne((()=>{S.current.editor.setTheme(l)}),[l],v),ne((()=>{E.current.updateOptions(d)}),[d],v);const T=(0,H.useCallback)((()=>{C.current(S.current);const s=ae(S.current,e,r||n,o),c=ae(S.current,t,a||n,i);E.current.setModel({original:s,modified:c})}),[n,t,a,e,r,o,i]),x=(0,H.useCallback)((()=>{E.current=S.current.editor.createDiffEditor(O.current,{automaticLayout:!0,...d}),T(),S.current.editor.setTheme(l),y(!0)}),[d,l,T]);return(0,H.useEffect)((()=>{v&&w.current(E.current,S.current)}),[v]),(0,H.useEffect)((()=>{!b&&!v&&x()}),[b,v,x]),H.createElement(ee,{width:f,height:p,isEditorReady:v,loading:u,_ref:O,className:g,wrapperProps:m})}ie.propTypes={original:Y().string,modified:Y().string,language:Y().string,originalLanguage:Y().string,modifiedLanguage:Y().string,originalModelPath:Y().string,modifiedModelPath:Y().string,keepCurrentOriginalModel:Y().bool,keepCurrentModifiedModel:Y().bool,theme:Y().string,loading:Y().oneOfType([Y().element,Y().string]),options:Y().object,width:Y().oneOfType([Y().number,Y().string]),height:Y().oneOfType([Y().number,Y().string]),className:Y().string,wrapperProps:Y().object,beforeMount:Y().func,onMount:Y().func},ie.defaultProps={theme:"light",loading:"Loading...",options:{},keepCurrentOriginalModel:!1,keepCurrentModifiedModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:re,onMount:re};const se=ie;const ce=(0,H.memo)(se);const le=function(){const[e,t]=(0,H.useState)(z.__getMonacoInstance());return te((()=>{let n;return e||(n=z.init(),n.then((e=>{t(e)}))),()=>{var e;return null===(e=n)||void 0===e?void 0:e.cancel()}})),e};const ue=function(e){const t=(0,H.useRef)();return(0,H.useEffect)((()=>{t.current=e}),[e]),t.current},de=new Map;function pe({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:a,path:o,theme:i,line:s,loading:c,options:l,overrideServices:u,saveViewState:d,keepCurrentModel:p,width:f,height:g,className:m,wrapperProps:h,beforeMount:_,onMount:v,onChange:y,onValidate:b}){const[R,E]=(0,H.useState)(!1),[S,O]=(0,H.useState)(!0),w=(0,H.useRef)(null),C=(0,H.useRef)(null),T=(0,H.useRef)(null),x=(0,H.useRef)(v),N=(0,H.useRef)(_),I=(0,H.useRef)(null),P=(0,H.useRef)(r),A=ue(o),D=(0,H.useRef)(!1);te((()=>{const e=z.init();return e.then((e=>(w.current=e)&&O(!1))).catch((e=>"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e))),()=>C.current?function(){var e,t;null===(e=I.current)||void 0===e||e.dispose(),p?d&&de.set(o,C.current.saveViewState()):null===(t=C.current.getModel())||void 0===t||t.dispose();C.current.dispose()}():e.cancel()})),ne((()=>{const n=ae(w.current,e||r,t||a,o);n!==C.current.getModel()&&(d&&de.set(A,C.current.saveViewState()),C.current.setModel(n),d&&C.current.restoreViewState(de.get(o)))}),[o],R),ne((()=>{C.current.updateOptions(l)}),[l],R),ne((()=>{C.current.getOption(w.current.editor.EditorOption.readOnly)?C.current.setValue(r):r!==C.current.getValue()&&(C.current.executeEdits("",[{range:C.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),C.current.pushUndoStop())}),[r],R),ne((()=>{w.current.editor.setModelLanguage(C.current.getModel(),a)}),[a],R),ne((()=>{void 0!==s&&C.current.revealLine(s)}),[s],R),ne((()=>{w.current.editor.setTheme(i)}),[i],R);const k=(0,H.useCallback)((()=>{if(!D.current){N.current(w.current);const s=o||n,c=ae(w.current,r||e,t||a,s);C.current=w.current.editor.create(T.current,{model:c,automaticLayout:!0,...l},u),d&&C.current.restoreViewState(de.get(s)),w.current.editor.setTheme(i),E(!0),D.current=!0}}),[e,t,n,r,a,o,l,u,d,i]);return(0,H.useEffect)((()=>{R&&x.current(C.current,w.current)}),[R]),(0,H.useEffect)((()=>{!S&&!R&&k()}),[S,R,k]),P.current=r,(0,H.useEffect)((()=>{var e,t;R&&y&&(null===(e=I.current)||void 0===e||e.dispose(),I.current=null===(t=C.current)||void 0===t?void 0:t.onDidChangeModelContent((e=>{y(C.current.getValue(),e)})))}),[R,y]),(0,H.useEffect)((()=>{if(R){const e=w.current.editor.onDidChangeMarkers((e=>{var t;const n=null===(t=C.current.getModel())||void 0===t?void 0:t.uri;if(n){if(e.find((e=>e.path===n.path))){const e=w.current.editor.getModelMarkers({resource:n});null===b||void 0===b||b(e)}}}));return()=>{null===e||void 0===e||e.dispose()}}}),[R,b]),H.createElement(ee,{width:f,height:g,isEditorReady:R,loading:c,_ref:T,className:m,wrapperProps:h})}pe.propTypes={defaultValue:Y().string,defaultPath:Y().string,defaultLanguage:Y().string,value:Y().string,language:Y().string,path:Y().string,theme:Y().string,line:Y().number,loading:Y().oneOfType([Y().element,Y().string]),options:Y().object,overrideServices:Y().object,saveViewState:Y().bool,keepCurrentModel:Y().bool,width:Y().oneOfType([Y().number,Y().string]),height:Y().oneOfType([Y().number,Y().string]),className:Y().string,wrapperProps:Y().object,beforeMount:Y().func,onMount:Y().func,onChange:Y().func,onValidate:Y().func},pe.defaultProps={theme:"light",loading:"Loading...",options:{},overrideServices:{},saveViewState:!0,keepCurrentModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:re,onMount:re,onValidate:re};const fe=pe;const ge=(0,H.memo)(fe)},1802:(e,t,n)=>{"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:()=>r})},63797:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:()=>r})},57346:(e,t,n)=>{"use strict";n.d(t,{kK:()=>a,Re:()=>o,Zq:()=>i});var r=n(63797);function a(e){return e instanceof(0,r.Z)(e).Element||e instanceof Element}function o(e){return e instanceof(0,r.Z)(e).HTMLElement||e instanceof HTMLElement}function i(e){return"undefined"!==typeof ShadowRoot&&(e instanceof(0,r.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},70214:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1802),a=n(57346);const o={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];(0,a.Re)(i)&&(0,r.Z)(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,a.Re)(o)&&(0,r.Z)(o)&&(Object.assign(o.style,s),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]}},67293:(e,t,n)=>{"use strict";n.d(t,{fi:()=>ye});var r=n(57346),a=Math.max,o=Math.min,i=Math.round,s=n(63797);function c(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function l(){return!/^((?!chrome|android).)*safari/i.test(c())}function u(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),o=1,c=1;t&&(0,r.Re)(e)&&(o=e.offsetWidth>0&&i(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&i(a.height)/e.offsetHeight||1);var u=((0,r.kK)(e)?(0,s.Z)(e):window).visualViewport,d=!l()&&n,p=(a.left+(d&&u?u.offsetLeft:0))/o,f=(a.top+(d&&u?u.offsetTop:0))/c,g=a.width/o,m=a.height/c;return{width:g,height:m,top:f,right:p+g,bottom:f+m,left:p,x:p,y:f}}function d(e){var t=(0,s.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var p=n(1802);function f(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return u(f(e)).left+d(e).scrollLeft}function m(e){return(0,s.Z)(e).getComputedStyle(e)}function h(e){var t=m(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function _(e,t,n){void 0===n&&(n=!1);var a=(0,r.Re)(t),o=(0,r.Re)(t)&&function(e){var t=e.getBoundingClientRect(),n=i(t.width)/e.offsetWidth||1,r=i(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),c=f(t),l=u(e,o,n),m={scrollLeft:0,scrollTop:0},_={x:0,y:0};return(a||!a&&!n)&&(("body"!==(0,p.Z)(t)||h(c))&&(m=function(e){return e!==(0,s.Z)(e)&&(0,r.Re)(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:d(e);var t}(t)),(0,r.Re)(t)?((_=u(t,!0)).x+=t.clientLeft,_.y+=t.clientTop):c&&(_.x=g(c))),{x:l.left+m.scrollLeft-_.x,y:l.top+m.scrollTop-_.y,width:l.width,height:l.height}}function v(e){var t=u(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function y(e){return"html"===(0,p.Z)(e)?e:e.assignedSlot||e.parentNode||((0,r.Zq)(e)?e.host:null)||f(e)}function b(e){return["html","body","#document"].indexOf((0,p.Z)(e))>=0?e.ownerDocument.body:(0,r.Re)(e)&&h(e)?e:b(y(e))}function R(e,t){var n;void 0===t&&(t=[]);var r=b(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=(0,s.Z)(r),i=a?[o].concat(o.visualViewport||[],h(r)?r:[]):r,c=t.concat(i);return a?c:c.concat(R(y(i)))}function E(e){return["table","td","th"].indexOf((0,p.Z)(e))>=0}function S(e){return(0,r.Re)(e)&&"fixed"!==m(e).position?e.offsetParent:null}function O(e){for(var t=(0,s.Z)(e),n=S(e);n&&E(n)&&"static"===m(n).position;)n=S(n);return n&&("html"===(0,p.Z)(n)||"body"===(0,p.Z)(n)&&"static"===m(n).position)?t:n||function(e){var t=/firefox/i.test(c());if(/Trident/i.test(c())&&(0,r.Re)(e)&&"fixed"===m(e).position)return null;var n=y(e);for((0,r.Zq)(n)&&(n=n.host);(0,r.Re)(n)&&["html","body"].indexOf((0,p.Z)(n))<0;){var a=m(n);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return n;n=n.parentNode}return null}(e)||t}var w="top",C="bottom",T="right",x="left",N="auto",I=[w,C,T,x],P="start",A="end",D="viewport",k="popper",M=I.reduce((function(e,t){return e.concat([t+"-"+P,t+"-"+A])}),[]),j=[].concat(I,[N]).reduce((function(e,t){return e.concat([t,t+"-"+P,t+"-"+A])}),[]),L=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function F(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}function B(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function G(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function W(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?H(a):null,i=a?q(a):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case w:t={x:s,y:n.y-r.height};break;case C:t={x:s,y:n.y+n.height};break;case T:t={x:n.x+n.width,y:c};break;case x:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=o?Y(o):null;if(null!=l){var u="y"===l?"height":"width";switch(i){case P:t[l]=t[l]-(n[u]/2-r[u]/2);break;case A:t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}const Q={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=W({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,l=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,g=e.isFixed,h=c.x,_=void 0===h?0:h,v=c.y,y=void 0===v?0:v,b="function"===typeof p?p({x:_,y:y}):{x:_,y:y};_=b.x,y=b.y;var R=c.hasOwnProperty("x"),E=c.hasOwnProperty("y"),S=x,N=w,I=window;if(d){var P=O(n),D="clientHeight",k="clientWidth";if(P===(0,s.Z)(n)&&"static"!==m(P=f(n)).position&&"absolute"===l&&(D="scrollHeight",k="scrollWidth"),a===w||(a===x||a===T)&&o===A)N=C,y-=(g&&P===I&&I.visualViewport?I.visualViewport.height:P[D])-r.height,y*=u?1:-1;if(a===x||(a===w||a===C)&&o===A)S=T,_-=(g&&P===I&&I.visualViewport?I.visualViewport.width:P[k])-r.width,_*=u?1:-1}var M,j=Object.assign({position:l},d&&K),L=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:i(t*r)/r||0,y:i(n*r)/r||0}}({x:_,y:y}):{x:_,y:y};return _=L.x,y=L.y,u?Object.assign({},j,((M={})[N]=E?"0":"",M[S]=R?"0":"",M.transform=(I.devicePixelRatio||1)<=1?"translate("+_+"px, "+y+"px)":"translate3d("+_+"px, "+y+"px, 0)",M)):Object.assign({},j,((t={})[N]=E?y+"px":"",t[S]=R?_+"px":"",t.transform="",t))}const Z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,l={placement:H(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,X(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,X(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var J=n(70214);const ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=j.reduce((function(e,n){return e[n]=function(e,t,n){var r=H(e),a=[x,w].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[x,T].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e}),{}),s=i[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=i}};var te={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var re={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function oe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t,n){return t===D?ie(function(e,t){var n=(0,s.Z)(e),r=f(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,c=0,u=0;if(a){o=a.width,i=a.height;var d=l();(d||!d&&"fixed"===t)&&(c=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:c+g(e),y:u}}(e,n)):(0,r.kK)(t)?function(e,t){var n=u(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ie(function(e){var t,n=f(e),r=d(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=a(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=a(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+g(e),l=-r.scrollTop;return"rtl"===m(o||n).direction&&(c+=a(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:c,y:l}}(f(e)))}function ce(e,t,n,i){var s="clippingParents"===t?function(e){var t=R(y(e)),n=["absolute","fixed"].indexOf(m(e).position)>=0&&(0,r.Re)(e)?O(e):e;return(0,r.kK)(n)?t.filter((function(e){return(0,r.kK)(e)&&oe(e,n)&&"body"!==(0,p.Z)(e)})):[]}(e):[].concat(t),c=[].concat(s,[n]),l=c[0],u=c.reduce((function(t,n){var r=se(e,n,i);return t.top=a(r.top,t.top),t.right=o(r.right,t.right),t.bottom=o(r.bottom,t.bottom),t.left=a(r.left,t.left),t}),se(e,l,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function le(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function de(e,t){void 0===t&&(t={});var n=t,a=n.placement,o=void 0===a?e.placement:a,i=n.strategy,s=void 0===i?e.strategy:i,c=n.boundary,l=void 0===c?"clippingParents":c,d=n.rootBoundary,p=void 0===d?D:d,g=n.elementContext,m=void 0===g?k:g,h=n.altBoundary,_=void 0!==h&&h,v=n.padding,y=void 0===v?0:v,b=le("number"!==typeof y?y:ue(y,I)),R=m===k?"reference":k,E=e.rects.popper,S=e.elements[_?R:m],O=ce((0,r.kK)(S)?S:S.contextElement||f(e.elements.popper),l,p,s),x=u(e.elements.reference),N=W({reference:x,element:E,strategy:"absolute",placement:o}),P=ie(Object.assign({},E,N)),A=m===k?P:x,M={top:O.top-A.top+b.top,bottom:A.bottom-O.bottom+b.bottom,left:O.left-A.left+b.left,right:A.right-O.right+b.right},j=e.modifiersData.offset;if(m===k&&j){var L=j[o];Object.keys(M).forEach((function(e){var t=[T,C].indexOf(e)>=0?1:-1,n=[w,C].indexOf(e)>=0?"y":"x";M[e]+=L[n]*t}))}return M}const pe={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,g=void 0===f||f,m=n.allowedAutoPlacements,h=t.options.placement,_=H(h),v=c||(_===h||!g?[ne(h)]:function(e){if(H(e)===N)return[];var t=ne(e);return[ae(e),t,ae(t)]}(h)),y=[h].concat(v).reduce((function(e,n){return e.concat(H(n)===N?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?j:c,u=q(r),d=u?s?M:M.filter((function(e){return q(e)===u})):I,p=d.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=de(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[H(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:g,allowedAutoPlacements:m}):n)}),[]),b=t.rects.reference,R=t.rects.popper,E=new Map,S=!0,O=y[0],A=0;A=0,B=F?"width":"height",U=de(t,{placement:D,boundary:u,rootBoundary:d,altBoundary:p,padding:l}),G=F?L?T:x:L?C:w;b[B]>R[B]&&(G=ne(G));var $=ne(G),V=[];if(o&&V.push(U[k]<=0),s&&V.push(U[G]<=0,U[$]<=0),V.every((function(e){return e}))){O=D,S=!1;break}E.set(D,V)}if(S)for(var z=function(e){var t=y.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},Y=g?3:1;Y>0;Y--){if("break"===z(Y))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function fe(e,t,n){return a(e,o(t,n))}const ge={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=void 0===i||i,c=n.altAxis,l=void 0!==c&&c,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.padding,g=n.tether,m=void 0===g||g,h=n.tetherOffset,_=void 0===h?0:h,y=de(t,{boundary:u,rootBoundary:d,padding:f,altBoundary:p}),b=H(t.placement),R=q(t.placement),E=!R,S=Y(b),N="x"===S?"y":"x",I=t.modifiersData.popperOffsets,A=t.rects.reference,D=t.rects.popper,k="function"===typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,M="number"===typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(I){if(s){var F,B="y"===S?w:x,U="y"===S?C:T,G="y"===S?"height":"width",$=I[S],V=$+y[B],z=$-y[U],W=m?-D[G]/2:0,Q=R===P?A[G]:D[G],K=R===P?-D[G]:-A[G],X=t.elements.arrow,Z=m&&X?v(X):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[B],te=J[U],ne=fe(0,A[G],Z[G]),re=E?A[G]/2-W-ne-ee-M.mainAxis:Q-ne-ee-M.mainAxis,ae=E?-A[G]/2+W+ne+te+M.mainAxis:K+ne+te+M.mainAxis,oe=t.elements.arrow&&O(t.elements.arrow),ie=oe?"y"===S?oe.clientTop||0:oe.clientLeft||0:0,se=null!=(F=null==j?void 0:j[S])?F:0,ce=$+ae-se,le=fe(m?o(V,$+re-se-ie):V,$,m?a(z,ce):z);I[S]=le,L[S]=le-$}if(l){var ue,pe="x"===S?w:x,ge="x"===S?C:T,me=I[N],he="y"===N?"height":"width",_e=me+y[pe],ve=me-y[ge],ye=-1!==[w,x].indexOf(b),be=null!=(ue=null==j?void 0:j[N])?ue:0,Re=ye?_e:me-A[he]-D[he]-be+M.altAxis,Ee=ye?me+A[he]+D[he]-be-M.altAxis:ve,Se=m&&ye?function(e,t,n){var r=fe(e,t,n);return r>n?n:r}(Re,me,Ee):fe(m?Re:_e,me,m?Ee:ve);I[N]=Se,L[N]=Se-me}t.modifiersData[r]=L}},requiresIfExists:["offset"]};const me={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=H(n.placement),c=Y(s),l=[x,T].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return le("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,I))}(a.padding,n),d=v(o),p="y"===c?w:x,f="y"===c?C:T,g=n.rects.reference[l]+n.rects.reference[c]-i[c]-n.rects.popper[l],m=i[c]-n.rects.reference[c],h=O(o),_=h?"y"===c?h.clientHeight||0:h.clientWidth||0:0,y=g/2-m/2,b=u[p],R=_-d[l]-u[f],E=_/2-d[l]/2+y,S=fe(b,E,R),N=c;n.modifiersData[r]=((t={})[N]=S,t.centerOffset=S-E,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&oe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[w,T,C,x].some((function(t){return e[t]>=0}))}const ve={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=de(t,{elementContext:"reference"}),s=de(t,{altBoundary:!0}),c=he(i,r),l=he(s,a,o),u=_e(c),d=_e(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var ye=$({defaultModifiers:[z,Q,Z,J.Z,ee,pe,ge,me,ve]})},41783:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(49725);const a=e=>{const t=r.useRef(e);return r.useEffect((()=>{t.current=e})),t}},12954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(49725);const a=function(e,t){const n=r.useRef(t);return r.useEffect((()=>{n.current=e}),[e]),n.current}},94873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(3219))},93998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(85384);t.NodeFS=r.NodeFS,function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(80095))},85384:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=n(45919),o=r(n(73550)),i=r(n(80095));t.NodeFS=class{constructor(e){this.workingDir=e,this.promises=new i.default}getPath(e){return a.join(this.workingDir,e)}access(e,t,n){o.default.access(this.getPath(e),t,n)}accessSync(e,t){o.default.accessSync(this.getPath(e),t)}appendFile(e,t,n,r){o.default.appendFile(this.getPath(e),t,n)}appendFileSync(e,t,n){o.default.appendFileSync(this.getPath(e),t,n)}chmod(e,t,n){o.default.chmod(this.getPath(e),t,n)}chmodSync(e,t){o.default.chmodSync(this.getPath(e),t)}chown(e,t,n,r){o.default.chown(this.getPath(e),t,n,r)}chownSync(e,t,n){o.default.chownSync(this.getPath(e),t,n)}close(e,t){o.default.close(e,t)}closeSync(e){o.default.closeSync(e)}copyFile(e,t,n){o.default.copyFile(e,t,n)}copyFileSync(e,t,n){o.default.copyFileSync(e,t,n)}createReadStream(e,t){return o.default.createReadStream(this.getPath(e),t)}createWriteStream(e,t){return o.default.createWriteStream(this.getPath(e),t)}exists(e,t){o.default.exists(this.getPath(e),t)}existsSync(e){return o.default.existsSync(this.getPath(e))}fchmod(e,t,n){o.default.fchmod(e,t,n)}fchmodSync(e,t){o.default.fchmodSync(e,t)}fchown(e,t,n,r){o.default.fchown(e,t,n,r)}fchownSync(e,t,n){o.default.fchownSync(e,t,n)}fdatasync(e,t){o.default.fdatasync(e,t)}fdatasyncSync(e){o.default.fdatasyncSync(e)}fstat(e,t){o.default.fstat(e,t)}fstatSync(e){return o.default.fstatSync(e)}fsync(e,t){o.default.fsync(e,t)}fsyncSync(e){o.default.fsyncSync(e)}ftruncate(e,t,n){o.default.ftruncate(e,t,n)}ftruncateSync(e,t){o.default.ftruncateSync(e,t)}futimes(e,t,n,r){o.default.futimes(e,t,n,r)}futimesSync(e,t,n){o.default.futimesSync(e,t,n)}lchmod(e,t,n){o.default.lchmod(this.getPath(e),t,n)}lchmodSync(e,t){o.default.lchmodSync(this.getPath(e),t)}lchown(e,t,n,r){o.default.lchown(this.getPath(e),t,n,r)}lchownSync(e,t,n){o.default.lchownSync(this.getPath(e),t,n)}link(e,t,n){o.default.link(e,t,n)}linkSync(e,t){o.default.linkSync(e,t)}lstat(e,t){o.default.lstat(this.getPath(e),t)}lstatSync(e){return o.default.lstatSync(e)}mkdir(e,t,n){o.default.mkdir(this.getPath(e),t,n)}mkdirSync(e,t){o.default.mkdirSync(this.getPath(e),t)}mkdtemp(e,t,n){o.default.mkdtemp(e,t,n)}mkdtempSync(e,t){return o.default.mkdtempSync(e,t)}open(e,t,n,r){o.default.open(this.getPath(e),t,n,r)}openSync(e,t,n){return o.default.openSync(this.getPath(e),t,n)}read(e,t,n,r,a,i){o.default.read(e,t,n,r,a,i)}readFile(e,t,n){}readFileSync(e,t){return o.default.readFileSync(this.getPath(e))}readSync(e,t,n,r,a){return o.default.readSync(e,t,n,r,a)}readdir(e,t,n){o.default.readdir(this.getPath(e),t,n)}readdirSync(e,t){return o.default.readdirSync(this.getPath(e),t)}readlink(e,t,n){o.default.readlink(this.getPath(e),t,n)}readlinkSync(e,t){return o.default.readlinkSync(this.getPath(e),t)}realpath(e,t,n){o.default.realpath(this.getPath(e),t,n)}realpathSync(e,t){return o.default.realpathSync(this.getPath(e),t)}rename(e,t,n){o.default.rename(e,t,n)}renameSync(e,t){o.default.renameSync(e,t)}rmdir(e,t){o.default.rmdir(this.getPath(e),t)}rmdirSync(e){o.default.rmdirSync(this.getPath(e))}stat(e,t){o.default.stat(this.getPath(e),t)}statSync(e){return o.default.statSync(e)}symlink(e,t,n,r){o.default.symlink(e,this.getPath(t),n,r)}symlinkSync(e,t,n){o.default.symlinkSync(e,this.getPath(t),n)}truncate(e,t,n){o.default.truncate(this.getPath(e),t,n)}truncateSync(e,t){o.default.truncateSync(this.getPath(e),t)}unlink(e,t){o.default.unlink(this.getPath(e),t)}unlinkSync(e){o.default.unlinkSync(this.getPath(e))}unwatchFile(e,t){o.default.unwatchFile(e,t)}utimes(e,t,n,r){o.default.utimes(this.getPath(e),t,n,r)}utimesSync(e,t,n){o.default.utimesSync(this.getPath(e),t,n)}watch(e,t,n){return o.default.watch(e,t,n)}watchFile(e,t,n){o.default.watchFile(e,t,n)}writeFile(e,t,n,r){o.default.writeFile(this.getPath(e),t,n)}writeFileSync(e,t,n){o.default.writeFileSync(this.getPath(e),t,n)}writeSync(e,t,n,r,a){return o.default.writeSync(e,t,n,r,a)}write(e,t,n,r,a,o){this.write(e,t,n,r,a,o)}}},80095:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=r(n(73550));t.default=class{access(e,t){return a.default.promises.access(e,t)}appendFile(e,t,n){return a.default.promises.appendFile(e,t)}chmod(e,t){return a.default.promises.chmod(e,t)}chown(e,t,n){return a.default.promises.chown(e,t,n)}copyFile(e,t,n){return a.default.promises.copyFile(e,t,n)}fchmod(e,t){return a.default.promises.fchmod(e,t)}fchown(e,t,n){return a.default.promises.fchown(e,t,n)}fdatasync(e){return a.default.promises.fdatasync(e)}fstat(e){return a.default.promises.fstat(e)}fsync(e){return a.default.promises.fsync(e)}ftruncate(e,t){return a.default.promises.ftruncate(e,t)}futimes(e,t,n){return a.default.promises.futimes(e,t,n)}lchmod(e,t){return a.default.promises.lchmod(e,t)}lchown(e,t,n){return a.default.promises.lchown(e,t,n)}link(e,t){return a.default.promises.link(e,t)}lstat(e){return a.default.promises.lstat(e)}mkdir(e,t){return a.default.promises.mkdir(e,t)}mkdtemp(e,t){return a.default.promises.mkdtemp(e,t)}open(e,t,n){return a.default.promises.open(e,t,n)}read(e,t,n,r,o){return a.default.promises.read(e,t,n,r,o)}readFile(e,t){return a.default.promises.readFile(e,t)}readdir(e,t){return a.default.promises.readdir(e,t)}readlink(e,t){return a.default.promises.readlink(e,t)}realpath(e,t){return a.default.promises.realpath(e,t)}rename(e,t){return a.default.promises.rename(e,t)}rmdir(e){return a.default.promises.rmdir(e)}stat(e){return a.default.promises.stat(e)}symlink(e,t,n){return a.default.promises.symlink(e,t,n)}truncate(e,t){return a.default.promises.truncate(e,t)}unlink(e){return a.default.promises.unlink(e)}utimes(e,t,n){return a.default.promises.utimes(e,t,n)}write(e,t,n,r,o){a.default.promises.write(e,t,n,r)}writeFile(e,t,n){return a.default.promises.writeFile(e,t,n)}}},3219:(e,t,n)=>{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(93998)),r(n(77638))},77638:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(17789))},17789:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(23879);t.MemoryFS=class{constructor(){this.volume=new r.Volume,this.promises=this.volume.promises}access(e,t,n){this.volume.access(e,t,n)}accessSync(e,t){this.volume.accessSync(e,t)}appendFile(e,t,n,r){this.volume.appendFile(e,t,n)}mkdirpSync(e){this.volume.mkdirpSync(e)}appendFileSync(e,t,n){this.volume.appendFileSync(e,t,n)}chmod(e,t,n){this.volume.chmod(e,t,n)}chmodSync(e,t){this.volume.chmodSync(e,t)}chown(e,t,n,r){this.volume.chown(e,t,n,r)}chownSync(e,t,n){this.volume.chownSync(e,t,n)}close(e,t){this.volume.close(e,t)}closeSync(e){this.volume.closeSync(e)}copyFile(e,t,n){this.volume.copyFile(e,t,n)}copyFileSync(e,t,n){this.volume.copyFileSync(e,t,n)}createReadStream(e,t){return this.volume.createReadStream(e,t)}createWriteStream(e,t){return this.volume.createWriteStream(e,t)}exists(e,t){this.volume.exists(e,t)}existsSync(e){return!1}fchmod(e,t,n){this.volume.fchmod(e,t,n)}fchmodSync(e,t){this.volume.fchmodSync(e,t)}fchown(e,t,n,r){this.volume.fchown(e,t,n,r)}fchownSync(e,t,n){this.volume.fchownSync(e,t,n)}fdatasync(e,t){this.volume.fdatasync(e,t)}fdatasyncSync(e){this.volume.fdatasyncSync(e)}fstat(e,t){this.volume.fstat(e,t)}fstatSync(e){return this.volume.fstatSync(e)}fsync(e,t){this.volume.fsync(e,t)}fsyncSync(e){this.volume.fsyncSync(e)}ftruncate(e,t,n){this.volume.ftruncate(e,t,n)}ftruncateSync(e,t){this.volume.ftruncateSync(e,t)}futimes(e,t,n,r){this.volume.futimes(e,t,n,r)}futimesSync(e,t,n){this.volume.futimesSync(e,t,n)}lchmod(e,t,n){this.volume.lchmod(e,t,n)}lchmodSync(e,t){this.volume.lchmodSync(e,t)}lchown(e,t,n,r){this.volume.lchown(e,t,n,r)}lchownSync(e,t,n){this.volume.lchownSync(e,t,n)}link(e,t,n){this.volume.link(e,t,n)}linkSync(e,t){this.volume.linkSync(e,t)}lstat(e,t){this.volume.lstat(e,t)}lstatSync(e){return this.volume.lstatSync(e)}mkdir(e,t,n){this.volume.mkdir(e,t,n)}mkdirSync(e,t){this.volume.mkdirSync(e,t)}mkdtemp(e,t,n){this.volume.mkdtemp(e,t,n)}mkdtempSync(e,t){return this.volume.mkdtempSync(e,t)}open(e,t,n,r){this.volume.open(e,t,n,r)}openSync(e,t,n){return this.volume.openSync(e,t,n)}read(e,t,n,r,a,o){this.volume.read(e,t,n,r,a,o)}readFile(e,t,n){}readFileSync(e,t){return this.volume.readFileSync(e)}readSync(e,t,n,r,a){return this.volume.readSync(e,t,n,r,a)}readdir(e,t,n){this.volume.readdir(e,t,n)}readdirSync(e,t){return this.volume.readdirSync(e,t)}readlink(e,t,n){this.volume.readlink(e,t,n)}readlinkSync(e,t){return this.volume.readlinkSync(e,t)}realpath(e,t,n){this.volume.realpath(e,t,n)}realpathSync(e,t){return this.volume.realpathSync(e,t)}rename(e,t,n){this.volume.rename(e,t,n)}renameSync(e,t){this.volume.renameSync(e,t)}rmdir(e,t){this.volume.rmdir(e,t)}rmdirSync(e){this.volume.rmdirSync(e)}stat(e,t){this.volume.stat(e,t)}statSync(e){return this.volume.statSync(e)}symlink(e,t,n,r){this.volume.symlink(e,t,n,r)}symlinkSync(e,t,n){this.volume.symlinkSync(e,t,n)}truncate(e,t,n){this.volume.truncate(e,t,n)}truncateSync(e,t){this.volume.truncateSync(e,t)}unlink(e,t){this.volume.unlink(e,t)}unlinkSync(e){this.volume.unlinkSync(e)}unwatchFile(e,t){this.volume.unwatchFile(e,t)}utimes(e,t,n,r){this.volume.utimes(e,t,n,r)}utimesSync(e,t,n){this.volume.utimesSync(e,t,n)}watch(e,t,n){return this.volume.watch(e,t,n)}watchFile(e,t,n){this.volume.watchFile(e,t,n)}writeFile(e,t,n,r){this.volume.writeFile(e,t,n)}writeFileSync(e,t,n){this.volume.writeFileSync(e,t,n)}writeSync(e,t,n,r,a){return this.volume.writeSync(e,t,n,r,a)}write(e,t,n,r,a,o){this.write(e,t,n,r,a,o)}}},20397:(e,t,n)=>{"use strict";var r=n(20038);t.Z4=s;var a="win32"===r.platform;function o(e,t){var n=e[t];return t>0&&("/"===n||a&&"\\"===n)}function i(e,t){if("string"!==typeof e)throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),!1!==t&&(e=function(e){var t=e.length-1;if(t<2)return e;for(;o(e,t);)t--;return e.substr(0,t+1)}(e)),e}function s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a?(e=i(e,t)).replace(/^([a-zA-Z]+:|\.\/)/,""):e}},45893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.fsProps=["constants","F_OK","R_OK","W_OK","X_OK","Stats"],t.fsSyncMethods=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","createReadStream","createWriteStream"],t.fsAsyncMethods=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","watchFile","unwatchFile","watch"]},61528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1333),a=n(23692),o=r.constants.S_IFMT,i=r.constants.S_IFDIR,s=r.constants.S_IFREG,c=r.constants.S_IFBLK,l=r.constants.S_IFCHR,u=r.constants.S_IFLNK,d=r.constants.S_IFIFO,p=r.constants.S_IFSOCK,f=function(){function e(){this.name="",this.mode=0}return e.build=function(t,n){var r=new e,o=t.getNode().mode;return r.name=a.strToEncoding(t.getName(),n),r.mode=o,r},e.prototype._checkModeProperty=function(e){return(this.mode&o)===e},e.prototype.isDirectory=function(){return this._checkModeProperty(i)},e.prototype.isFile=function(){return this._checkModeProperty(s)},e.prototype.isBlockDevice=function(){return this._checkModeProperty(c)},e.prototype.isCharacterDevice=function(){return this._checkModeProperty(l)},e.prototype.isSymbolicLink=function(){return this._checkModeProperty(u)},e.prototype.isFIFO=function(){return this._checkModeProperty(d)},e.prototype.isSocket=function(){return this._checkModeProperty(p)},e}();t.Dirent=f,t.default=f},64838:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1333),a=n(34859),o=r.constants.S_IFMT,i=r.constants.S_IFDIR,s=r.constants.S_IFREG,c=r.constants.S_IFBLK,l=r.constants.S_IFCHR,u=r.constants.S_IFLNK,d=r.constants.S_IFIFO,p=r.constants.S_IFSOCK,f=function(){function e(){}return e.build=function(t,n){void 0===n&&(n=!1);var r=new e,o=t.uid,i=t.gid,s=t.atime,c=t.mtime,l=t.ctime,u=n?a.default:function(e){return e};r.uid=u(o),r.gid=u(i),r.rdev=u(0),r.blksize=u(4096),r.ino=u(t.ino),r.size=u(t.getSize()),r.blocks=u(1),r.atime=s,r.mtime=c,r.ctime=l,r.birthtime=l,r.atimeMs=u(s.getTime()),r.mtimeMs=u(c.getTime());var d=u(l.getTime());return r.ctimeMs=d,r.birthtimeMs=d,r.dev=u(0),r.mode=u(t.mode),r.nlink=u(t.nlink),r},e.prototype._checkModeProperty=function(e){return(Number(this.mode)&o)===e},e.prototype.isDirectory=function(){return this._checkModeProperty(i)},e.prototype.isFile=function(){return this._checkModeProperty(s)},e.prototype.isBlockDevice=function(){return this._checkModeProperty(c)},e.prototype.isCharacterDevice=function(){return this._checkModeProperty(l)},e.prototype.isSymbolicLink=function(){return this._checkModeProperty(u)},e.prototype.isFIFO=function(){return this._checkModeProperty(d)},e.prototype.isSocket=function(){return this._checkModeProperty(p)},e}();t.Stats=f,t.default=f},1333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},23692:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63752),a=n(57033);t.ENCODING_UTF8="utf8",t.assertEncoding=function(e){if(e&&!r.Buffer.isEncoding(e))throw new a.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",e)},t.strToEncoding=function(e,n){return n&&n!==t.ENCODING_UTF8?"buffer"===n?new r.Buffer(e):new r.Buffer(e).toString(n):e}},34859:(e,t)=>{"function"===typeof BigInt?t.default=BigInt:t.default=function(){throw new Error("BigInt is not supported in this environment.")}},23879:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0,"At least one expected value needs to be specified"),e=e.map((function(e){return String(e)})),n>2?"one of "+t+" "+e.slice(0,n-1).join(", ")+", or "+e[n-1]:2===n?"one of "+t+" "+e[0]+" or "+e[1]:"of "+t+" "+e[0]}return"of "+t+" "+String(e)}t.AssertionError=l,t.message=u,t.E=d,t.Error=c(n.g.Error),t.TypeError=c(n.g.TypeError),t.RangeError=c(n.g.RangeError),d("ERR_ARG_NOT_ITERABLE","%s must be iterable"),d("ERR_ASSERTION","%s"),d("ERR_BUFFER_OUT_OF_BOUNDS",(function(e,t){return t?"Attempt to write outside buffer bounds":'"'+e+'" is outside of buffer bounds'})),d("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),d("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),d("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),d("ERR_DNS_SET_SERVERS_FAILED",(function(e,t){return'c-ares failed to set servers: "'+e+'" ['+t+"]"})),d("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),d("ERR_ENCODING_NOT_SUPPORTED",(function(e){return'The "'+e+'" encoding is not supported'})),d("ERR_ENCODING_INVALID_ENCODED_DATA",(function(e){return"The encoded data was not valid for encoding "+e})),d("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),d("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),d("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),d("ERR_INDEX_OUT_OF_RANGE","Index out of range"),d("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o;a(e,"name is required"),t.includes("not ")?(r="must not be",t=t.split("not ")[1]):r="must be";if(Array.isArray(e)){var i=e.map((function(e){return'"'+e+'"'})).join(", ");o="The "+i+" arguments "+r+" "+p(t,"type")}else if(e.includes(" argument"))o="The "+e+" "+r+" "+p(t,"type");else{var s=e.includes(".")?"property":"argument";o='The "'+e+'" '+s+" "+r+" "+p(t,"type")}arguments.length>=3&&(o+=". Received type "+(null!==n?typeof n:"null"));return o})),d("ERR_INVALID_ARRAY_LENGTH",(function(e,t,n){return a.strictEqual(typeof n,"number"),'The array "'+e+'" (length '+n+") must be of length "+t+"."})),d("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),d("ERR_INVALID_CALLBACK","Callback must be a function"),d("ERR_INVALID_CHAR","Invalid character in %s"),d("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),d("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),d("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),d("ERR_INVALID_FILE_URL_PATH","File URL path %s"),d("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),d("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),d("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+String(t)+'" is invalid for option "'+e+'"'})),d("ERR_INVALID_OPT_VALUE_ENCODING",(function(e){return'The value "'+String(e)+'" is invalid for option "encoding"'})),d("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),d("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),d("ERR_INVALID_THIS",'Value of "this" must be of type %s'),d("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),d("ERR_INVALID_URL","Invalid URL: %s"),d("ERR_INVALID_URL_SCHEME",(function(e){return"The URL must be "+p(e,"scheme")})),d("ERR_IPC_CHANNEL_CLOSED","Channel closed"),d("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),d("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),d("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),d("ERR_MISSING_ARGS",(function(){for(var e=[],t=0;t0,"At least one arg needs to be specified");var n="The ",r=e.length;switch(e=e.map((function(e){return'"'+e+'"'})),r){case 1:n+=e[0]+" argument";break;case 2:n+=e[0]+" and "+e[1]+" arguments";break;default:n+=e.slice(0,r-1).join(", "),n+=", and "+e[r-1]+" arguments"}return n+" must be specified"})),d("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),d("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),d("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),d("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),d("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),d("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),d("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),d("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),d("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),d("ERR_SOCKET_CANNOT_SEND","Unable to send data"),d("ERR_SOCKET_CLOSED","Socket is closed"),d("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),d("ERR_STDERR_CLOSE","process.stderr cannot be closed"),d("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),d("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),d("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),d("ERR_TLS_DH_PARAM_SIZE",(function(e){return"DH parameter size "+e+" is less than 2048"})),d("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),d("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),d("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),d("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),d("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),d("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),d("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),d("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),d("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),d("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),d("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl")},79561:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(80511),o=n(63752),i=n(1333),s=n(21824),c=n(64838),l=i.constants.S_IFMT,u=i.constants.S_IFDIR,d=i.constants.S_IFREG,p=(i.constants.S_IFBLK,i.constants.S_IFCHR,i.constants.S_IFLNK),f=(i.constants.S_IFIFO,i.constants.S_IFSOCK,i.constants.O_APPEND);t.SEP="/";var g=function(e){function t(t,n){void 0===n&&(n=438);var r=e.call(this)||this;return r.uid=a.default.getuid(),r.gid=a.default.getgid(),r.atime=new Date,r.mtime=new Date,r.ctime=new Date,r.perm=438,r.mode=d,r.nlink=1,r.perm=n,r.mode|=n,r.ino=t,r}return r(t,e),t.prototype.getString=function(e){return void 0===e&&(e="utf8"),this.getBuffer().toString(e)},t.prototype.setString=function(e){this.buf=o.bufferFrom(e,"utf8"),this.touch()},t.prototype.getBuffer=function(){return this.buf||this.setBuffer(o.bufferAllocUnsafe(0)),o.bufferFrom(this.buf)},t.prototype.setBuffer=function(e){this.buf=o.bufferFrom(e),this.touch()},t.prototype.getSize=function(){return this.buf?this.buf.length:0},t.prototype.setModeProperty=function(e){this.mode=this.mode&~l|e},t.prototype.setIsFile=function(){this.setModeProperty(d)},t.prototype.setIsDirectory=function(){this.setModeProperty(u)},t.prototype.setIsSymlink=function(){this.setModeProperty(p)},t.prototype.isFile=function(){return(this.mode&l)===d},t.prototype.isDirectory=function(){return(this.mode&l)===u},t.prototype.isSymlink=function(){return(this.mode&l)===p},t.prototype.makeSymlink=function(e){this.symlink=e,this.setIsSymlink()},t.prototype.write=function(e,t,n,r){if(void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=0),this.buf||(this.buf=o.bufferAllocUnsafe(0)),r+n>this.buf.length){var a=o.bufferAllocUnsafe(r+n);this.buf.copy(a,0,0,this.buf.length),this.buf=a}return e.copy(this.buf,r,t,t+n),this.touch(),n},t.prototype.read=function(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.byteLength),void 0===r&&(r=0),this.buf||(this.buf=o.bufferAllocUnsafe(0));var a=n;return a>e.byteLength&&(a=e.byteLength),a+r>this.buf.length&&(a=this.buf.length-r),this.buf.copy(e,t,r,r+a),a},t.prototype.truncate=function(e){if(void 0===e&&(e=0),e)if(this.buf||(this.buf=o.bufferAllocUnsafe(0)),e<=this.buf.length)this.buf=this.buf.slice(0,e);else{var t=o.bufferAllocUnsafe(0);this.buf.copy(t),t.fill(0,e)}else this.buf=o.bufferAllocUnsafe(0);this.touch()},t.prototype.chmod=function(e){this.perm=e,this.mode=-512&this.mode|e,this.touch()},t.prototype.chown=function(e,t){this.uid=e,this.gid=t,this.touch()},t.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},t.prototype.canRead=function(e,t){return void 0===e&&(e=a.default.getuid()),void 0===t&&(t=a.default.getgid()),!!(4&this.perm)||(!!(t===this.gid&&32&this.perm)||!!(e===this.uid&&256&this.perm))},t.prototype.canWrite=function(e,t){return void 0===e&&(e=a.default.getuid()),void 0===t&&(t=a.default.getgid()),!!(2&this.perm)||(!!(t===this.gid&&16&this.perm)||!!(e===this.uid&&128&this.perm))},t.prototype.del=function(){this.emit("delete",this)},t.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},t}(s.EventEmitter);t.Node=g;var m=function(e){function n(t,n,r){var a=e.call(this)||this;return a.children={},a.steps=[],a.ino=0,a.length=0,a.vol=t,a.parent=n,a.steps=n?n.steps.concat([r]):[r],a}return r(n,e),n.prototype.setNode=function(e){this.node=e,this.ino=e.ino},n.prototype.getNode=function(){return this.node},n.prototype.createChild=function(e,t){void 0===t&&(t=this.vol.createNode());var r=new n(this.vol,this,e);return r.setNode(t),t.isDirectory(),this.setChild(e,r),r},n.prototype.setChild=function(e,t){return void 0===t&&(t=new n(this.vol,this,e)),this.children[e]=t,t.parent=this,this.length++,this.emit("child:add",t,this),t},n.prototype.deleteChild=function(e){delete this.children[e.getName()],this.length--,this.emit("child:delete",e,this)},n.prototype.getChild=function(e){if(Object.hasOwnProperty.call(this.children,e))return this.children[e]},n.prototype.getPath=function(){return this.steps.join(t.SEP)},n.prototype.getName=function(){return this.steps[this.steps.length-1]},n.prototype.walk=function(e,t,n){if(void 0===t&&(t=e.length),void 0===n&&(n=0),n>=e.length)return this;if(n>=t)return this;var r=e[n],a=this.getChild(r);return a?a.walk(e,t,n+1):null},n.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},n}(s.EventEmitter);t.Link=m;var h=function(){function e(e,t,n,r){this.position=0,this.link=e,this.node=t,this.flags=n,this.fd=r}return e.prototype.getString=function(e){return void 0===e&&(e="utf8"),this.node.getString()},e.prototype.setString=function(e){this.node.setString(e)},e.prototype.getBuffer=function(){return this.node.getBuffer()},e.prototype.setBuffer=function(e){this.node.setBuffer(e)},e.prototype.getSize=function(){return this.node.getSize()},e.prototype.truncate=function(e){this.node.truncate(e)},e.prototype.seekTo=function(e){this.position=e},e.prototype.stats=function(){return c.default.build(this.node)},e.prototype.write=function(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.length),"number"!==typeof r&&(r=this.position),this.flags&f&&(r=this.getSize());var a=this.node.write(e,t,n,r);return this.position=r+a,a},e.prototype.read=function(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.byteLength),"number"!==typeof r&&(r=this.position);var a=this.node.read(e,t,n,r);return this.position=r+a,a},e.prototype.chmod=function(e){this.node.chmod(e)},e.prototype.chown=function(e,t){this.node.chown(e,t)},e}();t.File=h},80511:(e,t,n)=>{"use strict";var r=n(20038);Object.defineProperty(t,"__esModule",{value:!0});function a(){var e=function(){if("undefined"!==typeof r)return r;try{return n(20038)}catch(e){return}}()||{};return e.getuid||(e.getuid=function(){return 0}),e.getgid||(e.getgid=function(){return 0}),e.cwd||(e.cwd=function(){return"/"}),e.nextTick||(e.nextTick=n(67276).default),e.emitWarning||(e.emitWarning=function(e,t){console.warn(t+(t?": ":"")+e)}),e.env||(e.env={}),e}t.createProcess=a,t.default=a()},1455:function(e,t){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),r="function"===typeof setImmediate?setImmediate.bind(n.g):setTimeout.bind(n.g),t.default=r},63086:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=setTimeout.apply(null,arguments);return r&&"object"===typeof r&&"function"===typeof r.unref&&r.unref(),r}},47097:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t>>0===e}function Le(e){if(!je(e))throw TypeError(B)}function Fe(e){if("string"===typeof e&&+e==e)return+e;if(e instanceof Date)return e.getTime()/1e3;if(isFinite(e))return e<0?Date.now()/1e3:e;throw new Error("Cannot parse time: "+e)}function Be(e){if("number"!==typeof e)throw TypeError($)}function Ue(e){if("number"!==typeof e)throw TypeError(V)}t.filenameToSteps=Ie,t.pathToSteps=Pe,t.dataToStr=function(e,t){return void 0===t&&(t=v.ENCODING_UTF8),d.Buffer.isBuffer(e)?e.toString(t):e instanceof Uint8Array?d.bufferFrom(e).toString(t):String(e)},t.dataToBuffer=Ae,t.bufferToEncoding=De,t.toUnixTimestamp=Fe;var Ge=function(){function e(e){void 0===e&&(e={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=E.default(this),this.statWatchers={},this.props=b({Node:c.Node,Link:c.Link,File:c.File},e);var t=this.createLink();t.setNode(this.createNode(!0));var n=this;this.StatWatcher=function(e){function t(){return e.call(this,n)||this}return r(t,e),t}(ze);var o=He;this.ReadStream=function(e){function t(){for(var t=[],r=0;r1){var i=o+a.slice(0,a.length-1).join(o);this.mkdirpBase(i,511)}this.writeFileSync(n,r)}else this.mkdirpBase(n,511)}},e.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},e.prototype.mountSync=function(e,t){this.fromJSON(t,e)},e.prototype.openLink=function(e,t,n){if(void 0===n&&(n=!0),this.openFiles>=this.maxFiles)throw ee(Q,"open",e.getPath());var r=e;if(n&&(r=this.resolveSymlinks(e)),!r)throw ee(z,"open",e.getPath());var a=r.getNode();if(a.isDirectory()&&t!==j.r)throw ee(X,"open",e.getPath());if(!(t&w)&&!a.canRead())throw ee(K,"open",e.getPath());var o=new this.props.File(e,a,t,this.newFdNumber());return this.fds[o.fd]=o,this.openFiles++,t&N&&o.truncate(),o},e.prototype.openFile=function(e,t,n,r){void 0===r&&(r=!0);var a=Ie(e),i=r?this.getResolvedLink(a):this.getLink(a);if(!i&&t&T){var s=this.getResolvedLink(a.slice(0,a.length-1));if(!s)throw ee(z,"open",o+a.join(o));t&T&&"number"===typeof n&&(i=this.createLink(s,a[a.length-1],!1,n))}if(i)return this.openLink(i,t,r);throw ee(z,"open",e)},e.prototype.openBase=function(e,t,n,r){void 0===r&&(r=!0);var a=this.openFile(e,t,n,r);if(!a)throw ee(z,"open",e);return a.fd},e.prototype.openSync=function(e,t,n){void 0===n&&(n=438);var r=Me(n),a=Ce(e),o=te(t);return this.openBase(a,o,r)},e.prototype.open=function(e,t,n,r){var a=n,o=r;"function"===typeof n&&(a=438,o=n);var i=Me(a=a||438),s=Ce(e),c=te(t);this.wrapAsync(this.openBase,[s,c,i],o)},e.prototype.closeFile=function(e){this.fds[e.fd]&&(this.openFiles--,delete this.fds[e.fd],this.releasedFds.push(e.fd))},e.prototype.closeSync=function(e){Le(e);var t=this.getFileByFdOrThrow(e,"close");this.closeFile(t)},e.prototype.close=function(e,t){Le(e),this.wrapAsync(this.closeSync,[e],t)},e.prototype.openFileOrGetById=function(e,t,n){if("number"===typeof e){var r=this.fds[e];if(!r)throw ee(z);return r}return this.openFile(Ce(e),t,n)},e.prototype.readBase=function(e,t,n,r,a){return this.getFileByFdOrThrow(e).read(t,Number(n),Number(r),a)},e.prototype.readSync=function(e,t,n,r,a){return Le(e),this.readBase(e,t,n,r,a)},e.prototype.read=function(e,t,n,r,a,o){var i=this;if(ae(o),0===r)return f.default.nextTick((function(){o&&o(null,0,t)}));p.default((function(){try{var s=i.readBase(e,t,n,r,a);o(null,s,t)}catch(c){o(c)}}))},e.prototype.readFileBase=function(e,t,n){var r,a,o="number"===typeof e&&je(e);if(o)a=e;else{var i=Ie(Ce(e)),s=this.getResolvedLink(i);if(s)if(s.getNode().isDirectory())throw ee(X,"open",s.getPath());a=this.openSync(e,t)}try{r=De(this.getFileByFdOrThrow(a).getBuffer(),n)}finally{o||this.closeSync(a)}return r},e.prototype.readFileSync=function(e,t){var n=le(t),r=te(n.flag);return this.readFileBase(e,r,n.encoding)},e.prototype.readFile=function(e,t,n){var r=oe(le)(t,n),a=r[0],o=r[1],i=te(a.flag);this.wrapAsync(this.readFileBase,[e,i,a.encoding],o)},e.prototype.writeBase=function(e,t,n,r,a){return this.getFileByFdOrThrow(e,"write").write(t,n,r,a)},e.prototype.writeSync=function(e,t,n,r,a){var o,i,s,c;Le(e);var l="string"!==typeof t;l?(i=0|(n||0),s=r,c=a):(c=n,o=r);var u=Ae(t,o);return l?"undefined"===typeof s&&(s=u.length):(i=0,s=u.length),this.writeBase(e,u,i,s,c)},e.prototype.write=function(e,t,n,r,a,o){var i,s,c,l,u,d=this;Le(e);var f=typeof t,g=typeof n,m=typeof r,h=typeof a;"string"!==f?"function"===g?u=n:"function"===m?(i=0|n,u=r):"function"===h?(i=0|n,s=r,u=a):(i=0|n,s=r,c=a,u=o):"function"===g?u=n:"function"===m?(c=n,u=r):"function"===h&&(c=n,l=r,u=a);var _=Ae(t,l);"string"!==f?"undefined"===typeof s&&(s=_.length):(i=0,s=_.length);var v=ae(u);p.default((function(){try{var n=d.writeBase(e,_,i,s,c);v(null,n,"string"!==f?_:t)}catch(r){v(r)}}))},e.prototype.writeFileBase=function(e,t,n,r){var a,o="number"===typeof e;a=o?e:this.openBase(Ce(e),n,r);var i=0,s=t.length,c=n&I?void 0:0;try{for(;s>0;){var l=this.writeSync(a,t,i,s,c);i+=l,s-=l,void 0!==c&&(c+=l)}}finally{o||this.closeSync(a)}},e.prototype.writeFileSync=function(e,t,n){var r=de(n),a=te(r.flag),o=Me(r.mode),i=Ae(t,r.encoding);this.writeFileBase(e,i,a,o)},e.prototype.writeFile=function(e,t,n,r){var a=n,o=r;"function"===typeof n&&(a=ue,o=n);var i=ae(o),s=de(a),c=te(s.flag),l=Me(s.mode),u=Ae(t,s.encoding);this.wrapAsync(this.writeFileBase,[e,u,c,l],i)},e.prototype.linkBase=function(e,t){var n=Ie(e),r=this.getLink(n);if(!r)throw ee(z,"link",e,t);var a=Ie(t),o=this.getLinkParent(a);if(!o)throw ee(z,"link",e,t);var i=a[a.length-1];if(o.getChild(i))throw ee(Y,"link",e,t);var s=r.getNode();s.nlink++,o.createChild(i,s)},e.prototype.copyFileBase=function(e,t,n){var r=this.readFileSync(e);if(n&D&&this.existsSync(t))throw ee(Y,"copyFile",e,t);if(n&k)throw ee(J,"copyFile",e,t);this.writeFileBase(t,r,j.w,438)},e.prototype.copyFileSync=function(e,t,n){var r=Ce(e),a=Ce(t);return this.copyFileBase(r,a,0|(n||0))},e.prototype.copyFile=function(e,t,n,r){var a,o,i=Ce(e),s=Ce(t);"function"===typeof n?(a=0,o=n):(a=n,o=r),ae(o),this.wrapAsync(this.copyFileBase,[i,s,a],o)},e.prototype.linkSync=function(e,t){var n=Ce(e),r=Ce(t);this.linkBase(n,r)},e.prototype.link=function(e,t,n){var r=Ce(e),a=Ce(t);this.wrapAsync(this.linkBase,[r,a],n)},e.prototype.unlinkBase=function(e){var t=Ie(e),n=this.getLink(t);if(!n)throw ee(z,"unlink",e);if(n.length)throw Error("Dir not empty...");this.deleteLink(n);var r=n.getNode();r.nlink--,r.nlink<=0&&this.deleteNode(r)},e.prototype.unlinkSync=function(e){var t=Ce(e);this.unlinkBase(t)},e.prototype.unlink=function(e,t){var n=Ce(e);this.wrapAsync(this.unlinkBase,[n],t)},e.prototype.symlinkBase=function(e,t){var n=Ie(t),r=this.getLinkParent(n);if(!r)throw ee(z,"symlink",e,t);var a=n[n.length-1];if(r.getChild(a))throw ee(Y,"symlink",e,t);var o=r.createChild(a);return o.getNode().makeSymlink(Ie(e)),o},e.prototype.symlinkSync=function(e,t,n){var r=Ce(e),a=Ce(t);this.symlinkBase(r,a)},e.prototype.symlink=function(e,t,n,r){var a=ae("function"===typeof n?n:r),o=Ce(e),i=Ce(t);this.wrapAsync(this.symlinkBase,[o,i],a)},e.prototype.realpathBase=function(e,t){var n=Ie(e),r=this.getResolvedLink(n);if(!r)throw ee(z,"realpath",e);return v.strToEncoding(r.getPath(),t)},e.prototype.realpathSync=function(e,t){return this.realpathBase(Ce(e),me(t).encoding)},e.prototype.realpath=function(e,t,n){var r=he(t,n),a=r[0],o=r[1],i=Ce(e);this.wrapAsync(this.realpathBase,[i,a.encoding],o)},e.prototype.lstatBase=function(e,t){void 0===t&&(t=!1);var n=this.getLink(Ie(e));if(!n)throw ee(z,"lstat",e);return l.default.build(n.getNode(),t)},e.prototype.lstatSync=function(e,t){return this.lstatBase(Ce(e),Oe(t).bigint)},e.prototype.lstat=function(e,t,n){var r=we(t,n),a=r[0],o=r[1];this.wrapAsync(this.lstatBase,[Ce(e),a.bigint],o)},e.prototype.statBase=function(e,t){void 0===t&&(t=!1);var n=this.getResolvedLink(Ie(e));if(!n)throw ee(z,"stat",e);return l.default.build(n.getNode(),t)},e.prototype.statSync=function(e,t){return this.statBase(Ce(e),Oe(t).bigint)},e.prototype.stat=function(e,t,n){var r=we(t,n),a=r[0],o=r[1];this.wrapAsync(this.statBase,[Ce(e),a.bigint],o)},e.prototype.fstatBase=function(e,t){void 0===t&&(t=!1);var n=this.getFileByFd(e);if(!n)throw ee(H,"fstat");return l.default.build(n.node,t)},e.prototype.fstatSync=function(e,t){return this.fstatBase(e,Oe(t).bigint)},e.prototype.fstat=function(e,t,n){var r=we(t,n),a=r[0],o=r[1];this.wrapAsync(this.fstatBase,[e,a.bigint],o)},e.prototype.renameBase=function(e,t){var n=this.getLink(Ie(e));if(!n)throw ee(z,"rename",e,t);var r=Ie(t),o=this.getLinkParent(r);if(!o)throw ee(z,"rename",e,t);var i=n.parent;i&&i.deleteChild(n);var s=r[r.length-1];n.steps=a(o.steps,[s]),o.setChild(n.getName(),n)},e.prototype.renameSync=function(e,t){var n=Ce(e),r=Ce(t);this.renameBase(n,r)},e.prototype.rename=function(e,t,n){var r=Ce(e),a=Ce(t);this.wrapAsync(this.renameBase,[r,a],n)},e.prototype.existsBase=function(e){return!!this.statBase(e)},e.prototype.existsSync=function(e){try{return this.existsBase(Ce(e))}catch(t){return!1}},e.prototype.exists=function(e,t){var n=this,r=Ce(e);if("function"!==typeof t)throw Error(G);p.default((function(){try{t(n.existsBase(r))}catch(e){t(!1)}}))},e.prototype.accessBase=function(e,t){this.getLinkOrThrow(e,"access")},e.prototype.accessSync=function(e,t){void 0===t&&(t=A);var n=Ce(e);t|=0,this.accessBase(n,t)},e.prototype.access=function(e,t,n){var r,a=A;"function"!==typeof t?(a=0|t,r=ae(n)):r=t;var o=Ce(e);this.wrapAsync(this.accessBase,[o,a],r)},e.prototype.appendFileSync=function(e,t,n){void 0===n&&(n=pe);var r=fe(n);r.flag&&!je(e)||(r.flag="a"),this.writeFileSync(e,t,r)},e.prototype.appendFile=function(e,t,n,r){var a=ge(n,r),o=a[0],i=a[1];o.flag&&!je(e)||(o.flag="a"),this.writeFile(e,t,o,i)},e.prototype.readdirBase=function(e,t){var n=Ie(e),r=this.getResolvedLink(n);if(!r)throw ee(z,"readdir",e);if(!r.getNode().isDirectory())throw ee(W,"scandir",e);if(t.withFileTypes){var a=[];for(var o in r.children){var i=r.getChild(o);i&&a.push(u.default.build(i,t.encoding))}return L||"buffer"===t.encoding||a.sort((function(e,t){return e.namet.name?1:0})),a}var s=[];for(var c in r.children)s.push(v.strToEncoding(c,t.encoding));return L||"buffer"===t.encoding||s.sort(),s},e.prototype.readdirSync=function(e,t){var n=Re(t),r=Ce(e);return this.readdirBase(r,n)},e.prototype.readdir=function(e,t,n){var r=Ee(t,n),a=r[0],o=r[1],i=Ce(e);this.wrapAsync(this.readdirBase,[i,a],o)},e.prototype.readlinkBase=function(e,t){var n=this.getLinkOrThrow(e,"readlink").getNode();if(!n.isSymlink())throw ee(q,"readlink",e);var r=o+n.symlink.join(o);return v.strToEncoding(r,t)},e.prototype.readlinkSync=function(e,t){var n=se(t),r=Ce(e);return this.readlinkBase(r,n.encoding)},e.prototype.readlink=function(e,t,n){var r=ce(t,n),a=r[0],o=r[1],i=Ce(e);this.wrapAsync(this.readlinkBase,[i,a.encoding],o)},e.prototype.fsyncBase=function(e){this.getFileByFdOrThrow(e,"fsync")},e.prototype.fsyncSync=function(e){this.fsyncBase(e)},e.prototype.fsync=function(e,t){this.wrapAsync(this.fsyncBase,[e],t)},e.prototype.fdatasyncBase=function(e){this.getFileByFdOrThrow(e,"fdatasync")},e.prototype.fdatasyncSync=function(e){this.fdatasyncBase(e)},e.prototype.fdatasync=function(e,t){this.wrapAsync(this.fdatasyncBase,[e],t)},e.prototype.ftruncateBase=function(e,t){this.getFileByFdOrThrow(e,"ftruncate").truncate(t)},e.prototype.ftruncateSync=function(e,t){this.ftruncateBase(e,t)},e.prototype.ftruncate=function(e,t,n){var r="number"===typeof t?t:0,a=ae("number"===typeof t?n:t);this.wrapAsync(this.ftruncateBase,[e,r],a)},e.prototype.truncateBase=function(e,t){var n=this.openSync(e,"r+");try{this.ftruncateSync(n,t)}finally{this.closeSync(n)}},e.prototype.truncateSync=function(e,t){if(je(e))return this.ftruncateSync(e,t);this.truncateBase(e,t)},e.prototype.truncate=function(e,t,n){var r="number"===typeof t?t:0,a=ae("number"===typeof t?n:t);if(je(e))return this.ftruncate(e,r,a);this.wrapAsync(this.truncateBase,[e,r],a)},e.prototype.futimesBase=function(e,t,n){var r=this.getFileByFdOrThrow(e,"futimes").node;r.atime=new Date(1e3*t),r.mtime=new Date(1e3*n)},e.prototype.futimesSync=function(e,t,n){this.futimesBase(e,Fe(t),Fe(n))},e.prototype.futimes=function(e,t,n,r){this.wrapAsync(this.futimesBase,[e,Fe(t),Fe(n)],r)},e.prototype.utimesBase=function(e,t,n){var r=this.openSync(e,"r+");try{this.futimesBase(r,t,n)}finally{this.closeSync(r)}},e.prototype.utimesSync=function(e,t,n){this.utimesBase(Ce(e),Fe(t),Fe(n))},e.prototype.utimes=function(e,t,n,r){this.wrapAsync(this.utimesBase,[Ce(e),Fe(t),Fe(n)],r)},e.prototype.mkdirBase=function(e,t){var n=Ie(e);if(!n.length)throw ee(X,"mkdir",e);var r=this.getLinkParentAsDirOrThrow(e,"mkdir"),a=n[n.length-1];if(r.getChild(a))throw ee(Y,"mkdir",e);r.createChild(a,this.createNode(!0,t))},e.prototype.mkdirpBase=function(e,t){for(var n=Ie(e),r=this.root,a=0;a1)return this.mkdtempBase(e,t,n-1);throw Error("Could not create temp dir.")}throw a}},e.prototype.mkdtempSync=function(e,t){var n=se(t).encoding;if(!e||"string"!==typeof e)throw new TypeError("filename prefix is required");return ke(e),this.mkdtempBase(e,n)},e.prototype.mkdtemp=function(e,t,n){var r=ce(t,n),a=r[0].encoding,o=r[1];if(!e||"string"!==typeof e)throw new TypeError("filename prefix is required");ke(e)&&this.wrapAsync(this.mkdtempBase,[e,a],o)},e.prototype.rmdirBase=function(e,t){var n=be(t),r=this.getLinkAsDirOrThrow(e,"rmdir");if(r.length&&!n.recursive)throw ee(Z,"rmdir",e);this.deleteLink(r)},e.prototype.rmdirSync=function(e,t){this.rmdirBase(Ce(e),t)},e.prototype.rmdir=function(e,t,n){var r=be(t),a=ae("function"===typeof t?t:n);this.wrapAsync(this.rmdirBase,[Ce(e),r],a)},e.prototype.fchmodBase=function(e,t){this.getFileByFdOrThrow(e,"fchmod").chmod(t)},e.prototype.fchmodSync=function(e,t){this.fchmodBase(e,Me(t))},e.prototype.fchmod=function(e,t,n){this.wrapAsync(this.fchmodBase,[e,Me(t)],n)},e.prototype.chmodBase=function(e,t){var n=this.openSync(e,"r+");try{this.fchmodBase(n,t)}finally{this.closeSync(n)}},e.prototype.chmodSync=function(e,t){var n=Me(t),r=Ce(e);this.chmodBase(r,n)},e.prototype.chmod=function(e,t,n){var r=Me(t),a=Ce(e);this.wrapAsync(this.chmodBase,[a,r],n)},e.prototype.lchmodBase=function(e,t){var n=this.openBase(e,C,0,!1);try{this.fchmodBase(n,t)}finally{this.closeSync(n)}},e.prototype.lchmodSync=function(e,t){var n=Me(t),r=Ce(e);this.lchmodBase(r,n)},e.prototype.lchmod=function(e,t,n){var r=Me(t),a=Ce(e);this.wrapAsync(this.lchmodBase,[a,r],n)},e.prototype.fchownBase=function(e,t,n){this.getFileByFdOrThrow(e,"fchown").chown(t,n)},e.prototype.fchownSync=function(e,t,n){Be(t),Ue(n),this.fchownBase(e,t,n)},e.prototype.fchown=function(e,t,n,r){Be(t),Ue(n),this.wrapAsync(this.fchownBase,[e,t,n],r)},e.prototype.chownBase=function(e,t,n){this.getResolvedLinkOrThrow(e,"chown").getNode().chown(t,n)},e.prototype.chownSync=function(e,t,n){Be(t),Ue(n),this.chownBase(Ce(e),t,n)},e.prototype.chown=function(e,t,n,r){Be(t),Ue(n),this.wrapAsync(this.chownBase,[Ce(e),t,n],r)},e.prototype.lchownBase=function(e,t,n){this.getLinkOrThrow(e,"lchown").getNode().chown(t,n)},e.prototype.lchownSync=function(e,t,n){Be(t),Ue(n),this.lchownBase(Ce(e),t,n)},e.prototype.lchown=function(e,t,n,r){Be(t),Ue(n),this.wrapAsync(this.lchownBase,[Ce(e),t,n],r)},e.prototype.watchFile=function(e,t,n){var r=Ce(e),a=t,o=n;if("function"===typeof a&&(o=t,a=null),"function"!==typeof o)throw Error('"watchFile()" requires a listener function');var i=5007,s=!0;a&&"object"===typeof a&&("number"===typeof a.interval&&(i=a.interval),"boolean"===typeof a.persistent&&(s=a.persistent));var c=this.statWatchers[r];return c||((c=new this.StatWatcher).start(r,s,i),this.statWatchers[r]=c),c.addListener("change",o),c},e.prototype.unwatchFile=function(e,t){var n=Ce(e),r=this.statWatchers[n];r&&("function"===typeof t?r.removeListener("change",t):r.removeAllListeners("change"),0===r.listenerCount("change")&&(r.stop(),delete this.statWatchers[n]))},e.prototype.createReadStream=function(e,t){return new this.ReadStream(e,t)},e.prototype.createWriteStream=function(e,t){return new this.WriteStream(e,t)},e.prototype.watch=function(e,t,n){var r=Ce(e),a=t;"function"===typeof t&&(n=t,a=null);var o=se(a),i=o.persistent,s=o.recursive,c=o.encoding;void 0===i&&(i=!0),void 0===s&&(s=!1);var l=new this.FSWatcher;return l.start(r,i,s,c),n&&l.addListener("change",n),l},e.fd=2147483647,e}();function $e(e){e.emit("stop")}t.Volume=Ge;var Ve,ze=function(e){function t(t){var n=e.call(this)||this;return n.onInterval=function(){try{var e=n.vol.statSync(n.filename);n.hasChanged(e)&&(n.emit("change",e,n.prev),n.prev=e)}finally{n.loop()}},n.vol=t,n}return r(t,e),t.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},t.prototype.hasChanged=function(e){return e.mtimeMs>this.prev.mtimeMs||e.nlink!==this.prev.nlink},t.prototype.start=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=5007),this.filename=Ce(e),this.setTimeout=t?setTimeout:g.default,this.interval=n,this.prev=this.vol.statSync(this.filename),this.loop()},t.prototype.stop=function(){clearTimeout(this.timeoutRef),f.default.nextTick($e,this)},t}(_.EventEmitter);function He(e,t,n){if(!(this instanceof He))return new He(e,t,n);if(this._vol=e,void 0===(n=b({},ne(n,{}))).highWaterMark&&(n.highWaterMark=65536),m.Readable.call(this,n),this.path=Ce(t),this.fd=void 0===n.fd?null:n.fd,this.flags=void 0===n.flags?"r":n.flags,this.mode=void 0===n.mode?438:n.mode,this.start=n.start,this.end=n.end,this.autoClose=void 0===n.autoClose||n.autoClose,this.pos=void 0,this.bytesRead=0,void 0!==this.start){if("number"!==typeof this.start)throw new TypeError('"start" option must be a Number');if(void 0===this.end)this.end=1/0;else if("number"!==typeof this.end)throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}"number"!==typeof this.fd&&this.open(),this.on("end",(function(){this.autoClose&&this.destroy&&this.destroy()}))}function qe(e){this.close()}function Ye(e,t,n){if(!(this instanceof Ye))return new Ye(e,t,n);if(this._vol=e,n=b({},ne(n,{})),m.Writable.call(this,n),this.path=Ce(t),this.fd=void 0===n.fd?null:n.fd,this.flags=void 0===n.flags?"w":n.flags,this.mode=void 0===n.mode?438:n.mode,this.start=n.start,this.autoClose=void 0===n.autoClose||!!n.autoClose,this.pos=void 0,this.bytesWritten=0,void 0!==this.start){if("number"!==typeof this.start)throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}n.encoding&&this.setDefaultEncoding(n.encoding),"number"!==typeof this.fd&&this.open(),this.once("finish",(function(){this.autoClose&&this.close()}))}t.StatWatcher=ze,R.inherits(He,m.Readable),t.ReadStream=He,He.prototype.open=function(){var e=this;this._vol.open(this.path,this.flags,this.mode,(function(t,n){if(t)return e.autoClose&&e.destroy&&e.destroy(),void e.emit("error",t);e.fd=n,e.emit("open",n),e.read()}))},He.prototype._read=function(e){if("number"!==typeof this.fd)return this.once("open",(function(){this._read(e)}));if(!this.destroyed){var t;(!Ve||Ve.length-Ve.used<128)&&(t=this._readableState.highWaterMark,(Ve=d.bufferAllocUnsafe(t)).used=0);var n=Ve,r=Math.min(Ve.length-Ve.used,e),a=Ve.used;if(void 0!==this.pos&&(r=Math.min(this.end-this.pos+1,r)),r<=0)return this.push(null);var o=this;this._vol.read(this.fd,Ve,Ve.used,r,this.pos,(function(e,t){if(e)o.autoClose&&o.destroy&&o.destroy(),o.emit("error",e);else{var r=null;t>0&&(o.bytesRead+=t,r=n.slice(a,a+t)),o.push(r)}})),void 0!==this.pos&&(this.pos+=r),Ve.used+=r}},He.prototype._destroy=function(e,t){this.close((function(n){t(e||n)}))},He.prototype.close=function(e){var t=this;if(e&&this.once("close",e),this.closed||"number"!==typeof this.fd)return"number"!==typeof this.fd?void this.once("open",qe):f.default.nextTick((function(){return t.emit("close")}));this.closed=!0,this._vol.close(this.fd,(function(e){e?t.emit("error",e):t.emit("close")})),this.fd=null},R.inherits(Ye,m.Writable),t.WriteStream=Ye,Ye.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(e,t){if(e)return this.autoClose&&this.destroy&&this.destroy(),void this.emit("error",e);this.fd=t,this.emit("open",t)}.bind(this))},Ye.prototype._write=function(e,t,n){if(!(e instanceof d.Buffer))return this.emit("error",new Error("Invalid data"));if("number"!==typeof this.fd)return this.once("open",(function(){this._write(e,t,n)}));var r=this;this._vol.write(this.fd,e,0,e.length,this.pos,(function(e,t){if(e)return r.autoClose&&r.destroy&&r.destroy(),n(e);r.bytesWritten+=t,n()})),void 0!==this.pos&&(this.pos+=e.length)},Ye.prototype._writev=function(e,t){if("number"!==typeof this.fd)return this.once("open",(function(){this._writev(e,t)}));for(var n=this,r=e.length,a=new Array(r),o=0,i=0;i(0,s.useUpdatedUrlFromQuery)({selectedAPI:e.id.split("/")[1]}),files:e,selected:t,getIcon:r}))}},62067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIReferenceExplorer=void 0;var r=n(1329);Object.defineProperty(t,"APIReferenceExplorer",{enumerable:!0,get:function(){return r.APIReferenceExplorer}})},22786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUpdatedUrlFromQuery=t.useAPIRefParam=void 0;var r=n(85070);Object.defineProperty(t,"useAPIRefParam",{enumerable:!0,get:function(){return r.useAPIRefParam}}),Object.defineProperty(t,"useUpdatedUrlFromQuery",{enumerable:!0,get:function(){return r.useUpdatedUrlFromQuery}})},85070:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUpdatedUrlFromQuery=t.useAPIRefParam=void 0;const r=n(33885),a=n(56843);t.useAPIRefParam=function(e){const t=(0,r.useQuery)().get(e);return null!==t&&void 0!==t?t:void 0},t.useUpdatedUrlFromQuery=function(e){const t=(0,r.useQuery)(),n=(0,a.useLocation)()||{pathname:"/"},o=Object.fromEntries(t.entries()),i=Object.assign(Object.assign({},o),e),s=new URLSearchParams(i).toString();return`${n.pathname}?${s}`}},3552:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSchema=void 0;var r=n(24895);Object.defineProperty(t,"useSchema",{enumerable:!0,get:function(){return r.useSchema}})},24895:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIReferenceModel=void 0;const r=n(68515),a=n(67972);class o{constructor(e,t){this.componentId=e.componentId,this.apiNodes=this.mapToAPINode(e,t,this.componentId),this.apiByType=this.groupByType(this.apiNodes),this.apiByName=this.groupByName(this.apiNodes)}mapToAPINode(e,t,n){const{exports:r}=e.module,a=t.filter((e=>e.default)),o=t.filter((e=>!e.default));return r.map((e=>({componentId:n,api:e,renderer:o.find((t=>t.predicate(e)))||a.find((t=>t.predicate(e)))}))).filter((e=>e.renderer))}getByType(e){return this.apiByType.get(e)}groupByType(e){return e.reduce(((e,t)=>{const n=e.get(t.renderer.nodeType)||[];return e.set(t.renderer.nodeType,n.concat(t)),e}),new Map)}groupByName(e){return e.reduce(((e,t)=>t.api.name?(e.set(t.api.name,t),e):e),new Map)}static from(e,t){try{const n=r.APISchema.fromObject(e.getHost.getSchema);return new o(n,t)}catch(n){return new o(r.APISchema.empty(a.ComponentID.fromObject(e.getHost.getSchema.componentId)),t)}}}t.APIReferenceModel=o},40165:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIReferenceModel=void 0;var r=n(66447);Object.defineProperty(t,"APIReferenceModel",{enumerable:!0,get:function(){return r.APIReferenceModel}})},42300:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a"example"===e.tagName)),G=null===v||void 0===v?void 0:v.comment,$=b||s,V=18*((null===(n=null===U||void 0===U?void 0:U.comment)||void 0===n?void 0:n.split("\n").length)||0),z=36+18*(((null===$||void 0===$?void 0:$.split("\n").length)||0)-1),[H,q]=(0,c.useState)(z),[Y,W]=(0,c.useState)(!1),Q=(0,c.useCallback)((e=>{const t=Object.fromEntries(T.entries()),n=Object.assign(Object.assign({},t),e),r=new URLSearchParams(n).toString();return`${(null===C||void 0===C?void 0:C.pathname)||"/"}?${r}`}),[]),K=(0,c.useCallback)(((e,t)=>{var n;const r=e.getWordAtPosition(t),a=r?null===(n=null===S||void 0===S?void 0:S.apiByName)||void 0===n?void 0:n.get(r.word):void 0,i=a?Q({selectedAPI:a.api.name}):null;if(A.current=i,!i||(null===a||void 0===a?void 0:a.api.name)===o)return;return{contents:[{value:`[View ${r.word} API](command:${P.current})`,isTrusted:!0}]}}),[]);(0,c.useEffect)((()=>{if(Y&&$){I.current.languages.typescript.typescriptDefaults.setCompilerOptions({jsx:I.current.languages.typescript.JsxEmit.Preserve,target:I.current.languages.typescript.ScriptTarget.ES2020,esModuleInterop:!0}),I.current.languages.typescript.typescriptDefaults.setDiagnosticsOptions({noSemanticValidation:!0,noSyntaxValidation:!0});const e=N.current.getDomNode();N.current.onDidContentSizeChange((({contentHeight:t})=>{if(e&&Y&&$){const e=Math.min(200,t+18);q(e)}})),P.current=N.current.addCommand(0,(()=>{A.current&&x(A.current)})),D.current||(D.current=I.current.languages.registerHoverProvider("typescript",{provideHover:K}))}}),[Y]);const X=(0,c.useCallback)((()=>{F({width:k.current.offsetWidth,height:k.current.offsetHeight})}),[]);return(0,c.useEffect)((()=>(window&&window.addEventListener("resize",X),X(),()=>{var e;null===(e=D.current)||void 0===e||e.dispose(),window&&window.removeEventListener("resize",X),W(!1)})),[]),(0,c.useEffect)((()=>{X()}),[null===(r=null===k||void 0===k?void 0:k.current)||void 0===r?void 0:r.offsetHeight,null===(a=null===k||void 0===k?void 0:k.current)||void 0===a?void 0:a.offsetWidth]),c.default.createElement("div",Object.assign({ref:k,key:j},w,{className:(0,f.default)(w.className,_.default.apiNodeDetailsContainer)}),c.default.createElement("div",{className:_.default.apiDetails,ref:M},G&&c.default.createElement("div",{className:_.default.apiNodeDetailsComment},G),$&&c.default.createElement("div",{key:`${$}-${j}-api-signature-editor`,className:(0,f.default)(_.default.apiNodeDetailsSignatureContainer,_.default.codeEditorContainer)},c.default.createElement(u.default,{options:p.defaultCodeEditorOptions,value:$,height:H,path:`${j}-${y}`,className:_.default.editor,beforeMount:e=>{I.current=e},onMount:e=>{N.current=e;const t=N.current.getValue(),n=36+18*(((null===t||void 0===t?void 0:t.split("\n").length)||0)-1);W(!0),q(n)},theme:"vs-dark"})),U&&U.comment&&c.default.createElement("div",{className:_.default.apiNodeDetailsExample},c.default.createElement(l.H6,{className:_.default.apiNodeDetailsExampleTitle},"Example"),c.default.createElement("div",{className:_.default.codeEditorContainer},c.default.createElement(u.default,{options:p.defaultCodeEditorOptions,value:U.comment,path:`${null===U||void 0===U?void 0:U.location.line}:${null===U||void 0===U?void 0:U.location.filePath}`,height:V,theme:"vs-dark",className:_.default.editor}))),R),!(null===O||void 0===O?void 0:O.hideIndex)&&!B&&c.default.createElement(h.SchemaNodesIndex,{className:_.default.schemaNodesIndex,title:"ON THIS PAGE",rootRef:k}))}},10439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APINodeDetails=void 0;var r=n(42300);Object.defineProperty(t,"APINodeDetails",{enumerable:!0,get:function(){return r.APINodeDetails}})},74708:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.classRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439),s=n(15575);t.classRenderer={predicate:e=>e.__schema===o.ClassSchema.name,Component:function(e){var t,n;const{apiNode:{api:r}}=e,o=r,{extendsNodes:c,implementNodes:l,signature:u,members:d}=o,p=null===(t=null===c||void 0===c?void 0:c[0])||void 0===t?void 0:t.name,f=null===(n=null===l||void 0===l?void 0:l[0])||void 0===n?void 0:n.name,g=`${u}${p&&" ".concat(p)||""} ${f||""}`;return a.default.createElement(i.APINodeDetails,Object.assign({},e,{displaySignature:g}),a.default.createElement(s.GroupedSchemaNodesSummary,{nodes:d,apiNodeRendererProps:e}))},nodeType:"Classes",icon:{name:"Class",url:"https://static.bit.dev/api-reference/class.svg"},default:!0}},3284:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classRenderer=void 0;var r=n(74708);Object.defineProperty(t,"classRenderer",{enumerable:!0,get:function(){return r.classRenderer}})},63353:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.enumRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439),s=n(15575);t.enumRenderer={predicate:e=>e.__schema===o.EnumSchema.name,Component:function(e){const{apiNode:{api:t}}=e,n=t,{members:r}=n;return a.default.createElement(i.APINodeDetails,Object.assign({},e,{options:{hideIndex:!0}}),a.default.createElement(s.GroupedSchemaNodesSummary,{nodes:r,apiNodeRendererProps:e}))},nodeType:"Enums",icon:{name:"Enum",url:"https://static.bit.dev/api-reference/array.svg"},default:!0}},35483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enumRenderer=void 0;var r=n(63353);Object.defineProperty(t,"enumRenderer",{enumerable:!0,get:function(){return r.enumRenderer}})},37552:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.functionRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439),s=n(93180),c=n(57250),l=r(n(55574)),u=r(n(19101));t.functionRenderer={predicate:e=>e.__schema===o.FunctionLikeSchema.name,Component:function(e){var t,n,r;const{apiNode:{api:o},renderers:d}=e,p=o,{returnType:f,params:g,typeParams:m}=p,h=d.find((e=>e.predicate(f)));if(null===(n=null===(t=e.metadata)||void 0===t?void 0:t[o.__schema])||void 0===n?void 0:n.columnView)return a.default.createElement("div",{className:u.default.node},o.toString());const _=g.length>0;return a.default.createElement(i.APINodeDetails,Object.assign({},e,{options:{hideIndex:!0}}),m&&a.default.createElement("div",{className:(0,l.default)(u.default.container,u.default.typeParams)},a.default.createElement("div",{className:u.default.title},"Type Parameters"),a.default.createElement("div",{className:u.default.values},m.map((e=>a.default.createElement("div",{className:(0,l.default)(u.default.value),key:e},e))))),_&&a.default.createElement("div",{className:u.default.container},a.default.createElement("div",{className:u.default.title},"Parameters"),a.default.createElement("div",{className:u.default.table},a.default.createElement(c.HeadingRow,{colNumber:4,headings:["name","type","default","description"]}),g.map((t=>{var n,r;const o=d.find((e=>e.predicate(t)));return(null===o||void 0===o?void 0:o.Component)?a.default.createElement(o.Component,Object.assign({},e,{key:`param-${t.name}`,depth:(null!==(n=e.depth)&&void 0!==n?n:0)+1,apiNode:Object.assign(Object.assign({},e.apiNode),{renderer:o,api:t}),metadata:{[t.__schema]:{columnView:!0}}})):a.default.createElement(s.parameterRenderer.Component,Object.assign({},e,{key:`param-${t.name}`,depth:(null!==(r=e.depth)&&void 0!==r?r:0)+1,apiNode:Object.assign(Object.assign({},e.apiNode),{renderer:s.parameterRenderer,api:t}),metadata:{[t.__schema]:{columnView:!0}}}))})))),a.default.createElement("div",{className:u.default.container},a.default.createElement("div",{className:u.default.title},"Returns"),a.default.createElement("div",{className:u.default.returnType},h&&a.default.createElement(h.Component,Object.assign({},e,{apiNode:Object.assign(Object.assign({},e.apiNode),{api:f,renderer:h}),depth:(null!==(r=e.depth)&&void 0!==r?r:0)+1}))||a.default.createElement("div",{className:u.default.node},f.toString()))))},nodeType:"Functions",icon:{name:"Function",url:"https://static.bit.dev/api-reference/function.svg"},default:!0}},18024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.functionRenderer=void 0;var r=n(37552);Object.defineProperty(t,"functionRenderer",{enumerable:!0,get:function(){return r.functionRenderer}})},70798:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0?Array.from((0,i.groupByNodeSignatureType)(t).entries()).sort(i.sortSignatureType):[],{apiRefModel:f}=n;return o.default.createElement("div",Object.assign({},d,{className:(0,l.default)(u.default.groupNodesContainer,a)}),p.map((([e,t],r)=>{const a=e&&encodeURIComponent(e),i="methods"===e||"constructors"===e||"enum members"===e||"setters"===e?["name","signature","description"]:["name","type","description"];return o.default.createElement("div",{key:`${a}`,className:(0,l.default)(u.default.table,0!==r&&u.default.paddingTop)},e&&o.default.createElement("div",{id:a,className:(0,l.default)(u.default.groupName,c.trackedElementClassName)},e),o.default.createElement(s.HeadingRow,{className:(0,l.default)(u.default.row),colNumber:3,headings:i}),t.map((t=>"methods"===e||"constructors"===e||"setters"===e?o.default.createElement(c.FunctionNodeSummary,{key:`${t.__schema}-${t.name}`,node:t,apiNodeRendererProps:n,groupElementClassName:a,headings:i,apiRefModel:f,name:t.name||"constructor",params:t.params||[t.param],returnType:t.returnType}):"enum members"===e?o.default.createElement(c.EnumMemberSummary,{key:`${t.__schema}-${t.name}`,headings:i,apiNodeRendererProps:n,groupElementClassName:a,name:t.name,node:t}):o.default.createElement(c.VariableNodeSummary,{key:`${t.__schema}-${t.name}`,node:t,headings:i,groupElementClassName:a,apiNodeRendererProps:n,name:t.name,type:t.type}))))})))}},15575:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupedSchemaNodesSummary=void 0;var r=n(70798);Object.defineProperty(t,"GroupedSchemaNodesSummary",{enumerable:!0,get:function(){return r.GroupedSchemaNodesSummary}})},56865:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inferenceTypeRenderer=void 0;var r=n(8937);Object.defineProperty(t,"inferenceTypeRenderer",{enumerable:!0,get:function(){return r.inferenceTypeRenderer}})},8937:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.inferenceTypeRenderer=void 0;const a=r(n(49725)),o=n(68515),i=r(n(53722));t.inferenceTypeRenderer={predicate:e=>e.__schema===o.InferenceTypeSchema.name,Component:function(e){const{apiNode:{api:t}}=e,n=t;return a.default.createElement("div",{key:`inference-${n.name}`,className:i.default.node},n.type)},nodeType:"InferenceType",default:!0}},76697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interfaceRenderer=void 0;var r=n(60921);Object.defineProperty(t,"interfaceRenderer",{enumerable:!0,get:function(){return r.interfaceRenderer}})},60921:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.interfaceRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439),s=n(15575);t.interfaceRenderer={predicate:e=>e.__schema===o.InterfaceSchema.name,Component:function(e){var t;const{apiNode:{api:n}}=e,r=n,{extendsNodes:o,signature:c,members:l}=r,u=null===(t=null===o||void 0===o?void 0:o[0])||void 0===t?void 0:t.name,d=`${c}${u&&" ".concat(u)||""}`;return a.default.createElement(i.APINodeDetails,Object.assign({},e,{displaySignature:d}),a.default.createElement(s.GroupedSchemaNodesSummary,{nodes:l,apiNodeRendererProps:e}))},nodeType:"Interfaces",icon:{name:"Interface",url:"https://static.bit.dev/api-reference/interface.svg"},default:!0}},93180:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parameterRenderer=void 0;var r=n(66842);Object.defineProperty(t,"parameterRenderer",{enumerable:!0,get:function(){return r.parameterRenderer}})},66842:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parameterRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(1692),s=r(n(55239));t.parameterRenderer={predicate:e=>e.__schema===o.ParameterSchema.name,Component:function(e){var t;const{apiNode:{api:n},renderers:r}=e,o=n,{name:c,isOptional:l,doc:u,type:d,defaultValue:p,objectBindingNodes:f}=o,g=r.find((e=>e.predicate(d))),m=g&&a.default.createElement(g.Component,Object.assign({},e,{apiNode:Object.assign(Object.assign({},e.apiNode),{api:d,renderer:g}),depth:(null!==(t=e.depth)&&void 0!==t?t:0)+1,metadata:{[d.__schema]:{columnView:!0}}}))||a.default.createElement("div",{className:s.default.node},d.toString());if(f)return a.default.createElement(a.default.Fragment,{key:`${c}-param`},f.map((t=>{var n,o;const c=r.find((e=>e.predicate(t))),l=c&&a.default.createElement(c.Component,Object.assign({},e,{apiNode:Object.assign(Object.assign({},e.apiNode),{api:t,renderer:c}),depth:(null!==(n=e.depth)&&void 0!==n?n:0)+1,metadata:{[d.__schema]:{columnView:!0}}}))||a.default.createElement("div",{className:s.default.node},t.toString());return a.default.createElement(i.TableRow,{key:`${t.name}-param`,headings:["name","type","default","description"],colNumber:4,customRow:{type:l},row:{name:t.name||"",description:(null===(o=t.doc)||void 0===o?void 0:o.comment)||"",required:!1,type:""}})})));return a.default.createElement(i.TableRow,{key:`${c}-param`,headings:["name","type","default","description"],colNumber:4,customRow:{type:m},row:{name:c,description:(null===u||void 0===u?void 0:u.comment)||"",required:!l,type:"",default:{value:p}}})},nodeType:"Parameters",default:!0}},8229:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a void`:null===(t=(0,d.transformSignature)(s))||void 0===t?void 0:t.split(_)[1],[x,N]=(0,c.useState)(!1),I=c.default.createElement(u.TableRow,Object.assign({},E,{key:`${S}-${_}`,onClick:()=>N((e=>!e)),onMouseOver:()=>C(!0),onMouseOut:()=>C(!1),className:(0,f.default)(a,h.default.row,x&&h.default.showSignature,(w||x)&&h.default.isHovering),headings:o,colNumber:3,customRow:{name:c.default.createElement("div",{id:_,className:(0,f.default)(m.trackedElementClassName,r,h.default.name)},_),signature:c.default.createElement("div",{className:(0,f.default)(h.default.signatureContainer,(w||x)&&h.default.isHovering)},T)},row:{name:_,description:(null===O||void 0===O?void 0:O.comment)||"",parameter:"",required:!1,type:"",signature:T}}));if(!x)return I;const{renderers:P}=b,A=y&&P.find((e=>e.predicate(y)));return c.default.createElement("div",{className:h.default.rowWithSignatureDetails},I,c.default.createElement("div",{className:h.default.signatureDetails},v.length>0&&c.default.createElement("div",{className:h.default.paramsContainer},c.default.createElement(p.HeadingRow,{colNumber:4,headings:["name","type","default","description"]}),v.map((e=>{var t,n;const r=P.find((t=>t.predicate(e)));return(null===r||void 0===r?void 0:r.Component)?c.default.createElement(r.Component,Object.assign({},b,{key:`param-${e.name}`,depth:(null!==(t=b.depth)&&void 0!==t?t:0)+1,apiNode:Object.assign(Object.assign({},b.apiNode),{renderer:r,api:e}),metadata:{[e.__schema]:{columnView:!0}}})):c.default.createElement(g.parameterRenderer.Component,Object.assign({},b,{key:`param-${e.name}`,depth:(null!==(n=b.depth)&&void 0!==n?n:0)+1,apiNode:Object.assign(Object.assign({},b.apiNode),{renderer:g.parameterRenderer,api:e}),metadata:{[e.__schema]:{columnView:!0}}}))}))),y&&c.default.createElement("div",{className:h.default.returnContainer},c.default.createElement("div",{className:h.default.returnTitle},"Returns"),c.default.createElement("div",{className:h.default.returnType},A&&c.default.createElement(A.Component,Object.assign({},b,{apiNode:Object.assign(Object.assign({},b.apiNode),{api:y,renderer:A}),depth:(null!==(n=b.depth)&&void 0!==n?n:0)+1}))||c.default.createElement("div",{className:h.default.node},y.toString())))))}},60440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackedElementClassName=t.FunctionNodeSummary=t.VariableNodeSummary=t.EnumMemberSummary=void 0;var r=n(8229);Object.defineProperty(t,"EnumMemberSummary",{enumerable:!0,get:function(){return r.EnumMemberSummary}});var a=n(88389);Object.defineProperty(t,"VariableNodeSummary",{enumerable:!0,get:function(){return a.VariableNodeSummary}});var o=n(88457);Object.defineProperty(t,"FunctionNodeSummary",{enumerable:!0,get:function(){return o.FunctionNodeSummary}}),t.trackedElementClassName="tracked-element"},88389:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ae.predicate(g))),R=b&&o.default.createElement(b.Component,Object.assign({},m,{apiNode:Object.assign(Object.assign({},m.apiNode),{api:g,renderer:b}),depth:(null!==(t=m.depth)&&void 0!==t?t:0)+1,metadata:{[g.__schema]:{columnView:!0}}}))||o.default.createElement("div",{className:l.default.node},g.toString());return o.default.createElement(i.TableRow,Object.assign({},h,{key:`${_}-${p}`,className:(0,s.default)(a,l.default.row),headings:u,colNumber:3,customRow:{name:o.default.createElement("div",{id:p,className:(0,s.default)(c.trackedElementClassName,n,l.default.name)},p),type:R},row:{name:p,description:(null===v||void 0===v?void 0:v.comment)||"",required:!f,type:""}}))}},98191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaNodesIndex=void 0;var r=n(52347);Object.defineProperty(t,"SchemaNodesIndex",{enumerable:!0,get:function(){return r.SchemaNodesIndex}})},52347:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aArray.from(function(e){const t=new Map;let n=null;for(let r=0;r<=e.length-1;r+=1){const a=e[r],o=e[r+1],i=a.id;if(o&&o.classList.contains(i)){n=i,t.set(n,[o.textContent]),r+=1}if(!n){const e=t.get(null)||[];t.set(null,e.concat([a.textContent]))}if(n&&i!==n){const e=t.get(n)||[];t.set(n,e.concat(a.textContent))}}return t}(o).entries())),[o,o.length]),y=(0,p.default)(v).length>0;return(0,c.useEffect)((()=>{if(0===o.length)return;if(s.current)return;s.current=!0;const e=null===h||void 0===h?void 0:h.hash.slice(1);if(!e)return;const t=o.find((t=>t.id===decodeURIComponent(e)));t&&t.scrollIntoView()}),[o,o.length]),y?c.default.createElement("div",Object.assign({},a,{className:(0,u.default)(m.default.schemaNodeIndexContainer,r)}),c.default.createElement("div",{className:m.default.title},n),v.map((([e,t],n)=>e?c.default.createElement("div",{key:`${e}-${n}`,className:(0,u.default)(m.default.group,0===n&&m.default.firstNode)},c.default.createElement("div",{className:m.default.groupName},c.default.createElement(g.Link,{native:!0,href:`#${e}`,className:(0,u.default)(m.default.groupedNodeName,d.classes.menuItem,d.classes.interactive,_===decodeURIComponent(e)&&d.classes.active,0===n&&m.default.firstNodeLink)},decodeURIComponent(e))),c.default.createElement("div",{className:m.default.groupedNodesContainer},t.map(((e,t)=>{const n=e&&decodeURIComponent(e)===_;return c.default.createElement("div",{key:`${e}-${t}`,className:m.default.groupedNode},c.default.createElement(g.Link,{native:!0,href:`#${e}`,className:(0,u.default)(m.default.groupedNodeName,d.classes.menuItem,d.classes.interactive,n&&d.classes.active)},e))})))):c.default.createElement("div",{key:`group-${n}`,className:(0,u.default)(m.default.groupedNodesContainer,m.default.firstNode)},t.map(((e,t)=>{const n=e&&decodeURIComponent(e)===_;return c.default.createElement("div",{key:`${e}-${t}`,className:(0,u.default)(m.default.groupedNode,m.default.noGroup)},c.default.createElement(g.Link,{native:!0,href:`#${e}`,className:(0,u.default)(m.default.groupedNodeName,d.classes.menuItem,d.classes.interactive,n&&d.classes.active,0===t&&m.default.firstNodeLink)},e))})))))):null}},72508:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeArrayRenderer=void 0;var r=n(47890);Object.defineProperty(t,"typeArrayRenderer",{enumerable:!0,get:function(){return r.typeArrayRenderer}})},47890:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.typeArrayRenderer=void 0;const a=r(n(49725)),o=n(68515),i=r(n(87567));t.typeArrayRenderer={predicate:e=>e.__schema===o.TypeArraySchema.name,Component:function(e){var t;const{apiNode:{api:n},renderers:r}=e,o=n,s=r.find((e=>e.predicate(o.type)));if(s)return a.default.createElement("div",{key:`${n.__schema}-${n.name}`,className:i.default.node},a.default.createElement(s.Component,Object.assign({},e,{apiNode:Object.assign(Object.assign({},e.apiNode),{api:o.type,renderer:s}),depth:(null!==(t=e.depth)&&void 0!==t?t:0)+1,metadata:{[o.type.__schema]:{columnView:!0}}})),"[]");return a.default.createElement("div",{key:`${n.__schema}-${n.name}`,className:i.default.node},o.toString())},nodeType:"TypeArray",default:!0}},48608:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeIntersectionRenderer=void 0;var r=n(64127);Object.defineProperty(t,"typeIntersectionRenderer",{enumerable:!0,get:function(){return r.typeIntersectionRenderer}})},64127:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.typeIntersectionRenderer=void 0;const a=r(n(49725)),o=n(68515),i=r(n(55574)),s=r(n(5749));t.typeIntersectionRenderer={predicate:e=>e.__schema===o.TypeIntersectionSchema.name,Component:function(e){const{apiNode:{api:t},renderers:n}=e,r=t;return a.default.createElement("div",{key:`${t.__schema}-${t.name}`,className:s.default.node},r.types.map(((t,r,o)=>{var c;const l=n.find((e=>e.predicate(t)));return l?a.default.createElement(a.default.Fragment,{key:`typeIntersectionMember-container-${t.toString()}-${r}}`},a.default.createElement(l.Component,Object.assign({},e,{key:`typeIntersectionMember-${t.toString()}-${r}}`,apiNode:Object.assign(Object.assign({},e.apiNode),{api:t,renderer:l}),depth:(null!==(c=e.depth)&&void 0!==c?c:0)+1,metadata:{[t.__schema]:{columnView:!0}}})),o.length>1&&r!==o.length-1?a.default.createElement("div",{key:`${t.name}-${r}-&`,className:(0,i.default)(s.default.node,s.default.separator)},"&"):null):a.default.createElement("div",{key:`${t.name}-${r}`,className:s.default.node},t.toString(),o.length>1&&r!==o.length-1?a.default.createElement("div",{key:`${t.name}-${r}-&`,className:(0,i.default)(s.default.node,s.default.separator)},"&"):null)})))},nodeType:"TypeIntersection",default:!0}},88184:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeLiteralRenderer=void 0;var r=n(45744);Object.defineProperty(t,"typeLiteralRenderer",{enumerable:!0,get:function(){return r.typeLiteralRenderer}})},45744:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.typeLiteralRenderer=void 0;const a=r(n(49725)),o=n(26020),i=n(15575),s=n(68515),c=r(n(26989));t.typeLiteralRenderer={predicate:e=>e.__schema===s.TypeLiteralSchema.name,Component:function(e){var t,n;const{apiNode:{api:r}}=e,s=r;if(null===(n=null===(t=e.metadata)||void 0===t?void 0:t[r.__schema])||void 0===n?void 0:n.columnView)return a.default.createElement("div",{className:c.default.node},s.toString());const l=s.members.map((e=>e.signature?e:(0,o.copySchemaNode)(e,{signature:e.toString()})));return a.default.createElement(i.GroupedSchemaNodesSummary,{nodes:l,apiNodeRendererProps:e})},nodeType:"TypeLiteral",default:!0}},56323:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeRefRenderer=void 0;var r=n(99363);Object.defineProperty(t,"typeRefRenderer",{enumerable:!0,get:function(){return r.typeRefRenderer}})},99363:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.typeRefRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439),s=n(26020),c=r(n(55574)),l=n(22786),u=n(71105),d=n(56843),p=r(n(23220));function f({name:e,url:t,external:n,children:r}){return t?a.default.createElement(d.Link,{href:t,external:n,className:(0,c.default)(p.default.node,p.default.nodeLink)},e,r):a.default.createElement("div",{className:(0,c.default)(p.default.node)},e,r)}t.typeRefRenderer={predicate:e=>e.__schema===o.TypeRefSchema.name,Component:function(e){var t,n;const{apiNode:{api:r},apiRefModel:o,depth:d,renderers:g}=e,m=r;if(0===d)return a.default.createElement(i.APINodeDetails,Object.assign({},e,{apiNode:Object.assign(Object.assign({},e.apiNode),{api:(0,s.copySchemaNode)(m,{signature:m.signature||m.toString()})}),options:{hideIndex:!0}}));const h=m.isFromThisComponent()?o.apiByName.get(m.name):void 0,_=h&&(0,l.useUpdatedUrlFromQuery)({selectedAPI:h.api.name}),v=m.componentId?function({componentId:e,selectedAPI:t}){const n=u.ComponentUrl.toUrl(e),[r,a]=n.split("?");return`${r}/~api-reference?selectedAPI=${encodeURIComponent(t)}&${a}`}({componentId:m.componentId,selectedAPI:m.name}):void 0,y=null!==(n=null===(t=m.typeArgs)||void 0===t?void 0:t.map(((t,n,r)=>{var o,i,s,c,l;const u=g.find((e=>e.predicate(t)));return u?a.default.createElement(a.default.Fragment,{key:`type-arg-container-${t.__schema}-${t.toString()}-${n}`},a.default.createElement(u.Component,Object.assign({},e,{key:`type-arg-${t.__schema}-${t.toString()}-${n}`,apiNode:Object.assign(Object.assign({},e.apiNode),{api:t,renderer:u}),depth:(null!==(o=e.depth)&&void 0!==o?o:0)+1,metadata:{[t.__schema]:{columnView:!0}}})),(null!==(i=null===r||void 0===r?void 0:r.length)&&void 0!==i?i:0)>1&&n!==(null!==(s=null===r||void 0===r?void 0:r.length)&&void 0!==s?s:0)-1?", ":null):a.default.createElement(a.default.Fragment,{key:t.toString()},t.toString(),(null!==(c=null===r||void 0===r?void 0:r.length)&&void 0!==c?c:0)>1&&n!==(null!==(l=null===r||void 0===r?void 0:r.length)&&void 0!==l?l:0)-1?", ":null)})))&&void 0!==n?n:null;if(y)return a.default.createElement(a.default.Fragment,{key:`typeRef-with-args-container-${m.name}`},a.default.createElement(f,{key:`typeRef-with-args-${m.name}`,name:m.name,external:!!v,url:_||v},a.default.createElement("div",{key:`typeArgsContainer-${m.name}`,className:(0,c.default)(p.default.node)},"<",y.map((e=>e)),">")));return a.default.createElement(f,{key:`typeRef-${m.name}`,name:m.name,external:!!v,url:_||v})},nodeType:"TypeRefs",icon:{name:"TypeRef",url:"https://static.bit.dev/api-reference/type.svg"},default:!0}},61461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeUnionRenderer=void 0;var r=n(31703);Object.defineProperty(t,"typeUnionRenderer",{enumerable:!0,get:function(){return r.typeUnionRenderer}})},31703:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.typeUnionRenderer=void 0;const a=r(n(49725)),o=n(68515),i=r(n(55574)),s=r(n(50111));t.typeUnionRenderer={predicate:e=>e.__schema===o.TypeUnionSchema.name,Component:function(e){const{apiNode:{api:t},renderers:n}=e,r=t;return a.default.createElement("div",{key:`${t.__schema}-${t.name}`,className:s.default.node},r.types.map(((t,r,o)=>{var c;const l=n.find((e=>e.predicate(t)));return l?a.default.createElement(a.default.Fragment,{key:`typeUnionMember-container-${t.toString()}-${r}}`},a.default.createElement(l.Component,Object.assign({},e,{key:`typeUnionMember-${t.toString()}-${r}}`,apiNode:Object.assign(Object.assign({},e.apiNode),{api:t,renderer:l}),depth:(null!==(c=e.depth)&&void 0!==c?c:0)+1,metadata:{[t.__schema]:{columnView:!0}}})),o.length>1&&r!==o.length-1?a.default.createElement("div",{key:`${t.name}-${r}-|`,className:(0,i.default)(s.default.node,s.default.separator)},"|"):null):a.default.createElement("div",{key:`${t.name}-${r}`,className:s.default.node},t.toString(),o.length>1&&r!==o.length-1?a.default.createElement("div",{key:`${t.name}-${r}-|`,className:(0,i.default)(s.default.node,s.default.separator)},"|"):null)})))},nodeType:"TypeUnion",default:!0}},22343:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeRenderer=void 0;var r=n(82540);Object.defineProperty(t,"typeRenderer",{enumerable:!0,get:function(){return r.typeRenderer}})},82540:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.typeRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439);t.typeRenderer={predicate:e=>e.__schema===o.TypeSchema.name,Component:function(e){var t;const{apiNode:{api:n},renderers:r}=e,o=n,{type:s}=o,c=r.find((e=>e.predicate(s)));return a.default.createElement(i.APINodeDetails,Object.assign({},e,{options:{hideIndex:!0}}),c&&a.default.createElement(c.Component,Object.assign({},e,{apiNode:Object.assign(Object.assign({},e.apiNode),{api:s}),depth:(null!==(t=e.depth)&&void 0!==t?t:0)+1})))},nodeType:"Types",icon:{name:"Type",url:"https://static.bit.dev/api-reference/type.svg"},default:!0}},50148:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unresolvedRenderer=void 0;var r=n(95521);Object.defineProperty(t,"unresolvedRenderer",{enumerable:!0,get:function(){return r.unresolvedRenderer}})},95521:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.unresolvedRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439);t.unresolvedRenderer={predicate:e=>e.__schema===o.UnresolvedSchema.name,Component:function(e){return a.default.createElement(i.APINodeDetails,Object.assign({},e))},nodeType:"Unresolved",icon:{name:"Unresolved",url:""},default:!0}},47416:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.variableRenderer=void 0;var r=n(53258);Object.defineProperty(t,"variableRenderer",{enumerable:!0,get:function(){return r.variableRenderer}})},53258:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.variableRenderer=void 0;const a=r(n(49725)),o=n(68515),i=n(10439);t.variableRenderer={predicate:e=>e.__schema===o.VariableLikeSchema.name,Component:function(e){return a.default.createElement(i.APINodeDetails,Object.assign({},e))},nodeType:"Variables",icon:{name:"Variable",url:"https://static.bit.dev/api-reference/variable.svg"},default:!0}},51579:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.APIRefPage=void 0;const s=o(n(49725)),c=i(n(91630)),l=i(n(55574)),u=n(44704),d=n(11308),p=n(39323),f=n(56843),g=n(33885),m=n(50666),h=n(33255),_=n(81258),v=n(3552),y=n(62067),b=n(22786),R=n(40462),E=n(52782),S=n(85779),O=n(71105),w=i(n(60173));function C({locationUrl:e}){return s.default.createElement(f.Link,{external:!0,href:e,className:w.default.locationLink},s.default.createElement("div",{className:w.default.locationLabel},"View Code"),s.default.createElement("div",{className:w.default.locationIcon},s.default.createElement("img",{src:"https://static.bit.dev/design-system-assets/Icons/external-link.svg"})))}t.APIRefPage=function({host:e,rendererSlot:t,className:n}){var r,a,o;const i=(0,s.useContext)(u.ComponentContext),T=(0,c.default)(t.values()),{apiModel:x,loading:N}=(0,v.useSchema)(e,i.id.toString(),T),I=(0,p.useIsMobile)(),[P,A]=(0,s.useState)(!I),D=P?_.Layout.row:_.Layout.left,k=(0,b.useAPIRefParam)("selectedAPI"),M=x&&(0,c.default)(Array.from(x.apiByType.values())).sort(R.sortAPINodes)||[],j=0===M.length,L=(0,s.useMemo)((()=>M.map((e=>{var t;return`${null===(t=e.renderer)||void 0===t?void 0:t.nodeType}/${e.api.name}`}))),[M]),F=k&&(null===x||void 0===x?void 0:x.apiByName.get(k))||M[0],B=F&&`${null===(r=null===F||void 0===F?void 0:F.renderer)||void 0===r?void 0:r.nodeType}/${null===F||void 0===F?void 0:F.api.name}`||L[0],U=F&&F.renderer.Component,G=(0,f.useLocation)(),$=(0,g.useQuery)();if(N)return s.default.createElement("div",{className:w.default.loader},s.default.createElement(E.RoundLoader,null));if(!x||j)return s.default.createElement(S.EmptyBox,{title:"There is no API extracted for this component.",link:"",linkText:""});const V=F.renderer.icon,z=F.api.name,H=$.get("version"),q=F.api.location.filePath,Y=(null===G||void 0===G?void 0:G.pathname)&&(null===(o=null===(a=null===window||void 0===window?void 0:window.location)||void 0===a?void 0:a.hostname)||void 0===o?void 0:o.startsWith("localhost"))?null===G||void 0===G?void 0:G.pathname:`${O.ComponentUrl.toUrl(i.id,{includeVersion:!1})}/`,W=`${null===Y||void 0===Y?void 0:Y.split("~")[0]}~code/${q}${H?`?version=${H}`:""}`;return s.default.createElement(_.SplitPane,{layout:D,size:"85%",className:(0,l.default)(n,w.default.apiRefPageContainer)},s.default.createElement(_.Pane,{className:w.default.left},s.default.createElement("div",{className:w.default.selectedAPIDetailsContainer},s.default.createElement("div",{className:w.default.apiNodeDetailsNameContainer},V&&s.default.createElement("div",{className:w.default.apiTypeIcon},s.default.createElement("img",{src:V.url})),s.default.createElement(d.H1,{size:"md",className:w.default.name},z),s.default.createElement(C,{locationUrl:W})),U&&s.default.createElement(U,{apiNode:F,apiRefModel:x,renderers:T,depth:0}))),s.default.createElement(h.HoverSplitter,{className:w.default.splitter},s.default.createElement(m.Collapser,{placement:"left",isOpen:P,onMouseDown:e=>e.stopPropagation(),onClick:()=>A((e=>!e)),tooltipContent:(P?"Hide":"Show")+" file tree",className:w.default.collapser})),s.default.createElement(_.Pane,{className:(0,l.default)(w.default.right,w.default.dark)},s.default.createElement(y.APIReferenceExplorer,{selectedAPIName:B,apiTree:L,getIcon:e=>{var t,n;const r=e.id.split("/")[0];return null===(n=null===(t=null===x||void 0===x?void 0:x.apiByType.get(r))||void 0===t?void 0:t[0].renderer.icon)||void 0===n?void 0:n.url}})))}},82261:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIRefPage=void 0;var r=n(51579);Object.defineProperty(t,"APIRefPage",{enumerable:!0,get:function(){return r.APIRefPage}})},38884:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIRefSection=void 0;t.APIRefSection=class{constructor(e){this.apiReferenceUI=e,this.order=100,this.route={path:"~api-reference",element:this.apiReferenceUI.getAPIPage()},this.navigationLink={href:"~api-reference",children:"API Reference"}}}},64979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIRefSection=void 0;var r=n(38884);Object.defineProperty(t,"APIRefSection",{enumerable:!0,get:function(){return r.APIRefSection}})},1347:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultCodeEditorOptions=void 0,t.defaultCodeEditorOptions={minimap:{enabled:!1},scrollbar:{vertical:"hidden",alwaysConsumeMouseWheel:!1},scrollBeyondLastLine:!1,readOnly:!0,language:"typescript",lineNumbers:"off",folding:!1,overviewRulerLanes:0,overviewRulerBorder:!1,wordWrap:"on",automaticLayout:!0,wrappingStrategy:"advanced",fixedOverflowWidgets:!0,hover:{delay:150},parameterHints:{enabled:!1},renderLineHighlight:"none",lineHeight:18,padding:{top:8}}},3568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultCodeEditorOptions=void 0;var r=n(1347);Object.defineProperty(t,"defaultCodeEditorOptions",{enumerable:!0,get:function(){return r.defaultCodeEditorOptions}})},10354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copySchemaNode=void 0,t.copySchemaNode=function(e,t){return Object.assign(Object.assign(Object.assign({},e),t),{location:t.location||e.location,toString:t.toString||e.toString,toObject:t.toObject||e.toObject})}},26020:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copySchemaNode=void 0;var r=n(10354);Object.defineProperty(t,"copySchemaNode",{enumerable:!0,get:function(){return r.copySchemaNode}})},81292:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.groupByNodeSignatureType=t.sortSignatureType=void 0;const a=n(68515),o=r(n(38214));t.sortSignatureType=function([e],[t]){return e?t?et?1:0:1:-1},t.groupByNodeSignatureType=function(e){return e.reduce(((e,t)=>{const{signature:n,__schema:r}=t;if(!n)return e;let i;if(r===a.ConstructorSchema.name)i=(0,o.default)("constructor");else{const e=n.split(") ")[0].split("(")[1];i=e?(0,o.default)(e):void 0}const s=e.get(i)||[];return e.set(i,s.concat(t)),e}),new Map)}},49110:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortSignatureType=t.groupByNodeSignatureType=void 0;var r=n(81292);Object.defineProperty(t,"groupByNodeSignatureType",{enumerable:!0,get:function(){return r.groupByNodeSignatureType}}),Object.defineProperty(t,"sortSignatureType",{enumerable:!0,get:function(){return r.sortSignatureType}})},25952:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformSignature=void 0;var r=n(9205);Object.defineProperty(t,"transformSignature",{enumerable:!0,get:function(){return r.transformSignature}})},9205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformSignature=void 0;const r=n(68515);t.transformSignature=function({__schema:e,signature:t}){if(!t)return;if(e===r.ConstructorSchema.name)return t;const n=t.indexOf(") ")+1,[,...a]=null===t||void 0===t?void 0:t.slice(n).trim().split(".");return a.join(".")}},40462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortAPINodes=void 0;var r=n(93519);Object.defineProperty(t,"sortAPINodes",{enumerable:!0,get:function(){return r.sortAPINodes}})},93519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortAPINodes=void 0,t.sortAPINodes=function(e,t){const n=e.renderer.nodeType,r=t.renderer.nodeType;if(nr)return 1;const a=e.api.name||"",o=t.api.name||"";return ao?1:0}},12927:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.APIReferenceAspect=void 0;const a=r().Aspect.create({id:"teambit.api-reference/api-reference"});t.APIReferenceAspect=a;var o=a;t.default=o},8851:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=r(n(44704));return i=function(){return e},e}function s(){const e=n(12639);return s=function(){return e},e}function c(){const e=n(82261);return c=function(){return e},e}function l(){const e=n(64979);return l=function(){return e},e}function u(){const e=n(73823);return u=function(){return e},e}function d(){const e=n(3284);return d=function(){return e},e}function p(){const e=n(76697);return p=function(){return e},e}function f(){const e=n(22343);return f=function(){return e},e}function g(){const e=n(18024);return g=function(){return e},e}function m(){const e=n(35483);return m=function(){return e},e}function h(){const e=n(47416);return h=function(){return e},e}function _(){const e=n(50148);return _=function(){return e},e}function v(){const e=n(56323);return v=function(){return e},e}function y(){const e=n(61461);return y=function(){return e},e}function b(){const e=n(48608);return b=function(){return e},e}function R(){const e=n(88184);return R=function(){return e},e}function E(){const e=n(93180);return E=function(){return e},e}function S(){const e=n(56865);return S=function(){return e},e}function O(){const e=n(72508);return O=function(){return e},e}function w(){const e=n(12927);return w=function(){return e},e}n(31567),n(92619);class C{getAPIPage(){return o().default.createElement(c().APIRefPage,{host:this.host,rendererSlot:this.apiNodeRendererSlot})}static async provider([e],t,[n],r){const{config:a}=r,o=String(a.get("teambit.harmony/bit")),i=new C(o,n);i.registerAPINodeRenderer(i.apiNodeRenderers);const s=new(l().APIRefSection)(i);return e.registerNavigation(s.navigationLink,s.order),e.registerRoute(s.route),i}registerAPINodeRenderer(e){this.apiNodeRendererSlot.register(e)}constructor(e,t){this.host=e,this.apiNodeRendererSlot=t,(0,a().default)(this,"apiNodeRenderers",[d().classRenderer,f().typeRenderer,p().interfaceRenderer,h().variableRenderer,g().functionRenderer,m().enumRenderer,_().unresolvedRenderer,v().typeRefRenderer,b().typeIntersectionRenderer,y().typeUnionRenderer,E().parameterRenderer,R().typeLiteralRenderer,S().inferenceTypeRenderer,O().typeArrayRenderer])}}(0,a().default)(C,"dependencies",[i().default]),(0,a().default)(C,"runtime",s().UIRuntime),(0,a().default)(C,"slots",[u().Slot.withType()]),w().APIReferenceAspect.addRuntime(C)},73091:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AspectAspect=void 0;const a=r().Aspect.create({id:"teambit.harmony/aspect"});t.AspectAspect=a;var o=a;t.default=o},88548:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(91814);return i=function(){return e},e}function s(){const e=n(12639);return s=function(){return e},e}function c(){const e=n(82055);return c=function(){return e},e}function l(){const e=n(85779);return l=function(){return e},e}function u(){const e=n(73091);return u=function(){return e},e}n(31567),n(92619);class d{static async provider([e,t]){const n=new d;return t.registerEmptyState((()=>o().default.createElement(l().EmptyBox,{title:"This component doesn\u2019t have any tests.",linkText:"Learn how to add tests to your aspect components",link:"https://bit.dev/docs/dev-services-overview/tester/tester-overview"}))),e.registerEmptyState((()=>o().default.createElement(l().EmptyBox,{title:"This component doesn\u2019t have any compositions.",linkText:"Learn how to add compositions to your aspect components",link:"https://bit.dev/docs/dev-services-overview/compositions/compositions-overview"}))),n}}(0,a().default)(d,"runtime",s().UIRuntime),(0,a().default)(d,"slots",[]),(0,a().default)(d,"dependencies",[i().CompositionsAspect,c().TesterAspect]),u().AspectAspect.addRuntime(d)},78208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKey1dNav=t.use1dNav=void 0;var r=n(28080);Object.defineProperty(t,"use1dNav",{enumerable:!0,get:function(){return r.use1dNav}});var a=n(56337);Object.defineProperty(t,"useKey1dNav",{enumerable:!0,get:function(){return a.useKey1dNav}})},28080:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.use1dNav=void 0;const r=n(49725);t.use1dNav=function(e,t=0){const[n,a]=(0,r.useState)(t),o=(0,r.useCallback)((()=>a((t=>Math.min(t+1,e-1)))),[e]),i=(0,r.useCallback)((()=>a((e=>Math.max(e-1,0)))),[]),s=(0,r.useCallback)(((e=t)=>a(e)),[t]),c=(0,r.useCallback)((e=>e===n),[n]);return{activeIdx:n,isActive:c,increment:o,decrement:i,reset:s}}},56337:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKeyHandler=t.useKey1dNav=void 0;const r=n(49725);function a(e,t){const n=(0,r.useRef)(t);return n.current=t,(0,r.useCallback)((t=>{if(null===e||void 0===e||e(t),t.defaultPrevented)return;const r=n.current[t.key];r&&(t.preventDefault(),r(t))}),[e])}t.useKey1dNav=function(e,t,n="vertical",o){return a(e,(0,r.useMemo)((()=>{const e={ArrowDown:t.increment,ArrowUp:t.decrement},r={ArrowRight:t.increment,ArrowLeft:t.decrement};return Object.assign(Object.assign(Object.assign({},"vertical"===n&&e),"horizontal"===n&&r),o)}),[t.increment,t.decrement,n,o]))},t.useKeyHandler=a},30156:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancelablePromise=t.PromiseCanceledError=void 0;class n extends Error{constructor(){super("Promise was canceled")}}t.PromiseCanceledError=n;t.CancelablePromise=class{constructor(e){this._promise=e,this.race=Promise.race([this._promise,new Promise(((e,t)=>{this.reject=t}))])}get promise(){return this.race}cancel(){this.reject(new n)}}},47623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PromiseCanceledError=t.useQueuedExecution=void 0;var r=n(75148);Object.defineProperty(t,"useQueuedExecution",{enumerable:!0,get:function(){return r.useQueuedExecution}}),Object.defineProperty(t,"PromiseCanceledError",{enumerable:!0,get:function(){return r.PromiseCanceledError}})},75148:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useQueuedExecution=t.PromiseCanceledError=void 0;const r=n(49725),a=n(30156);var o=n(30156);Object.defineProperty(t,"PromiseCanceledError",{enumerable:!0,get:function(){return o.PromiseCanceledError}}),t.useQueuedExecution=function(e){const t=(0,r.useRef)(void 0);return(0,r.useCallback)(((...n)=>{t.current&&(t.current.cancel(),t.current=void 0);const r=e(...n);if("then"in r){const e=new a.CancelablePromise(r);return t.current=e,e.promise}return r}),[e])}},9418:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Row=void 0;var r=n(29724);Object.defineProperty(t,"Row",{enumerable:!0,get:function(){return r.Row}})},29724:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.useNavigate=t.useLocation=t.Link=void 0;var r=n(20956);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return r.Link}});var a=n(8101);Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return a.useLocation}});var o=n(58622);Object.defineProperty(t,"useNavigate",{enumerable:!0,get:function(){return o.useNavigate}});var i=n(52389);Object.defineProperty(t,"useNavigation",{enumerable:!0,get:function(){return i.useNavigation}}),Object.defineProperty(t,"NavigationProvider",{enumerable:!0,get:function(){return i.NavigationProvider}})},20956:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const i=o(n(49725)),s=n(52389),c=n(30934);t.Link=(0,i.forwardRef)((function(e,t){const n=(0,s.useNavigation)().Link||c.NativeLink;return e.native||e.external?i.default.createElement(c.NativeLink,Object.assign({},e,{ref:t})):i.default.createElement(n,Object.assign({},e,{ref:t}))}))},30934:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a!!R&&("boolean"===typeof s?s:!(!b||!m)&&(0,u.compareUrl)(b.pathname,m,{exact:g,strict:f}))),[s,m,b,R]),S=h?p:{},O=(0,c.useMemo)((()=>E&&o?Object.assign(Object.assign({},r),o):r),[E,r]);return c.default.createElement("a",Object.assign({},S,y,{ref:t,href:m,className:(0,l.default)(n,E&&a),style:O}))}))},52389:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.NavigationContext=void 0;const i=o(n(49725));t.NavigationContext=i.default.createContext({}),t.useNavigation=function(){return(0,i.useContext)(t.NavigationContext)},t.NavigationProvider=function({children:e,implementation:n}){return i.default.createElement(t.NavigationContext.Provider,{value:n},e)}},8101:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=void 0;const r=n(52389);function a(){if("undefined"!==typeof window)return window.location}t.useLocation=function(){return((0,r.useNavigation)().useLocation||a)()}},58622:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigate=void 0;const r=n(52389);function a(e,{replace:t}={}){if("undefined"===typeof window)throw new Error("base-react.navigation.use-location - cannot use native navigator outside of browser. Inject a custom useNavigate, or use navigation after mount");const{location:n,history:r}=window;"number"===typeof e?r.go(e):t?n.replace(e):n.assign(e)}t.useNavigate=function(){var e;const t=(0,r.useNavigation)();return(null===(e=t.useNavigate)||void 0===e?void 0:e.call(t))||a}},94630:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{const r=e.replace(/[A-Z]/g,"-$&").toLowerCase();return[t?`--${t}-${r}`:`--${r}`,n]})).reduce(((e,[t,n])=>(e[t]=n,e)),{})}t.createThemeProvider=function(e,t){return n=>{var{children:r,overrides:a,style:o}=n,l=i(n,["children","overrides","style"]);const u=(0,s.useMemo)((()=>Object.assign(Object.assign({},t.theme),a)),[t.theme,a]);if(t.withoutCssVars)return s.default.createElement(e.Provider,{value:u},r);const d=c(u,t.prefix);return s.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},d),o)},l),s.default.createElement(e.Provider,{value:u},r))}},t.computeCssVars=c},5711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTheme=void 0;const r=n(49725),a=n(29167);t.createTheme=function({theme:e,prefix:t,withoutCssVars:n}){const o=(0,r.createContext)(e);return{ThemeProvider:(0,a.createThemeProvider)(o,{theme:e,prefix:t,withoutCssVars:n}),useTheme:()=>(0,r.useContext)(o)}}},24485:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTheme=void 0;var r=n(5711);Object.defineProperty(t,"createTheme",{enumerable:!0,get:function(){return r.createTheme}})},53537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeToggler=t.useThemePicker=t.useThemeByName=t.useNextTheme=t.ThemePickerContext=t.ThemeSwitcher=void 0;var r=n(67871);Object.defineProperty(t,"ThemeSwitcher",{enumerable:!0,get:function(){return r.ThemeSwitcher}});var a=n(89146);Object.defineProperty(t,"ThemePickerContext",{enumerable:!0,get:function(){return a.ThemePickerContext}}),Object.defineProperty(t,"useNextTheme",{enumerable:!0,get:function(){return a.useNextTheme}}),Object.defineProperty(t,"useThemeByName",{enumerable:!0,get:function(){return a.useThemeByName}}),Object.defineProperty(t,"useThemePicker",{enumerable:!0,get:function(){return a.useThemePicker}});var o=n(43503);Object.defineProperty(t,"ThemeToggler",{enumerable:!0,get:function(){return o.ThemeToggler}})},89146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNextTheme=t.useThemeByName=t.useThemePicker=t.ThemePickerContext=void 0;const r=n(49725);function a(){return(0,r.useContext)(t.ThemePickerContext)}t.ThemePickerContext=(0,r.createContext)(void 0),t.useThemePicker=a,t.useThemeByName=function(e){const t=a();if(e&&t)return t.options.find((t=>t.themeName===e))},t.useNextTheme=function(){const e=a();return(0,r.useCallback)((()=>{if(!e)return;const{options:t,setTheme:n,currentIdx:r}=e;n(t[(r+1)%t.length])}),[e])}},67871:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ae.themeName===r)):r;const[d,p]=(0,s.useState)((()=>u||o&&n.find((e=>e.themeName===o))||n[0])),f=u||d,g={setTheme:e=>{null===a||void 0===a||a(e),p((()=>e))},current:f,get currentIdx(){return this.current?this.options.indexOf(this.current):-1},options:n},m=f,h=l;return s.default.createElement(c.ThemePickerContext.Provider,{value:g},m?s.default.createElement(m,Object.assign({},h),t):t)}},43503:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{null===t||void 0===t||t(e),e.defaultPrevented||a()}}))}},67658:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.staticStorageUrl=void 0;const a=r(n(78786));t.staticStorageUrl=a.default.staticStorageUrl.replace(/["']/g,"")},81978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},77819:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.elevationClass=void 0;const i=o(n(32302));a(n(81978),t),t.elevationClass={low:i.default.low,medium:i.default.medium,high:i.default.high,none:void 0}},98360:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.roundnessClass=void 0;const i=o(n(48169));a(n(61545),t),t.roundnessClass={circle:i.default.circle,default:i.default.default,small:i.default.small,medium:i.default.medium,sharp:i.default.sharp}},61545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},81060:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsableTreeNode=void 0;var r=n(3121);Object.defineProperty(t,"CollapsableTreeNode",{enumerable:!0,get:function(){return r.CollapsableTreeNode}})},41715:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.indentStyle=t.indentMargin=t.indentClass=void 0;const a=r(n(41114));t.indentClass=a.default.indent,t.indentMargin=a.default.indentMargin,t.indentStyle=function(e){return{"--indent-depth":e}}},94732:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(41715),t)},8750:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachPayload=void 0,t.attachPayload=function e(t,n){t&&(t.payload=n.get(t.id),t.children&&t.children.forEach((t=>e(t,n))))}},2552:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.attachPayload=void 0,a(n(19625),t);var o=n(8750);Object.defineProperty(t,"attachPayload",{enumerable:!0,get:function(){return o.attachPayload}})},19625:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inflateToTree=void 0;const r=n(3023),a=n(9701);t.inflateToTree=function(e,t){const n=e.map(t),o=r.buildKeyTree(n),i=Object.entries(o),[s,c]=1===i.length?i[0]:["",o];return a.keyTreeToNodeTree(s,c)}},9701:(e,t)=>{"use strict";function n([e],[t]){return ee(t,n)))}:{id:t,children:void 0}}},3023:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildKeyTree=void 0;const r=n(97387);t.buildKeyTree=function(e){const t={};return e.forEach((e=>{const n=r.subPaths(e).filter((e=>"."!==e)),a=e.endsWith("/")?void 0:n.pop();let o=t;n.forEach((e=>{const t=`${e}/`,n=o[t]||Object.create(null);o[t]=n,o=n})),a&&!(a in o)&&(o[a]=void 0)})),t}},42370:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTreeNode=void 0;const a=r(n(49725)),o=n(94732),i=n(43615);t.DefaultTreeNode=function({node:e,depth:t}){return e.children?a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:o.indentClass},e.id),a.default.createElement("div",{style:o.indentStyle(t)},a.default.createElement(i.TreeLayer,{childNodes:e.children,depth:t}))):a.default.createElement("div",{className:o.indentClass},e.id)}},46132:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeLayer=void 0;var o=n(43615);Object.defineProperty(t,"TreeLayer",{enumerable:!0,get:function(){return o.TreeLayer}}),a(n(56572),t),a(n(37768),t)},43615:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeLayer=void 0;const i=o(n(49725)),s=n(56572);t.TreeLayer=function({childNodes:e,depth:t}){const n=i.useContext(s.TreeNodeContext);return i.default.createElement(i.default.Fragment,null,e.map((e=>i.default.createElement(n,{key:e.id,node:e,depth:t+1}))))}},56572:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeNodeContext=void 0;const r=n(49725),a=n(42370);t.TreeNodeContext=r.createContext(a.DefaultTreeNode)},37768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},57009:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(55931),t)},55931:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.RootNode=void 0;const i=o(n(49725)),s=n(46132);t.RootNode=function e({node:t,depth:n=0}){const r=i.useContext(s.TreeNodeContext);return t.id?i.default.createElement(r,{node:t,depth:n}):t.children?i.default.createElement(i.default.Fragment,null,t.children.map((t=>i.default.createElement(e,{key:t.id,node:t,depth:n})))):null}},40990:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeContextProvider=t.TreeContext=void 0;var r=n(64971);Object.defineProperty(t,"TreeContext",{enumerable:!0,get:function(){return r.TreeContext}}),Object.defineProperty(t,"TreeContextProvider",{enumerable:!0,get:function(){return r.TreeContextProvider}})},64971:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeContextProvider=t.TreeContext=void 0;const i=o(n(49725));t.TreeContext=i.createContext({onSelect:()=>{},selected:void 0}),t.TreeContextProvider=function({onSelect:e,selected:n,children:r}){const a=i.useMemo((()=>({onSelect:e,selected:n})),[e,n]);return i.default.createElement(t.TreeContext.Provider,{value:a},r)}},51672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickOutside=void 0;const r=n(49725);class a extends r.Component{constructor(){super(...arguments),this.listener=e=>{const{targetRef:t,handler:n}=this.props,r=e.target;t.current&&r&&!t.current.contains(r)&&n(e)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(e){const t=this.props;e.enabled!==t.enabled&&(t.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}t.ClickOutside=a,a.defaultProps={enabled:!0}},91871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=t.ClickOutside=void 0;var r=n(51672);Object.defineProperty(t,"ClickOutside",{enumerable:!0,get:function(){return r.ClickOutside}});var a=n(47251);Object.defineProperty(t,"useClickOutside",{enumerable:!0,get:function(){return a.useClickOutside}})},47251:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const r=n(49725);t.useClickOutside=function(e,t,n=!0){r.useEffect((()=>{const r=n=>{const r=n.target;e.current&&r&&!e.current.contains(r)&&t(n)};return n&&(document.addEventListener("mousedown",r),document.addEventListener("touchstart",r)),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}}),[e,t,n])}},21676:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const{onClick:t}=this.props;if(!t)return;this.setState({isLoading:!0});const n=Promise.resolve(t.call(this,e)).catch((()=>{}));this.activePromises.add(n),n.then((()=>this.handleResolve(n)))}}componentWillUnmount(){this.unmounted=!0,this.activePromises=new Set}handleResolve(e){this.unmounted||(this.activePromises.delete(e),0===this.activePromises.size&&this.setState({isLoading:!1}))}render(){const e=this.props,{onClick:t,className:n,children:r,loader:a,loading:o,disabled:s,activeWhenLoading:d=!1}=e,p=i(e,["onClick","className","children","loader","loading","disabled","activeWhenLoading"]),f=void 0!==o&&o||this.state.isLoading,g=f?a:r,m=f&&!d;return c.default.createElement("button",Object.assign({"data-bit-id":"teambit.base-ui/input/button"},p,{disabled:s||m,onClick:this.handleClick,className:(0,l.default)(n,u.default.vanillaButton)}),g)}}t.default=p,p.defaultProps={loader:c.default.createElement(d.DotsLoader,null),loading:!1}},49494:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(21676);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o(i).default}}),a(n(21676),t)},51139:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HiddenCheckbox=void 0;var r=n(10384);Object.defineProperty(t,"HiddenCheckbox",{enumerable:!0,get:function(){return r.HiddenCheckbox}})},75227:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classes=t.CheckboxIndicator=void 0;var r=n(11055);Object.defineProperty(t,"CheckboxIndicator",{enumerable:!0,get:function(){return r.CheckboxIndicator}}),Object.defineProperty(t,"classes",{enumerable:!0,get:function(){return r.classes}})},20124:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Input=t.CheckboxLabel=void 0;var r=n(40784);Object.defineProperty(t,"CheckboxLabel",{enumerable:!0,get:function(){return r.CheckboxLabel}}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return r.Input}})},92159:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.colGridXl=t.colGridLg=t.colGridL=t.colGridMd=t.colGridSm=t.colGridXs=t.colGrid=void 0;const a=r(n(80566));function o(e){const t={};for(var n=1;n<=12;n++)t[n]=a.default[`colTemplate--${e}-${n}`];return t}t.colGrid=o("all"),t.colGridXs=o("xs"),t.colGridSm=o("sm"),t.colGridMd=o("md"),t.colGridL=o("l"),t.colGridLg=o("lg"),t.colGridXl=o("xl")},60098:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var r=n(60098);Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return r.Grid}})},96693:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderRibbon=void 0;var r=n(60716);Object.defineProperty(t,"LoaderRibbon",{enumerable:!0,get:function(){return r.LoaderRibbon}})},60716:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WordSkeleton=t.LineSkeleton=t.CircleSkeleton=t.BlockSkeleton=t.Skeleton=void 0;var r=n(58941);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function(){return r.Skeleton}}),Object.defineProperty(t,"BlockSkeleton",{enumerable:!0,get:function(){return r.BlockSkeleton}}),Object.defineProperty(t,"CircleSkeleton",{enumerable:!0,get:function(){return r.CircleSkeleton}}),Object.defineProperty(t,"LineSkeleton",{enumerable:!0,get:function(){return r.LineSkeleton}}),Object.defineProperty(t,"WordSkeleton",{enumerable:!0,get:function(){return r.WordSkeleton}})},58941:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a"\xa0"))))}t.Skeleton=function(e){var{designClass:t=c.default.skeleton,className:n}=e,a=r(e,["designClass","className"]);return o.default.createElement("div",Object.assign({},a,{className:(0,i.default)(s.default.skeleton,t,n)}))},t.WordSkeleton=l,t.LineSkeleton=function(e){var{width:t,count:n=1,designClass:a=c.default.line,className:l,style:u}=e,d=r(e,["width","count","designClass","className","style"]);return o.default.createElement("div",Object.assign({},d,{className:(0,i.default)(s.default.line,a,l),style:Object.assign({width:t},u)}),Array.from({length:n}).map(((e,t)=>o.default.createElement("div",{key:t},"\xa0"))))},t.CircleSkeleton=function(e){var{size:t=2,designClass:n=c.default.circle,className:a,style:l}=e,u=r(e,["size","designClass","className","style"]);return o.default.createElement("span",Object.assign({},u,{className:(0,i.default)(s.default.circle,a,n),style:Object.assign({height:`${t}em`,width:`${t}em`,lineHeight:t},l)}),"\xa0")},t.BlockSkeleton=function(e){var{lines:t=5,designClass:n=c.default.block,className:a,style:l}=e,u=r(e,["lines","designClass","className","style"]);return o.default.createElement("div",Object.assign({},u,{className:(0,i.default)(s.default.block,n,a),style:Object.assign({height:`${t}em`},l)}))},t.title=function(){return o.default.createElement("div",{style:{marginBottom:"1em"}},o.default.createElement(l,{style:{fontSize:18}}))}},4402:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;te[n]===t[n]))}t.compareUrl=function(e,t,{exact:n,strict:r}={}){if(e===t)return!0;r||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const i=a.default(e),s=a.default(t),c=function(e,t){return(!t.protocol||t.protocol===e.protocol)&&(!t.hostname||t.hostname===e.hostname)&&(!t.port||t.port===e.port)&&(!t.pathname||e.pathname.startsWith(t.pathname))&&(!t.query||o(t.query,e.query))&&(!t.hash||t.hash===e.hash)&&(!t.password||t.password===e.password)&&(!t.username||t.username===e.username)}(i,s),l=!n||function(e,t){return(!t.pathname||e.pathname===t.pathname)&&(!t.query||o(e.query,t.query))}(i,s),u=!r||function(e,t){return!t.pathname||e.pathname.endsWith("/")===t.pathname.endsWith("/")}(i,s);return c&&l&&u}},92135:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var r=n(43202);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return r.compareUrl}})},45246:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;var r=n(10270);Object.defineProperty(t,"NativeLink",{enumerable:!0,get:function(){return r.NativeLink}})},10270:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const o=null===a||void 0===a?void 0:a(e);return e.defaultPrevented||!r||n||(e.preventDefault(),window.location.replace(t)),o}),[t,r,a]);return s.default.createElement("a",Object.assign({},o,l,{onClick:u,href:t}))}},4871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeNavLink=void 0;var r=n(54746);Object.defineProperty(t,"NativeNavLink",{enumerable:!0,get:function(){return r.NativeNavLink}})},54746:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ag.href&&d.compareUrl(m,g.href)),[a,o,m,g.href]),_=(null===r||void 0===r?void 0:r())||h,v=c.useMemo((()=>_&&n?Object.assign(Object.assign({},s),n):s),[_,s]);return c.default.createElement(u.NativeLink,Object.assign({},g,{style:v,className:l.default(f,_&&t)}))}},55027:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;var r=n(54449);Object.defineProperty(t,"NavLink",{enumerable:!0,get:function(){return r.NavLink}})},54449:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NavLink=void 0;const a=r(n(49725)),o=n(45602);t.NavLink=function(e){const t=o.useRouting().NavLink;return a.default.createElement(t,Object.assign({},e))}},45602:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;var r=n(25721);Object.defineProperty(t,"RoutingProvider",{enumerable:!0,get:function(){return r.RoutingProvider}}),Object.defineProperty(t,"useRouting",{enumerable:!0,get:function(){return r.useRouting}}),Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return r.useLocation}})},25721:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;const i=o(n(49725)),s=n(45246),c=n(4871),l=n(28678),u={pathname:"/",search:"",hash:""},d={Link:s.NativeLink,NavLink:c.NativeNavLink,useLocation:()=>l.isBrowser?window.location:u},p=i.createContext(d);function f(){return i.useContext(p)}t.RoutingProvider=function({value:e,children:t}){return i.default.createElement(p.Provider,{value:e},t)},t.useRouting=f,t.useLocation=function(){return f().useLocation()}},51210:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{const{isOpen:t}=this.state,n=!t;this.isControlled||this.setState({isOpen:n}),this.props.onChange&&this.props.onChange(e,n)},this.close=e=>{const{isOpen:t}=this.state;!this.isControlled&&t&&this.setState({isOpen:false}),this.props.onChange&&this.props.onChange(e,false)},this.open=e=>{const{isOpen:t}=this.state;this.isControlled||t||this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(e,!0)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(e){this.props.open!==e.open&&void 0!==e.open&&this.setState({isOpen:e.open})}get isControlled(){return void 0!==this.props.open}render(){const e=this.props,{placeholder:t,children:n,PlaceholderComponent:r=p.DefaultPlaceholder,clickOutside:a,onMouseEnter:o,onMouseLeave:s,open:d,hoverToOpen:f,clickPlaceholderToggles:g,clickToggles:m,onChange:h,onPlaceholderToggle:_,onContainerToggle:v,onContaineeToggle:y,onClickOutside:b}=e,R=i(e,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen:E}=this.state;return c.default.createElement(l.Container,Object.assign({},R,{ref:this.ref,open:E,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),n,c.default.createElement(r,{onClick:this.handlePlaceholderClick},t),c.default.createElement(u.ClickOutside,{targetRef:this.ref,enabled:!!a&&E,handler:this.handleClickOutside}))}}t.Drawer=f,f.defaultProps={PlaceholderComponent:p.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},84383:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(70207),t)},72302:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default_layout=t.layoutToggleMap=t.Layout=t.LayoutFeatures=void 0,function(e){e.row="row",e.column="column",e.reverse="reverse",e.first="first",e.last="last"}(t.LayoutFeatures||(t.LayoutFeatures={})),function(e){e.row="row",e.rowReverse="row reverse",e.column="column",e.columnReverse="column reverse",e.top="column first",e.bottom="column last",e.topReverse="column reverse first",e.bottomReverse="column reverse last ",e.left="row first",e.right="row last",e.leftReverse="row reverse first",e.rightReverse="row reverse last"}(n=t.Layout||(t.Layout={})),t.layoutToggleMap={[n.columnReverse]:n.row,[n.row]:n.columnReverse},t.default_layout=n.row},68884:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(60377),t)},60377:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcSplit=void 0;const r=n(97252);function a(e){if(void 0!==e){if("number"===typeof e)return`calc(100% - ${e}px)`;if(e.endsWith("px"))return`calc(100% - ${e})`;if(e.endsWith("%")){const t=+e.replace("%","");if(Number.isNaN(t))return;return 100-t+"%"}return Number.isNaN(+e)?void 0:`calc(100% - ${e}px)`}}function o(e){return e?"number"===typeof e&&e<0?[void 0,-e]:"string"===typeof e&&e.startsWith("-")?[void 0,e.substring(1)]:[e,void 0]:[void 0,void 0]}t.calcSplit=function(e,t,n){let i=function(e,t,n){const{row:a,column:i,first:s,last:c}=r.LayoutFeatures,l=new Set(t.split(" "));if(l.has(s))return["100%","0%"];if(l.has(c))return["0%","100%"];if(l.has(a))return void 0===(null===e||void 0===e?void 0:e.x)?o(n):"string"===typeof n&&n.endsWith("%")?[100*e.x/e.width+"%",void 0]:[e.x,void 0];if(l.has(i))return void 0===(null===e||void 0===e?void 0:e.y)?o(n):"string"===typeof n&&n.endsWith("%")?[100*e.y/e.height+"%",void 0]:[e.y,void 0];return[void 0,void 0]}(e,t,n);return t.includes(r.LayoutFeatures.reverse)&&i.reverse(),void 0!==i[0]&&void 0!==i[1]||(i=function([e,t]){if(void 0===e&&void 0===t)return[void 0,void 0];if(void 0===t)return[e,a(e)];if(void 0===e)return[a(t),t];return[e,t]}(i)),i}},81258:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.SplitPane=void 0,a(n(97252),t),a(n(68884),t),a(n(67320),t);var o=n(35121);Object.defineProperty(t,"SplitPane",{enumerable:!0,get:function(){return o.SplitPane}})},98110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.limit=void 0,t.limit=function(e,t,n){return void 0!==t&&en?n:e}},35121:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRelativePosition=void 0;const r=n(98110);t.toRelativePosition=function({clientX:e,clientY:t,element:n}){const a=n.getBoundingClientRect(),{left:o,top:i,width:s=1,height:c=1}=a;return{x:r.limit(e-o,0,s),y:r.limit(t-i,0,c),width:s,height:c}}},82818:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragTracker=void 0;const r=n(49725),a=n(10546),o=n(95426);t.useDragTracker=function(e){const[t,n]=r.useState(void 0),i=r.useCallback((({clientX:t,clientY:r})=>{if(!e.current)return;const o=a.toRelativePosition({clientX:t,clientY:r,element:e.current});n(o)}),[e]),[s,c]=o.useDragListener(i);return[t,s,c]}},95426:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragListener=void 0;const r=n(49725);t.useDragListener=function(e){const t=r.useState(!1),[n,a]=t;return r.useEffect((()=>{const t=t=>{const{touches:n}=t,r=n[0];e(r)},r=t=>{e(t)},o=()=>{a(!1)},i=e=>{e&&1===e.buttons||o()};return n&&(document.addEventListener("mousemove",r),document.addEventListener("mouseup",o),document.addEventListener("mouseenter",i),document.addEventListener("touchend",o),document.addEventListener("touchmove",t),document.addEventListener("touchcancel",o)),()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",o),document.removeEventListener("mouseenter",i),document.removeEventListener("touchend",o),document.removeEventListener("touchmove",t),document.removeEventListener("touchcancel",o)}}),[n,e]),t}},59121:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;tnull===t||void 0===t?void 0:t(!0),onTouchStart:()=>null===t||void 0===t?void 0:t(!0)}))}},21485:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;var r=n(69846);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return r.Heading}})},44747:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(20473),t)},20473:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mutedText=t.MutedText=void 0;const a=r(n(49725)),o=r(n(68652)),i=r(n(12543));t.MutedText=function(e){return a.default.createElement("span",Object.assign({},e,{className:o.default(i.default.mutedText,e.className)}))},t.mutedText=i.default.mutedText},68652:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var r=n(15036);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return r.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return r.PossibleSizes}})},15036:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildStepPalette=t.colorPalette=void 0;var r=n(21796);Object.defineProperty(t,"colorPalette",{enumerable:!0,get:function(){return r.colorPalette}});var a=n(17437);Object.defineProperty(t,"buildStepPalette",{enumerable:!0,get:function(){return a.buildStepPalette}})},46886:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.brands=void 0;const a=r(n(79435)),{brands:o}=a.default;t.brands=o},1464:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.primaryPalette=void 0;const a=r(n(87130)),{primaryPalette:o}=a.default;t.primaryPalette=o},3919:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.darkMode=void 0;const a=r(n(90333));t.darkMode=a.default.darkMod},13984:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(28006),t)},28006:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Roboto=void 0;const a=r(n(49725));t.Roboto=()=>a.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"})},24471:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.headingMargins=void 0;const a=r(n(12958)),{headingMargins:o}=a.default;t.headingMargins=o},68186:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.shadowTheme=void 0;const a=r(n(1731)),{shadowTheme:o}=a.default;t.shadowTheme=o},80756:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.textFontSize=t.headingFontSize=void 0;const a=r(n(16614)),{headingFontSize:o,textFontSize:i}=a.default;t.headingFontSize=o,t.textFontSize=i},13933:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=void 0,function(e){e.xxs="xxs",e.xs="xs",e.sm="sm",e.md="md",e.lg="lg",e.xl="xl",e.xxl="xxl"}(t.PossibleSizes||(t.PossibleSizes={}))},28965:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Theme=void 0;var r=n(31796);Object.defineProperty(t,"Theme",{enumerable:!0,get:function(){return r.Theme}})},31796:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Theme=void 0;const a=r(n(49725)),o=r(n(60729)),i=n(80756),s=n(68186),c=n(1464),l=n(46886),u=n(24471),d=n(80003),p=r(n(22953));t.Theme=function(e){return a.default.createElement("div",Object.assign({},e,{className:o.default(i.headingFontSize,i.textFontSize,d.bookFont,s.shadowTheme,c.primaryPalette,l.brands,u.headingMargins,p.default.defaults,e.className)}))}},80003:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.bookFont=void 0;const a=r(n(58500)),{bookFont:o}=a.default;t.bookFont=o},60729:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;tArray.isArray(e)?e:[e,void 0]));return a.default.createElement(a.default.Fragment,null,r.reduceRight(((e,[t,n])=>a.default.createElement(t,Object.assign({},n),e)),n))}},86624:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Composer=void 0;var r=n(67186);Object.defineProperty(t,"Composer",{enumerable:!0,get:function(){return r.Composer}})},28678:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0;var r=n(909);Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return r.isBrowser}})},909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser="undefined"!==typeof window},63888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affix=void 0,t.affix=function(e="",t,n=""){return t?`${e}${t}${n}`:""}},51327:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affix=void 0;var r=n(63888);Object.defineProperty(t,"affix",{enumerable:!0,get:function(){return r.affix}})},97387:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subPaths=void 0;var r=n(41468);Object.defineProperty(t,"subPaths",{enumerable:!0,get:function(){return r.subPaths}})},41468:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subPaths=void 0;const a=r(n(45919));function o(e){return"/"===e?e:e.replace(/\/$/,"")}t.subPaths=function(e){const t=[];let n=e;for(;a.default.dirname(n)!==n;){const e=o(n);t.unshift(e),n=a.default.dirname(n)}return t.unshift(n),t}},95133:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(69631);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(a).default}})},69631:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=r(n(5255)),o=r(n(64080));t.default=e=>{const t=new Date,n=new Date(e);a.default.addLocale(o.default);const r=new a.default("en-EN"),i=new Date(t.getTime()-n.getTime()),s=r.format(t.getTime()-i.getTime());return"a "===s.slice(0,2)?`${s[0].toUpperCase()}${s.slice(1)}`:s}},34691:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BitError=void 0;class n extends Error{constructor(e){super(e||""),this.isUserError=!0,this.name=this.constructor.name}report(){return this.message}}t.BitError=n},86937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BitError=void 0;var r=n(34691);Object.defineProperty(t,"BitError",{enumerable:!0,get:function(){return r.BitError}})},96518:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ChangelogAspect=void 0;const a=r().Aspect.create({id:"teambit.component/changelog",dependencies:[],defaultConfig:{}});t.ChangelogAspect=a;var o=a;t.default=o},88337:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(6051);return i=function(){return e},e}function s(){const e=n(37207);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ChangelogSection=void 0;t.ChangelogSection=class{constructor(){(0,a().default)(this,"route",{path:"~changelog",element:o().default.createElement(s().ChangeLogPage,null)}),(0,a().default)(this,"navigationLink",{href:"~changelog",children:o().default.createElement(i().MenuWidgetIcon,{icon:"changelog",tooltipContent:"Change log"}),displayName:"Change log"}),(0,a().default)(this,"order",40)}}},64893:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(44704);return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=r(n(49725));return s=function(){return e},e}function c(){const e=n(96518);return c=function(){return e},e}function l(){const e=n(88337);return l=function(){return e},e}function u(){const e=n(37207);return u=function(){return e},e}n(31567),n(92619);class d{constructor(){(0,a().default)(this,"ChangeLog",(()=>s().default.createElement(u().ChangeLogPage,null)))}static async provider([e]){const t=new d,n=new(l().ChangelogSection);return e.registerRoute(n.route),e.registerWidget(n.navigationLink,n.order),t}}(0,a().default)(d,"dependencies",[o().ComponentAspect]),(0,a().default)(d,"runtime",i().UIRuntime),c().ChangelogAspect.addRuntime(d)},37207:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(44704);return a=function(){return e},e}function o(){const e=n(11308);return o=function(){return e},e}function i(){const e=n(87117);return i=function(){return e},e}function s(){const e=n(68677);return s=function(){return e},e}function c(){const e=r(n(55574));return c=function(){return e},e}function l(){const e=n(22379);return l=function(){return e},e}function u(){const e=n(29467);return u=function(){return e},e}function d(){const e=n(62589);return d=function(){return e},e}function p(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return p=function(){return e},e}function f(){const e=r(n(37402));return f=function(){return e},e}function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ChangeLogPage=function({className:e}){const t=(0,p().useContext)(a().ComponentContext),{logs:n}=t;if(!n)return null;if(0===n.length)return p().default.createElement("div",{className:(0,c().default)(f().default.changeLogPage,e)},p().default.createElement(o().H1,{className:f().default.title},"History"),p().default.createElement(i().Separator,{isPresentational:!0,className:f().default.separatorNoChangeLog}),p().default.createElement(d().AlertCard,{level:"info",title:"There is no change log as this component has not been exported yet. Learn how to export components:",className:f().default.changeLogCard},p().default.createElement(l().MDXLayout,null,p().default.createElement(u().ExportingComponents,null))));return p().default.createElement("div",{className:(0,c().default)(f().default.changeLogPage,e)},p().default.createElement(o().H1,{className:f().default.title},"History"),p().default.createElement(i().Separator,{isPresentational:!0,className:f().default.separator}),p().default.createElement("div",{className:f().default.logContainer},n.map(((e,n)=>{const r=t.latest===e.tag||t.latest===e.hash,a=t.version===e.tag||t.version===e.hash;return p().default.createElement(s().VersionBlock,{key:n,componentId:t.id.fullName,isLatest:r,snap:e,isCurrent:a})}))))}},76889:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeCompareSection=void 0;t.CodeCompareSection=class{constructor(e){this.codeUI=e,this.navigationLink={href:"code",children:"Code",order:4},this.route={path:"code/*",element:this.codeUI.getCodeCompare()}}}},1085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeCompareSection=void 0;var r=n(76889);Object.defineProperty(t,"CodeCompareSection",{enumerable:!0,get:function(){return r.CodeCompareSection}})},47924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCodeCompare=t.CodeCompareContext=void 0;const r=n(49725);t.CodeCompareContext=(0,r.createContext)(void 0);t.useCodeCompare=()=>(0,r.useContext)(t.CodeCompareContext)},59437:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCodeCompare=t.CodeCompareContext=void 0;var r=n(47924);Object.defineProperty(t,"CodeCompareContext",{enumerable:!0,get:function(){return r.CodeCompareContext}}),Object.defineProperty(t,"useCodeCompare",{enumerable:!0,get:function(){return r.useCodeCompare}})},36908:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeCompareTree=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(61436),u=n(34322),d=n(16393),p=n(9021),f=i(n(55039));function g(e){return function({id:t}){return(0,p.getFileIcon)(e,t)}}t.CodeCompareTree=function({currentFile:e,fileIconSlot:t,className:n,fileTree:r,drawerName:a,widgets:o,getHref:i,onTreeNodeSelected:p}){const m=(0,s.useMemo)((()=>(0,l.flatten)(null===t||void 0===t?void 0:t.values())),[t]),[h,_]=(0,s.useState)((()=>["FILES"]));return s.default.createElement("div",{className:(0,c.default)(f.default.componentCompareCodeTreeContainer,n)},s.default.createElement(u.DrawerUI,{isOpen:h.includes("FILES"),onToggle:()=>{return e="FILES",void(h.includes(e)?_((t=>t.filter((t=>t!==e)))):_((t=>t.concat(e))));var e},name:a,contentClass:f.default.componentCompareCodeDrawerContent,className:(0,c.default)(f.default.componentCompareCodeTabDrawer)},s.default.createElement(d.FileTree,{getHref:i,files:r||[""],selected:e,widgets:o,getIcon:g(m),onTreeNodeSelected:p})))}},3566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeCompareTree=void 0;var r=n(36908);Object.defineProperty(t,"CodeCompareTree",{enumerable:!0,get:function(){return r.CodeCompareTree}})},75447:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeCompareView=void 0;const s=o(n(49725)),c=n(83351),l=n(48164),u=n(11308),d=i(n(55574)),p=n(54429),f=n(52782),g=n(3919),m=n(40916),h=n(87351),_=i(n(88890)),v={ts:"typescript",tsx:"typescript",js:"javascript",jsx:"javascript",mdx:"markdown",md:"markdown"};t.CodeCompareView=function({className:e,fileName:t}){var n,r,a;const o=(0,p.useCodeCompare)(),i=(0,h.useComponentCompare)(),[y,b]=(0,s.useState)(!0),R=(0,s.useRef)(),E=(0,s.useMemo)((()=>null===t||void 0===t?void 0:t.split("/").pop()),[t]),S=(0,s.useMemo)((()=>{if(!t)return v.ts;const e=null===t||void 0===t?void 0:t.split(".").pop();return v[e||""]||e}),[t]),O=null===o||void 0===o?void 0:o.fileCompareDataByName.get(t),{fileContent:w,loading:C}=(0,m.useFileContent)(null===(n=null===i||void 0===i?void 0:i.compare)||void 0===n?void 0:n.model.id,t,!!(null===i||void 0===i?void 0:i.compare)&&!!(null===O||void 0===O?void 0:O.compareContent));if(!o||o.loading||C)return null;const T=null===O||void 0===O?void 0:O.baseContent,x=(null===O||void 0===O?void 0:O.compareContent)||w,N=`${null===(r=null===i||void 0===i?void 0:i.base)||void 0===r?void 0:r.model.id.toString()}-${t}`,I=`${null===(a=null===i||void 0===i?void 0:i.compare)||void 0===a?void 0:a.model.id.toString()}-${t}`,P=s.default.createElement(c.DiffEditor,{modified:x,original:T,language:S,originalModelPath:N,modifiedModelPath:I,height:"100%",onMount:(e,t)=>{R.current=t,R.current&&R.current.languages.typescript.typescriptDefaults.setDiagnosticsOptions({noSemanticValidation:!0,noSyntaxValidation:!0})},className:g.darkMode,theme:"vs-dark",options:{ignoreTrimWhitespace:y,readOnly:!0},loading:s.default.createElement("div",{className:_.default.loader},s.default.createElement(f.RoundLoader,null))});return s.default.createElement("div",{key:`component-compare-code-view-${t}`,className:(0,d.default)(_.default.componentCompareCodeViewContainer,e)},s.default.createElement("div",{className:_.default.fileName},s.default.createElement(u.H4,{size:"xs",className:_.default.fileName},s.default.createElement("span",null,E))),s.default.createElement("div",{className:_.default.ignoreWhitespaceControlContainer},s.default.createElement("div",{className:_.default.toggleContainer},s.default.createElement(l.Toggle,{checked:y,onInputChanged:()=>{b((e=>!e))},className:_.default.toggle}),"Ignore Whitespace")),s.default.createElement("div",{className:_.default.componentCompareCodeDiffEditorContainer},P))}},60557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeCompareView=void 0;var r=n(75447);Object.defineProperty(t,"CodeCompareView",{enumerable:!0,get:function(){return r.CodeCompareView}})},69608:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeCompare=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(33255),u=n(50666),d=n(81258),p=n(39323),f=n(87351),g=n(8881),m=n(53381),h=n(44007),_=n(3566),v=n(60557),y=n(71581),b=n(59437),R=i(n(21850));t.CodeCompare=function({fileIconSlot:e,className:t}){const n=(0,f.useComponentCompare)(),{base:r,compare:a,state:o,hooks:i}=n||{},E=null===o||void 0===o?void 0:o.code,S=null===i||void 0===i?void 0:i.code,O=(0,p.useIsMobile)(),[w,C]=(0,s.useState)(!O),T=w?d.Layout.row:d.Layout.left,{fileTree:x=[],mainFile:N}=(0,h.useCode)(null===r||void 0===r?void 0:r.model.id),{fileTree:I=[]}=(0,h.useCode)(null===a||void 0===a?void 0:a.model.id),P=(0,m.useComponentCompareQuery)(null===r||void 0===r?void 0:r.model.id.toString(),null===a||void 0===a?void 0:a.model.id.toString()),A=x.concat(I),D=(0,g.useCompareQueryParam)("file"),k=(null===E||void 0===E?void 0:E.id)||D||N||"index.ts",M=function({loading:e,componentCompareData:t}){const n=new Map;return e||!t||t.code.forEach((e=>{n.set(e.fileName,e)})),{loading:e,fileCompareDataByName:n}}(P),j=(null===S||void 0===S?void 0:S.useUpdatedUrlFromQuery)||(null===E||void 0===E?void 0:E.controlled)&&(()=>(0,g.useUpdatedUrlFromQuery)({}))||g.useUpdatedUrlFromQuery;return s.default.createElement(b.CodeCompareContext.Provider,{value:M},s.default.createElement(d.SplitPane,{layout:T,size:"85%",className:(0,c.default)(R.default.componentCompareCodeContainer,t)},s.default.createElement(d.Pane,{className:R.default.left},s.default.createElement(v.CodeCompareView,{fileName:k})),s.default.createElement(l.HoverSplitter,{className:R.default.splitter},s.default.createElement(u.Collapser,{placement:"left",isOpen:w,onMouseDown:e=>e.stopPropagation(),onClick:()=>C((e=>!e)),tooltipContent:(w?"Hide":"Show")+" file tree",className:R.default.collapser})),s.default.createElement(d.Pane,{className:(0,c.default)(R.default.right,R.default.dark)},s.default.createElement(_.CodeCompareTree,{fileIconSlot:e,fileTree:A,currentFile:k,drawerName:"FILES",widgets:[y.Widget],getHref:e=>j({file:e.id}),onTreeNodeSelected:null===S||void 0===S?void 0:S.onClick}))))}},71581:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Widget=void 0;const a=r(n(49725)),o=n(54429),i=n(87351),s=n(77332);t.Widget=function({node:e}){var t;const n=e.id,r=(0,o.useCodeCompare)(),c=(0,i.useComponentCompare)(),l=null===r||void 0===r?void 0:r.fileCompareDataByName.get(n);return!r||r.loading?null:!(null===c||void 0===c?void 0:c.compare)||c.base||(null===l||void 0===l?void 0:l.status)?l&&l.status&&"UNCHANGED"!==l.status?a.default.createElement(s.CompareStatusResolver,{status:null===(t=l.status)||void 0===t?void 0:t.toLowerCase()}):null:a.default.createElement(s.CompareStatusResolver,{status:"new"})}},54429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCodeCompare=t.CodeCompareContext=t.CodeCompareView=t.CodeCompareTree=t.CodeCompare=void 0;var r=n(69608);Object.defineProperty(t,"CodeCompare",{enumerable:!0,get:function(){return r.CodeCompare}});var a=n(36908);Object.defineProperty(t,"CodeCompareTree",{enumerable:!0,get:function(){return a.CodeCompareTree}});var o=n(75447);Object.defineProperty(t,"CodeCompareView",{enumerable:!0,get:function(){return o.CodeCompareView}});var i=n(59437);Object.defineProperty(t,"CodeCompareContext",{enumerable:!0,get:function(){return i.CodeCompareContext}}),Object.defineProperty(t,"useCodeCompare",{enumerable:!0,get:function(){return i.useCodeCompare}})},67210:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.generateIcon=t.CodePage=void 0;const s=n(44704),c=i(n(55574)),l=o(n(49725)),u=n(61436),d=n(88736),p=n(81258),f=n(33255),g=n(50666),m=n(44007),h=n(66131),_=n(44006),v=n(39323),y=n(9021),b=n(94566),R=n(51327),E=n(4073),S=n(53441),O=i(n(54759)),w=n(1475),C=i(n(41423));function T(e,t){return function({node:n}){const r=null===n||void 0===n?void 0:n.id;return r===e?l.default.createElement(d.Label,{className:C.default.label},"main"):(null===t||void 0===t?void 0:t.includes(r))?l.default.createElement(d.Label,{className:C.default.label},"dev"):null}}function x(e){return function({id:t}){return(0,y.getFileIcon)(e,t)}}t.CodePage=function({className:e,fileIconSlot:t,host:n}){var r;const a=(0,b.useCodeParams)(),o=(0,l.useContext)(s.ComponentContext),{mainFile:i,fileTree:d=[],dependencies:N,devFiles:I}=(0,m.useCode)(o.id),{data:P=[]}=(0,E.useComponentArtifacts)(n,o.id.toString()),A=a.file||i,D=function(e){var t;return e?(0,O.default)(e.path)||(null!==(t=e.size)&&void 0!==t?t:0)>w.FILE_SIZE_THRESHOLD?void 0:e.content:void 0}(null===(r=(0,S.getArtifactFileDetailsFromUrl)(P,A))||void 0===r?void 0:r.artifactFile),k=(0,v.useIsMobile)(),[M,j]=(0,l.useState)(!k),L=M?p.Layout.row:p.Layout.left,F=(0,l.useMemo)((()=>(0,u.flatten)(null===t||void 0===t?void 0:t.values())),[t]),B=(0,y.getFileIcon)(F,A);return l.default.createElement(p.SplitPane,{layout:L,size:"85%",className:(0,c.default)(C.default.codePage,e)},l.default.createElement(p.Pane,{className:C.default.left},l.default.createElement(h.CodeView,{componentId:o.id,currentFile:A,icon:B,currentFileContent:D})),l.default.createElement(f.HoverSplitter,{className:C.default.splitter},l.default.createElement(g.Collapser,{placement:"left",isOpen:M,onMouseDown:e=>e.stopPropagation(),onClick:()=>j((e=>!e)),tooltipContent:(M?"Hide":"Show")+" file tree",className:C.default.collapser})),l.default.createElement(p.Pane,{className:C.default.right},l.default.createElement(_.CodeTabTree,{host:n,currentFile:A,dependencies:N,fileTree:d,widgets:(0,l.useMemo)((()=>[T(i,I)]),[i,I]),getHref:(0,l.useMemo)((()=>e=>`${e.id}${(0,R.affix)("?version=",a.version)}`),[a.version]),getIcon:(0,l.useMemo)((()=>x(F)),F)})))},t.generateIcon=x},66471:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateIcon=t.CodePage=void 0;var r=n(67210);Object.defineProperty(t,"CodePage",{enumerable:!0,get:function(){return r.CodePage}}),Object.defineProperty(t,"generateIcon",{enumerable:!0,get:function(){return r.generateIcon}})},86017:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeTabTree=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(16393),u=n(34322),d=n(31986),p=n(1475),f=i(n(79065));t.CodeTabTree=function({className:e,fileTree:t,dependencies:n,currentFile:r="",host:a,widgets:o,getHref:i,getIcon:g}){const[m,h]=(0,s.useState)((()=>r.startsWith("~artifact")?["ARTIFACTS"]:["FILES"])),_=e=>{m.includes(e)?h((t=>t.filter((t=>t!==e)))):h((t=>t.concat(e)))};return s.default.createElement("div",{className:(0,c.default)(f.default.codeTabTree,e)},s.default.createElement(u.DrawerUI,{isOpen:m.includes("FILES"),onToggle:()=>_("FILES"),name:"FILES",contentClass:f.default.codeDrawerContent,className:(0,c.default)(f.default.codeTabDrawer,m.includes("FILES")&&f.default.openDrawer)},s.default.createElement(l.FileTree,{files:t||[""],widgets:o,getHref:i,getIcon:g,selected:r})),s.default.createElement(u.DrawerUI,{isOpen:m.includes("DEPENDENCIES"),onToggle:()=>_("DEPENDENCIES"),className:(0,c.default)(f.default.codeTabDrawer,m.includes("DEPENDENCIES")&&f.default.openDrawer),contentClass:f.default.codeDrawerContent,name:"DEPENDENCIES"},s.default.createElement(d.DependencyTree,{dependenciesArray:n})),s.default.createElement(p.ArtifactsTree,{drawerName:"ARTIFACTS",host:a,getIcon:g,drawerOpen:m.includes("ARTIFACTS"),onToggleDrawer:()=>_("ARTIFACTS")}))}},44006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeTabTree=void 0;var r=n(86017);Object.defineProperty(t,"CodeTabTree",{enumerable:!0,get:function(){return r.CodeTabTree}})},8409:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CodeView=void 0;const s=n(11308),c=i(n(55574)),l=o(n(49725)),u=n(8122),d=n(40916),p=i(n(55949)),f=i(n(55540)),g=n(67658),m=i(n(39492));function h(){return l.default.createElement("div",{className:m.default.emptyCodeView},l.default.createElement("img",{src:`${g.staticStorageUrl}/harmony/empty-code-view.svg`}),l.default.createElement("div",null,"Nothing to show"))}p.default.registerLanguage("md",f.default),t.CodeView=function({className:e,componentId:t,currentFile:n,icon:r,currentFileContent:a}){const{fileContent:o,loading:i}=(0,d.useFileContent)(t,n,!!a),p=a||o,f=(0,l.useMemo)((()=>null===n||void 0===n?void 0:n.split("/").pop()),[n]),g=(0,l.useMemo)((()=>{const e=null===n||void 0===n?void 0:n.split(".").pop();return"scss"===e||"sass"===e?"css":"mdx"===e?"md":e}),[p]);return p||i||!n?l.default.createElement("div",{className:(0,c.default)(m.default.codeView,e)},l.default.createElement(s.H1,{size:"sm",className:m.default.fileName},n&&l.default.createElement("img",{className:m.default.img,src:r}),l.default.createElement("span",null,f)),l.default.createElement(u.CodeSnippet,{className:m.default.codeSnippetWrapper,frameClass:m.default.codeSnippet,showLineNumbers:!0,language:g},p||"")):l.default.createElement(h,null)}},66131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeView=void 0;var r=n(8409);Object.defineProperty(t,"CodeView",{enumerable:!0,get:function(){return r.CodeView}})},55540:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(39270);const a=n.n(r)()},55949:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nP});var u=n(49725);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),p[t]}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),a=f(r);return a.reduce((function(e,t){return l({},e,n[t])}),t)}function m(e){return e.join(" ")}function h(e){var t=e.node,n=e.stylesheet,r=e.style,a=void 0===r?{}:r,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,p=t.tagName,f=t.value;if("text"===c)return f;if(p){var _,v=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,a){return h({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})}))}}(n,o);if(o){var y=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),b=s.className&&s.className.includes("token")?["token"]:[],R=s.className&&b.concat(s.className.filter((function(e){return!y.includes(e)})));_=l({},s,{className:m(R)||void 0,style:g(s.className,Object.assign({},s.style,a),n)})}else _=l({},s,{className:m(s.className)});var E=v(t.children);return u.createElement(p,d({key:i},_),E)}}var _=/\n/g;function v(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,a=void 0===r?{float:"left",paddingRight:"10px"}:r,o=e.numberStyle,i=void 0===o?{}:o,s=e.startingLineNumber;return u.createElement("code",{style:Object.assign({},n,a)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var a=t+n;return u.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof r?r(a):r},"".concat(a,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function y(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function b(e,t,n){var r;return l({},{display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function R(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,c=e.className,u=void 0===c?[]:c,d=e.showLineNumbers,p=e.wrapLongLines,f="function"===typeof s?s(n):s;if(f.className=u,n&&o){var g=b(r,n,a);t.unshift(y(n,g))}return p&d&&(f.style=l({},f.style,{display:"flex"})),{type:"element",tagName:"span",properties:f,children:t}}function E(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return R({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:o,showLineNumbers:r,wrapLongLines:c})}function m(e,t){if(r&&t&&a){var n=b(s,t,i);e.unshift(y(t,n))}return e}function h(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?g(e,n,r):m(e,n)}for(var v=function(){var e=u[f],t=e.children[0].value;if(t.match(_)){var n=t.split("\n");n.forEach((function(t,a){var i=r&&d.length+o,s={type:"text",value:"".concat(t,"\n")};if(0===a){var c=h(u.slice(p+1,f).concat(R({children:[s],className:e.properties.className})),i);d.push(c)}else if(a===n.length-1){if(u[f+1]&&u[f+1].children&&u[f+1].children[0]){var l=R({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});u.splice(f+1,0,l)}else{var g=h([s],i,e.properties.className);d.push(g)}}else{var m=h([s],i,e.properties.className);d.push(m)}})),p=f}f++};f{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildDependencyTree=void 0,t.buildDependencyTree=function(e){const t=[],n=[],r=[];return e?(e.map((e=>{"dev"!==e.lifecycle?"peer"!==e.lifecycle?n.push(e):r.push(e):t.push(e)})),{dependencies:n,devDependencies:t,peerDependencies:r}):{dependencies:n,devDependencies:t}}},57518:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildDependencyTree=void 0;var r=n(68696);Object.defineProperty(t,"buildDependencyTree",{enumerable:!0,get:function(){return r.buildDependencyTree}})},31952:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DependencyDrawer=void 0;const a=r(n(49725)),o=n(34322),i=n(56843),s=n(71105),c=n(67972),l=r(n(9737));function u({deps:e}){return e&&0!==e.length?a.default.createElement(a.default.Fragment,null,e.map((e=>{const t=function(e){const t=e.version.replace("^","").replace("~",""),n="ComponentDependency"===e.__typename,r=c.ComponentID.tryFromString(e.id);if(e.packageName&&n&&r)return{name:e.packageName,link:s.ComponentUrl.toUrl(r)};const a="https://npmjs.com/package";return{name:e.packageName||e.id,link:`${a}/${e.packageName||e.id}/v/${t}`}}(e);return a.default.createElement("div",{className:l.default.depNode,key:e.id},a.default.createElement(i.Link,{className:l.default.dependencyLink,external:!0,href:t.link},a.default.createElement("span",null,`${t.name}@${e.version}`)))}))):null}t.DependencyDrawer=function({name:e,isOpen:t,onToggle:n,dependencies:r}){return r&&0!==r.length?a.default.createElement(o.DrawerUI,{isOpen:t,onToggle:n,name:e,className:l.default.dependencyDrawer,contentClass:l.default.dependencyDrawerContent},a.default.createElement(u,{deps:r})):null}},53893:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DependencyDrawer=void 0;var r=n(31952);Object.defineProperty(t,"DependencyDrawer",{enumerable:!0,get:function(){return r.DependencyDrawer}})},32560:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DependencyTree=void 0;const i=o(n(49725)),s=n(57518),c=n(31952);t.DependencyTree=function({dependenciesArray:e}){if(!e)return null;const{dependencies:t,devDependencies:n,peerDependencies:r}=(0,i.useMemo)((()=>(0,s.buildDependencyTree)(e)),[e]),[a,o]=(0,i.useState)(!0),[l,u]=(0,i.useState)(!0),[d,p]=(0,i.useState)(!0);return i.default.createElement(i.default.Fragment,null,i.default.createElement(c.DependencyDrawer,{isOpen:a,onToggle:()=>o(!a),name:"dependencies",dependencies:t}),i.default.createElement(c.DependencyDrawer,{isOpen:l,onToggle:()=>u(!l),name:"devDependencies",dependencies:n}),i.default.createElement(c.DependencyDrawer,{isOpen:d,onToggle:()=>p(!d),name:"peerDependencies",dependencies:r}))}},31986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildDependencyTree=t.DependencyDrawer=t.DependencyTree=void 0;var r=n(32560);Object.defineProperty(t,"DependencyTree",{enumerable:!0,get:function(){return r.DependencyTree}});var a=n(53893);Object.defineProperty(t,"DependencyDrawer",{enumerable:!0,get:function(){return a.DependencyDrawer}});var o=n(57518);Object.defineProperty(t,"buildDependencyTree",{enumerable:!0,get:function(){return o.buildDependencyTree}})},94566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCodeParams=void 0;var r=n(94861);Object.defineProperty(t,"useCodeParams",{enumerable:!0,get:function(){return r.useCodeParams}})},94861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCodeParams=void 0;const r=n(33097),a=n(33885);t.useCodeParams=function(){return{version:(0,a.useQuery)().get("version")||void 0,file:(0,r.useParams)()["*"]}}},489:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCode=void 0;var r=n(489);Object.defineProperty(t,"useCode",{enumerable:!0,get:function(){return r.useCode}})},83980:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFileContent=void 0;var r=n(83980);Object.defineProperty(t,"useFileContent",{enumerable:!0,get:function(){return r.useFileContent}})},11710:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFileIcon=void 0;const r=n(89582);t.getFileIcon=function(e,t){if(t){if(!e)return(0,r.getIcon)(t);for(const n of e){const e=n(t);if(e)return e}return(0,r.getIcon)(t)}}},9021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFileIcon=void 0;var r=n(11710);Object.defineProperty(t,"getFileIcon",{enumerable:!0,get:function(){return r.getFileIcon}})},24713:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeAspect=void 0;const a=r().Aspect.create({id:"teambit.component/code",dependencies:[],defaultConfig:{}});t.CodeAspect=a;var o=a;t.default=o},13710:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(6051);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.CodeSection=void 0;t.CodeSection=class{constructor(e){this.codeUI=e,(0,a().default)(this,"route",{path:"~code/*",element:this.codeUI.getCodePage()}),(0,a().default)(this,"navigationLink",{href:"~code",children:o().default.createElement(i().MenuWidgetIcon,{icon:"Code",tooltipContent:"Code"}),displayName:"Code"}),(0,a().default)(this,"order",30)}}},82534:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(44704);return i=function(){return e},e}function s(){const e=n(12639);return s=function(){return e},e}function c(){const e=n(54429);return c=function(){return e},e}function l(){const e=n(73823);return l=function(){return e},e}function u(){const e=n(67658);return u=function(){return e},e}function d(){const e=n(66471);return d=function(){return e},e}function p(){const e=n(75334);return p=function(){return e},e}function f(){const e=n(1085);return f=function(){return e},e}function g(){const e=n(24713);return g=function(){return e},e}function m(){const e=n(13710);return m=function(){return e},e}n(31567),n(92619);const h=/\.tsx$/;class _{constructor(e,t){this.host=e,this.fileIconSlot=t,(0,a().default)(this,"getCodePage",(()=>o().default.createElement(d().CodePage,{fileIconSlot:this.fileIconSlot,host:this.host}))),(0,a().default)(this,"getCodeCompare",(()=>o().default.createElement(c().CodeCompare,{fileIconSlot:this.fileIconSlot})))}registerEnvFileIcon(e){var t;return null===(t=this.fileIconSlot)||void 0===t||t.register(e),this}static async provider([e,t],n,[r],a){const{config:o}=a,i=String(o.get("teambit.harmony/bit")),s=new _(i,r),c=new(m().CodeSection)(s);s.registerEnvFileIcon([e=>h.test(e)?`${u().staticStorageUrl}/file-icons/file_type_typescript.svg`:void 0]),e.registerRoute([c.route]),e.registerWidget(c.navigationLink,c.order);const l=new(f().CodeCompareSection)(s);return t.registerNavigation({props:l.navigationLink,order:l.navigationLink.order}),t.registerRoutes([l.route]),s}}(0,a().default)(_,"dependencies",[i().ComponentAspect,p().ComponentCompareAspect]),(0,a().default)(_,"runtime",s().UIRuntime),(0,a().default)(_,"slots",[l().Slot.withType()]),g().CodeAspect.addRuntime(_)},21053:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CommandBarAspect=void 0;const a=r().Aspect.create({id:"teambit.explorer/command-bar",dependencies:[],defaultConfig:{}});t.CommandBarAspect=a;var o=a;t.default=o},66590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commandBarCommands=void 0;t.commandBarCommands={open:"command-bar.open"}},51945:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(73322));return o=function(){return e},e}function i(){const e=S(n(49725));return i=function(){return e},e}function s(){const e=r(n(91630));return s=function(){return e},e}function c(){const e=r(n(33756));return c=function(){return e},e}function l(){const e=n(73823);return l=function(){return e},e}function u(){const e=S(n(12639));return u=function(){return e},e}function d(){const e=n(76378);return d=function(){return e},e}function p(){const e=n(720);return p=function(){return e},e}function f(){const e=n(7998);return f=function(){return e},e}function g(){const e=n(64205);return g=function(){return e},e}function m(){const e=n(21053);return m=function(){return e},e}function h(){const e=n(66590);return h=function(){return e},e}function _(){const e=n(51847);return _=function(){return e},e}function v(){const e=n(41601);return v=function(){return e},e}function y(){const e=n(78570);return y=function(){return e},e}function b(){const e=n(85426);return b=function(){return e},e}function R(){const e=r(n(87165));return R=function(){return e},e}function E(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}n(2120),n(31567),n(15676),n(92619),n(41248);class O{addSearcher(...e){return this.searcherSlot.register(e),this}addCommand(...e){e.forEach((({id:e})=>{if(void 0!==this.getCommand(e))throw new(v().DuplicateCommandError)(e)}));const t=e.map((e=>({id:e.id,displayName:e.displayName,action:e.action,keybinding:e.keybinding})));this.commandSlot.register(t),t.forEach((e=>{e.keybinding&&this.addKeybinding(e.keybinding,e.id)})),this.updateCommandsSearcher();return t.map((e=>t=>{e.action=t}))}run(e){const t=this.getCommand(e);if(t)return t.action()}getCommand(e){return this.commandSlot.values().map((t=>t.find((t=>t.id===e)))).filter((e=>!!e)).pop()}updateCommandsSearcher(){const e=this.commandSlot.values().flat();this.commandSearcher.update(e)}addKeybinding(e,t){this.mousetrap.bind(e,this.run.bind(this,t))}constructor(e,t,n){this.searcherSlot=e,this.commandSlot=t,this.config=n,(0,o().default)(this,"mousetrap",f().isBrowser?new(c().default):new(y().MousetrapStub)),(0,o().default)(this,"commandSearcher",new(_().CommandSearcher)([])),(0,o().default)(this,"open",(()=>{var e;return null===(e=this.setVisibility)||void 0===e||e.call(this,!0),!1})),(0,o().default)(this,"close",(()=>{var e;null===(e=this.setVisibility)||void 0===e||e.call(this,!1)})),(0,o().default)(this,"trigger",(e=>{this.mousetrap.trigger(e)})),(0,o().default)(this,"search",((e,t=5)=>{const n=(0,s().default)(this.searcherSlot.values()).find((t=>t&&t.test(e)));return(null===n||void 0===n?void 0:n.search(e,t))||{items:[]}})),(0,o().default)(this,"setVisibility",void 0),(0,o().default)(this,"CommandBar",(({ResultComponent:e})=>{const[t,n]=(0,i().useState)(!1);this.setVisibility=n;const r=(0,g().useSearcher)(this.search,{debounce:this.config.debounce});return i().default.createElement(g().CommandBar,(0,a().default)({},r,{key:"CommandBarUI",className:R().default.commanderUi,placeholder:"Search anything or type > to only search commands",visible:t,ResultsComponent:e,onVisibilityChange:n,autofocus:!0}))}))}static async provider([e,t],n,[r,a]){const o=new O(r,a,n);return o.addSearcher(o.commandSearcher),o.addCommand({id:h().commandBarCommands.open,action:o.open,displayName:"Open command bar",keybinding:b().openCommandBarKeybinding}),t&&t.sub(m().CommandBarAspect.id,(e=>{const t=new KeyboardEvent(e.type,e.data);document.dispatchEvent(t)})),e&&e.registerHudItem(i().default.createElement(o.CommandBar,{key:"commandBar"})),o}}(0,o().default)(O,"dependencies",[u().default,d().PubsubAspect,p().ReactRouterAspect]),(0,o().default)(O,"slots",[l().Slot.withType(),l().Slot.withType()]),(0,o().default)(O,"defaultConfig",{debounce:void 0}),(0,o().default)(O,"runtime",u().UIRuntime),m().CommandBarAspect.addRuntime(O)},41601:(e,t,n)=>{"use strict";function r(){const e=n(86937);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.DuplicateCommandError=void 0;class a extends r().BitError{constructor(e){super(`Command "${e}" is already added.`)}}t.DuplicateCommandError=a},59852:(e,t,n)=>{"use strict";function r(){const e=n(21053);return r=function(){return e},e}function a(){const e=n(66590);return a=function(){return e},e}function o(){const e=n(64205);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CommandBarAspect",{enumerable:!0,get:function(){return r().CommandBarAspect}}),Object.defineProperty(t,"CommandBarItem",{enumerable:!0,get:function(){return o().CommandBarItem}}),Object.defineProperty(t,"FuzzySearchItem",{enumerable:!0,get:function(){return o().FuzzySearchItem}}),Object.defineProperty(t,"FuzzySearcher",{enumerable:!0,get:function(){return o().FuzzySearcher}}),Object.defineProperty(t,"commandBarCommands",{enumerable:!0,get:function(){return a().commandBarCommands}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r().CommandBarAspect}})},85426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openCommandBarKeybinding=t.isOpenCommandBarKeybinding=void 0;t.openCommandBarKeybinding="mod+k";t.isOpenCommandBarKeybinding=e=>(e.ctrlKey||e.metaKey)&&"k"===e.key},78570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MousetrapStub=void 0;t.MousetrapStub=class{stopCallback(){return!1}bind(){return this}unbind(){return this}trigger(){return this}handleKey(){}reset(){return this}}},22723:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(49725));return a=function(){return e},e}function o(){const e=r(n(55574));return o=function(){return e},e}function i(){const e=n(95152);return i=function(){return e},e}function s(){const e=n(15781);return s=function(){return e},e}function c(){const e=n(44747);return c=function(){return e},e}function l(){const e=r(n(44364));return l=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.CommandResult=function({command:e}){const{icon:t,iconAlt:n,displayName:r,keybinding:u}=e,d=Array.isArray(u)?u[0]:u;return a().default.createElement(a().default.Fragment,null,t&&a().default.createElement("img",{src:t,alt:n,className:l().default.icon}),a().default.createElement("div",{className:(0,o().default)(i().ellipsis,l().default.name)},r),d&&a().default.createElement(s().KeySequence,{className:(0,o().default)(l().default.commandKeys,c().mutedText)},d))}},71743:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(49725));return a=function(){return e},e}function o(){const e=n(64205);return o=function(){return e},e}function i(){const e=n(22723);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.CommandSearcher=void 0;const s=["displayName"];class c extends o().FuzzySearcher{constructor(e){super({searchKeys:s}),this.update(e)}test(e){return e.startsWith(">")}toSearchableItem(e){return e}toSearchResult({item:e}){return{id:e.id,action:e.action,children:a().default.createElement(i().CommandResult,{command:e})}}}t.CommandSearcher=c},48250:(e,t,n)=>{"use strict";function r(){const e=n(71743);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CommandSearcher",{enumerable:!0,get:function(){return r().CommandSearcher}})},51847:(e,t,n)=>{"use strict";function r(){const e=n(48250);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CommandSearcher",{enumerable:!0,get:function(){return r().CommandSearcher}})},74941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.links=void 0;var r=n(80894);Object.defineProperty(t,"links",{enumerable:!0,get:function(){return r.links}})},80894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.links=void 0,t.links={docs:"https://bit.dev/docs",github:"https://github.com/teambit/bit",slack:"https://join.slack.com/t/bit-dev-community/shared_invite/zt-1el4b4sb5-FpgRefqUiZbUH9lvnHgwRg",blog:"https://bit.cloud/blog",twitter:"https://twitter.com/bitdev_",linkedin:"https://www.linkedin.com/company/bit-dev",bitRegistry:"https://node.bit.cloud",youtube:"https://www.youtube.com/c/Bitdev/videos",careers:"https://bit.breezy.hr"}},66379:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.AspectsCompareSection=void 0;t.AspectsCompareSection=class{constructor(e){this.compareUI=e,(0,a().default)(this,"navigationLink",{href:"aspects",children:"Aspects",order:6}),(0,a().default)(this,"route",{path:"aspects/*",element:this.compareUI.getAspectsComparePage()})}}},4249:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.CompareChangelogSection=void 0;t.CompareChangelogSection=class{constructor(e){this.compareUI=e,(0,a().default)(this,"navigationLink",{href:"changelog",children:"Changelog",order:5}),(0,a().default)(this,"route",{path:"changelog/*",element:this.compareUI.getChangelogComparePage()})}}},39042:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ComponentCompareAspect=void 0;const a=r().Aspect.create({id:"teambit.component/component-compare"});t.ComponentCompareAspect=a;var o=a;t.default=o},98686:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(6051);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareSection=void 0;t.ComponentCompareSection=class{constructor(e){this.componentCompare=e,(0,a().default)(this,"navigationLink",{href:"~compare",displayName:"Compare",children:o().default.createElement(i().MenuWidgetIcon,{icon:"compare",tooltipContent:"Compare"})}),(0,a().default)(this,"route",{path:"~compare/*",element:this.componentCompare.getComponentComparePage()}),(0,a().default)(this,"order",35)}}},72896:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(73322));return o=function(){return e},e}function i(){const e=r(n(49725));return i=function(){return e},e}function s(){const e=r(n(91630));return s=function(){return e},e}function c(){const e=n(73823);return c=function(){return e},e}function l(){const e=r(n(44704));return l=function(){return e},e}function u(){const e=n(20585);return u=function(){return e},e}function d(){const e=n(12639);return d=function(){return e},e}function p(){const e=n(28984);return p=function(){return e},e}function f(){const e=n(12962);return f=function(){return e},e}function g(){const e=n(66379);return g=function(){return e},e}function m(){const e=n(39042);return m=function(){return e},e}function h(){const e=n(98686);return h=function(){return e},e}function _(){const e=n(4249);return _=function(){return e},e}n(31567),n(92619);class v{constructor(e,t,n){this.host=e,this.navSlot=t,this.routeSlot=n,(0,o().default)(this,"getComponentComparePage",(e=>{const t=(null===e||void 0===e?void 0:e.tabs)||(()=>(0,s().default)(this.navSlot.values())),n=(null===e||void 0===e?void 0:e.routes)||(()=>(0,s().default)(this.routeSlot.values())),r=(null===e||void 0===e?void 0:e.host)||this.host;return i().default.createElement(u().ComponentCompare,(0,a().default)({},e||{},{tabs:t,routes:n,host:r}))})),(0,o().default)(this,"getAspectsComparePage",(()=>i().default.createElement(f().ComponentCompareAspects,{host:this.host}))),(0,o().default)(this,"getChangelogComparePage",(()=>i().default.createElement(p().ComponentCompareChangelog,null)))}registerNavigation(e){return Array.isArray(e)?this.navSlot.register(e):this.navSlot.register([e]),this}registerRoutes(e){return this.routeSlot.register(e),this}get routes(){return this.routeSlot.map}get navLinks(){return this.navSlot.map}static async provider([e],t,[n,r],a){const{config:o}=a,i=String(o.get("teambit.harmony/bit")),s=new v(i,n,r),c=new(h().ComponentCompareSection)(s);e.registerRoute([c.route]),e.registerWidget(c.navigationLink,c.order);const l=new(g().AspectsCompareSection)(s),u=new(_().CompareChangelogSection)(s);return s.registerNavigation([{props:l.navigationLink,order:l.navigationLink.order},{props:u.navigationLink,order:u.navigationLink.order}]),s.registerRoutes([l.route,u.route]),s}}(0,o().default)(v,"runtime",d().UIRuntime),(0,o().default)(v,"slots",[c().Slot.withType(),c().Slot.withType()]),(0,o().default)(v,"dependencies",[l().default]),m().ComponentCompareAspect.addRuntime(v)},75334:(e,t,n)=>{"use strict";function r(){const e=n(39042);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentCompareAspect",{enumerable:!0,get:function(){return r().ComponentCompareAspect}}),t.default=void 0;var a=r().ComponentCompareAspect;t.default=a},9371:(e,t,n)=>{"use strict";n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.AspectList=void 0;class r{constructor(e){this.entries=e}get(e){const t=this.entries.find((t=>t.aspectId===e));if(t)return t.aspectData}toObject(){return{entries:this.entries}}static fromObject(e){const t=(null===e||void 0===e?void 0:e.entries)||[];return new r(t)}static fromJson(e){var t;const n=(null===e||void 0===e||null===(t=e.entries)||void 0===t?void 0:t.map((({aspectId:e,aspectData:t})=>({aspectId:e,aspectData:JSON.parse(t)}))))||[];return new r(n)}}t.AspectList=r},48065:(e,t,n)=>{"use strict";function r(){const e=n(44704);return r=function(){return e},e}function a(){const e=n(9371);return a=function(){return e},e}n(92619),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDescriptor=void 0;class o{constructor(e,t){this.id=e,this.aspectList=t}get scope(){return this.id.scope}get(e){return this.aspectList.get(e)}toObject(){return{id:this.id.toString(),aspectList:this.aspectList.toObject()}}async isModified(){return!1}stringify(){return JSON.stringify(this.toObject())}toString(){return this.stringify()}static fromObject({id:e,aspectList:t}){const n=a().AspectList.fromObject(t);return new o(r().ComponentID.fromString(e),n)}static fromArray(e){return e.map((e=>o.fromObject(e)))}}t.ComponentDescriptor=o},14193:(e,t,n)=>{"use strict";function r(){const e=n(48065);return r=function(){return e},e}function a(){const e=n(9371);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AspectDataEntry",{enumerable:!0,get:function(){return a().AspectDataEntry}}),Object.defineProperty(t,"AspectList",{enumerable:!0,get:function(){return a().AspectList}}),Object.defineProperty(t,"AspectListProps",{enumerable:!0,get:function(){return a().AspectListProps}}),Object.defineProperty(t,"ComponentDescriptor",{enumerable:!0,get:function(){return r().ComponentDescriptor}}),Object.defineProperty(t,"ComponentDescriptorProps",{enumerable:!0,get:function(){return r().ComponentDescriptorProps}})},31159:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentID=void 0;const r=n(93898),a=n(96329);class o{constructor(e,t){this.legacyComponentId=e,this._scope=t}get _legacy(){return this.legacyComponentId}hasVersion(){return this._legacy.hasVersion()}get version(){return this.legacyComponentId.version}get namespace(){return this.legacyComponentId.name.split("/").slice(0,-1).join("/")}get fullName(){return this._legacy.name}get name(){const e=this.legacyComponentId.name.split("/");return e[e.length-1]}get scope(){const e=this._legacy.scope;if(e)return e;if(!this._scope)throw new Error("scope cannot be undefined");return this._scope}changeScope(e){const t=this._legacy.changeScope(e);return o.fromLegacy(t)}changeVersion(e){const t=this._legacy.changeVersion(e);return o.fromLegacy(t,this.scope)}isEqual(e,t){return o.isEqual(this,e,t)}getVersionPreReleaseData(){return this._legacy.getVersionPreReleaseData()}toStringWithoutVersion(){let e=this._legacy;return this._scope&&!this._legacy.scope&&(e=e.changeScope(this._scope)),e.toStringWithoutVersion()}toString(e={}){let t=this._legacy;this._scope&&!this._legacy.scope&&(t=t.changeScope(this._scope));const n=t.toString(!1,e.ignoreVersion);return e.fsCompatible?n.replace(/\//g,"_").replace(/\./g,"_").replace(/-/g,"_"):n}toObject(){const e=this.legacyComponentId.serialize();return e.scope||(e.scope=this.scope),e}static tryFromString(e,t){try{return o.fromString(e,t)}catch(n){return}}static fromString(e,t){const n=r.BitId.parse(e,!0);if(!t&&!n.scope)throw new a.MissingScope(e);return new o(n,t)}static fromLegacyString(e,t){const n=r.BitId.parse(e,!1);return new o(n,t)}static fromObject(e,t){return o.fromLegacy(new r.BitId(e),t)}static isValidObject(e){return"object"===typeof e&&"string"===typeof e.name&&"string"===typeof e.scope}static isEqual(e,t,n={}){if(!e&&!t)return!0;if(!e||!t)return!1;let r=e.scope===t.scope&&e.toString({ignoreVersion:n.ignoreVersion})===t.toString({ignoreVersion:n.ignoreVersion});return n.ignoreVersion||(r=r&&e.version===t.version),r}static isEqualObj(e,t,n={}){if(!e&&!t)return!0;if(!e||!t)return!1;let r=e.scope===t.scope&&e.name===t.name;return n.ignoreVersion||(r=r&&e.version===t.version),r}static fromLegacy(e,t){if(!t&&!e.scope)throw new a.MissingScope(e);return new o(e,t)}static sortIds(e){return e.sort(((e,t)=>e.toString().localeCompare(t.toString())))}}t.ComponentID=o},96329:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingScope=void 0;const r=n(41391);Object.defineProperty(t,"MissingScope",{enumerable:!0,get:function(){return r.MissingScope}})},41391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingScope=void 0;class n extends Error{constructor(e){super(`scope was not defined directly or by "${e}"`)}report(){return this.message}}t.MissingScope=n},67972:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentID=void 0;var r=n(31159);Object.defineProperty(t,"ComponentID",{enumerable:!0,get:function(){return r.ComponentID}})},49049:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircularDependencies=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="circular dependencies",this.solution='run `bit insights "circular"` to get the component-ids participating in the circular',this.isTagBlocker=!0}outputForCLI(){return(0,r.formatTitle)(this.descriptionWithSolution,!1)}}t.CircularDependencies=a},43074:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeWithBitId=t.componentIssueToString=t.formatTitle=t.ComponentIssue=t.ISSUE_FORMAT_SPACE=t.ISSUE_FORMAT_SPACE_COUNT=void 0;const a=r(n(99775)),o=n(93898);t.ISSUE_FORMAT_SPACE_COUNT=10,t.ISSUE_FORMAT_SPACE=" ".repeat(t.ISSUE_FORMAT_SPACE_COUNT);function i(e,t=!0){const n=t?":":"";return a.default.yellow(`\n ${e}${n} \n`)}function s(e){return Array.isArray(e)?e.join(", "):e}t.ComponentIssue=class{constructor(){this.isTagBlocker=!0,this.isCacheBlocker=!0,this.formatDataFunction=s}get descriptionWithSolution(){const e=this.solution?` (${this.solution})`:"";return`${this.description}${e}`}outputForCLI(){return i(this.descriptionWithSolution)+a.default.white(this.dataToString())}dataToString(){return Object.keys(this.data).map((e=>`${t.ISSUE_FORMAT_SPACE}${e} -> ${this.formatDataFunction(this.data[e])}`)).join("\n")}toObject(){return{type:this.constructor.name,description:this.description,solution:this.solution,data:this.data}}serialize(){return JSON.stringify(this.data)}deserialize(e){return JSON.parse(e)}},t.formatTitle=i,t.componentIssueToString=s,t.deserializeWithBitId=function(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>new o.BitId(e)))})),t}},26706:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomModuleResolutionUsed=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="component is using an unsupported resolve-modules (aka aliases) feature",this.solution="replace to module paths",this.data={}}}t.CustomModuleResolutionUsed=a},40436:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DuplicateComponentAndPackage=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="tracked component added as a package",this.solution="either remove the package from the workspace.jsonc (bit uninstall) or remove the component (bit remove)",this.isTagBlocker=!0}dataToString(){return r.ISSUE_FORMAT_SPACE+this.data}}t.DuplicateComponentAndPackage=a},49477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImportNonMainFiles=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="importing non-main files",this.solution="the dependency should expose its API from the main file",this.data={},this.isCacheBlocker=!1}}t.ImportNonMainFiles=a},6413:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MISSING_NESTED_DEPS_SPACE=t.ComponentIssue=t.MISSING_DEPS_SPACE=t.IssuesClasses=t.IssuesList=void 0;var r=n(21617);Object.defineProperty(t,"IssuesList",{enumerable:!0,get:function(){return r.IssuesList}}),Object.defineProperty(t,"IssuesClasses",{enumerable:!0,get:function(){return r.IssuesClasses}});var a=n(43074);Object.defineProperty(t,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return a.ISSUE_FORMAT_SPACE}}),Object.defineProperty(t,"ComponentIssue",{enumerable:!0,get:function(){return a.ComponentIssue}});var o=n(6101);Object.defineProperty(t,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return o.MISSING_NESTED_DEPS_SPACE}})},21617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IssuesList=t.IssuesClasses=void 0;const r=n(26706),a=n(49477),o=n(83692),i=n(11828),s=n(59714),c=n(51598),l=n(85105),u=n(93455),d=n(79651),p=n(33127),f=n(25842),g=n(6101),m=n(3591),h=n(60047),_=n(98912),v=n(49049),y=n(40436),b=n(52125);t.IssuesClasses={MissingPackagesDependenciesOnFs:c.MissingPackagesDependenciesOnFs,MissingManuallyConfiguredPackages:l.MissingManuallyConfiguredPackages,MissingComponents:o.MissingComponents,UntrackedDependencies:g.UntrackedDependencies,ResolveErrors:f.ResolveErrors,RelativeComponents:d.RelativeComponents,RelativeComponentsAuthored:p.RelativeComponentsAuthored,ParseErrors:u.ParseErrors,MissingDists:s.MissingDists,LegacyInsideHarmony:m.LegacyInsideHarmony,MissingDependenciesOnFs:i.MissingDependenciesOnFs,ImportNonMainFiles:a.ImportNonMainFiles,CustomModuleResolutionUsed:r.CustomModuleResolutionUsed,MultipleEnvs:h.MultipleEnvs,MissingLinksFromNodeModulesToSrc:_.MissingLinksFromNodeModulesToSrc,CircularDependencies:v.CircularDependencies,DuplicateComponentAndPackage:y.DuplicateComponentAndPackage,MergeConfigHasConflict:b.MergeConfigHasConflict};class R{constructor(e=[]){this.issues=e}get count(){return this.issues.length}isEmpty(){return 0===this.issues.length}outputForCLI(){return this.issues.map((e=>e.outputForCLI())).join("")}toObject(){return this.issues.map((e=>e.toObject()))}toObjectWithDataAsString(){return this.issues.map((e=>Object.assign(Object.assign({},e.toObject()),{data:e.dataToString().trim()})))}add(e){this.issues.push(e)}delete(e){this.issues=this.issues.filter((t=>t.constructor.name!==e.name))}getIssue(e){return this.issues.find((t=>t instanceof e))}getIssueByName(e){return this.issues.find((t=>t.constructor.name===e))}getAllIssues(){return this.issues}getAllIssueNames(){return this.issues.map((e=>e.constructor.name))}createIssue(e){const t=new e;return this.add(t),t}getOrCreate(e){return this.getIssue(e)||this.createIssue(e)}shouldBlockSavingInCache(){return this.issues.some((e=>e.isCacheBlocker))}shouldBlockTagging(){return this.issues.some((e=>e.isTagBlocker))}filterNonTagBlocking(){return new R(this.issues.filter((e=>e.isTagBlocker)))}serialize(){return this.issues.map((e=>({type:e.constructor.name,data:e.serialize()})))}static deserialize(e){if(!Array.isArray(e))return new R;const n=e.map((e=>{const n=e.type;if(!Object.keys(t.IssuesClasses).includes(n))throw new Error(`issue type "${n}" is not recognized.\nthe following are permitted ${Object.keys(t.IssuesClasses).join(", ")}`);const r=new t.IssuesClasses[n];return r.data=r.deserialize(e.data),r}));return new R(n)}}t.IssuesList=R},3591:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyInsideHarmony=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="legacy component inside Harmony workspace",this.solution="remove the component and re-create it via Harmony",this.isTagBlocker=!0}outputForCLI(){return(0,r.formatTitle)(this.descriptionWithSolution,!1)}}t.LegacyInsideHarmony=a},52125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MergeConfigHasConflict=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="merge-config file has unresolved conflicts",this.solution="edit the file and resolve the conflicts",this.isTagBlocker=!0}outputForCLI(){return(0,r.formatTitle)(this.descriptionWithSolution,!1)}}t.MergeConfigHasConflict=a},83692:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingComponents=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="missing components",this.solution='use "bit import" or `bit install` to make sure all components exist',this.data={}}deserialize(e){return(0,r.deserializeWithBitId)(e)}}t.MissingComponents=a},11828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDependenciesOnFs=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="non-existing dependency files",this.solution="make sure all files exists on your workspace",this.data={}}}t.MissingDependenciesOnFs=a},59714:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingDists=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="missing dists",this.solution='run "bit compile"',this.isTagBlocker=!1}outputForCLI(){return(0,r.formatTitle)(this.descriptionWithSolution,!1)}}t.MissingDists=a},98912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingLinksFromNodeModulesToSrc=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="missing links from node_modules to source",this.solution='run "bit link"',this.isTagBlocker=!1}outputForCLI(){return(0,r.formatTitle)(this.descriptionWithSolution,!1)}}t.MissingLinksFromNodeModulesToSrc=a},85105:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingManuallyConfiguredPackages=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="missing packages that were manually set",this.solution='run "bit install"',this.data=[]}dataToString(){return r.ISSUE_FORMAT_SPACE+this.data.join(", ")}}t.MissingManuallyConfiguredPackages=a},51598:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingPackagesDependenciesOnFs=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="missing packages or links from node_modules to the source",this.solution="run \"bit install\" to fix both issues. if it's an external package, make sure it's added as a package dependency",this.data={}}}t.MissingPackagesDependenciesOnFs=a},60047:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultipleEnvs=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="multiple envs",this.solution='set the desired env by running "bit env set ", if it doesn\'t work, run "bit aspect unset ". to keep troubleshooting run "bit aspect list "',this.isTagBlocker=!0}dataToString(){return r.ISSUE_FORMAT_SPACE+this.data.join(", ")}}t.MultipleEnvs=a},93455:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseErrors=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}t.ParseErrors=a},33127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeComponentsAuthored=void 0;const r=n(93898),a=n(43074);class o extends a.ComponentIssue{constructor(){super(...arguments),this.description="components with relative import statements found",this.solution='replace to module paths or use "bit link --rewire" to replace',this.data={},this.isCacheBlocker=!1,this.formatDataFunction=i}deserialize(e){const t=JSON.parse(e);return Object.keys(t).forEach((e=>{t[e]=t[e].map((e=>({importSource:e.importSource,componentId:new r.BitId(e.componentId),relativePath:e.relativePath})))})),t}}function i(e){return e.map((e=>`"${e.importSource}" (${e.componentId.toString()})`)).join(", ")}t.RelativeComponentsAuthored=o},79651:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeComponents=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="components with relative import statements found",this.solution="use module paths for imported components",this.data={},this.isCacheBlocker=!1}deserialize(e){return(0,r.deserializeWithBitId)(e)}}t.RelativeComponents=a},25842:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveErrors=void 0;const r=n(43074);class a extends r.ComponentIssue{constructor(){super(...arguments),this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}t.ResolveErrors=a},6101:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UntrackedDependencies=t.MISSING_NESTED_DEPS_SPACE=void 0;const a=r(n(99775)),o=n(43074);t.MISSING_NESTED_DEPS_SPACE=" ".repeat(o.ISSUE_FORMAT_SPACE_COUNT+2);class i extends o.ComponentIssue{constructor(){super(...arguments),this.description="untracked file dependencies",this.solution='use "bit add " to track untracked files as components',this.data={}}dataToString(){return Object.keys(this.data).map((e=>{let n=o.ISSUE_FORMAT_SPACE;return this.data[e].nested&&(n=t.MISSING_NESTED_DEPS_SPACE),`${n}${e} -> ${function(e){return e.untrackedFiles.map((e=>e.existing?`${a.default.yellow(e.relativePath)}`:e.relativePath)).join(", ")}(this.data[e])}`})).join("\n")}}t.UntrackedDependencies=i},33302:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ComponentSizerAspect=void 0;const a=r().Aspect.create({id:"teambit.component/component-sizer"});t.ComponentSizerAspect=a;var o=a;t.default=o},15210:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=n(56374);return s=function(){return e},e}function c(){const e=n(99482);return c=function(){return e},e}function l(){const e=n(33302);return l=function(){return e},e}n(31567),n(92619);class u{static async provider([e]){e.registerTitleBadge({component:function({legacyComponentModel:e}){return o().default.createElement(c().ComponentSize,{legacyComponentModel:e})},weight:30})}}(0,a().default)(u,"dependencies",[s().DocsAspect]),(0,a().default)(u,"runtime",i().UIRuntime),l().ComponentSizerAspect.addRuntime(u)},34511:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ComponentTreeAspect=void 0;const a=r().Aspect.create({id:"teambit.component/component-tree"});t.ComponentTreeAspect=a;var o=a;t.default=o},55547:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(73823);return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=n(34511);return s=function(){return e},e}n(31567),n(92619),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentTreeUI=void 0;class c{constructor(e){this.treeNodeSlot=e}registerTreeNode(e){return this.treeNodeSlot.register(e),this}static async provider(e,t,[n]){return new c(n)}}t.ComponentTreeUI=c,(0,a().default)(c,"runtime",i().UIRuntime),(0,a().default)(c,"slots",[o().Slot.withType()]),(0,a().default)(c,"dependencies",[]),s().ComponentTreeAspect.addRuntime(c)},71582:(e,t,n)=>{"use strict";function r(){const e=n(34511);return r=function(){return e},e}function a(){const e=n(55547);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentTreeAspect",{enumerable:!0,get:function(){return r().ComponentTreeAspect}}),Object.defineProperty(t,"ComponentTreeUI",{enumerable:!0,get:function(){return a().ComponentTreeUI}}),t.default=void 0;var o=r().ComponentTreeAspect;t.default=o},88812:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=void 0;const a=r(n(3240));t.InvalidVersion=a.default},3240:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(86937);class a extends r.BitError{constructor(e){super(`error: version ${e||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}t.default=a},81530:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersion=t.isTag=t.isSnap=t.isHash=t.versionParser=t.LATEST_VERSION=t.Version=void 0;const i=n(59372);Object.defineProperty(t,"Version",{enumerable:!0,get:function(){return i.Version}}),Object.defineProperty(t,"LATEST_VERSION",{enumerable:!0,get:function(){return i.LATEST_VERSION}});const s=o(n(55111));t.versionParser=s.default,Object.defineProperty(t,"isHash",{enumerable:!0,get:function(){return s.isHash}}),Object.defineProperty(t,"isSnap",{enumerable:!0,get:function(){return s.isSnap}}),Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}});const c=n(88812);Object.defineProperty(t,"InvalidVersion",{enumerable:!0,get:function(){return c.InvalidVersion}})},55111:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isSnap=t.isTag=t.isHash=t.HASH_SIZE=void 0;const a=r(n(67076)),o=n(88812),i=n(59372);function s(){return new i.Version(null,!0)}function c(e){return"string"===typeof e&&e.length===t.HASH_SIZE&&!a.default.valid(e)}t.HASH_SIZE=40,t.isHash=c,t.isTag=function(e){return!c(e)},t.isSnap=function(e){return c(e)},t.default=function(e){if(!e)return s();if(function(e){return e===i.LATEST_VERSION}(e))return s();if(function(e){return a.default.valid(e)}(e))return function(e){return new i.Version(e,!1)}(e);if(c(e))return t=e,new i.Version(t,!1);var t;throw new o.InvalidVersion(e.toString())}},59372:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Version=t.LATEST_VERSION=void 0;const a=r(n(67076)),o=n(88812);t.LATEST_VERSION="latest";t.Version=class{constructor(e,t){if(this.versionNum=e,this.latest=t,e&&t)throw new Error('a component version cannot have both: version and "latest"')}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new o.InvalidVersion(this.versionNum)}isLaterThan(e){return!this.versionNum||this.versionNum===t.LATEST_VERSION||!(!e.versionNum||e.versionNum===t.LATEST_VERSION)&&a.default.gt(this.versionNum,e.versionNum)}}},46345:(e,t,n)=>{const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"===typeof e)try{e=new u(e,this.options)}catch(t){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),r=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,i=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||l}}e.exports=a;const o=n(77812),{re:i,t:s}=n(90845),c=n(10412),l=n(12706),u=n(2214),d=n(3855)},3855:(e,t,n)=>{class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],f)).split(/\s+/).join(" ");const c=r?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map((e=>_(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options))).filter(this.options.loose?e=>!!e.match(c):()=>!0).map((e=>new i(e,this.options))),h=(m.length,new Map);for(const a of m){if(g(a))return[a];h.set(a.value,a)}h.size>1&&h.has("")&&h.delete("");const v=[...h.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>h(n,t)&&e.set.some((e=>h(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"===typeof e)try{e=new c(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},_=(e,t)=>(s("comp",e,t),e=R(e,t),s("caret",e),e=y(e,t),s("tildes",e),e=S(e,t),s("xrange",e),e=w(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},R=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let c;return s("caret",e,t,n,a,o,i),v(n)?c="":v(a)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?c="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),c="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",c),c}))},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,a,o,i,c)=>{s("xRange",e,n,r,a,o,i,c);const l=v(a),u=l||v(o),d=u||v(i),p=d;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(c="-0"),n=`${r+a}.${o}.${i}${c}`):u?n=`>=${a}.0.0${c} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${o}.0${c} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},w=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,n,r,a,o,i,s,c,l,u,d,p,f)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=v(l)?"":v(u)?`<${+l+1}.0.0-0`:v(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`}`.trim(),x=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},2214:(e,t,n)=>{const r=n(12706),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(44266),{re:i,t:s}=n(90845),c=n(77812),{compareIdentifiers:l}=n(29674);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!==typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"===typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},64964:(e,t,n)=>{const r=n(11733);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},10412:(e,t,n)=>{const r=n(51045),a=n(15756),o=n(46353),i=n(88954),s=n(23498),c=n(14880);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e===n;case"!==":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return a(e,n,l);case">":return o(e,n,l);case">=":return i(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},8398:(e,t,n)=>{const r=n(2214),a=n(11733),{re:o,t:i}=n(90845);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"===typeof e&&(e=String(e)),"string"!==typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},64590:(e,t,n)=>{const r=n(2214);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},40371:(e,t,n)=>{const r=n(36617);e.exports=(e,t)=>r(e,t,!0)},36617:(e,t,n)=>{const r=n(2214);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},11823:(e,t,n)=>{const r=n(11733),a=n(51045);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},51045:(e,t,n)=>{const r=n(36617);e.exports=(e,t,n)=>0===r(e,t,n)},46353:(e,t,n)=>{const r=n(36617);e.exports=(e,t,n)=>r(e,t,n)>0},88954:(e,t,n)=>{const r=n(36617);e.exports=(e,t,n)=>r(e,t,n)>=0},58394:(e,t,n)=>{const r=n(2214);e.exports=(e,t,n,a)=>{"string"===typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(o){return null}}},23498:(e,t,n)=>{const r=n(36617);e.exports=(e,t,n)=>r(e,t,n)<0},14880:(e,t,n)=>{const r=n(36617);e.exports=(e,t,n)=>r(e,t,n)<=0},14116:(e,t,n)=>{const r=n(2214);e.exports=(e,t)=>new r(e,t).major},73799:(e,t,n)=>{const r=n(2214);e.exports=(e,t)=>new r(e,t).minor},15756:(e,t,n)=>{const r=n(36617);e.exports=(e,t,n)=>0!==r(e,t,n)},11733:(e,t,n)=>{const{MAX_LENGTH:r}=n(44266),{re:a,t:o}=n(90845),i=n(2214),s=n(77812);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!==typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(n){return null}}},67862:(e,t,n)=>{const r=n(2214);e.exports=(e,t)=>new r(e,t).patch},39817:(e,t,n)=>{const r=n(11733);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},24809:(e,t,n)=>{const r=n(36617);e.exports=(e,t,n)=>r(t,e,n)},93242:(e,t,n)=>{const r=n(64590);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},28234:(e,t,n)=>{const r=n(3855);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(a){return!1}return t.test(e)}},72719:(e,t,n)=>{const r=n(64590);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},62169:(e,t,n)=>{const r=n(11733);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},67076:(e,t,n)=>{const r=n(90845);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(44266).SEMVER_SPEC_VERSION,SemVer:n(2214),compareIdentifiers:n(29674).compareIdentifiers,rcompareIdentifiers:n(29674).rcompareIdentifiers,parse:n(11733),valid:n(62169),clean:n(64964),inc:n(58394),diff:n(11823),major:n(14116),minor:n(73799),patch:n(67862),prerelease:n(39817),compare:n(36617),rcompare:n(24809),compareLoose:n(40371),compareBuild:n(64590),sort:n(72719),rsort:n(93242),gt:n(46353),lt:n(23498),eq:n(51045),neq:n(15756),gte:n(88954),lte:n(14880),cmp:n(10412),coerce:n(8398),Comparator:n(46345),Range:n(3855),satisfies:n(28234),toComparators:n(50287),maxSatisfying:n(10551),minSatisfying:n(79465),minVersion:n(1934),validRange:n(65254),outside:n(65155),gtr:n(68187),ltr:n(14699),intersects:n(21195),simplifyRange:n(40639),subset:n(59434)}},44266:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},12706:(e,t,n)=>{var r=n(20038);const a="object"===typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=a},29674:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:en(t,e)}},77812:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!==typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},90845:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(44266),a=n(12706),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),l("FULL",`^${i[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),l("LOOSE",`^${i[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),l("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",i[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},68187:(e,t,n)=>{const r=n(65155);e.exports=(e,t,n)=>r(e,t,">",n)},21195:(e,t,n)=>{const r=n(3855);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},14699:(e,t,n)=>{const r=n(65155);e.exports=(e,t,n)=>r(e,t,"<",n)},10551:(e,t,n)=>{const r=n(2214),a=n(3855);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},79465:(e,t,n)=>{const r=n(2214),a=n(3855);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},1934:(e,t,n)=>{const r=n(2214),a=n(3855),o=n(46353);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let a=0;a{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},65155:(e,t,n)=>{const r=n(2214),a=n(46345),{ANY:o}=a,i=n(3855),s=n(28234),c=n(46353),l=n(23498),u=n(14880),d=n(88954);e.exports=(e,t,n,p)=>{let f,g,m,h,_;switch(e=new r(e,p),t=new i(t,p),n){case">":f=c,g=u,m=l,h=">",_=">=";break;case"<":f=l,g=d,m=c,h="<",_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;r{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,f(e.semver,i.semver,p)?i=e:m(e.semver,s.semver,p)&&(s=e)})),i.operator===h||i.operator===_)return!1;if((!s.operator||s.operator===h)&&g(e,s.semver))return!1;if(s.operator===_&&m(e,s.semver))return!1}return!0}},40639:(e,t,n)=>{const r=n(28234),a=n(36617);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const c=e.sort(((e,t)=>a(e,t,n)));for(const a of c){r(a,t,n)?(s=a,i||(i=a)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const l=[];for(const[r,a]of o)r===a?l.push(r):a||r!==c[0]?a?r===c[0]?l.push(`<=${a}`):l.push(`${r} - ${a}`):l.push(`>=${r}`):l.push("*");const u=l.join(" || "),d="string"===typeof t.raw?t.raw:String(t);return u.length{const r=n(3855),{ANY:a}=n(46345),o=n(28234),i=n(36617),s=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a)return 1===t.length&&t[0].semver===a;const r=new Set;let s,u,d,p,f,g,m;for(const a of e)">"===a.operator||">="===a.operator?s=c(s,a,n):"<"===a.operator||"<="===a.operator?u=l(u,a,n):r.add(a.semver);if(r.size>1)return null;if(s&&u){if(d=i(s.semver,u.semver,n),d>0)return null;if(0===d&&(">="!==s.operator||"<="!==u.operator))return null}for(const a of r){if(s&&!o(a,String(s),n))return null;if(u&&!o(a,String(u),n))return null;for(const e of t)if(!o(a,String(e),n))return!1;return!0}for(const a of t){if(m=m||">"===a.operator||">="===a.operator,g=g||"<"===a.operator||"<="===a.operator,s)if(">"===a.operator||">="===a.operator){if(p=c(s,a,n),p===a&&p!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(a),n))return!1;if(u)if("<"===a.operator||"<="===a.operator){if(f=l(u,a,n),f===a&&f!==u)return!1}else if("<="===u.operator&&!o(u.semver,String(a),n))return!1;if(!a.operator&&(u||s)&&0!==d)return!1}return!(s&&g&&!u&&0!==d)&&!(u&&m&&!s&&0!==d)},c=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=s(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},50287:(e,t,n)=>{const r=n(3855);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},65254:(e,t,n)=>{const r=n(3855);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(n){return null}}},92255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;(r=n(49725))&&r.__esModule;var r,a=n(88803),o=n(44374),i=["components"];function s(){return s=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l={};function u(e){var t=e.components,n=c(e,i);return(0,a.mdx)("wrapper",s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(o.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,a.mdx)("h2",null,"How to Version and Export Components"),(0,a.mdx)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/7aupBUi3m6I?rel=0",title:"Exporting and Versioning Components",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0}),(0,a.mdx)("blockquote",null,(0,a.mdx)("p",{parentName:"blockquote"},"To export your components to the cloud so that they can be installed elsewhere you first have to tag and then export your components.")),(0,a.mdx)("p",null,"When we version or 'tag' a component, we commit changes and prepare it to be exported to a remote scope. This process most often includes compiling and testing, as well."),(0,a.mdx)("h3",null,"How to Tag a component"),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-bash"},'bit tag --patch --message "this is the tag message"\n')),(0,a.mdx)("h4",null,"How to Tag all components that have been modified"),(0,a.mdx)("p",null,"Tag all components and bump the patch number of each component version"),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-bash"},"bit tag --all\n")),(0,a.mdx)("h3",null,"How to Export your Components"),(0,a.mdx)("p",null,"Once you have tagged your component you can then run the bit export command."),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-bash"},"bit export\n")),(0,a.mdx)("ul",null,(0,a.mdx)("li",{parentName:"ul"},(0,a.mdx)("p",{parentName:"li"},(0,a.mdx)("a",{parentName:"p",href:"https://harmony-docs.bit.dev/building-with-bit/versioning-components"},"Learn more on Versioning Components"))),(0,a.mdx)("li",{parentName:"ul"},(0,a.mdx)("p",{parentName:"li"},(0,a.mdx)("a",{parentName:"p",href:"https://harmony-docs.bit.dev/building-with-bit/exporting-components"},"Learn more on Exporting Components"))))))}u.isMDXComponent=!0},29467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ExportingComponents",{enumerable:!0,get:function(){return a.default}});var r,a=(r=n(92255))&&r.__esModule?r:{default:r}},90084:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentUrl=t.ComponentUrlProvider=t.ComponentUrlContext=void 0;const r=n(49725);t.ComponentUrlContext=(0,r.createContext)(void 0),t.ComponentUrlProvider=t.ComponentUrlContext.Provider;t.useComponentUrl=(e,n)=>{const a=(0,r.useContext)(t.ComponentUrlContext);return null===a||void 0===a?void 0:a(e,n)}},59751:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentUrl=void 0;const a=r(n(23720)),o=n(51327),i=n(97066);function s(e){return e.toString({ignoreVersion:!0}).replace(".","/")}t.ComponentUrl={toUrl:function(e,t={}){const n=a.default.stringify(l(e,t));return`${i.baseUrl}/${s(e)}${(0,o.affix)("?",n)}`},toPathname:s,toQuery:l};const c=/[\^~]/;function l(e,{includeVersion:t=!0}={}){var n;return{version:t&&"latest"!==e.version?null===(n=e.version)||void 0===n?void 0:n.replace(c,""):void 0}}},97066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baseUrl=void 0,t.baseUrl="https://bit.cloud"},71105:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentUrl=t.ComponentUrlProvider=t.ScopeUrl=t.ComponentUrl=void 0;var r=n(59751);Object.defineProperty(t,"ComponentUrl",{enumerable:!0,get:function(){return r.ComponentUrl}});var a=n(35294);Object.defineProperty(t,"ScopeUrl",{enumerable:!0,get:function(){return a.ScopeUrl}});var o=n(90084);Object.defineProperty(t,"ComponentUrlProvider",{enumerable:!0,get:function(){return o.ComponentUrlProvider}}),Object.defineProperty(t,"useComponentUrl",{enumerable:!0,get:function(){return o.useComponentUrl}})},35294:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScopeUrl=void 0;const r=n(97066);function a(e){return e.replace(".","/")}t.ScopeUrl={toUrl:function(e){return`${r.baseUrl}/${a(e)}`},toPathname:a}},97274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fileNodeClicked=void 0;t.fileNodeClicked=(e,t)=>(n,r)=>{const{id:a}=r,o=e.find((e=>e.id===a));(null===o||void 0===o?void 0:o.downloadUrl)&&fetch(o.downloadUrl,{method:"GET"}).then((e=>e.blob())).then((e=>{var n;const r=window.URL.createObjectURL(new Blob([e])),a=document.createElement("a");a.href=r,"download"===t&&a.setAttribute("download",o.path),"new tab"===t&&a.setAttribute("target","_blank"),document.body.appendChild(a),a.click(),null===(n=a.parentNode)||void 0===n||n.removeChild(a)})).catch((()=>{}))}},729:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ArtifactsTree=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(25314),u=n(55237),d=n(34322),p=n(16393),f=n(53441),g=n(40990),m=n(4392),h=i(n(54759)),_=n(80955),v=n(94566),y=n(51327),b=n(44704),R=n(4073),E=i(n(21442)),S=n(97274),O=n(1475),w=i(n(89833));function C(e){const t=e.lastIndexOf("/");return e.slice(t+1)}function T(e,t){return function({node:n}){const r=n.id,a=e.find((e=>e.id===r)),o=C(r),i=(0,h.default)(o),u=t===r;return a?s.default.createElement("div",{className:w.default.artifactWidgets},s.default.createElement("div",{className:(0,c.default)(w.default.size,u&&w.default.selected)},(0,E.default)(a.size)),!i&&a.size<=O.FILE_SIZE_THRESHOLD&&s.default.createElement(l.Icon,{className:w.default.icon,of:"open-tab",onClick:t=>(0,S.fileNodeClicked)(e,"new tab")(t,n)}),s.default.createElement(l.Icon,{className:w.default.icon,of:"download",onClick:t=>{(0,S.fileNodeClicked)(e,"download")(t,n)}})):null}}function x(e){return function(t){var n,r,a;const{node:o}=t,{id:i}=o,l=(0,p.useFileTreeContext)(),{selected:d,onSelect:f}=(0,s.useContext)(g.TreeContext),m=null===(n=null===l||void 0===l?void 0:l.getHref)||void 0===n?void 0:n.call(l,o),v=null===l||void 0===l?void 0:l.widgets,y=null===(r=null===l||void 0===l?void 0:l.getIcon)||void 0===r?void 0:r.call(l,o),b=C(i),R=(0,h.default)(b),E=e.find((e=>e.id===o.id)),S=R||(null!==(a=null===E||void 0===E?void 0:E.size)&&void 0!==a?a:0)>O.FILE_SIZE_THRESHOLD;return(null===o||void 0===o?void 0:o.children)?s.default.createElement(_.FolderTreeNode,Object.assign({},t)):s.default.createElement(u.TreeNode,Object.assign({},t,{className:(0,c.default)(w.default.node,S&&w.default.link),onClick:f&&(e=>f(o.id,e)),href:m,isActive:(null===o||void 0===o?void 0:o.id)===d,icon:y,widgets:v}))}}t.ArtifactsTree=function({getIcon:e,drawerName:t,drawerOpen:n,onToggleDrawer:r,host:a}){const o=(0,v.useCodeParams)(),i=(0,s.useContext)(b.ComponentContext),{data:l=[],loading:u}=(0,R.useComponentArtifacts)(a,i.id.toString()),[g,_]=(0,s.useMemo)((()=>{const e=l.length>0&&l.flatMap((e=>e.files.map((t=>Object.assign(Object.assign({},t),{id:`${e.taskName}/${e.name}/${t.path}`})))))||[],t=e.map((e=>e.id));return[e,t]}),[u]),E=l.length>0,N=(0,f.getArtifactFileDetailsFromUrl)(l,o.file),I=N&&`${N.taskName}/${N.artifactName}/${N.artifactFile.path}`,P=(0,s.useMemo)((()=>{const e=E&&l.reduce(((e,t)=>(e.has(t.taskName)||e.set(`${t.taskName}/`,{open:!1}),e)),new Map)||new Map,{taskName:t,artifactName:n,artifactFile:r}={taskName:null===N||void 0===N?void 0:N.taskName,artifactName:null===N||void 0===N?void 0:N.artifactName,artifactFile:null===N||void 0===N?void 0:N.artifactFile};return t&&n&&r&&(e.set(`${t}/`,{open:!0}),e.set(`${t}/${n}/`,{open:!0}),e.set(`${t}/${n}/${r.path}`,{open:!0})),e}),[u,I]),A=(0,s.useCallback)((e=>`~artifact/${e.id}${(0,y.affix)("?version=",o.version)}`),[u]),D=(0,s.useMemo)((()=>[T(g||[],I)]),[u]);return E?s.default.createElement(d.DrawerUI,{isOpen:n,onToggle:r,name:t,contentClass:w.default.artifactsPanelCodeDrawerContent,className:(0,c.default)(w.default.artifactsPanelCodeTabDrawer,n&&w.default.openDrawer)},u&&s.default.createElement(m.ComponentTreeLoader,null),u||s.default.createElement(p.FileTree,{getIcon:e,getHref:A,files:_,widgets:D,payloadMap:P,TreeNode:x(g),selected:I,onTreeNodeSelected:(e,t)=>{const n=g.find((t=>t.id===e));if(!n)return;const r=C(e);((0,h.default)(r)||n.size>O.FILE_SIZE_THRESHOLD)&&(0,S.fileNodeClicked)(g,"download")(t,{id:e})}})):null}},1475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE_SIZE_THRESHOLD=t.ArtifactsTree=void 0;var r=n(729);Object.defineProperty(t,"ArtifactsTree",{enumerable:!0,get:function(){return r.ArtifactsTree}}),t.FILE_SIZE_THRESHOLD=1e4},54214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getArtifactFileDetailsFromUrl=t.mapToArtifacts=void 0,t.mapToArtifacts=function(e){return e.filter((e=>e.artifact)).map((e=>Object.assign(Object.assign({},e.artifact),{taskId:e.taskId,taskName:e.taskName})))},t.getArtifactFileDetailsFromUrl=function(e,t){if(!t||!t.startsWith("~artifact/"))return;const[,n]=t.split("~artifact/"),[r,...a]=n.split("/"),[o,...i]=a,s=i.join("/"),c=e.find((e=>e.taskName===r&&e.name===o)),l=null===c||void 0===c?void 0:c.files.find((e=>e.path===s));return l?{taskName:r,artifactName:o,artifactFile:Object.assign({},l)}:void 0}},53441:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getArtifactFileDetailsFromUrl=t.mapToArtifacts=void 0;var r=n(54214);Object.defineProperty(t,"mapToArtifacts",{enumerable:!0,get:function(){return r.mapToArtifacts}}),Object.defineProperty(t,"getArtifactFileDetailsFromUrl",{enumerable:!0,get:function(){return r.getArtifactFileDetailsFromUrl}})},4073:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentArtifacts=void 0;var r=n(38436);Object.defineProperty(t,"useComponentArtifacts",{enumerable:!0,get:function(){return r.useComponentArtifacts}})},38436:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCount=void 0;var r=n(88618);Object.defineProperty(t,"ComponentCount",{enumerable:!0,get:function(){return r.ComponentCount}})},56062:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompareAspectView=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(11308),u=n(52782),d=n(83351),p=n(3919),f=i(n(15549));t.CompareAspectView=function({baseAspectData:e,compareAspectData:t,name:n,className:r}){const a=(0,s.useMemo)((()=>null===n||void 0===n?void 0:n.split("/").pop()),[n]),o=s.default.createElement(d.DiffEditor,{key:`aspect-config-diff-editor-${a}`,modified:JSON.stringify(null===t||void 0===t?void 0:t.config,null,2),original:JSON.stringify(null===e||void 0===e?void 0:e.config,null,2),language:"json",className:p.darkMode,theme:"vs-dark",options:{readOnly:!0},loading:s.default.createElement("div",{className:f.default.loader},s.default.createElement(u.RoundLoader,null))}),i=s.default.createElement(d.DiffEditor,{key:`aspect-data-diff-editor-${a}`,modified:JSON.stringify(null===t||void 0===t?void 0:t.data,null,2),original:JSON.stringify(null===e||void 0===e?void 0:e.data,null,2),language:"json",className:f.default.diffEditor,theme:"vs-dark",options:{readOnly:!0},loading:s.default.createElement("div",{className:f.default.loader},s.default.createElement(u.RoundLoader,null))});return s.default.createElement("div",{key:`aspect-diff-editor-${a}`,className:(0,c.default)(f.default.componentCompareAspectViewContainer,r)},s.default.createElement("div",{className:f.default.name},s.default.createElement(l.H4,{size:"xs",className:f.default.name},s.default.createElement("span",null,a))),s.default.createElement("div",{className:f.default.componentCompareAspectDiffEditorContainer},s.default.createElement("div",{className:f.default.componentCompareAspectConfigDiff},s.default.createElement(l.H4,{size:"xxs",className:f.default.name},s.default.createElement("span",null,"Config")),o),s.default.createElement("div",{className:f.default.componentCompareAspectCalculatedDiff},s.default.createElement(l.H4,{size:"xxs",className:f.default.name},s.default.createElement("span",null,"Calculated Data")),i)))}},44860:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompareAspectView=void 0;var r=n(56062);Object.defineProperty(t,"CompareAspectView",{enumerable:!0,get:function(){return r.CompareAspectView}})},17610:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAspectCompare=t.ComponentCompareAspectsContext=void 0;const r=n(49725);t.ComponentCompareAspectsContext=(0,r.createContext)(void 0);t.useAspectCompare=()=>(0,r.useContext)(t.ComponentCompareAspectsContext)},88877:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareAspects=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(33255),u=n(50666),d=n(81258),p=n(39323),f=n(52782),g=n(47718),m=n(54429),h=n(17610),_=n(44860),v=n(56438),y=n(410),b=i(n(33404));t.ComponentCompareAspects=function({host:e,className:t}){const{base:n,compare:r,loading:a,selectedBase:o,selectedCompare:i,selected:R}=(0,y.useCompareAspectsQuery)(e),E=(0,p.useIsMobile)(),[S,O]=(0,s.useState)(!E),w=S?d.Layout.row:d.Layout.left,C=n.concat(r).map((e=>e.aspectId));return s.default.createElement(h.ComponentCompareAspectsContext.Provider,{value:{base:n,compare:r,loading:a,selectedBase:o,selectedCompare:i}},s.default.createElement(d.SplitPane,{layout:w,size:"85%",className:(0,c.default)(b.default.componentCompareAspectContainer,t)},s.default.createElement(d.Pane,{className:b.default.left},a&&s.default.createElement("div",{className:b.default.loader},s.default.createElement(f.RoundLoader,null)),a||s.default.createElement(_.CompareAspectView,{name:R,baseAspectData:o,compareAspectData:i,loading:a})),s.default.createElement(l.HoverSplitter,{className:b.default.splitter},s.default.createElement(u.Collapser,{placement:"left",isOpen:S,onMouseDown:e=>e.stopPropagation(),onClick:()=>O((e=>!e)),tooltipContent:(S?"Hide":"Show")+" aspects tree",className:b.default.collapser})),s.default.createElement(d.Pane,{className:(0,c.default)(b.default.right,b.default.dark)},s.default.createElement(m.CodeCompareTree,{fileTree:C,currentFile:R,drawerName:"ASPECTS",widgets:[v.Widget],getHref:e=>(0,g.useUpdatedUrlFromQuery)({aspect:e.id})}))))}},56438:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Widget=void 0;const a=r(n(49725)),o=n(47718),i=n(61436),s=n(17610);t.Widget=function({node:e}){const t=e.id,n=(0,s.useAspectCompare)();if(null===n||void 0===n?void 0:n.loading)return null;const r=null===n||void 0===n?void 0:n.base,c=null===n||void 0===n?void 0:n.compare,l=null===r||void 0===r?void 0:r.find((e=>e.aspectId===t)),u=null===c||void 0===c?void 0:c.find((e=>e.aspectId===t));if(!l&&!u)return null;const d=function(e,t){const n=e=>void 0===e,r=(e,t)=>n(t)&&!n(e),a=(e,t)=>!n(t)&&n(e),o=null===e||void 0===e?void 0:e.config,s=null===e||void 0===e?void 0:e.data,c=null===t||void 0===t?void 0:t.config,l=null===t||void 0===t?void 0:t.data;if(r(o,c)||r(s,l))return"deleted";if(a(o,c)||a(s,l))return"new";if(!(0,i.isEqual)(o,c)||!(0,i.isEqual)(s,l))return"modified";return null}(l,u);return d?a.default.createElement(o.CompareStatusResolver,{status:d}):null}},77119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAspectCompare=t.ComponentCompareAspectsContext=t.ComponentCompareAspects=void 0;var r=n(88877);Object.defineProperty(t,"ComponentCompareAspects",{enumerable:!0,get:function(){return r.ComponentCompareAspects}});var a=n(17610);Object.defineProperty(t,"ComponentCompareAspectsContext",{enumerable:!0,get:function(){return a.ComponentCompareAspectsContext}}),Object.defineProperty(t,"useAspectCompare",{enumerable:!0,get:function(){return a.useAspectCompare}})},410:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCompareAspectsQuery=void 0;const r=n(49725),a=n(47718),o=n(89733),i=n(59062).gql` + query GetComponentAspectData($id: String!, $extensionId: String!) { + getHost(id: $extensionId) { + id # used for GQL caching + get(id: $id) { + id { + name + version + scope + } + aspects { + aspectId: id + config + data + icon + } + } + } + } +`;t.useCompareAspectsQuery=function(e){var t,n,s,c,l;const u=(0,a.useComponentCompare)(),d=null===(t=null===u||void 0===u?void 0:u.base)||void 0===t?void 0:t.model,p=null===u||void 0===u?void 0:u.compare.model,f=null===u||void 0===u?void 0:u.compare.hasLocalChanges,g=`${null===d||void 0===d?void 0:d.id.fullName}@${null===d||void 0===d?void 0:d.id.version}`,m=f?null===p||void 0===p?void 0:p.id.fullName:`${null===p||void 0===p?void 0:p.id.fullName}@${null===p||void 0===p?void 0:p.id.version}`,{data:h,loading:_}=(0,o.useDataQuery)(i,{variables:{id:g,extensionId:e},skip:!(null===d||void 0===d?void 0:d.id)}),{data:v,loading:y}=(0,o.useDataQuery)(i,{variables:{id:m,extensionId:e},skip:!(null===p||void 0===p?void 0:p.id)}),b=_||y||(null===u||void 0===u?void 0:u.loading),R=(null===(s=null===(n=null===h||void 0===h?void 0:h.getHost)||void 0===n?void 0:n.get)||void 0===s?void 0:s.aspects)||[],E=(null===(l=null===(c=null===v||void 0===v?void 0:v.getHost)||void 0===c?void 0:c.get)||void 0===l?void 0:l.aspects)||[],S=(0,a.useCompareQueryParam)("aspect")||(null===E||void 0===E?void 0:E.length)>0&&E[0].aspectId||void 0;return{loading:b,selectedBase:(0,r.useMemo)((()=>null===R||void 0===R?void 0:R.find((e=>e.aspectId===S))),[R,S]),selectedCompare:(0,r.useMemo)((()=>null===E||void 0===E?void 0:E.find((e=>e.aspectId===S))),[E,S]),base:R,compare:E,selected:S}}},31633:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareBlankState=void 0;const a=r(n(49725)),o=n(85779);t.ComponentCompareBlankState=function({className:e}){return a.default.createElement(o.EmptyBox,{className:e,title:"This component doesn't have multiple versions or snaps to compare.",linkText:"Learn more about tagging and snapping components",link:"https://bit.dev/docs/getting-started/collaborate/snap-component-changes"})}},37324:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareBlankState=void 0;var r=n(31633);Object.defineProperty(t,"ComponentCompareBlankState",{enumerable:!0,get:function(){return r.ComponentCompareBlankState}})},91376:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareChangelog=void 0;const s=o(n(49725)),c=n(47718),l=n(68677),u=n(44704),d=i(n(55574)),p=i(n(77316)),f=(e,t,n)=>{const[r,a]=((e,t)=>{const{date:n}=t||{},{date:r}=e||{};return(r?new Date(parseInt(r)):new Date)>(n?new Date(parseInt(n)):new Date)?[e,t]:[t,e]})(t,n),{startingVersionIndex:o,endingVersionIndex:i}=e.reduce(((e,t,n)=>(t.hash===(null===r||void 0===r?void 0:r.hash)&&(e=Object.assign(Object.assign({},e),{startingVersionIndex:n})),t.hash===(null===a||void 0===a?void 0:a.hash)&&(e=Object.assign(Object.assign({},e),{endingVersionIndex:n})),e)),{});return e.filter(((e,t)=>t>=o&&t<=i))};t.ComponentCompareChangelog=function({className:e}){const t=(0,s.useContext)(u.ComponentContext),n=(0,c.useComponentCompare)(),{base:r,compare:a,logsByVersion:o}=n||{},i=(null===a||void 0===a?void 0:a.model.logs)||[],g=(null===r||void 0===r?void 0:r.model.version)?null===o||void 0===o?void 0:o.get(null===r||void 0===r?void 0:r.model.version):void 0,m=(null===a||void 0===a?void 0:a.model.version)?null===o||void 0===o?void 0:o.get(null===a||void 0===a?void 0:a.model.version):void 0,h=(0,s.useMemo)((()=>f(i,g,m)),[g,m]);return s.default.createElement("div",{className:(0,d.default)(p.default.changeLogPage,e)},h.map(((e,n)=>{const r=t.latest===e.tag||t.latest===e.hash,a=t.version===e.tag||t.version===e.hash;return s.default.createElement(l.VersionBlock,{isCurrent:a,isLatest:r,key:n,componentId:t.id.fullName,snap:e})})))}},83066:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareChangelog=void 0;var r=n(91376);Object.defineProperty(t,"ComponentCompareChangelog",{enumerable:!0,get:function(){return r.ComponentCompareChangelog}})},14423:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentCompare=t.ComponentCompareContext=void 0;const r=n(49725);t.ComponentCompareContext=(0,r.createContext)(void 0);t.useComponentCompare=()=>(0,r.useContext)(t.ComponentCompareContext)},1776:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompare=void 0;const s=n(44704),c=n(46338),l=i(n(91630)),u=i(n(55574)),d=n(56843),p=n(60795),f=n(52782),g=o(n(49725)),m=n(14423),h=n(12770),_=n(73284),v=n(37324),y=i(n(65252)),b=(e,t)=>(e.has(t.tag||t.hash)||e.set(t.tag||t.hash,t),e);function R({navSlot:e}){const t=(0,l.default)(e.toArray().map((([e,t])=>(0,l.default)(t).map((t=>Object.assign(Object.assign({},t),{id:e})))))).sort(E).map(((e,t)=>({component:function({isInMenu:n}){return g.default.createElement(s.TopBarNav,Object.assign({key:`${e.id}-${t}`},e.props,{className:(0,u.default)(y.default.compareMenuLink,n&&y.default.collapsedMenuLink)}))}})));return g.default.createElement("div",{className:y.default.navContainer},g.default.createElement(p.ResponsiveNavbar,{className:y.default.navigation,navClassName:y.default.tab,style:{width:"100%",height:"100%"},priority:"none",tabs:t}))}function E({order:e},{order:t}){return(null!==e&&void 0!==e?e:0)-(null!==t&&void 0!==t?t:0)}t.ComponentCompare=function({navSlot:e,host:t,routeSlot:n}){var r,a;const o=(0,_.useCompareQueryParam)("baseVersion"),i=(0,g.useContext)(s.ComponentContext),l=(0,d.useLocation)(),u="teambit.workspace/workspace"===t,p=(null===(r=i.logs)||void 0===r?void 0:r.slice())||[],E=0===p.length,S=!u||E||(null===l||void 0===l?void 0:l.search.includes("version"))?i.id.version:"workspace",O="workspace"===S,w=(0,g.useMemo)((()=>{const e=p.find((e=>(t,n,r)=>{if(0===n)return!1;if(1===r.length)return!0;const a=n-1;return r[a].tag===e||r[a].hash===e})(S));return e}),[i.logs]),C=o&&i.id.changeVersion(o)||w&&i.id.changeVersion(w.tag||w.hash)||i.id,T=i,{component:x,loading:N}=(0,s.useComponent)(t,C.toString()),I=!N&&!O&&((null===(a=i.logs)||void 0===a?void 0:a.length)||[])<2,P=!N&&!I,A={compare:{model:T,hasLocalChanges:O},base:x&&{model:x},loading:N,logsByVersion:(0,g.useMemo)((()=>p.reduce(b,new Map)),[T.id,C])};return g.default.createElement(m.ComponentCompareContext.Provider,{value:A},g.default.createElement("div",{className:y.default.componentCompareContainer},N&&g.default.createElement("div",{className:y.default.loader},g.default.createElement(f.RoundLoader,null)),P&&g.default.createElement(g.default.Fragment,null,g.default.createElement("div",{className:y.default.top},g.default.createElement(h.ComponentCompareVersionPicker,null)),g.default.createElement("div",{className:y.default.bottom},g.default.createElement(R,{navSlot:e}),g.default.createElement(c.SlotRouter,{slot:n}))),I&&g.default.createElement(v.ComponentCompareBlankState,null)))}},47718:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentCompareQuery=t.ComponentCompareChangelog=t.CompareSplitLayoutPreset=t.ComponentCompareVersionPicker=t.useCompareQueryParam=t.useUpdatedUrlFromQuery=t.CompareStatusResolver=t.useComponentCompare=t.ComponentCompare=t.ComponentCompareAspects=void 0;var r=n(77119);Object.defineProperty(t,"ComponentCompareAspects",{enumerable:!0,get:function(){return r.ComponentCompareAspects}});var a=n(1776);Object.defineProperty(t,"ComponentCompare",{enumerable:!0,get:function(){return a.ComponentCompare}});var o=n(14423);Object.defineProperty(t,"useComponentCompare",{enumerable:!0,get:function(){return o.useComponentCompare}});var i=n(70521);Object.defineProperty(t,"CompareStatusResolver",{enumerable:!0,get:function(){return i.CompareStatusResolver}});var s=n(73284);Object.defineProperty(t,"useUpdatedUrlFromQuery",{enumerable:!0,get:function(){return s.useUpdatedUrlFromQuery}}),Object.defineProperty(t,"useCompareQueryParam",{enumerable:!0,get:function(){return s.useCompareQueryParam}});var c=n(49895);Object.defineProperty(t,"ComponentCompareVersionPicker",{enumerable:!0,get:function(){return c.ComponentCompareVersionPicker}});var l=n(99471);Object.defineProperty(t,"CompareSplitLayoutPreset",{enumerable:!0,get:function(){return l.CompareSplitLayoutPreset}});var u=n(83066);Object.defineProperty(t,"ComponentCompareChangelog",{enumerable:!0,get:function(){return u.ComponentCompareChangelog}});var d=n(7086);Object.defineProperty(t,"useComponentCompareQuery",{enumerable:!0,get:function(){return d.useComponentCompareQuery}})},99471:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompareSplitLayoutPreset=void 0;const a=r(n(49725)),o=r(n(55574)),i=r(n(93308));t.CompareSplitLayoutPreset=function(e){const{base:t,compare:n,className:r}=e;return a.default.createElement("div",{className:(0,o.default)([i.default.mainContainer,r])},a.default.createElement("div",{className:i.default.subContainerLeft},t),a.default.createElement("div",{className:i.default.subContainerRight},n))}},7086:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentCompareQuery=void 0;const r=n(89733),a=n(59062).gql` + query ComponentCompare($baseId: String!, $compareId: String!, $fileName: String) { + getHost { + id + compareComponent(baseId: $baseId, compareId: $compareId) { + id + code(fileName: $fileName) { + status + fileName + diffOutput + baseContent + compareContent + } + } + } + } +`;t.useComponentCompareQuery=function(e,t,n){const{data:o,loading:i}=(0,r.useDataQuery)(a,{variables:{baseId:e,compareId:t,fileName:null===n||void 0===n?void 0:n.fileName},skip:!e||!t});return{loading:i,componentCompareData:null===o||void 0===o?void 0:o.getHost.compareComponent}}},49887:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompareStatusResolver=void 0;var r=n(49887);Object.defineProperty(t,"CompareStatusResolver",{enumerable:!0,get:function(){return r.CompareStatusResolver}})},73284:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCompareQueryParam=t.useUpdatedUrlFromQuery=void 0;const r=n(33885),a=n(56843);t.useUpdatedUrlFromQuery=function(e){const t=(0,r.useQuery)(),n=(0,a.useLocation)()||{pathname:"/"},o=Object.fromEntries(t.entries()),i=Object.assign(Object.assign({},o),e),s=new URLSearchParams(i).toString();return`${n.pathname}?${s}`},t.useCompareQueryParam=function(e){const t=(0,r.useQuery)().get(e);return null!==t&&void 0!==t?t:void 0}},12770:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareVersionPicker=void 0;const s=o(n(49725)),c=i(n(99019)),l=n(24816),u=n(47718),d=n(44704),p=i(n(55574)),f=i(n(35311));t.ComponentCompareVersionPicker=function({className:e}){var t;const n=(0,s.useContext)(d.ComponentContext),r=(0,u.useComponentCompare)(),a=(0,s.useMemo)((()=>((null===n||void 0===n?void 0:n.logs)||[]).filter((e=>!e.tag)).map((e=>Object.assign(Object.assign({},e),{version:e.hash}))).reverse()),[null===n||void 0===n?void 0:n.logs]),o=(0,s.useMemo)((()=>{var e;const t=new Map;return((null===n||void 0===n?void 0:n.logs)||[]).filter((e=>e.tag)).forEach((e=>{t.set(null===e||void 0===e?void 0:e.tag,e)})),(0,c.default)(null===(e=null===n||void 0===n?void 0:n.tags)||void 0===e?void 0:e.toArray().reverse().map((e=>t.get(e.version.version)))).map((e=>Object.assign(Object.assign({},e),{version:e.tag})))}),[null===n||void 0===n?void 0:n.logs]),i=(null===r||void 0===r?void 0:r.compare.hasLocalChanges)?"workspace":null===r||void 0===r?void 0:r.compare.model.version,g=null===(t=null===r||void 0===r?void 0:r.base)||void 0===t?void 0:t.model.version,m=`base-compare-version-dropdown-${null===r||void 0===r?void 0:r.compare.model.id.toString()}`;return s.default.createElement("div",{className:f.default.componentCompareVersionPicker},s.default.createElement("div",{className:(0,p.default)(f.default.titleText,f.default.rightPad)},"Comparing"),s.default.createElement(l.VersionDropdown,{key:m,className:(0,p.default)(f.default.componentCompareVersionContainer,f.default.left,e),dropdownClassName:f.default.componentCompareDropdown,placeholderClassName:f.default.componentCompareVersionPlaceholder,menuClassName:(0,p.default)(f.default.componentCompareVersionMenu,f.default.showMenuOverNav),snaps:a,tags:o,currentVersion:g,loading:null===r||void 0===r?void 0:r.loading,overrideVersionHref:e=>(0,u.useUpdatedUrlFromQuery)({baseVersion:e}),disabled:a.concat(o).length<2,showVersionDetails:!0}),s.default.createElement("div",{className:f.default.titleText},"with"),s.default.createElement(l.VersionDropdown,{className:(0,p.default)(f.default.componentCompareVersionContainer,f.default.right),dropdownClassName:f.default.componentCompareDropdown,placeholderClassName:f.default.componentCompareVersionPlaceholder,menuClassName:f.default.componentCompareVersionMenu,snaps:a,tags:o,disabled:!0,loading:null===r||void 0===r?void 0:r.loading,currentVersion:i}))}},49895:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareVersionPicker=void 0;var r=n(12770);Object.defineProperty(t,"ComponentCompareVersionPicker",{enumerable:!0,get:function(){return r.ComponentCompareVersionPicker}})},60968:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareBlankState=void 0;const a=r(n(49725)),o=n(89889);t.ComponentCompareBlankState=function({className:e}){return a.default.createElement(o.EmptyBox,{className:e,title:"This component doesn't have multiple versions or snaps to compare.",linkText:"Learn more about tagging and snapping components",link:"https://bit.dev/docs/getting-started/collaborate/snap-component-changes"})}},14249:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareBlankState=void 0;var r=n(60968);Object.defineProperty(t,"ComponentCompareBlankState",{enumerable:!0,get:function(){return r.ComponentCompareBlankState}})},79732:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyBox=void 0;var r=n(79732);Object.defineProperty(t,"EmptyBox",{enumerable:!0,get:function(){return r.EmptyBox}})},50388:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareChangelog=void 0;const s=o(n(49725)),c=n(68677),l=n(44704),u=i(n(55574)),d=n(87351),p=n(75362),f=i(n(14936)),g=(e,t,n)=>{const[r,a]=((e,t)=>{const{date:n}=t||{},{date:r}=e||{};return(r?new Date(parseInt(r)):new Date)<=(n?new Date(parseInt(n)):new Date)?[t,e]:[e,t]})(t,n),{startingVersionIndex:o,endingVersionIndex:i}=e.reduce(((e,t,n)=>(t.hash===(null===r||void 0===r?void 0:r.hash)&&(e=Object.assign(Object.assign({},e),{startingVersionIndex:n})),t.hash===(null===a||void 0===a?void 0:a.hash)&&(e=Object.assign(Object.assign({},e),{endingVersionIndex:n})),e)),{});return e.filter(((e,t)=>t>=o&&t<=i))};t.ComponentCompareChangelog=function({className:e}){const t=(0,s.useContext)(l.ComponentContext),n=(0,d.useComponentCompare)(),{base:r,compare:a,logsByVersion:o}=n||{},i=(0,s.useMemo)((()=>((null===a||void 0===a?void 0:a.model.logs)||[]).slice().sort(p.sortByDateDsc)),[null===a||void 0===a?void 0:a.model.id.toString()]),m=(null===r||void 0===r?void 0:r.model.version)?null===o||void 0===o?void 0:o.get(null===r||void 0===r?void 0:r.model.version):void 0,h=(null===a||void 0===a?void 0:a.model.version)?null===o||void 0===o?void 0:o.get(null===a||void 0===a?void 0:a.model.version):void 0,_=(0,s.useMemo)((()=>g(i,m,h)),[null===m||void 0===m?void 0:m.hash,null===h||void 0===h?void 0:h.hash]);return s.default.createElement("div",{className:(0,u.default)(f.default.changeLogPage,e)},_.map(((e,n)=>{const r=t.latest===e.tag||t.latest===e.hash,a=t.version===e.tag||t.version===e.hash;return s.default.createElement(c.VersionBlock,{isCurrent:a,isLatest:r,key:`comp-compare-changelog-${n}`,componentId:t.id.fullName,snap:e})})))}},28984:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareChangelog=void 0;var r=n(50388);Object.defineProperty(t,"ComponentCompareChangelog",{enumerable:!0,get:function(){return r.ComponentCompareChangelog}})},93577:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompareAspectView=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(11308),u=n(52782),d=n(83351),p=n(3919),f=i(n(81440));t.CompareAspectView=function({baseAspectData:e,compareAspectData:t,name:n,className:r}){const a=(0,s.useMemo)((()=>null===n||void 0===n?void 0:n.split("/").pop()),[n]),o=s.default.createElement(d.DiffEditor,{key:`aspect-config-diff-editor-${a}`,modified:JSON.stringify(null===t||void 0===t?void 0:t.config,null,2),original:JSON.stringify(null===e||void 0===e?void 0:e.config,null,2),language:"json",className:p.darkMode,theme:"vs-dark",options:{readOnly:!0},loading:s.default.createElement("div",{className:f.default.loader},s.default.createElement(u.RoundLoader,null))}),i=s.default.createElement(d.DiffEditor,{key:`aspect-data-diff-editor-${a}`,modified:JSON.stringify(null===t||void 0===t?void 0:t.data,null,2),original:JSON.stringify(null===e||void 0===e?void 0:e.data,null,2),language:"json",className:f.default.diffEditor,theme:"vs-dark",options:{readOnly:!0},loading:s.default.createElement("div",{className:f.default.loader},s.default.createElement(u.RoundLoader,null))});return s.default.createElement("div",{key:`aspect-diff-editor-${a}`,className:(0,c.default)(f.default.componentCompareAspectViewContainer,r)},s.default.createElement("div",{className:f.default.name},s.default.createElement(l.H4,{size:"xs",className:f.default.name},s.default.createElement("span",null,a))),s.default.createElement("div",{className:f.default.componentCompareAspectDiffEditorContainer},s.default.createElement("div",{className:f.default.componentCompareAspectConfigDiff},s.default.createElement(l.H4,{size:"xxs",className:f.default.name},s.default.createElement("span",null,"Config")),o),s.default.createElement("div",{className:f.default.componentCompareAspectCalculatedDiff},s.default.createElement(l.H4,{size:"xxs",className:f.default.name},s.default.createElement("span",null,"Calculated Data")),i)))}},10224:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompareAspectView=void 0;var r=n(93577);Object.defineProperty(t,"CompareAspectView",{enumerable:!0,get:function(){return r.CompareAspectView}})},2749:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareAspects=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(33255),u=n(50666),d=n(81258),p=n(39323),f=n(52782),g=n(54429),m=n(8881),h=n(42919),_=n(75780),v=n(10224),y=n(85225),b=i(n(70845));t.ComponentCompareAspects=function({host:e,className:t}){const n=(0,_.useCompareAspectsQuery)(e),{loading:r,selectedBase:a,selectedCompare:o,selected:i,hook:R,aspectNames:E}=n,S=(0,p.useIsMobile)(),[O,w]=(0,s.useState)(!S),C=O?d.Layout.row:d.Layout.left,T=(null===R||void 0===R?void 0:R.useUpdatedUrlFromQuery)||m.useUpdatedUrlFromQuery;return s.default.createElement(h.ComponentCompareAspectsContext.Provider,{value:n},s.default.createElement(d.SplitPane,{layout:C,size:"85%",className:(0,c.default)(b.default.componentCompareAspectContainer,t)},s.default.createElement(d.Pane,{className:b.default.left},r&&s.default.createElement("div",{className:b.default.loader},s.default.createElement(f.RoundLoader,null)),r||s.default.createElement(v.CompareAspectView,{name:i,baseAspectData:a,compareAspectData:o,loading:r})),s.default.createElement(l.HoverSplitter,{className:b.default.splitter},s.default.createElement(u.Collapser,{placement:"left",isOpen:O,onMouseDown:e=>e.stopPropagation(),onClick:()=>w((e=>!e)),tooltipContent:(O?"Hide":"Show")+" aspects tree",className:b.default.collapser})),s.default.createElement(d.Pane,{className:(0,c.default)(b.default.right,b.default.dark)},s.default.createElement(g.CodeCompareTree,{fileTree:E,currentFile:i,drawerName:"ASPECTS",widgets:[y.Widget],getHref:e=>T({aspect:e.id}),onTreeNodeSelected:null===R||void 0===R?void 0:R.onClick}))))}},85225:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getAspectStatus=t.Widget=void 0;const a=r(n(49725)),o=n(61436),i=n(42919),s=n(77332);function c(e,t){const n=e=>void 0===e,r=(e,t)=>n(t)&&!n(e),a=(e,t)=>!n(t)&&n(e),i=null===e||void 0===e?void 0:e.config,s=null===e||void 0===e?void 0:e.data,c=null===t||void 0===t?void 0:t.config,l=null===t||void 0===t?void 0:t.data;return r(i,c)||r(s,l)?"deleted":a(i,c)||a(s,l)?"new":(0,o.isEqual)(i,c)&&(0,o.isEqual)(s,l)?null:"modified"}t.Widget=function({node:e}){const t=e.id,n=(0,i.useAspectCompare)();if(null===n||void 0===n?void 0:n.loading)return null;const r=null===n||void 0===n?void 0:n.base,o=null===n||void 0===n?void 0:n.compare,l=null===r||void 0===r?void 0:r.find((e=>e.aspectId===t)),u=null===o||void 0===o?void 0:o.find((e=>e.aspectId===t));if(!l&&!u)return null;const d=c(l,u);return d?a.default.createElement(s.CompareStatusResolver,{status:d}):null},t.getAspectStatus=c},12962:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAspectStatus=t.Widget=t.ComponentCompareAspects=void 0;var r=n(2749);Object.defineProperty(t,"ComponentCompareAspects",{enumerable:!0,get:function(){return r.ComponentCompareAspects}});var a=n(85225);Object.defineProperty(t,"Widget",{enumerable:!0,get:function(){return a.Widget}}),Object.defineProperty(t,"getAspectStatus",{enumerable:!0,get:function(){return a.getAspectStatus}})},35332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAspectCompare=t.ComponentCompareAspectsContext=void 0;const r=n(49725);t.ComponentCompareAspectsContext=(0,r.createContext)(void 0);t.useAspectCompare=()=>(0,r.useContext)(t.ComponentCompareAspectsContext)},42919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAspectCompare=t.ComponentCompareAspectsContext=void 0;var r=n(35332);Object.defineProperty(t,"ComponentCompareAspectsContext",{enumerable:!0,get:function(){return r.ComponentCompareAspectsContext}}),Object.defineProperty(t,"useAspectCompare",{enumerable:!0,get:function(){return r.useAspectCompare}})},75780:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GET_COMPONENT_ASPECT_DATA=t.useCompareAspectsQuery=void 0;var r=n(51711);Object.defineProperty(t,"useCompareAspectsQuery",{enumerable:!0,get:function(){return r.useCompareAspectsQuery}}),Object.defineProperty(t,"GET_COMPONENT_ASPECT_DATA",{enumerable:!0,get:function(){return r.GET_COMPONENT_ASPECT_DATA}})},51711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCompareAspectsQuery=t.GET_COMPONENT_ASPECT_DATA=void 0;const r=n(49725),a=n(59062),o=n(87351),i=n(8881),s=n(89733),c=n(2552);function l(e){return e.children&&e.children.length>0?l(e.children[0]):e}t.GET_COMPONENT_ASPECT_DATA=a.gql` + query GetComponentAspectData($id: String!, $extensionId: String!) { + getHost(id: $extensionId) { + id # used for GQL caching + get(id: $id) { + id { + name + version + scope + } + aspects { + aspectId: id + config + data + icon + } + } + } + } +`,t.useCompareAspectsQuery=function(e){var n,a,u,d,p,f,g,m,h;const _=(0,o.useComponentCompare)(),v=null===(n=null===_||void 0===_?void 0:_.base)||void 0===n?void 0:n.model,y=null===(a=null===_||void 0===_?void 0:_.compare)||void 0===a?void 0:a.model,b=null===(u=null===_||void 0===_?void 0:_.compare)||void 0===u?void 0:u.hasLocalChanges,R=null===v||void 0===v?void 0:v.id.toString(),E=b?null===y||void 0===y?void 0:y.id.fullName:null===y||void 0===y?void 0:y.id.toString(),{data:S,loading:O}=(0,s.useDataQuery)(t.GET_COMPONENT_ASPECT_DATA,{variables:{id:R,extensionId:e},skip:!(null===v||void 0===v?void 0:v.id)}),{data:w,loading:C}=(0,s.useDataQuery)(t.GET_COMPONENT_ASPECT_DATA,{variables:{id:E,extensionId:e},skip:!(null===y||void 0===y?void 0:y.id)}),T=O||C||(null===_||void 0===_?void 0:_.loading),x=(null===(p=null===(d=null===S||void 0===S?void 0:S.getHost)||void 0===d?void 0:d.get)||void 0===p?void 0:p.aspects)||[],N=(null===(g=null===(f=null===w||void 0===w?void 0:w.getHost)||void 0===f?void 0:f.get)||void 0===g?void 0:g.aspects)||[],I=(0,i.useCompareQueryParam)("aspect"),P=x.concat(N).map((e=>e.aspectId)),A=(0,c.inflateToTree)(P.map((e=>e.replace(/\\/g,"/"))),(e=>e)),D=null===(m=null===_||void 0===_?void 0:_.state)||void 0===m?void 0:m.aspects,k=null===(h=null===_||void 0===_?void 0:_.hooks)||void 0===h?void 0:h.aspects,M=(null===D||void 0===D?void 0:D.id)||I||l(A).id;return{loading:T,aspectNames:P,selectedBase:(0,r.useMemo)((()=>null===x||void 0===x?void 0:x.find((e=>e.aspectId===M))),[x,M]),selectedCompare:(0,r.useMemo)((()=>null===N||void 0===N?void 0:N.find((e=>e.aspectId===M))),[N,M]),base:x,compare:N,selected:M,hook:k,state:D}}},32483:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&c.default.createElement(_.SlotRouter,{routes:(0,R.extractLazyLoadedData)(r)||[]}),null===(n=null===a||void 0===a?void 0:a.tabs)||void 0===n?void 0:n.element))}function O({tabs:e,state:t,hooks:n}){var r,a;const o=((0,R.extractLazyLoadedData)(e)||[]).sort(y.sortTabs),i=null===(r=null===t||void 0===t?void 0:t.tabs)||void 0===r?void 0:r.id,s=null===(a=null===t||void 0===t?void 0:t.tabs)||void 0===a?void 0:a.controlled;return c.default.createElement("div",{className:E.default.navContainer},c.default.createElement("nav",{className:E.default.navigation},o.map(((e,r)=>{var a;const o=t?!!i&&!!e.id&&i===e.id:void 0;return c.default.createElement(u.TopBarNav,Object.assign({},e.props||{},{key:`compare-menu-nav-${r}-${e.id}`,active:o,onClick:w({id:e.id,hooks:n}),href:!s&&(null===(a=e.props)||void 0===a?void 0:a.href)||void 0}))}))))}function w({hooks:e,id:t}){var n;if(null===(n=null===e||void 0===e?void 0:e.tabs)||void 0===n?void 0:n.onClick)return n=>{var r,a;return null===(a=null===(r=null===e||void 0===e?void 0:e.tabs)||void 0===r?void 0:r.onClick)||void 0===a?void 0:a.call(r,t,n)}}t.ComponentCompare=function(e){const{host:t,baseId:n,compareId:r,routes:a,state:o,tabs:s,className:f,hooks:_,customUseComponent:y}=e,R=i(e,["host","baseId","compareId","routes","state","tabs","className","hooks","customUseComponent"]),O=(0,p.useCompareQueryParam)("baseVersion"),w=(0,c.useContext)(u.ComponentContext),C=(0,h.useLocation)(),T="teambit.workspace/workspace"===t,x=(0,c.useMemo)((()=>{var e;return(null===(e=w.logs)||void 0===e?void 0:e.slice().sort(b.sortByDateDsc))||[]}),[w.id.toString()]),N=0===x.length,I=!T||N||(null===C||void 0===C?void 0:C.search.includes("version"))?w.id.version:"workspace",P="workspace"===I,A=(0,c.useMemo)((()=>{const e=x.find((e=>(t,n,r)=>{if("workspace"===e||1===r.length)return!0;if(0===n)return!1;const a=n-1;return r[a].tag===e||r[a].hash===e})(I));return e}),[w.logs]),D=n||O&&w.id.changeVersion(O)||A&&w.id.changeVersion(A.tag||A.hash)||w.id,{component:k,loading:M}=(0,u.useComponent)(t,D.toString(),{customUseComponent:y}),{component:j,loading:L}=(0,u.useComponent)(t,(null===r||void 0===r?void 0:r.toString())||"",{skip:!r,customUseComponent:y}),F=M||L,B=r?j:w,U=!F&&!P&&!B&&!k,G=(0,c.useMemo)((()=>((null===B||void 0===B?void 0:B.logs)||[]).slice().reduce(v.groupByVersion,new Map)),[null===B||void 0===B?void 0:B.id.toString()]),$={compare:B&&{model:B,hasLocalChanges:P},base:k&&{model:k},loading:F,logsByVersion:G,state:o,hooks:_};return c.default.createElement(d.ComponentCompareContext.Provider,{value:$},c.default.createElement("div",Object.assign({className:(0,l.default)(E.default.componentCompareContainer,f)},R),F&&c.default.createElement("div",{className:E.default.loader},c.default.createElement(m.RoundLoader,null)),U&&c.default.createElement(g.ComponentCompareBlankState,null),!U&&c.default.createElement(S,Object.assign({},e))))}},20585:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompare=void 0;var r=n(32483);Object.defineProperty(t,"ComponentCompare",{enumerable:!0,get:function(){return r.ComponentCompare}})},93828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentCompare=t.ComponentCompareContext=void 0;const r=n(49725);t.ComponentCompareContext=(0,r.createContext)(void 0);t.useComponentCompare=()=>(0,r.useContext)(t.ComponentCompareContext)},87351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentCompare=t.ComponentCompareContext=void 0;var r=n(93828);Object.defineProperty(t,"ComponentCompareContext",{enumerable:!0,get:function(){return r.ComponentCompareContext}}),Object.defineProperty(t,"useComponentCompare",{enumerable:!0,get:function(){return r.useComponentCompare}})},8881:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUpdatedUrlFromQuery=t.useCompareQueryParam=void 0;var r=n(22930);Object.defineProperty(t,"useCompareQueryParam",{enumerable:!0,get:function(){return r.useCompareQueryParam}}),Object.defineProperty(t,"useUpdatedUrlFromQuery",{enumerable:!0,get:function(){return r.useUpdatedUrlFromQuery}})},22930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCompareQueryParam=t.useUpdatedUrlFromQuery=void 0;const r=n(33885),a=n(56843);t.useUpdatedUrlFromQuery=function(e){const t=(0,r.useQuery)(),n=(0,a.useLocation)()||{pathname:"/"},o=Object.fromEntries(t.entries()),i=Object.assign(Object.assign({},o),e),s=new URLSearchParams(i).toString();return`${n.pathname}?${s}`},t.useCompareQueryParam=function(e){const t=(0,r.useQuery)().get(e);return null!==t&&void 0!==t?t:void 0}},53381:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QUERY_COMPONENT_COMPARE=t.useComponentCompareQuery=void 0;var r=n(33527);Object.defineProperty(t,"useComponentCompareQuery",{enumerable:!0,get:function(){return r.useComponentCompareQuery}}),Object.defineProperty(t,"QUERY_COMPONENT_COMPARE",{enumerable:!0,get:function(){return r.QUERY_COMPONENT_COMPARE}})},33527:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentCompareQuery=t.QUERY_COMPONENT_COMPARE=void 0;const r=n(89733),a=n(59062);t.QUERY_COMPONENT_COMPARE=a.gql` + query ComponentCompare($baseId: String!, $compareId: String!, $fileName: String) { + getHost { + id + compareComponent(baseId: $baseId, compareId: $compareId) { + id + code(fileName: $fileName) { + status + fileName + diffOutput + baseContent + compareContent + } + } + } + } +`,t.useComponentCompareQuery=function(e,n,a){const{data:o,loading:i}=(0,r.useDataQuery)(t.QUERY_COMPONENT_COMPARE,{variables:{baseId:e,compareId:n,fileName:null===a||void 0===a?void 0:a.fileName},skip:!e||!n});return{loading:i,componentCompareData:null===o||void 0===o?void 0:o.getHost.compareComponent}}},91451:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompareSplitLayoutPreset=void 0;const a=r(n(49725)),o=r(n(55574)),i=r(n(29447));t.CompareSplitLayoutPreset=function(e){const{base:t,compare:n,className:r}=e;return a.default.createElement("div",{className:(0,o.default)([i.default.mainContainer,r])},a.default.createElement("div",{className:i.default.subContainerLeft},t),a.default.createElement("div",{className:i.default.subContainerRight},n))}},28043:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompareSplitLayoutPreset=void 0;var r=n(91451);Object.defineProperty(t,"CompareSplitLayoutPreset",{enumerable:!0,get:function(){return r.CompareSplitLayoutPreset}})},49866:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompareStatusResolver=void 0;var r=n(49866);Object.defineProperty(t,"CompareStatusResolver",{enumerable:!0,get:function(){return r.CompareStatusResolver}})},18859:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupByVersion=void 0;t.groupByVersion=(e,t)=>(e.has(t.tag||t.hash)||e.set(t.tag||t.hash,t),e)},76337:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupByVersion=void 0;var r=n(18859);Object.defineProperty(t,"groupByVersion",{enumerable:!0,get:function(){return r.groupByVersion}})},90578:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractLazyLoadedData=void 0;var r=n(88915);Object.defineProperty(t,"extractLazyLoadedData",{enumerable:!0,get:function(){return r.extractLazyLoadedData}})},88915:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractLazyLoadedData=void 0;const r=n(61436);t.extractLazyLoadedData=function(e){return(0,r.isFunction)(e)?e():e}},75362:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortByDateDsc=void 0;var r=n(51951);Object.defineProperty(t,"sortByDateDsc",{enumerable:!0,get:function(){return r.sortByDateDsc}})},51951:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortByDateDsc=void 0;t.sortByDateDsc=(e,t)=>{const{date:n}=t||{},{date:r}=e||{};return(r?new Date(parseInt(r)):new Date)>(n?new Date(parseInt(n)):new Date)?-1:1}},74406:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortTabs=void 0;var r=n(93654);Object.defineProperty(t,"sortTabs",{enumerable:!0,get:function(){return r.sortTabs}})},93654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortTabs=void 0,t.sortTabs=function({order:e},{order:t}){return(null!==e&&void 0!==e?e:0)-(null!==t&&void 0!==t?t:0)}},66070:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareVersionPicker=void 0;const s=o(n(49725)),c=i(n(99019)),l=n(24816),u=n(8881),d=n(87351),p=n(44704),f=i(n(55574)),g=i(n(69074));t.ComponentCompareVersionPicker=function({className:e}){var t,n,r,a;const o=(0,s.useContext)(p.ComponentContext),i=(0,d.useComponentCompare)(),m=(0,s.useMemo)((()=>((null===o||void 0===o?void 0:o.logs)||[]).filter((e=>!e.tag)).map((e=>Object.assign(Object.assign({},e),{version:e.hash}))).reverse()),[null===o||void 0===o?void 0:o.logs]),h=(0,s.useMemo)((()=>{var e;const t=new Map;return((null===o||void 0===o?void 0:o.logs)||[]).filter((e=>e.tag)).forEach((e=>{t.set(null===e||void 0===e?void 0:e.tag,e)})),(0,c.default)(null===(e=null===o||void 0===o?void 0:o.tags)||void 0===e?void 0:e.toArray().reverse().map((e=>t.get(e.version.version)))).map((e=>Object.assign(Object.assign({},e),{version:e.tag})))}),[null===o||void 0===o?void 0:o.logs]),_=(null===(t=null===i||void 0===i?void 0:i.compare)||void 0===t?void 0:t.hasLocalChanges)?"workspace":null===(n=null===i||void 0===i?void 0:i.compare)||void 0===n?void 0:n.model.version,v=null===(r=null===i||void 0===i?void 0:i.base)||void 0===r?void 0:r.model.version,y=`base-compare-version-dropdown-${null===(a=null===i||void 0===i?void 0:i.compare)||void 0===a?void 0:a.model.id.toString()}`;return s.default.createElement("div",{className:g.default.componentCompareVersionPicker},s.default.createElement("div",{className:(0,f.default)(g.default.titleText,g.default.rightPad)},"Comparing"),s.default.createElement(l.VersionDropdown,{key:y,className:(0,f.default)(g.default.componentCompareVersionContainer,g.default.left,e),dropdownClassName:g.default.componentCompareDropdown,placeholderClassName:g.default.componentCompareVersionPlaceholder,menuClassName:(0,f.default)(g.default.componentCompareVersionMenu,g.default.showMenuOverNav),snaps:m,tags:h,currentVersion:v,loading:null===i||void 0===i?void 0:i.loading,overrideVersionHref:e=>(0,u.useUpdatedUrlFromQuery)({baseVersion:e}),disabled:m.concat(h).length<2,showVersionDetails:!0}),s.default.createElement("div",{className:g.default.titleText},"with"),s.default.createElement(l.VersionDropdown,{className:(0,f.default)(g.default.componentCompareVersionContainer,g.default.right),dropdownClassName:g.default.componentCompareDropdown,placeholderClassName:g.default.componentCompareVersionPlaceholder,menuClassName:g.default.componentCompareVersionMenu,snaps:m,tags:h,disabled:!0,loading:null===i||void 0===i?void 0:i.loading,currentVersion:_}))}},89782:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCompareVersionPicker=void 0;var r=n(66070);Object.defineProperty(t,"ComponentCompareVersionPicker",{enumerable:!0,get:function(){return r.ComponentCompareVersionPicker}})},37473:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDeprecated=void 0;var r=n(37473);Object.defineProperty(t,"ComponentDeprecated",{enumerable:!0,get:function(){return r.ComponentDeprecated}})},89778:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentFilterWidgetProvider=t.ComponentFilterWidgetContext=void 0;const i=o(n(49725));t.ComponentFilterWidgetContext=(0,i.createContext)({filterWidgetOpen:!1,setFilterWidget:()=>{}});t.ComponentFilterWidgetProvider=({children:e})=>{const[n,r]=(0,i.useState)(!1);return i.default.createElement(t.ComponentFilterWidgetContext.Provider,{value:{filterWidgetOpen:n,setFilterWidget:r}},e)}},48535:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentTreeProvider=t.ComponentTreeContext=void 0;const i=o(n(49725));t.ComponentTreeContext=(0,i.createContext)({collapsed:!0,setCollapsed:()=>{}});t.ComponentTreeProvider=({children:e})=>{const[n,r]=(0,i.useState)(!0);return i.default.createElement(t.ComponentTreeContext.Provider,{value:{collapsed:n,setCollapsed:r}},e)}},42889:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FilterWidget=t.TreeToggleWidget=t.ComponentsDrawer=void 0;const s=o(n(49725)),c=i(n(55574)),l=n(26913),u=n(3233),d=n(95152),p=n(86624),f=i(n(91630)),g=n(10244),m=n(13349),h=n(4392),_=n(89778),v=n(48535),y=i(n(63430));t.ComponentsDrawer=class{constructor(e){var t;this.Context=({children:e})=>{var t,n;const r=(0,f.default)((null===(n=null===(t=this.plugins)||void 0===t?void 0:t.filters)||void 0===n?void 0:n.values())||[]),a=[v.ComponentTreeProvider,_.ComponentFilterWidgetProvider,[g.ComponentFiltersProvider,{filters:r}]];return s.default.createElement(p.Composer,{components:a},e)},this.renderFilters=({components:e,lanes:t})=>{const{filterWidgetOpen:n}=(0,s.useContext)(_.ComponentFilterWidgetContext),r=this.plugins.filters,a=(0,s.useMemo)((()=>r&&(0,f.default)(r.toArray().map((([e,t])=>t.map((t=>Object.assign(Object.assign({},t),{key:`${e}-${t.id}`})))))).sort(((e,t)=>{var n,r;return(null!==(n=e.order)&&void 0!==n?n:0)-(null!==(r=t.order)&&void 0!==r?r:0)}))||[]),[r]);return s.default.createElement("div",{className:(0,c.default)(y.default.filtersContainer,n&&y.default.open)},a.map((r=>s.default.createElement(r.render,{key:r.key,components:e,lanes:t,className:(0,c.default)(y.default.filter,n&&y.default.open)}))))},this.renderTree=({components:e,host:t})=>{const{collapsed:n}=(0,s.useContext)(v.ComponentTreeContext),{tree:r}=this.plugins,a=(null===r||void 0===r?void 0:r.customRenderer)&&(0,s.useCallback)(r.customRenderer(r.widgets,t),[r.widgets]);return e.length>0?s.default.createElement("div",{className:y.default.drawerTreeContainer},s.default.createElement(l.ComponentTree,{transformTree:this.transformTree?this.transformTree(t):void 0,components:e,isCollapsed:n,assumeScopeInUrl:this.assumeScopeInUrl,TreeNode:a})):null},this.setWidgets=e=>{this.widgets=(0,f.default)(null===e||void 0===e?void 0:e.values())},this.render=()=>{var e;const{loading:t,components:n}=this.useComponents(),{lanesModel:r}=(0,m.useLanes)(),a=(0,s.useContext)(g.ComponentFilterContext),o=(null===a||void 0===a?void 0:a.filters)||[],i=(0,s.useMemo)((()=>(0,g.runAllFilters)(o,{components:n,lanes:r})),[o,n,r]),l=this.renderFilters({components:n,lanes:r}),p=null===(e=this.useHost)||void 0===e?void 0:e.call(this),f=this.renderTree({components:i,host:p}),_=s.default.createElement("span",{className:(0,c.default)(u.mutedItalic,d.ellipsis,y.default.emptyDrawer)},this.emptyMessage);return t?s.default.createElement(h.ComponentTreeLoader,null):s.default.createElement("div",{key:this.id,className:y.default.drawerContainer},l,f,0===i.length&&_)},Object.assign(this,e),this.useComponents=e.useComponents,this.emptyMessage=e.emptyMessage,this.plugins=e.plugins||{},this.setWidgets(null===(t=e.plugins)||void 0===t?void 0:t.drawerWidgets),this.assumeScopeInUrl=e.assumeScopeInUrl||!1,this.useHost=e.useHost,this.transformTree=e.transformTree}},t.TreeToggleWidget=function(){const{collapsed:e,setCollapsed:t}=(0,s.useContext)(v.ComponentTreeContext),n=e?"https://static.bit.dev/bit-icons/expand.svg":"https://static.bit.dev/bit-icons/collapse.svg";return s.default.createElement("div",{className:(0,c.default)(y.default.widgetIcon,!e&&y.default.open)},s.default.createElement("img",{src:n,onClick:()=>t(!e)}))},t.FilterWidget=function(){const{filterWidgetOpen:e,setFilterWidget:t}=(0,s.useContext)(_.ComponentFilterWidgetContext);return s.default.createElement("div",{className:(0,c.default)(y.default.widgetIcon,y.default.filterWidget,e&&y.default.open)},s.default.createElement("img",{src:"https://static.bit.dev/bit-icons/filter.svg",onClick:()=>t(!e)}))}},50096:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentTreeProvider=t.ComponentTreeContext=t.ComponentFilterWidgetProvider=t.ComponentFilterWidgetContext=t.TreeToggleWidget=t.FilterWidget=t.ComponentsDrawer=void 0;var r=n(42889);Object.defineProperty(t,"ComponentsDrawer",{enumerable:!0,get:function(){return r.ComponentsDrawer}}),Object.defineProperty(t,"FilterWidget",{enumerable:!0,get:function(){return r.FilterWidget}}),Object.defineProperty(t,"TreeToggleWidget",{enumerable:!0,get:function(){return r.TreeToggleWidget}});var a=n(89778);Object.defineProperty(t,"ComponentFilterWidgetContext",{enumerable:!0,get:function(){return a.ComponentFilterWidgetContext}}),Object.defineProperty(t,"ComponentFilterWidgetProvider",{enumerable:!0,get:function(){return a.ComponentFilterWidgetProvider}});var o=n(48535);Object.defineProperty(t,"ComponentTreeContext",{enumerable:!0,get:function(){return o.ComponentTreeContext}}),Object.defineProperty(t,"ComponentTreeProvider",{enumerable:!0,get:function(){return o.ComponentTreeProvider}})},40886:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.runAllFilters=t.ComponentFiltersProvider=t.useComponentFilters=t.useComponentFilter=t.ComponentFilterContext=void 0;const i=o(n(49725)),s=n(61436);t.ComponentFilterContext=(0,i.createContext)(void 0);const c=(e,t)=>{e.setFilters((e=>e.map((e=>e.id===(null===t||void 0===t?void 0:t.id)?t:e))))};t.useComponentFilter=function(e,n){const r=(0,i.useContext)(t.ComponentFilterContext),a=null===r||void 0===r?void 0:r.filters.find((t=>t.id===e));if((0,i.useEffect)((()=>{if(a&&n){const e=Object.assign(Object.assign({},a),{state:n});c(r,e)}}),[e]),!r||!a)return;return[a,e=>{const t=(0,s.isFunction)(e)?e(a):e;c(r,t)}]},t.useComponentFilters=function(){const e=(0,i.useContext)(t.ComponentFilterContext);return e?[e.filters,e.setFilters]:void 0};t.ComponentFiltersProvider=({children:e,filters:n})=>{const[r,a]=(0,i.useState)(n||[]);return i.default.createElement(t.ComponentFilterContext.Provider,{value:{filters:r,setFilters:a}},e)};t.runAllFilters=(e,{components:t,lanes:n})=>t.filter((t=>e.every((e=>e.match({component:t,lanes:n},e.state)))))},10244:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentFilters=t.useComponentFilter=t.runAllFilters=t.ComponentFilterContext=t.ComponentFiltersProvider=void 0;var r=n(40886);Object.defineProperty(t,"ComponentFiltersProvider",{enumerable:!0,get:function(){return r.ComponentFiltersProvider}}),Object.defineProperty(t,"ComponentFilterContext",{enumerable:!0,get:function(){return r.ComponentFilterContext}}),Object.defineProperty(t,"runAllFilters",{enumerable:!0,get:function(){return r.runAllFilters}}),Object.defineProperty(t,"useComponentFilter",{enumerable:!0,get:function(){return r.useComponentFilter}}),Object.defineProperty(t,"useComponentFilters",{enumerable:!0,get:function(){return r.useComponentFilters}})},25328:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecateFilter=void 0;const a=r(n(55574)),o=r(n(49725)),i=n(36164),s=n(10244),c=r(n(21464));t.DeprecateFilter={id:"deprecate",match:({component:e},t)=>{var n;return t||!(null===(n=e.deprecation)||void 0===n?void 0:n.isDeprecate)},state:!1,order:0,render:function({className:e}){const n=(0,s.useComponentFilter)(t.DeprecateFilter.id);if(!n)return null;const[r,l]=n,u=r.state;return o.default.createElement("div",{className:(0,a.default)(c.default.deprecateFilter,u&&c.default.active,e)},o.default.createElement("div",{className:c.default.filterIcon},o.default.createElement("img",{src:"https://static.bit.dev/bit-icons/deprecated.svg"}),o.default.createElement("span",{className:c.default.filterIconLabel},"Deprecated")),o.default.createElement("div",null,o.default.createElement(i.Toggle,{defaultChecked:u,onInputChanged:()=>l((e=>Object.assign(Object.assign({},e),{state:!u})))})))}}},62759:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecateFilter=void 0;var r=n(25328);Object.defineProperty(t,"DeprecateFilter",{enumerable:!0,get:function(){return r.DeprecateFilter}})},15158:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EnvsFilter=void 0;const s=o(n(49725)),c=n(74504),l=n(44704),u=n(71105),d=i(n(55574)),p=n(95152),f=n(96118),g=n(56843),m=n(10244),h=i(n(7401));t.EnvsFilter={id:"envs",match:({component:e},t)=>{var n;const{envsState:r}=t,a=[...r.values()].filter((e=>e.active)).map((e=>e.id));if(0===a.length)return!0;const o=e.environment&&(null===(n=l.ComponentID.tryFromString(e.environment.id))||void 0===n?void 0:n.toStringWithoutVersion());return!!o&&a.indexOf(o)>=0},state:{envsState:new Map,dropdownState:!1},order:1,render:function({components:e,className:n,lanes:r}){var a,o;const[i=[]]=(0,m.useComponentFilters)()||[],u=i.filter((e=>e.id!==t.EnvsFilter.id)),p=(0,s.useMemo)((()=>(0,m.runAllFilters)(u,{components:e,lanes:r})),[u,null===(a=null===r||void 0===r?void 0:r.viewedLane)||void 0===a?void 0:a.id.toString()]),f=(e=>(0,s.useMemo)((()=>{const t={dropdownState:!1,envsState:new Map},n=new Set,r=e.filter((e=>{const t=e.environment&&l.ComponentID.tryFromString(e.environment.id);if(!t)return!1;const r=t.toStringWithoutVersion();return!n.has(r)&&(n.add(r),!0)})).map((e=>{var t,n;const r=l.ComponentID.fromString(null===(t=e.environment)||void 0===t?void 0:t.id);return{displayName:r.name,id:r.toStringWithoutVersion(),description:`${r.scope}${r.namespace?"/".concat(r.namespace):""}`,icon:null===(n=e.environment)||void 0===n?void 0:n.icon,componentId:r}}));return r.forEach((e=>{t.envsState.set(e.id,Object.assign(Object.assign({},e),{active:!0}))})),t}),[e]))(p),g=(0,m.useComponentFilter)(t.EnvsFilter.id,f),y=f.envsState,[b,R]=g||[];(0,s.useEffect)((()=>{null===R||void 0===R||R((e=>(e.state=f,e)))}),[p.length,null===(o=null===r||void 0===r?void 0:r.viewedLane)||void 0===o?void 0:o.id.toString()]);const E=[];y.forEach((e=>{var t;E.push({value:e.id,icon:e.icon,description:e.description,checked:!!(null===(t=null===b||void 0===b?void 0:b.state.envsState.get(e.id))||void 0===t?void 0:t.active),element:s.default.createElement(v,Object.assign({},e))})}));return s.default.createElement("div",{className:(0,d.default)(h.default.envsFilterContainer,n)},s.default.createElement(c.MultiSelect,{itemsList:E,placeholder:s.default.createElement(_,null),onSubmit:()=>{null===R||void 0===R||R((e=>(e.state.dropdownState=!1,e)))},onCheck:(e,t)=>{const n=t.target.checked;null===R||void 0===R||R((t=>{n&&!t.state.dropdownState&&(t.state.dropdownState=!0);const r=t.state.envsState.get(e);return r?(t.state.envsState.set(e,Object.assign(Object.assign({},r),{active:n})),t):t}))},onClear:()=>{null===R||void 0===R||R((e=>(e.state.envsState.forEach(((t,n)=>{e.state.envsState.set(n,Object.assign(Object.assign({},t),{active:!1}))})),e)))},onChange:(e,t)=>{null===R||void 0===R||R((e=>(e.state.dropdownState=t,e)))},open:!!(null===b||void 0===b?void 0:b.state.dropdownState),dropdownBorder:!1,className:h.default.envFilterDropdownContainer,dropClass:h.default.envFilterDropdown}))}};function _(){return s.default.createElement("div",{className:h.default.filterIcon},s.default.createElement("img",{src:"https://static.bit.dev/bit-icons/env.svg"}),s.default.createElement("span",{className:h.default.filterIconLabel},"Environments"),s.default.createElement("div",{className:h.default.dropdownArrow},s.default.createElement("img",{src:"https://static.bit.dev/bit-icons/fat-arrow-down.svg"})))}function v({displayName:e,icon:t,description:n,componentId:r,id:a}){return s.default.createElement(f.Tooltip,{placement:"right",content:s.default.createElement(g.Link,{className:h.default.envLink,href:u.ComponentUrl.toUrl(r,{includeVersion:!1}),external:!0},a)},s.default.createElement("div",{className:h.default.envDropdownItemContainer},s.default.createElement("div",{className:h.default.envDropdownItem},s.default.createElement(p.Ellipsis,null,e),s.default.createElement("div",{className:h.default.envDropdownItemIconContainer},s.default.createElement("img",{className:h.default.envDropdownItemIcon,src:t}))),s.default.createElement("div",{className:h.default.description},s.default.createElement(p.Ellipsis,{className:h.default.descriptionText},n))))}},51784:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EnvsFilter=void 0;var r=n(15158);Object.defineProperty(t,"EnvsFilter",{enumerable:!0,get:function(){return r.EnvsFilter}})},9026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShowMainFilter=void 0;var r=n(83207);Object.defineProperty(t,"ShowMainFilter",{enumerable:!0,get:function(){return r.ShowMainFilter}})},83207:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ShowMainFilter=void 0;const a=r(n(55574)),o=r(n(49725)),i=n(36164),s=n(10244),c=n(82404),l=r(n(67127));function u({className:e,lanes:n}){var r;const u=null===(r=null===n||void 0===n?void 0:n.viewedLane)||void 0===r?void 0:r.id.isDefault(),d=(0,s.useComponentFilter)((0,t.ShowMainFilter)().id);if(u||!d)return null;const[p,f]=d,g=p.state;return o.default.createElement("div",{className:(0,a.default)(l.default.onLaneFilter,g&&l.default.active,e)},o.default.createElement("div",{className:l.default.filterIcon},o.default.createElement(c.LaneIcon,null),o.default.createElement("span",{className:l.default.filterIconLabel},"Show main")),o.default.createElement("div",null,o.default.createElement(i.Toggle,{defaultChecked:g,onInputChanged:()=>f((e=>Object.assign(Object.assign({},e),{state:!g})))})))}t.ShowMainFilter=(e=!1)=>({id:"onLane",match:({component:e,lanes:t},n)=>{var r;if((null===(r=null===t||void 0===t?void 0:t.viewedLane)||void 0===r?void 0:r.id.isDefault())||n)return!0;return!!(null===t||void 0===t?void 0:t.isInViewedLane(e.id,!0))},state:e,order:2,render:u})},25847:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);at===h.BadgePosition.Title&&!e.position||e.position===t)))||void 0===a?void 0:a.sort(((e,t)=>(null===e||void 0===e?void 0:e.weight)-(null===t||void 0===t?void 0:t.weight))))||void 0===i?void 0:i.map(((e,t)=>o.default.createElement(e.component,{key:t,componentDescriptor:n,legacyComponentModel:r}))))}t.ComponentOverview=function(e){var{displayName:t,abstract:n,titleBadges:a,labels:y,packageName:b,elementsUrl:R,componentDescriptor:E,component:S}=e,O=r(e,["displayName","abstract","titleBadges","labels","packageName","elementsUrl","componentDescriptor","component"]);const w=null===S||void 0===S?void 0:S.id,C=[{component:function(){return o.default.createElement("span",null,"Component ID")},content:o.default.createElement(u.CopyBox,{className:_.default.copyBox},w?w.toStringWithoutVersion():"")},{component:function(){return o.default.createElement("span",null,"Package")},content:o.default.createElement(u.CopyBox,{className:_.default.copyBox},b)}];let T=R;if(T&&!T.startsWith("http")){const e=g.isBrowser?window.location.origin:void 0;T=e&&R?`${e}${R}`:void 0,T&&C.push({component:function(){return o.default.createElement("span",null,"Elements url")},content:o.default.createElement(u.CopyBox,{className:_.default.copyBox},T)})}return o.default.createElement(l.Section,Object.assign({},O),o.default.createElement("div",{className:i.textColumn},o.default.createElement(m.Row,{className:_.default.titleRow},o.default.createElement("div",{className:_.default.componentTitle},o.default.createElement(s.H1,null,t)),o.default.createElement(v,{position:h.BadgePosition.Title,componentDescriptor:E,component:S,badges:a})),o.default.createElement(m.Row,null,n&&o.default.createElement(o.default.Fragment,null,o.default.createElement(f.Subtitle,{className:_.default.subTitle},n),o.default.createElement(v,{position:h.BadgePosition.SubTitle,componentDescriptor:E,component:S,badges:a}))),o.default.createElement(m.Row,null,o.default.createElement(c.LabelList,null,y),o.default.createElement(v,{position:h.BadgePosition.Labels,componentDescriptor:E,component:S,badges:a})),o.default.createElement(m.Row,null,o.default.createElement("div",{className:_.default.contentTabs},o.default.createElement(p.ContentTabs,{priority:"folder",tabs:C,navClassName:_.default.nav,tabClassName:_.default.tab})),o.default.createElement(v,{position:h.BadgePosition.Package,componentDescriptor:E,component:S,badges:a}))),o.default.createElement(d.Separator,{isPresentational:!0}))},t.BadgeSection=v},51176:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BadgeSection=t.ComponentOverview=void 0;var r=n(25847);Object.defineProperty(t,"ComponentOverview",{enumerable:!0,get:function(){return r.ComponentOverview}}),Object.defineProperty(t,"BadgeSection",{enumerable:!0,get:function(){return r.BadgeSection}})},1447:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentSize=void 0;var r=n(1447);Object.defineProperty(t,"ComponentSize",{enumerable:!0,get:function(){return r.ComponentSize}})},73430:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOverrideColor=void 0,t.getOverrideColor=function({issuesCount:e,isModified:t,isNew:n}){return e>0?"error":t&&!n?"modified":""}},41633:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentStatusResolver=void 0;const a=r(n(49725)),o=r(n(55574)),i=n(68820),s=n(79396),c=n(82404),l=n(73430),u=r(n(95624));t.ComponentStatusResolver=function({status:e,issuesCount:t=0,isInCurrentLane:n}){if(!e)return null;const r=e.modifyInfo.hasModifiedFiles,d=(0,l.getOverrideColor)({issuesCount:t,isModified:r,isNew:e.isNew});return a.default.createElement(s.StatusTooltip,{status:e,issuesCount:t,isInCurrentLane:n},a.default.createElement("div",{className:u.default.statusLine},t>0&&a.default.createElement("div",{className:(0,o.default)(u.default.errorBlock,u.default.error)},a.default.createElement("span",null,t)),e.isNew&&!e.isOutdated&&a.default.createElement(i.ComponentStatus,{className:u.default[d],status:"new"}),r&&!e.isNew&&a.default.createElement(i.ComponentStatus,{className:u.default[d],status:"modified"}),e.isStaged&&a.default.createElement(i.ComponentStatus,{className:u.default[d],status:"staged"}),e.isOutdated&&a.default.createElement(i.ComponentStatus,{className:u.default[d],status:"updates"}),e.modifyInfo.hasModifiedDependencies&&a.default.createElement(i.ComponentStatus,{className:u.default[d],status:"dependency"}),n&&a.default.createElement(c.LaneIcon,null)))}},8527:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentStatusResolver=void 0;var r=n(41633);Object.defineProperty(t,"ComponentStatusResolver",{enumerable:!0,get:function(){return r.ComponentStatusResolver}})},17289:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentStatus=void 0;var r=n(17289);Object.defineProperty(t,"ComponentStatus",{enumerable:!0,get:function(){return r.ComponentStatus}})},13993:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StatusTooltip=void 0;const a=r(n(49725)),o=n(96118),i=r(n(75810));t.StatusTooltip=function({status:e,issuesCount:t,isInCurrentLane:n,children:r}){if(!e)return r;const{isNew:s,isStaged:c,isOutdated:l,modifyInfo:u={}}=e,{hasModifiedDependencies:d,hasModifiedFiles:p}=u;if(!s&&!c&&!d&&!p&&!l&&!n)return null;const f=a.default.createElement("ul",{className:i.default.list},t>0&&a.default.createElement("li",null,`${t} issue${t>1?"s":""} found`),s&&!l&&a.default.createElement("li",null,"New component"),p&&a.default.createElement("li",null,"Modified files"),c&&a.default.createElement("li",null,"Staged component"),l&&a.default.createElement("li",null,"Updates pending"),d&&a.default.createElement("li",null,"Modified dependencies"),n&&a.default.createElement("li",null,"On Current Lane"));return a.default.createElement(o.Tooltip,{className:i.default.tooltip,placement:"right",content:f},r)}},79396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusTooltip=void 0;var r=n(13993);Object.defineProperty(t,"StatusTooltip",{enumerable:!0,get:function(){return r.StatusTooltip}})},18922:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationIcon=void 0;var r=n(18922);Object.defineProperty(t,"DeprecationIcon",{enumerable:!0,get:function(){return r.DeprecationIcon}})},32774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JobStatus=void 0,function(e){e.fail="fail",e.pass="pass",e.running="running",e.pending="pending"}(t.JobStatus||(t.JobStatus={}))},68677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JobStatus=t.VersionBlock=void 0;var r=n(73916);Object.defineProperty(t,"VersionBlock",{enumerable:!0,get:function(){return r.VersionBlock}});var a=n(32774);Object.defineProperty(t,"JobStatus",{enumerable:!0,get:function(){return a.JobStatus}})},73916:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a({displayName:y,email:b})),[a]),N=(0,f.useMemo)((()=>O?new Date(parseInt(O)).toString():(new Date).toString()),[O]);return f.default.createElement("div",{className:(0,p.default)(_.default.versionWrapper,r)},f.default.createElement("div",{className:_.default.left},f.default.createElement(d.Labels,{isLatest:n,isCurrent:s}),f.default.createElement(u.Link,{className:_.default.link,href:`~tests?version=${T}`},"Tests"),f.default.createElement(u.Link,{className:_.default.link,href:`~compositions?version=${T}`},"Compositions"),f.default.createElement("div",{className:_.default.placeholder})),f.default.createElement("div",Object.assign({className:(0,p.default)(_.default.right,r)},v),f.default.createElement(g.Tooltip,{placement:"right",content:S},f.default.createElement(u.Link,{className:_.default.titleLink,href:`${C}/${o}?version=${T}`},f.default.createElement(c.H3,{size:"xs",className:_.default.versionTitle},E?`v${E}`:S))),f.default.createElement(l.Contributors,{contributors:[x||{}],timestamp:N}),function(e){return e&&""!==e?f.default.createElement("div",{className:_.default.commitMessage},e):f.default.createElement("div",{className:_.default.emptyMessage},"No commit message")}(R)))}},24816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VersionDropdown=void 0;var r=n(88275);Object.defineProperty(t,"VersionDropdown",{enumerable:!0,get:function(){return r.VersionDropdown}})},71969:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LaneInfo=void 0;var r=n(52531);Object.defineProperty(t,"LaneInfo",{enumerable:!0,get:function(){return r.LaneInfo}})},52531:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LaneInfo=void 0;const a=n(76863),o=r(n(49725)),i=n(88582),s=n(25314),c=r(n(73015));t.LaneInfo=function({id:e,currentLane:t}){const n=t&&e.isEqual(t.id);return o.default.createElement("div",{key:e.toString()},o.default.createElement(i.MenuLinkItem,{active:n,href:a.LanesModel.getLaneUrl(e),className:c.default.versionRow},o.default.createElement("span",null,o.default.createElement(s.Icon,{className:c.default.laneIcon,of:"lane"}),e.toString())))}},31097:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DetailedVersion=t.SimpleVersion=void 0;const s=o(n(49725)),c=n(95152),l=i(n(55574)),u=n(25314),d=n(82051),p=n(5220),f=i(n(89382)),g=(e,t,n)=>"workspace"===e||"new"===e?{version:e}:((e,t)=>t.find((t=>t.tag===e)))(e,t)||((e,t)=>(t||[]).find((t=>t.hash===e)))(e,n);t.SimpleVersion=function({currentVersion:e,className:t,disabled:n,tags:r,snaps:a}){const o=(0,s.useMemo)((()=>(a||[]).concat(r).length>1),[r,a]),i=(0,s.useMemo)((()=>g(e,r,a)),[e,r,a]);return s.default.createElement("div",{className:(0,l.default)(f.default.simple,t,n&&f.default.disabled)},s.default.createElement(c.Ellipsis,{className:(0,l.default)(f.default.versionName,(null===i||void 0===i?void 0:i.tag)&&f.default.tag,!(null===i||void 0===i?void 0:i.tag)&&f.default.snap)},e),o&&s.default.createElement(u.Icon,{of:"fat-arrow-down"}))},t.DetailedVersion=function({currentVersion:e,className:t,disabled:n,snaps:r,tags:a}){const o=(0,s.useMemo)((()=>(r||[]).concat(a).length>1),[a,r]),i=(0,s.useMemo)((()=>g(e,a,r)),[e,a,r]),m=(0,s.useMemo)((()=>(null===i||void 0===i?void 0:i.date)?new Date(parseInt(i.date)).toString():(new Date).toString()),[null===i||void 0===i?void 0:i.date]),h=(0,s.useMemo)((()=>({displayName:null===i||void 0===i?void 0:i.username,email:null===i||void 0===i?void 0:i.email})),[i]);return s.default.createElement("div",{className:(0,l.default)(f.default.detailed,t,n&&f.default.disabled)},s.default.createElement(p.UserAvatar,{size:24,account:h,className:f.default.versionUserAvatar,showTooltip:!0}),s.default.createElement(c.Ellipsis,{className:(0,l.default)(f.default.versionName,(null===i||void 0===i?void 0:i.tag)&&f.default.tag,!(null===i||void 0===i?void 0:i.tag)&&f.default.snap)},e),(_=null===i||void 0===i?void 0:i.message)&&""!==_?s.default.createElement(c.Ellipsis,{className:f.default.commitMessage},_):s.default.createElement(c.Ellipsis,{className:f.default.emptyMessage},"No commit message"),s.default.createElement(c.Ellipsis,{className:f.default.versionTimestamp},s.default.createElement(d.TimeAgo,{date:m})),o&&s.default.createElement(u.Icon,{of:"fat-arrow-down"}));var _}},88275:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);at&&T((e=>e+1)),PlaceholderComponent:e=>{var{children:t}=e,n=i(e,["children"]);return c.default.createElement("div",Object.assign({},n,{className:_}),t)},placeholder:O},l&&c.default.createElement(f.LineSkeleton,{className:m.default.loading,count:6}),l||c.default.createElement(b,{className:R,key:C,tags:n,snaps:t,lanes:r,currentVersion:a,latestVersion:o,localVersion:s,currentLane:d,overrideVersionHref:p,showVersionDetails:E})))};const y=["TAG","SNAP","LANE"];function b(e){var{tags:n,snaps:r,lanes:a,currentVersion:o,localVersion:s,latestVersion:u,currentLane:f,overrideVersionHref:v,showVersionDetails:b}=e,R=i(e,["tags","snaps","lanes","currentVersion","localVersion","latestVersion","currentLane","overrideVersionHref","showVersionDetails"]);const E=y.map((e=>{switch(e){case"SNAP":return{name:e,payload:r||[]};case"LANE":return{name:e,payload:a||[]};default:return{name:e,payload:n||[]}}})).filter((e=>e.payload.length>0)),[S,O]=(0,c.useState)((null===f||void 0===f?void 0:f.components.some((e=>e.version===o)))?E.findIndex((e=>"LANE"===e.name)):(r||[]).some((e=>e.version===o))?E.findIndex((e=>"SNAP"===e.name)):0),w=E.length>1,C=w?"Switch to view tags, snaps, or lanes":`Switch between ${E[0].name.toLocaleLowerCase()}s`;return c.default.createElement("div",Object.assign({},R),c.default.createElement("div",{className:m.default.top},c.default.createElement("div",{className:(0,g.default)(m.default.titleContainer,m.default.title)},C),s&&c.default.createElement(l.MenuLinkItem,{href:"?",active:o===t.LOCAL_VERSION,className:(0,g.default)(m.default.versionRow,m.default.localVersion)},c.default.createElement("div",{className:m.default.version},c.default.createElement(p.UserAvatar,{size:24,account:{},className:m.default.versionUserAvatar}),c.default.createElement("span",{className:m.default.versionName},t.LOCAL_VERSION)))),c.default.createElement("div",{className:(0,g.default)(w&&m.default.tabs)},w&&E.map((({name:e},t)=>c.default.createElement(d.Tab,{className:m.default.tab,key:e,isActive:S===t,onClick:()=>O(t)},e)))),c.default.createElement("div",{className:m.default.versionContainer},"LANE"===E[S].name&&E[S].payload.map((e=>c.default.createElement(_.LaneInfo,Object.assign({key:e.id,currentLane:f},e)))),"LANE"!==E[S].name&&E[S].payload.map((e=>c.default.createElement(h.VersionInfo,Object.assign({key:e.version,currentVersion:o,latestVersion:u,overrideVersionHref:v,showDetails:b},e))))))}},81343:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VersionInfo=void 0;var r=n(39600);Object.defineProperty(t,"VersionInfo",{enumerable:!0,get:function(){return r.VersionInfo}})},39600:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VersionInfo=void 0;const s=n(88582),c=n(82051),l=n(68802),u=o(n(49725)),d=n(5220),p=n(95152),f=i(n(55574)),g=i(n(63761));t.VersionInfo=function({version:e,currentVersion:t,latestVersion:n,date:r,username:a,email:o,overrideVersionHref:i,showDetails:m,message:h,tag:_}){const v=e===t,y=(0,u.useMemo)((()=>({displayName:a,email:o})),[e]),b=(0,u.useMemo)((()=>r?new Date(parseInt(r)).toString():(new Date).toString()),[r]),R=(0,u.useRef)(null);(0,u.useEffect)((()=>{var e;v&&(null===(e=R.current)||void 0===e||e.scrollIntoView({block:"nearest"}))}),[v]);const E=i?i(e):`?version=${e}`;return u.default.createElement("div",{ref:R},u.default.createElement(s.MenuLinkItem,{active:v,href:E,className:g.default.versionRow},u.default.createElement("div",{className:g.default.version},u.default.createElement(d.UserAvatar,{size:24,account:y,className:g.default.versionUserAvatar,showTooltip:!0}),u.default.createElement(p.Ellipsis,{className:(0,f.default)(g.default.versionName,_&&g.default.tag,!_&&g.default.snap)},e),e===n&&u.default.createElement(l.VersionLabel,{className:g.default.label,status:"latest"}),m&&function(e){return e&&""!==e?u.default.createElement(p.Ellipsis,{className:g.default.commitMessage},e):u.default.createElement(p.Ellipsis,{className:g.default.emptyMessage},"No commit message")}(h)),u.default.createElement(p.Ellipsis,{className:g.default.versionTimestamp},u.default.createElement(c.TimeAgo,{date:b}))))}},68802:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Labels=t.VersionLabel=void 0;var r=n(50885);Object.defineProperty(t,"VersionLabel",{enumerable:!0,get:function(){return r.VersionLabel}}),Object.defineProperty(t,"Labels",{enumerable:!0,get:function(){return r.Labels}})},50885:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AspectEntry=void 0;class n{constructor(e,t){this.id=e,this.legacyEntry=t}get legacy(){return this.legacyEntry}get isLegacy(){var e;return!(null===(e=this.config)||void 0===e||!e.__legacy)}get config(){return this.legacy.config}set config(e){this.legacy.config=e}get data(){return this.legacy.data}get isRemoved(){return this.legacy.isRemoved}set data(e){this.legacy.data=e}transform(e){const t=this.clone();return t.data=e,new n(this.id,t.legacy)}clone(){return new n(this.id,this.legacyEntry.clone())}serialize(){return{id:this.id.toString(),config:this.config,data:this.data,icon:"https://static.bit.dev/extensions-icons/default.svg"}}}t.AspectEntry=n},49746:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(6051);return i=function(){return e},e}function s(){const e=n(11651);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.AspectSection=void 0;t.AspectSection=class{constructor(){(0,a().default)(this,"route",{path:"~aspect",element:o().default.createElement(s().AspectPage,null)}),(0,a().default)(this,"navigationLink",{href:"~aspect",children:o().default.createElement(i().MenuWidgetIcon,{icon:"configuration",tooltipContent:"Configuration"}),displayName:"Configuration"}),(0,a().default)(this,"order",50)}}},10535:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(94873);return a=function(){return e},e}function o(){const e=n(20074);return o=function(){return e},e}function i(){const e=r(n(45919));return i=function(){return e},e}function s(){const e=n(61140);return s=function(){return e},e}n(41248),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class c extends a().MemoryFS{constructor(e){super(),this.files=e}get hash(){return""}byRegex(e){return this.files.filter((t=>t.path.match(e)))}byGlob(e){const{includePatterns:t,excludePatterns:n}=(0,s().splitPatterns)(e);return this.files.filter((e=>(0,s().matchPatterns)(e.relative,t,n)))}toObject(){return this.files.map((e=>({path:e.path,contents:e.contents})))}static fromVinyls(e){const t=new c(e);return e.forEach((e=>{let n=e.relativeDir;n.startsWith("/")||(n=i().default.join("/",n)),t.mkdirpSync(n),t.writeFileSync(`/${e.relative}`,(0,o().auto)(e.contents||""))})),t}}t.default=c},7681:(e,t,n)=>{"use strict";n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentMap=void 0;class r{constructor(e){this.hashMap=e}byComponent(e){return this.hashMap.get(e.id.toString())}get components(){return this.toArray().map((([e])=>e))}get(e){return this.hashMap.get(e.id.toString())}getValueByComponentId(e){const t=this.hashMap.get(e.toString());return t?t[1]:null}toArray(){return Array.from(this.hashMap.values())}map(e){const t=this.toArray().map((([t,n])=>{const r=e(n,t);return[t.id.toString(),[t,r]]}));return new r(new Map(t))}forEach(e){this.toArray().forEach((([t,n])=>{e(n,t)}))}flattenValue(){return this.toArray().reduce(((e,[,t])=>e=e.concat(t)),[])}filter(e){const t=this.toArray().filter((([,t])=>e(t))).map((([e,t])=>[e.id.toString(),[e,t]]));return new r(new Map(t))}keys(){return this.hashMap.keys()}static create(e){const t=e.map((([e,t])=>[e.id.toString(),[e,t]]));return new r(new Map(t))}static as(e,t){const n=e.map((e=>[e.id.toString(),[e,t(e)]]));return new r(new Map(n))}}t.ComponentMap=r},35575:(e,t,n)=>{"use strict";function r(){const e=n(7681);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentMap",{enumerable:!0,get:function(){return r().ComponentMap}})},20163:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ComponentAspect=void 0;const a=r().Aspect.create({id:"teambit.component/component",dependencies:[],defaultConfig:{}});t.ComponentAspect=a;var o=a;t.default=o},33988:(e,t,n)=>{"use strict";function r(){const e=n(47093);return r=function(){return e},e}function a(){const e=n(86937);return a=function(){return e},e}function o(){const e=n(61436);return o=function(){return e},e}function i(){const e=n(28685);return i=function(){return e},e}function s(){const e=n(34864);return s=function(){return e},e}function c(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return c=function(e){this.s=e,this.n=e.next},c.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new c(e)}n(29119),n(35717),n(31567),n(15137),n(92619),n(41248),Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;t.Component=class{constructor(e,t=null,n,r=new(i().TagMap),a){this.id=e,this.head=t,this._state=n,this.tags=r,this.factory=a}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(e){this._state=e}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get headTag(){if(this.head)return this.tags.byHash(this.head.hash)}get latest(){if(this.head)try{return this.tags.getLatest()}catch(e){if(e instanceof s().CouldNotFindLatest)return this.head.hash;throw e}}get(e){var t;return null===(t=this.state.aspects.get(e))||void 0===t?void 0:t.serialize()}async getLogs(e){const t=await this.factory.getLogs(this.id,!1,null===e||void 0===e?void 0:e.head);if(!e)return t;const{type:n,limit:r,offset:a,sort:i}=e;let s=n&&t.filter((e=>"tag"===n?e.tag:"snap"!==n||!e.tag))||t;return"asc"!==i&&(s=s.reverse()),r&&(s=(0,o().slice)(s,a,r+(a||0))),s}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map((e=>(0,r().capitalize)(e))).join(" ")}tag(e){}isModified(){return this.factory.isModified(this)}isOutdated(){var e;if(!this.latest)return!1;const t=this.tags.byVersion(this.latest);return!!t&&(null===(e=this.head)||void 0===e?void 0:e.hash)!==(null===t||void 0===t?void 0:t.hash)}isNew(){return Promise.resolve(null===this.head)}loadState(e){return this.factory.getState(this.id,e)}loadSnap(e){var t;const n=e||(null===(t=this.head)||void 0===t?void 0:t.hash);if(!n)throw new(a().BitError)("could not load snap for new components");return this.factory.getSnap(this.id,n)}snapsIterable(e,t={}){var n;const r=e||(null===(n=this.head)||void 0===n?void 0:n.hash);let a,o=[r];r||(a=!0);const i={next:async()=>{if(a)return{value:void 0,done:a};const e=o.shift(),n=await this.loadSnap(e);return n.parents&&n.parents.length&&(t.firstParentOnly?o.push(n.parents[0]):o=o.concat(n.parents)),o.length?t.stopFn&&(a=await t.stopFn(n)):a=!0,{value:n,done:void 0}}};return{[Symbol.asyncIterator]:()=>i}}async getClosestTag(e){const t=this.tags.getHashMap(),n=this.snapsIterable(e,{firstParentOnly:!0,stopFn:async e=>!!t.has(e.hash)}),r=[];var a,o=!1,i=!1;try{for(var s,l=function(e){var t,n,r,a=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);a--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new c(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}(n);o=!(s=await l.next()).done;o=!1){const e=s.value;r.push(e)}}catch(u){i=!0,a=u}finally{try{o&&null!=l.return&&await l.return()}finally{if(i)throw a}}if(r.length){const e=r[r.length-1].hash;return t.get(e)}}checkout(e){}write(e,t){}equals(e){return e.id.toString()===this.id.toString()}}},4492:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}n(92619),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentRoute=void 0;t.ComponentRoute=class{constructor(e,t){this.registerRoute=e,this.componentExtension=t,(0,a().default)(this,"dynamicRouteRegex","/?[^/@]+/[^~]*"),(0,a().default)(this,"route",`/:componentId(${this.dynamicRouteRegex})/~aspect${this.registerRoute.route}`),(0,a().default)(this,"method",this.registerRoute.method),(0,a().default)(this,"middlewares",this.componentMiddlewares.concat(this.registerRoute.middlewares))}get componentMiddlewares(){return[async(e,t,n)=>{var r;if(null===(r=this.registerRoute.resolveComponent)||void 0===r||r){const{componentId:t}=e.params,n=this.componentExtension.getHost(),r=await n.resolveComponentId(t),a=await n.get(r);e.component=a}n()}]}}},47384:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=r(n(91630));return i=function(){return e},e}function s(){const e=r(n(3863));return s=function(){return e},e}function c(){const e=r(n(59852));return c=function(){return e},e}function l(){const e=n(21468);return l=function(){return e},e}function u(){const e=n(73823);return u=function(){return e},e}function d(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(10059));return d=function(){return e},e}function p(){const e=r(n(76378));return p=function(){return e},e}function f(){const e=r(n(720));return f=function(){return e},e}function g(){const e=n(12639);return g=function(){return e},e}function m(){const e=n(7998);return m=function(){return e},e}function h(){const e=n(17413);return h=function(){return e},e}function _(){const e=n(49746);return _=function(){return e},e}function v(){const e=n(20163);return v=function(){return e},e}function y(){const e=n(60279);return y=function(){return e},e}function b(){const e=n(45194);return b=function(){return e},e}function R(){const e=n(30281);return R=function(){return e},e}function E(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}n(31567),n(92619);class S{constructor(e,t,n,r,c,l,u,d,p,f){this.pubsub=e,this.routeSlot=t,this.navSlot=n,this.consumeMethodSlot=r,this.widgetSlot=c,this.menuItemSlot=l,this.pageItemSlot=u,this.componentSearchResultSlot=d,this.commandBarUI=p,(0,a().default)(this,"routePath","/*"),(0,a().default)(this,"componentSearcher",void 0),(0,a().default)(this,"activeComponent",void 0),(0,a().default)(this,"copyNpmId",(()=>{var e;const t=null===(e=this.activeComponent)||void 0===e?void 0:e.packageName;if(t){var n;const e=null===(n=this.activeComponent)||void 0===n?void 0:n.id.version,r=e?`@${e}`:"";(0,s().default)(`${t}${r}`)}})),(0,a().default)(this,"keyBindings",[{id:"component.copyBitId",action:()=>{var e;(0,s().default)((null===(e=this.activeComponent)||void 0===e?void 0:e.id.toString())||"")},displayName:"Copy component ID",keybinding:"."},{id:"component.copyNpmId",action:this.copyNpmId,displayName:"Copy component package name",keybinding:","}]),(0,a().default)(this,"menuItems",[{category:"general",title:"Open command bar",keyChar:"mod+k",handler:()=>{var e;return null===(e=this.commandBarUI)||void 0===e?void 0:e.run("command-bar.open")}},{category:"general",title:"Toggle component list",keyChar:"alt+s",handler:()=>{var e;return null===(e=this.commandBarUI)||void 0===e?void 0:e.run("sidebar.toggle")}},{category:"workflow",title:"Copy component ID",keyChar:".",handler:()=>{var e;return null===(e=this.commandBarUI)||void 0===e?void 0:e.run("component.copyBitId")}},{category:"workflow",title:"Copy component package name",keyChar:",",handler:()=>{var e;return null===(e=this.commandBarUI)||void 0===e?void 0:e.run("component.copyNpmId")}}]),(0,a().default)(this,"bitMethod",((e,t)=>{const n=e.version===e.latest?"":`@${e.version}`;return{Title:o().default.createElement("img",{style:{width:"20px"},src:"https://static.bit.dev/brands/bit-logo-text.svg"}),Component:o().default.createElement(h().Import,{componentId:`${e.id.toString({ignoreVersion:!0})}${n}`,packageName:`${e.packageName}${n}`,componentName:e.id.name,showInstallMethod:!(null!==t&&void 0!==t&&t.currentLane)}),order:0}})),(0,a().default)(this,"handleComponentChange",(e=>{this.activeComponent=e})),(0,a().default)(this,"registerMenuItem",(e=>{this.menuItemSlot.register(e)})),(0,a().default)(this,"registerPageItem",((...e)=>{this.pageItemSlot.register(e)})),(0,a().default)(this,"registerSearchResultWidget",((...e)=>{this.componentSearchResultSlot.register(e);const t=(0,i().default)(this.componentSearchResultSlot.values());this.componentSearcher.updatePlugins(t)})),(0,a().default)(this,"updateComponents",(e=>{this.componentSearcher.update(e||[])})),this.componentSearcher=new(b().ComponentSearcher)({navigate:f.navigateTo}),m().isBrowser&&this.registerPubSub()}registerPubSub(){this.pubsub.sub(d().default.id,(e=>{if(e.type===d().ClickInsideAnIframeEvent.TYPE){const e=new MouseEvent("mousedown",{view:window,bubbles:!0,cancelable:!0}),t=document.body;null===t||void 0===t||t.dispatchEvent(e)}}))}getComponentUI(e,t={}){return o().default.createElement(y().Component,{routeSlot:this.routeSlot,containerSlot:this.pageItemSlot,onComponentChange:this.handleComponentChange,host:e,path:t.path,useComponent:t.useComponent,componentIdStr:t.componentId,useComponentFilters:t.useComponentFilters})}getMenu(e,t={}){return o().default.createElement(R().ComponentMenu,{navigationSlot:this.navSlot,consumeMethodSlot:this.consumeMethodSlot,widgetSlot:this.widgetSlot,host:e,menuItemSlot:this.menuItemSlot,useComponent:t.useComponent,path:t.path,componentIdStr:t.componentId,useComponentFilters:t.useComponentFilters})}registerRoute(e){return this.routeSlot.register(e),this}registerNavigation(e,t){this.navSlot.register({props:e,order:t})}registerConsumeMethod(...e){this.consumeMethodSlot.register(e)}registerWidget(e,t){this.widgetSlot.register({props:e,order:t})}static async provider([e,t,n],r,[a,o,i,s,c,u,d]){const p=new S(e,a,o,i,s,c,u,d,t,n),f=new(_().AspectSection);return p.registerSearchResultWidget({key:"deprecation",end:l().DeprecationIcon}),p.commandBarUI&&r.commandBar&&(p.commandBarUI.addCommand(...p.keyBindings),t.addSearcher(p.componentSearcher)),p.registerMenuItem(p.menuItems),p.registerRoute(f.route),p.registerWidget(f.navigationLink,f.order),p.registerConsumeMethod(p.bitMethod),p}}(0,a().default)(S,"dependencies",[p().default,c().default,f().default]),(0,a().default)(S,"runtime",g().UIRuntime),(0,a().default)(S,"slots",[u().Slot.withType(),u().Slot.withType(),u().Slot.withType(),u().Slot.withType(),u().Slot.withType(),u().Slot.withType(),u().Slot.withType()]),(0,a().default)(S,"defaultConfig",{commandBar:!0}),v().ComponentAspect.addRuntime(S)},11552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t,n){this.main=e,this.extensions=t,this.legacyProperties=n}}},70388:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CouldNotFindLatest=void 0;class n extends Error{constructor(e){super(`could not find latest semver in array: ${e.join(", ")}`)}report(){return this.message}}t.CouldNotFindLatest=n},86843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HostNotFound=void 0;class n extends Error{constructor(e){super(),this.hostName=e}toString(){return`[component] error: host '${this.hostName}' was not found`}}t.HostNotFound=n},34864:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(52161));return a=function(){return e},e}function o(){const e=n(86843);return o=function(){return e},e}function i(){const e=n(70388);return i=function(){return e},e}function s(){const e=n(58548);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CouldNotFindLatest",{enumerable:!0,get:function(){return i().CouldNotFindLatest}}),Object.defineProperty(t,"HostNotFound",{enumerable:!0,get:function(){return o().HostNotFound}}),Object.defineProperty(t,"MainFileNotFound",{enumerable:!0,get:function(){return s().MainFileNotFound}}),Object.defineProperty(t,"NothingToSnap",{enumerable:!0,get:function(){return a().default}})},58548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainFileNotFound=void 0;class n extends Error{constructor(e,t){super(),this.id=e,this.mainFile=t}toString(){return`[component] error: main file ${this.mainFile} for component ${this.id.toString()} was not found`}}t.MainFileNotFound=n},52161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class n extends Error{}t.default=n},98628:(e,t,n)=>{"use strict";function r(){const e=n(81375);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentHostModel=void 0;class a{constructor(e,t){this.name=e,this.components=t}static from(e){return new a(e.getHost.name,r().ComponentModel.fromArray(e.getHost.list))}}t.ComponentHostModel=a},41396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={useComponentHost:!0};function a(){const e=n(49639);return a=function(){return e},e}Object.defineProperty(t,"useComponentHost",{enumerable:!0,get:function(){return a().useComponentHost}});var o=n(98628);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}))},49639:(e,t,n)=>{"use strict";function r(){const e=n(89733);return r=function(){return e},e}function a(){const e=n(59062);return a=function(){return e},e}function o(){const e=n(98628);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentHost=function(){const{data:e,loading:t}=(0,r().useDataQuery)(i);if(!e||t)return{};return{host:o().ComponentHostModel.from(e)}};const i=a().gql` + { + getHost { + id # used for GQL caching + name + list { + id { + name + version + scope + } + deprecation { + isDeprecate + } + env { + id + icon + } + } + } + } +`},44704:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(20163);return a=function(){return e},e}function o(){const e=n(41396);return o=function(){return e},e}function i(){const e=n(33988);return i=function(){return e},e}function s(){const e=n(67972);return s=function(){return e},e}function c(){const e=r(n(10535));return c=function(){return e},e}function l(){const e=n(52865);return l=function(){return e},e}function u(){const e=n(41541);return u=function(){return e},e}function d(){const e=n(87924);return d=function(){return e},e}function p(){const e=n(35377);return p=function(){return e},e}function f(){const e=n(28685);return f=function(){return e},e}function g(){const e=n(35575);return g=function(){return e},e}function m(){const e=n(4330);return m=function(){return e},e}function h(){const e=n(50282);return h=function(){return e},e}function _(){const e=n(22778);return _=function(){return e},e}function v(){const e=n(81375);return v=function(){return e},e}function y(){const e=n(30281);return y=function(){return e},e}function b(){const e=n(4492);return b=function(){return e},e}function R(){const e=n(55507);return R=function(){return e},e}function E(){const e=n(11167);return E=function(){return e},e}function S(){const e=r(n(11552));return S=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AspectData",{enumerable:!0,get:function(){return l().AspectData}}),Object.defineProperty(t,"AspectEntry",{enumerable:!0,get:function(){return l().AspectEntry}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return i().Component}}),Object.defineProperty(t,"ComponentAspect",{enumerable:!0,get:function(){return a().ComponentAspect}}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return h().ComponentContext}}),Object.defineProperty(t,"ComponentDescriptorContext",{enumerable:!0,get:function(){return h().ComponentDescriptorContext}}),Object.defineProperty(t,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _().ComponentDescriptorProvider}}),Object.defineProperty(t,"ComponentFS",{enumerable:!0,get:function(){return c().default}}),Object.defineProperty(t,"ComponentID",{enumerable:!0,get:function(){return s().ComponentID}}),Object.defineProperty(t,"ComponentMap",{enumerable:!0,get:function(){return g().ComponentMap}}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return R().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return R().ComponentModelProps}}),Object.defineProperty(t,"ComponentProvider",{enumerable:!0,get:function(){return _().ComponentProvider}}),Object.defineProperty(t,"ComponentUrlParams",{enumerable:!0,get:function(){return b().ComponentUrlParams}}),Object.defineProperty(t,"Config",{enumerable:!0,get:function(){return S().default}}),Object.defineProperty(t,"ConsumePlugin",{enumerable:!0,get:function(){return y().ConsumePlugin}}),Object.defineProperty(t,"InvalidComponent",{enumerable:!0,get:function(){return i().InvalidComponent}}),Object.defineProperty(t,"RegisteredComponentRoute",{enumerable:!0,get:function(){return b().RegisteredComponentRoute}}),Object.defineProperty(t,"ResolveComponentIdFunc",{enumerable:!0,get:function(){return l().ResolveComponentIdFunc}}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return m().Section}}),Object.defineProperty(t,"Snap",{enumerable:!0,get:function(){return u().Snap}}),Object.defineProperty(t,"SnapProps",{enumerable:!0,get:function(){return u().SnapProps}}),Object.defineProperty(t,"State",{enumerable:!0,get:function(){return p().State}}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return d().Tag}}),Object.defineProperty(t,"TagMap",{enumerable:!0,get:function(){return f().TagMap}}),Object.defineProperty(t,"TagProps",{enumerable:!0,get:function(){return d().TagProps}}),Object.defineProperty(t,"TopBarNav",{enumerable:!0,get:function(){return E().TopBarNav}}),Object.defineProperty(t,"componentFields",{enumerable:!0,get:function(){return v().componentFields}}),Object.defineProperty(t,"componentIdFields",{enumerable:!0,get:function(){return v().componentIdFields}}),Object.defineProperty(t,"componentOverviewFields",{enumerable:!0,get:function(){return v().componentOverviewFields}}),t.default=void 0,Object.defineProperty(t,"useComponent",{enumerable:!0,get:function(){return v().useComponent}}),Object.defineProperty(t,"useComponentDescriptor",{enumerable:!0,get:function(){return h().useComponentDescriptor}}),Object.defineProperty(t,"useComponentHost",{enumerable:!0,get:function(){return o().useComponentHost}}),Object.defineProperty(t,"useIdFromLocation",{enumerable:!0,get:function(){return v().useIdFromLocation}});var O=a().ComponentAspect;t.default=O},4330:(e,t,n)=>{"use strict";function r(){const e=n(12745);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return r().Section}})},12745:()=>{},41541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snap=void 0;class n{constructor(e,t,n,r,a){this.hash=e,this.timestamp=t,this.parents=n,this.author=r,this.message=a}static fromObject(e){const t=e.parents||[];return new n(e.hash,new Date(parseInt(e.timestamp)),t,e.author,e.message)}toObject(){return{timestamp:this.timestamp.getTime().toString(),hash:this.hash,author:this.author,message:this.message,parents:this.parents}}}t.Snap=n},35377:(e,t,n)=>{"use strict";function r(){const e=n(6413);return r=function(){return e},e}function a(){const e=n(67972);return a=function(){return e},e}function o(){const e=n(34864);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0;t.State=class{constructor(e,t,n,r,a){this.config=e,this._aspects=t,this.filesystem=n,this.dependencies=r,this._consumer=a}get mainFile(){const e=this.filesystem.files.find((e=>e.relative===this._consumer.mainFile));if(!e)throw new(o().MainFileNotFound)(a().ComponentID.fromLegacy(this._consumer.id),this._consumer.mainFile);return e}get hash(){return""}get issues(){var e;return(e=this._consumer).issues||(e.issues=new(r().IssuesList))}get isModified(){return this._consumer._isModified}get aspects(){return this._aspects}set aspects(e){this._aspects=e}}},28685:(e,t,n)=>{"use strict";function r(){const e=n(15581);return r=function(){return e},e}function a(){const e=n(97190);return a=function(){return e},e}function o(){const e=n(34864);return o=function(){return e},e}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.TagMap=void 0;class i extends Map{byHash(e){return Array.from(this.values()).find((t=>t.hash===e))}getPreReleaseLatestTags(){const e=this.toArray().reduce(((e,t)=>{var n;const r=t.version.prerelease;return r.length?(2!==r.length||"string"!==typeof r[0]||(e[n=r[0]]||(e[n]=[])).push(t.version.raw),e):e}),{});return Object.keys(e).reduce(((t,n)=>(t[n]=(0,a().maxSatisfying)(e[n],"*",{includePrerelease:!0}),t)),{})}getHashMap(){const e=new Map;return this.forEach((t=>{e.set(t.hash,t)})),e}getLatest(){const e=this.toArray().map((e=>e.version.raw));if(this.isEmpty())throw new(o().CouldNotFindLatest)(e);return(0,r().getLatestVersion)(e)}isEmpty(){return 0===this.size}toArray(){return Array.from(this.values())}byVersion(e){return this.toArray().map((e=>e)).find((t=>t.version.raw===e))}static fromArray(e){const t=e.map((e=>[e.version,e]));return new i(t)}static empty(){return new i}}t.TagMap=i},21774:(e,t,n)=>{"use strict";function r(){const e=n(87924);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return r().Tag}})},87924:(e,t,n)=>{"use strict";function r(){const e=n(97190);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.Tag=void 0;class a{constructor(e,t){this.hash=e,this.version=t}toObject(){return{hash:this.hash,version:this.version.raw}}static fromObject(e){return new a(e.hash,new(r().SemVer)(e.version))}}t.Tag=a},49999:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(69619);return a=function(){return e},e}function o(){const e=n(44704);return o=function(){return e},e}function i(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return i=function(){return e},e}function s(){const e=n(89733);return s=function(){return e},e}function c(){const e=n(59062);return c=function(){return e},e}function l(){const e=n(85779);return l=function(){return e},e}function u(){const e=n(11308);return u=function(){return e},e}function d(){const e=n(27879);return d=function(){return e},e}function p(){const e=r(n(33884));return p=function(){return e},e}function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.AspectPage=function(){var e,t;const n=(0,i().useContext)(o().ComponentContext),{data:r}=(0,s().useDataQuery)(g,{variables:{id:n.id.toString()}}),c=null===r||void 0===r||null===(e=r.getHost)||void 0===e||null===(t=e.get)||void 0===t?void 0:t.aspects;if(c&&0===c.length)return i().default.createElement(l().EmptyBox,{title:"This component is new and doesn\u2019t have any aspects.",linkText:"Learn more about component aspects",link:"https://bit.dev/docs/extending-bit/aspect-overview"});return i().default.createElement("div",{className:p().default.aspectPage},i().default.createElement("div",null,i().default.createElement(u().H1,{className:p().default.title},"Configuration"),i().default.createElement(d().Separator,{className:p().default.separator}),c&&c.map((e=>i().default.createElement(a().AspectBox,{key:e.id,className:p().default.aspectBox,name:e.id,icon:e.icon,config:e.config,data:e.data})))))};const g=c().gql` + query ($id: String!) { + getHost { + get(id: $id) { + aspects { + id + config + data + icon + } + } + } + } +`},11651:(e,t,n)=>{"use strict";function r(){const e=n(49999);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AspectPage",{enumerable:!0,get:function(){return r().AspectPage}})},5551:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(49725));return a=function(){return e},e}function o(){const e=n(45549);return o=function(){return e},e}function i(){const e=n(35246);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentError=void 0;t.ComponentError=class{constructor(e,t){this.code=e,this.message=t}renderError(){return 404===this.code?a().default.createElement(o().NotFoundPage,null):a().default.createElement(i().ServerErrorPage,null)}}},87303:(e,t,n)=>{"use strict";function r(){const e=n(5551);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentError",{enumerable:!0,get:function(){return r().ComponentError}})},41172:(e,t,n)=>{"use strict";function r(){const e=n(91814);return r=function(){return e},e}function a(){const e=n(67972);return a=function(){return e},e}function o(){const e=n(21774);return o=function(){return e},e}function i(){const e=n(28685);return i=function(){return e},e}n(29119),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentModel=void 0;class s{constructor(e,t,n,r,a,o,i,s,c,l,u,d,p="",f=[],g,m,h,_,v){this.id=e,this.displayName=t,this.packageName=n,this.server=r,this.compositions=a,this.tags=o,this.buildStatus=i,this.issuesCount=s,this.elementsUrl=c,this.status=l,this.deprecation=u,this.environment=d,this.description=p,this.labels=f,this.host=g,this.size=m,this.latest=h,this.preview=_,this.logs=v}get version(){return this.id.version?this.id.version:"new"}static from({id:e,server:t,displayName:n,compositions:c=[],packageName:l,elementsUrl:u,tags:d=[],deprecation:p,buildStatus:f,env:g,status:m,issuesCount:h,description:_,labels:v,host:y,latest:b,preview:R,size:E,logs:S}){return new s(a().ComponentID.fromObject(e),n,l,t,r().Composition.fromArray(c),i().TagMap.fromArray(d.map((e=>o().Tag.fromObject(e)))),f,h,u,m,p,g,_,v,y,E,b,R,S)}static fromArray(e){return e.map((e=>s.from(e)))}static empty(){return new s(a().ComponentID.fromObject({name:"root",scope:"temp"}),"","",{env:"",url:""},[],i().TagMap.empty())}}t.ComponentModel=s},55507:(e,t,n)=>{"use strict";function r(){const e=n(41172);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return r().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return r().ComponentModelProps}})},63099:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(49725));return a=function(){return e},e}function o(){const e=r(n(99019));return o=function(){return e},e}function i(){const e=n(95152);return i=function(){return e},e}function s(){const e=n(18639);return s=function(){return e},e}function c(){const e=r(n(55574));return c=function(){return e},e}function l(){const e=r(n(3428));return l=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentResult=function({component:e,plugins:t}){const n=e.id.fullName,r=(0,o().default)(null===t||void 0===t?void 0:t.map((t=>t.start&&a().default.createElement(t.start,{key:t.key,component:e})))),u=(0,o().default)(null===t||void 0===t?void 0:t.map((t=>t.end&&a().default.createElement(t.end,{key:t.key,component:e}))));return a().default.createElement(a().default.Fragment,null,r,a().default.createElement(s().EnvIcon,{component:e,className:l().default.icon}),a().default.createElement("div",{className:(0,c().default)(l().default.name,i().ellipsis)},n),u)}},99269:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(64205);return i=function(){return e},e}function s(){const e=n(63099);return s=function(){return e},e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{const{navigate:t,resultPlugins:n}=this.options,{component:r}=e;return{id:r.id.fullName,action:()=>t(`/${r.id.fullName}`),children:o().default.createElement(s().ComponentResult,{component:r,plugins:n})}}))}updatePlugins(e){this.options=l(l({},this.options),{},{resultPlugins:e})}test(e){return!e.startsWith(">")&&e.length>0}toSearchableItem(e){return{name:e.id.name,displayName:e.id.fullName,component:e}}}t.ComponentSearcher=d},45194:(e,t,n)=>{"use strict";function r(){const e=n(99269);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentSearcher",{enumerable:!0,get:function(){return r().ComponentSearcher}})},60279:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return a=function(){return e},e}function o(){const e=r(n(91630));return o=function(){return e},e}function i(){const e=n(46338);return i=function(){return e},e}function s(){const e=n(61436);return s=function(){return e},e}function c(){const e=r(n(83774));return c=function(){return e},e}function l(){const e=n(22778);return l=function(){return e},e}function u(){const e=n(22880);return u=function(){return e},e}function d(){const e=n(83288);return d=function(){return e},e}function p(){const e=n(44704);return p=function(){return e},e}function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.Component=function({routeSlot:e,containerSlot:t,host:n,onComponentChange:r,componentIdStr:f,useComponent:g,path:m,useComponentFilters:h}){const _=(0,d().useIdFromLocation)(),v=function(e){return(0,s().isFunction)(e)?e():e}(f),y=v?p().ComponentID.fromString(v):void 0,b=m||_,R={logFilters:null===h||void 0===h?void 0:h(),customUseComponent:g},{component:E,componentDescriptor:S,error:O}=(0,u().useComponent)(n,(null===y||void 0===y?void 0:y.toString())||_,R);(0,a().useEffect)((()=>null===r||void 0===r?void 0:r(E)),[E]),(0,a().useEffect)((()=>()=>null===r||void 0===r?void 0:r(void 0)),[]);const w=(0,a().useMemo)((()=>(0,o().default)(null===t||void 0===t?void 0:t.values())),[t]),C=(0,a().useMemo)((()=>w.filter((e=>"before"===e.type)).map((e=>e.content))),[w]),T=(0,a().useMemo)((()=>w.filter((e=>"after"===e.type)).map((e=>e.content))),[w]);return O?O.renderError():E?a().default.createElement(l().ComponentDescriptorProvider,{componentDescriptor:S},a().default.createElement(l().ComponentProvider,{component:E},C,a().default.createElement("div",{className:c().default.container},e&&a().default.createElement(i().SlotRouter,{parentPath:`${b}/*`,slot:e})),T)):a().default.createElement("div",null)}},50282:(e,t,n)=>{"use strict";function r(){const e=n(49725);return r=function(){return e},e}function a(){const e=n(55507);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentDescriptor=t.ComponentDescriptorContext=t.ComponentContext=void 0;const o=(0,r().createContext)(a().ComponentModel.empty());t.ComponentContext=o;const i=(0,r().createContext)(void 0);t.ComponentDescriptorContext=i;t.useComponentDescriptor=()=>(0,r().useContext)(i)},60441:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(49725));return a=function(){return e},e}function o(){const e=n(50282);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDescriptorProvider=function({componentDescriptor:e,children:t}){return a().default.createElement(o().ComponentDescriptorContext.Provider,{value:e},t)},t.ComponentProvider=function({component:e,children:t}){return a().default.createElement(o().ComponentContext.Provider,{value:e},t)}},22778:(e,t,n)=>{"use strict";function r(){const e=n(50282);return r=function(){return e},e}function a(){const e=n(60441);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return r().ComponentContext}}),Object.defineProperty(t,"ComponentDescriptorContext",{enumerable:!0,get:function(){return r().ComponentDescriptorContext}}),Object.defineProperty(t,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return a().ComponentDescriptorProvider}}),Object.defineProperty(t,"ComponentProvider",{enumerable:!0,get:function(){return a().ComponentProvider}}),Object.defineProperty(t,"useComponentDescriptor",{enumerable:!0,get:function(){return r().useComponentDescriptor}})},81375:(e,t,n)=>{"use strict";function r(){const e=n(60279);return r=function(){return e},e}function a(){const e=n(55507);return a=function(){return e},e}function o(){const e=n(22778);return o=function(){return e},e}function i(){const e=n(22880);return i=function(){return e},e}function s(){const e=n(11167);return s=function(){return e},e}function c(){const e=n(64271);return c=function(){return e},e}function l(){const e=n(83288);return l=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return r().Component}}),Object.defineProperty(t,"ComponentContext",{enumerable:!0,get:function(){return o().ComponentContext}}),Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return a().ComponentModel}}),Object.defineProperty(t,"ComponentModelProps",{enumerable:!0,get:function(){return a().ComponentModelProps}}),Object.defineProperty(t,"ComponentProvider",{enumerable:!0,get:function(){return o().ComponentProvider}}),Object.defineProperty(t,"TopBarNav",{enumerable:!0,get:function(){return s().TopBarNav}}),Object.defineProperty(t,"componentFields",{enumerable:!0,get:function(){return c().componentFields}}),Object.defineProperty(t,"componentIdFields",{enumerable:!0,get:function(){return c().componentIdFields}}),Object.defineProperty(t,"componentOverviewFields",{enumerable:!0,get:function(){return c().componentOverviewFields}}),Object.defineProperty(t,"useComponent",{enumerable:!0,get:function(){return i().useComponent}}),Object.defineProperty(t,"useIdFromLocation",{enumerable:!0,get:function(){return l().useIdFromLocation}})},30281:(e,t,n)=>{"use strict";function r(){const e=n(69703);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentMenu",{enumerable:!0,get:function(){return r().ComponentMenu}})},65551:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(75034));return o=function(){return e},e}function i(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return i=function(){return e},e}function s(){const e=r(n(55574));return s=function(){return e},e}function c(){const e=n(60795);return c=function(){return e},e}function l(){const e=n(11167);return l=function(){return e},e}function u(){const e=r(n(64159));return u=function(){return e},e}function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.toArray().sort(g)),[e]),a=(0,i().useMemo)((()=>t.toArray().sort(g)),[t]),d=[...r,...a].map((([e,t])=>{var n,c;const d=t.props.href===(null===(n=r[-1])||void 0===n?void 0:n[1].props.href)?{marginRight:"auto"}:{};return{component:function({isInMenu:n}){const r=t.props.displayName&&n&&t.props.displayName;return i().default.createElement(l().TopBarNav,(0,o().default)({className:(0,s().default)(u().default.topBarNav,n&&u().default.noBorder),key:e},t.props),r||t.props.children)},style:f(f({},t.props.href===(null===(c=a[0])||void 0===c?void 0:c[1].props.href)?{marginLeft:"auto"}:{}),d)}}));return i().default.createElement(c().ResponsiveNavbar,{navClassName:(0,s().default)(u().default.tab,n),style:{width:"100%",height:"100%"},priority:"none",tabs:d})}},69703:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(33097);return o=function(){return e},e}function i(){const e=n(50547);return i=function(){return e},e}function s(){const e=n(24816);return s=function(){return e},e}function c(){const e=n(38791);return c=function(){return e},e}function l(){const e=n(56843);return l=function(){return e},e}function u(){const e=n(61436);return u=function(){return e},e}function d(){const e=r(n(55574));return d=function(){return e},e}function p(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=R(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return p=function(){return e},e}function f(){const e=n(21891);return f=function(){return e},e}function g(){const e=n(13349);return g=function(){return e},e}function m(){const e=n(17413);return m=function(){return e},e}function h(){const e=n(22880);return h=function(){return e},e}function _(){const e=n(65551);return _=function(){return e},e}function v(){const e=r(n(64159));return v=function(){return e},e}function y(){const e=n(83288);return y=function(){return e},e}function b(){const e=n(44704);return b=function(){return e},e}function R(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(R=function(e){return e?n:t})(e)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t(_||[]).filter((e=>!e.tag)).map((e=>S(S({},e),{},{version:e.hash})))),[_]),R=(0,p().useMemo)((()=>{var t;const n=new Map;return(_||[]).filter((e=>e.tag)).forEach((e=>{n.set(null===e||void 0===e?void 0:e.tag,e)})),(0,u().compact)(null===(t=e.tags)||void 0===t?void 0:t.toArray().reverse().map((e=>n.get(e.version.version)))).map((e=>S(S({},e),{},{version:e.tag})))}),[_]),E=0===b.length&&0===R.length,O=(null===c||void 0===c||null===(o=c.getLanesByComponentId(e.id))||void 0===o?void 0:o.filter((e=>!e.id.isDefault())))||[],w=y&&!E&&!h,C=!y||E||null!==i&&void 0!==i&&i.search.includes("version")?e.version:"workspace",T=function(e,t,n){return(0,p().useMemo)((()=>(0,u().flatten)(e.values()).map((e=>null===e||void 0===e?void 0:e(t,{currentLane:n}))).filter((e=>!!e&&e.Component&&e.Title))),[e,t,n])}(t,e,h);return p().default.createElement(p().default.Fragment,null,R.length>0&&p().default.createElement(f().UseBoxDropdown,{position:"bottom-end",className:(0,d().default)(v().default.useBox,v().default.hideOnMobile),Menu:p().default.createElement(m().Menu,{methods:T,componentName:e.id.name})}),p().default.createElement(s().VersionDropdown,{tags:R,snaps:b,lanes:O,localVersion:w,currentVersion:C,latestVersion:e.latest,currentLane:h,menuClassName:v().default.componentVersionMenu}))}n(31567),n(41248),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentMenu=function({navigationSlot:e,widgetSlot:t,className:n,host:r,menuItemSlot:a,consumeMethodSlot:s,componentIdStr:l,useComponent:f,path:g,useComponentFilters:m}){const R=(0,y().useIdFromLocation)(),E=function(e){return(0,u().isFunction)(e)?e():e}(l),S=E?b().ComponentID.fromString(E):void 0,w=g||R,C={logFilters:null===m||void 0===m?void 0:m(),customUseComponent:f},{component:T}=(0,h().useComponent)(r,(null===S||void 0===S?void 0:S.toString())||R,C),x=(0,p().useMemo)((()=>(0,u().groupBy)((0,u().flatten)(a.values()),"category")),[a]);return T?p().default.createElement(o().Routes,null,p().default.createElement(o().Route,{path:`${w}/*`,element:p().default.createElement("div",{className:(0,d().default)(v().default.topBar,n)},p().default.createElement("div",{className:v().default.leftSide},p().default.createElement(_().CollapsableMenuNav,{navigationSlot:e,widgetSlot:t})),p().default.createElement("div",{className:v().default.rightSide},p().default.createElement(O,{component:T,consumeMethods:s,host:r}),p().default.createElement(i().MainDropdown,{className:v().default.hideOnMobile,menuItems:x})))})):p().default.createElement(c().FullLoader,null)}},11167:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29324);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},29324:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(11290));return o=function(){return e},e}function i(){const e=r(n(49725));return i=function(){return e},e}function s(){const e=r(n(55574));return s=function(){return e},e}function c(){const e=n(33097);return c=function(){return e},e}function l(){const e=n(56843);return l=function(){return e},e}function u(){const e=r(n(61118));return u=function(){return e},e}n(41248),Object.defineProperty(t,"__esModule",{value:!0}),t.TopBarNav=function(e){let{href:t,className:n,activeClassName:r,children:d,displayName:p}=e,f=(0,o().default)(e,["href","className","activeClassName","children","displayName"]);const{search:g}=(0,c().useLocation)(),m=t&&`${t}${g}`;return i().default.createElement(l().Link,(0,a().default)({},f,{className:(0,s().default)(n,u().default.topBarLink),activeClassName:(0,s().default)(r,u().default.active),href:m}),i().default.createElement("div",null,d))}},83288:(e,t,n)=>{"use strict";function r(){const e=n(33097);return r=function(){return e},e}n(31567),n(41248),Object.defineProperty(t,"__esModule",{value:!0}),t.useIdFromLocation=function(e){const t=(0,r().useParams)(),n=e||t["*"];if(!n)return;const[o,...i]=n.split("/"),s=o.split(".").length>1,c=s?i.join("/"):n;let l;s&&(l=o);const u=a.exec(c);return null!==u&&void 0!==u&&u[0]?l?`${l}/${u[0]}`:u[0]:void 0};const a=/^[\w/-]*[\w-]/},64271:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(11290));return o=function(){return e},e}function i(){const e=n(49725);return i=function(){return e},e}function s(){const e=n(59062);return s=function(){return e},e}function c(){const e=n(89733);return c=function(){return e},e}function l(){const e=n(67972);return l=function(){return e},e}function u(){const e=n(14193);return u=function(){return e},e}function d(){const e=n(55507);return d=function(){return e},e}function p(){const e=n(87303);return p=function(){return e},e}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{if("teambit.workspace/workspace"!==t)return()=>{};const e=E({document:y,updateQuery:(e,{subscriptionData:t})=>{var n,r,a;const o=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,i=null===t||void 0===t||null===(r=t.data)||void 0===r||null===(a=r.componentAdded)||void 0===a?void 0:a.component;return!i||o?e:s.current===i.id.name?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:i})}):e}}),n=E({document:b,updateQuery:(e,{subscriptionData:t})=>{var n,r,a;if(!t.data)return e;const o=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,i=null===t||void 0===t||null===(r=t.data)||void 0===r||null===(a=r.componentChanged)||void 0===a?void 0:a.component;return i&&l().ComponentID.isEqualObj(null===o||void 0===o?void 0:o.id,null===i||void 0===i?void 0:i.id)?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:i})}):e}}),r=E({document:R,updateQuery:(e,{subscriptionData:t})=>{var n,r,a;if(!t.data)return e;const o=null===e||void 0===e||null===(n=e.getHost)||void 0===n?void 0:n.get,i=null===t||void 0===t||null===(r=t.data)||void 0===r||null===(a=r.componentRemoved)||void 0===a?void 0:a.componentIds;if(!o||null===i||void 0===i||!i.length)return e;return i.some((e=>l().ComponentID.isEqualObj(e,o.id)))?g(g({},e),{},{getHost:g(g({},e.getHost),{},{get:null})}):e}});return()=>{n(),e(),r()}}),[]);const O=null===m||void 0===m||null===(a=m.getHost)||void 0===a?void 0:a.get;return(0,i().useMemo)((()=>{const e={entries:null===O||void 0===O?void 0:O.aspects.map((e=>g(g({},e),{},{aspectId:e.id,aspectData:e.data})))},n=O&&l().ComponentID.fromObject(O.id);return g({componentDescriptor:n?u().ComponentDescriptor.fromObject({id:n.toString(),aspectList:e}):void 0,component:O?d().ComponentModel.from(g(g({},O),{},{host:t})):void 0,error:h?new(p().ComponentError)(500,h.message):O||_?void 0:new(p().ComponentError)(404),loading:_},S)}),[O,t,h])};const m=s().gql` + fragment componentIdFields on ComponentID { + name + version + scope + } +`;t.componentIdFields=m;const h=s().gql` + fragment componentOverviewFields on Component { + id { + ...componentIdFields + } + aspects(include: ["teambit.preview/preview", "teambit.envs/envs"]) { + # 'id' property in gql refers to a *global* identifier and used for caching. + # this makes aspect data cache under the same key, even when they are under different components. + # renaming the property fixes that. + id + data + } + elementsUrl + description + deprecation { + isDeprecate + newId + } + labels + displayName + server { + env + url + } + buildStatus + env { + id + icon + } + size { + compressedTotal + } + preview { + includesEnvTemplate + legacyHeader + isScaling + } + compositions { + identifier + displayName + } + } + ${m} +`;t.componentOverviewFields=h;const _=s().gql` + fragment componentFields on Component { + id { + ...componentIdFields + } + ...componentOverviewFields + packageName + latest + compositions { + identifier + displayName + } + tags { + version + } + logs(type: $logType, offset: $logOffset, limit: $logLimit, head: $logHead, sort: $logSort) { + id + message + username + email + date + hash + tag + } + } + ${m} + ${h} +`;t.componentFields=_;const v=s().gql` + query Component( + $id: String! + $extensionId: String! + $logType: String + $logOffset: Int + $logLimit: Int + $logHead: String + $logSort: String + ) { + getHost(id: $extensionId) { + id # used for GQL caching + get(id: $id) { + ...componentFields + } + } + } + ${_} +`,y=s().gql` + subscription OnComponentAdded($logType: String, $logOffset: Int, $logLimit: Int, $logHead: String, $logSort: String) { + componentAdded { + component { + ...componentFields + } + } + } + ${_} +`,b=s().gql` + subscription OnComponentChanged( + $logType: String + $logOffset: Int + $logLimit: Int + $logHead: String + $logSort: String + ) { + componentChanged { + component { + ...componentFields + } + } + } + ${_} +`,R=s().gql` + subscription OnComponentRemoved { + componentRemoved { + componentIds { + ...componentIdFields + } + } + } + ${m} +`},22880:(e,t,n)=>{"use strict";function r(){const e=n(33885);return r=function(){return e},e}function a(){const e=n(64271);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.useComponent=function(e,t,n){var o;const i=(0,r().useQuery)(),{version:s,logFilters:c,customUseComponent:l,skip:u}=n||{},d=null!==(o=s||i.get("version"))&&void 0!==o?o:void 0,p=t&&function(e,t){return t?e.includes("@")?e:`${e}@${t}`:e}(t,d);return(l||a().useComponentQuery)(p||"",e,c,u||!t)}},18046:(e,t,n)=>{const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"===typeof e)try{e=new u(e,this.options)}catch(t){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),r=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,i=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||l}}e.exports=a;const o=n(71202),{re:i,t:s}=n(12110),c=n(7022),l=n(98350),u=n(12346),d=n(29714)},29714:(e,t,n)=>{class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],f)).split(/\s+/).join(" ");const c=r?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map((e=>_(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options))).filter(this.options.loose?e=>!!e.match(c):()=>!0).map((e=>new i(e,this.options))),h=(m.length,new Map);for(const a of m){if(g(a))return[a];h.set(a.value,a)}h.size>1&&h.has("")&&h.delete("");const v=[...h.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>h(n,t)&&e.set.some((e=>h(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"===typeof e)try{e=new c(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},_=(e,t)=>(s("comp",e,t),e=R(e,t),s("caret",e),e=y(e,t),s("tildes",e),e=S(e,t),s("xrange",e),e=w(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},R=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let c;return s("caret",e,t,n,a,o,i),v(n)?c="":v(a)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?c="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),c="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",c),c}))},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,a,o,i,c)=>{s("xRange",e,n,r,a,o,i,c);const l=v(a),u=l||v(o),d=u||v(i),p=d;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(c="-0"),n=`${r+a}.${o}.${i}${c}`):u?n=`>=${a}.0.0${c} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${o}.0${c} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},w=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,n,r,a,o,i,s,c,l,u,d,p,f)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=v(l)?"":v(u)?`<${+l+1}.0.0-0`:v(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`}`.trim(),x=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},12346:(e,t,n)=>{const r=n(98350),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(64124),{re:i,t:s}=n(12110),c=n(71202),{compareIdentifiers:l}=n(43259);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!==typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"===typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},32557:(e,t,n)=>{const r=n(18551);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},7022:(e,t,n)=>{const r=n(81305),a=n(7156),o=n(790),i=n(42716),s=n(23959),c=n(25030);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e===n;case"!==":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return a(e,n,l);case">":return o(e,n,l);case">=":return i(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},69757:(e,t,n)=>{const r=n(12346),a=n(18551),{re:o,t:i}=n(12110);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"===typeof e&&(e=String(e)),"string"!==typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},90823:(e,t,n)=>{const r=n(12346);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},80626:(e,t,n)=>{const r=n(48809);e.exports=(e,t)=>r(e,t,!0)},48809:(e,t,n)=>{const r=n(12346);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},66418:(e,t,n)=>{const r=n(18551),a=n(81305);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},81305:(e,t,n)=>{const r=n(48809);e.exports=(e,t,n)=>0===r(e,t,n)},790:(e,t,n)=>{const r=n(48809);e.exports=(e,t,n)=>r(e,t,n)>0},42716:(e,t,n)=>{const r=n(48809);e.exports=(e,t,n)=>r(e,t,n)>=0},799:(e,t,n)=>{const r=n(12346);e.exports=(e,t,n,a)=>{"string"===typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(o){return null}}},23959:(e,t,n)=>{const r=n(48809);e.exports=(e,t,n)=>r(e,t,n)<0},25030:(e,t,n)=>{const r=n(48809);e.exports=(e,t,n)=>r(e,t,n)<=0},62521:(e,t,n)=>{const r=n(12346);e.exports=(e,t)=>new r(e,t).major},19960:(e,t,n)=>{const r=n(12346);e.exports=(e,t)=>new r(e,t).minor},7156:(e,t,n)=>{const r=n(48809);e.exports=(e,t,n)=>0!==r(e,t,n)},18551:(e,t,n)=>{const{MAX_LENGTH:r}=n(64124),{re:a,t:o}=n(12110),i=n(12346),s=n(71202);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!==typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(n){return null}}},73968:(e,t,n)=>{const r=n(12346);e.exports=(e,t)=>new r(e,t).patch},6435:(e,t,n)=>{const r=n(18551);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},1615:(e,t,n)=>{const r=n(48809);e.exports=(e,t,n)=>r(t,e,n)},52441:(e,t,n)=>{const r=n(90823);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},20344:(e,t,n)=>{const r=n(29714);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(a){return!1}return t.test(e)}},84321:(e,t,n)=>{const r=n(90823);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},92299:(e,t,n)=>{const r=n(18551);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},97190:(e,t,n)=>{const r=n(12110);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(64124).SEMVER_SPEC_VERSION,SemVer:n(12346),compareIdentifiers:n(43259).compareIdentifiers,rcompareIdentifiers:n(43259).rcompareIdentifiers,parse:n(18551),valid:n(92299),clean:n(32557),inc:n(799),diff:n(66418),major:n(62521),minor:n(19960),patch:n(73968),prerelease:n(6435),compare:n(48809),rcompare:n(1615),compareLoose:n(80626),compareBuild:n(90823),sort:n(84321),rsort:n(52441),gt:n(790),lt:n(23959),eq:n(81305),neq:n(7156),gte:n(42716),lte:n(25030),cmp:n(7022),coerce:n(69757),Comparator:n(18046),Range:n(29714),satisfies:n(20344),toComparators:n(41213),maxSatisfying:n(18074),minSatisfying:n(4128),minVersion:n(51540),validRange:n(50461),outside:n(27857),gtr:n(70783),ltr:n(54263),intersects:n(79660),simplifyRange:n(31974),subset:n(7294)}},64124:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},98350:(e,t,n)=>{var r=n(20038);const a="object"===typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=a},43259:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:en(t,e)}},71202:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!==typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},12110:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(64124),a=n(98350),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),l("FULL",`^${i[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),l("LOOSE",`^${i[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),l("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",i[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},70783:(e,t,n)=>{const r=n(27857);e.exports=(e,t,n)=>r(e,t,">",n)},79660:(e,t,n)=>{const r=n(29714);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},54263:(e,t,n)=>{const r=n(27857);e.exports=(e,t,n)=>r(e,t,"<",n)},18074:(e,t,n)=>{const r=n(12346),a=n(29714);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},4128:(e,t,n)=>{const r=n(12346),a=n(29714);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},51540:(e,t,n)=>{const r=n(12346),a=n(29714),o=n(790);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let a=0;a{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},27857:(e,t,n)=>{const r=n(12346),a=n(18046),{ANY:o}=a,i=n(29714),s=n(20344),c=n(790),l=n(23959),u=n(25030),d=n(42716);e.exports=(e,t,n,p)=>{let f,g,m,h,_;switch(e=new r(e,p),t=new i(t,p),n){case">":f=c,g=u,m=l,h=">",_=">=";break;case"<":f=l,g=d,m=c,h="<",_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;r{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,f(e.semver,i.semver,p)?i=e:m(e.semver,s.semver,p)&&(s=e)})),i.operator===h||i.operator===_)return!1;if((!s.operator||s.operator===h)&&g(e,s.semver))return!1;if(s.operator===_&&m(e,s.semver))return!1}return!0}},31974:(e,t,n)=>{const r=n(20344),a=n(48809);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const c=e.sort(((e,t)=>a(e,t,n)));for(const a of c){r(a,t,n)?(s=a,i||(i=a)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const l=[];for(const[r,a]of o)r===a?l.push(r):a||r!==c[0]?a?r===c[0]?l.push(`<=${a}`):l.push(`${r} - ${a}`):l.push(`>=${r}`):l.push("*");const u=l.join(" || "),d="string"===typeof t.raw?t.raw:String(t);return u.length{const r=n(29714),{ANY:a}=n(18046),o=n(20344),i=n(48809),s=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a)return 1===t.length&&t[0].semver===a;const r=new Set;let s,u,d,p,f,g,m;for(const a of e)">"===a.operator||">="===a.operator?s=c(s,a,n):"<"===a.operator||"<="===a.operator?u=l(u,a,n):r.add(a.semver);if(r.size>1)return null;if(s&&u){if(d=i(s.semver,u.semver,n),d>0)return null;if(0===d&&(">="!==s.operator||"<="!==u.operator))return null}for(const a of r){if(s&&!o(a,String(s),n))return null;if(u&&!o(a,String(u),n))return null;for(const e of t)if(!o(a,String(e),n))return!1;return!0}for(const a of t){if(m=m||">"===a.operator||">="===a.operator,g=g||"<"===a.operator||"<="===a.operator,s)if(">"===a.operator||">="===a.operator){if(p=c(s,a,n),p===a&&p!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(a),n))return!1;if(u)if("<"===a.operator||"<="===a.operator){if(f=l(u,a,n),f===a&&f!==u)return!1}else if("<="===u.operator&&!o(u.semver,String(a),n))return!1;if(!a.operator&&(u||s)&&0!==d)return!1}return!(s&&g&&!u&&0!==d)&&!(u&&m&&!s&&0!==d)},c=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=s(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},41213:(e,t,n)=>{const r=n(29714);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},50461:(e,t,n)=>{const r=n(29714);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(n){return null}}},91335:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.humanizeCompositionId=void 0;const a=r(n(93086));t.humanizeCompositionId=function(e){return(0,a.default)(e)}},79410:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.humanizeCompositionId=void 0;var r=n(91335);Object.defineProperty(t,"humanizeCompositionId",{enumerable:!0,get:function(){return r.humanizeCompositionId}})},93101:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionCompareSection=void 0;t.CompositionCompareSection=class{constructor(e){this.ui=e,this.navigationLink={href:"compositions",children:"Compositions",order:1},this.route={path:"compositions/*",element:this.ui.getCompositionsCompare()}}}},79218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionCompareSection=void 0;var r=n(93101);Object.defineProperty(t,"CompositionCompareSection",{enumerable:!0,get:function(){return r.CompositionCompareSection}})},2155:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionCompare=void 0;const s=n(87351),c=n(91814),l=n(99802),u=n(28043),d=n(8881),p=n(52782),f=i(n(23720)),g=o(n(49725)),m=i(n(62237)),h=n(23400);t.CompositionCompare=function(e){const{emptyState:t}=e,n=(0,s.useComponentCompare)(),r=null===n||void 0===n?void 0:n.base,a=null===n||void 0===n?void 0:n.compare,o=null===r||void 0===r?void 0:r.model.compositions,i=null===a||void 0===a?void 0:a.model.compositions,_=(0,d.useCompareQueryParam)("compositionBaseFile"),v=(0,d.useCompareQueryParam)("compositionCompareFile"),y=_&&o&&o.find((e=>e.identifier===_))||o&&o[0],b=v&&i&&i.find((e=>e.identifier===v))||i&&i[0],R=(null===o||void 0===o?void 0:o.map((e=>{const t=(0,d.useUpdatedUrlFromQuery)({compositionBaseFile:e.identifier,compositionCompareFile:null===b||void 0===b?void 0:b.identifier});return{id:e.identifier,label:e.displayName,value:t}})))||[],E=(null===i||void 0===i?void 0:i.map((e=>{const t=(0,d.useUpdatedUrlFromQuery)({compositionBaseFile:null===y||void 0===y?void 0:y.identifier,compositionCompareFile:e.identifier});return{id:e.identifier,label:e.displayName,value:t}})))||[],[S,O]=(0,g.useState)({}),w=(0,g.useMemo)((()=>f.default.stringify(S)),[S]),[C,T]=(0,g.useState)({}),x=(0,g.useMemo)((()=>f.default.stringify(C)),[C]),N=y&&{id:y.identifier,label:y.displayName},I=b&&{id:b.identifier,label:b.displayName},P=(0,g.useMemo)((()=>void 0===(null===n||void 0===n?void 0:n.base)?g.default.createElement(g.default.Fragment,null):g.default.createElement("div",{className:m.default.subView},g.default.createElement(l.CompositionContextProvider,{queryParams:S,setQueryParams:O},g.default.createElement(c.CompositionContent,{emptyState:t,component:null===n||void 0===n?void 0:n.base.model,selected:y,queryParams:w})))),[null===n||void 0===n?void 0:n.base,y]),A=(0,g.useMemo)((()=>void 0===(null===n||void 0===n?void 0:n.compare)?g.default.createElement(g.default.Fragment,null):g.default.createElement("div",{className:m.default.subView},g.default.createElement(l.CompositionContextProvider,{queryParams:C,setQueryParams:T},g.default.createElement(c.CompositionContent,{emptyState:t,component:n.compare.model,selected:b,queryParams:x})))),[null===n||void 0===n?void 0:n.compare,b]);return g.default.createElement(g.default.Fragment,null,(null===n||void 0===n?void 0:n.loading)&&g.default.createElement("div",{className:m.default.loader},g.default.createElement(p.RoundLoader,null)),g.default.createElement((function(){return R.length<0&&E.length<0?g.default.createElement(g.default.Fragment,null):g.default.createElement("div",{className:m.default.dropdownContainer},g.default.createElement("div",{className:m.default.leftDropdown},R.length>0&&g.default.createElement(h.CompositionDropdown,{dropdownItems:R,selected:N})),g.default.createElement("div",{className:m.default.rightDropdown},E.length>0&&g.default.createElement(h.CompositionDropdown,{dropdownItems:E,selected:I})))}),null),g.default.createElement(u.CompareSplitLayoutPreset,{base:P,compare:A}))}},23400:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionDropdown=void 0;const s=n(88582),c=n(25314),l=n(76668),u=o(n(49725)),d=i(n(45302));function p(e){const{selected:t,current:n}=e,r=(null===t||void 0===t?void 0:t.id)===n.id,a=(0,u.useRef)(null);return(0,u.useEffect)((()=>{var e;r&&(null===(e=a.current)||void 0===e||e.scrollIntoView({block:"nearest",behavior:"smooth"}))}),[r]),u.default.createElement("div",{ref:a},u.default.createElement(s.MenuLinkItem,{active:n.id===(null===t||void 0===t?void 0:t.id),href:n.value},u.default.createElement("div",null,n.label)))}t.CompositionDropdown=function(e){const{selected:t,dropdownItems:n}=e;return u.default.createElement(l.Dropdown,{dropClass:d.default.menu,placeholder:u.default.createElement("div",{className:d.default.placeholder},u.default.createElement("div",null,t&&t.label),u.default.createElement(c.Icon,{of:"fat-arrow-down"}))},n.map((e=>u.default.createElement(p,{key:e.id,current:e,selected:t}))))}},71844:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionCompare=void 0;var r=n(2155);Object.defineProperty(t,"CompositionCompare",{enumerable:!0,get:function(){return r.CompositionCompare}})},73519:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a(0,u.default)(null===n||void 0===n?void 0:n.values()).filter((({location:e})=>"start"===e)).map((({content:e},t)=>c.default.createElement(c.default.Fragment,{key:t},e)))),[n]),s=(0,c.useMemo)((()=>(0,u.default)(null===n||void 0===n?void 0:n.values()).filter((({location:e})=>"end"===e)).map((({content:e},t)=>c.default.createElement(c.default.Fragment,{key:t},e)))),[n]);return o.length||s.length?c.default.createElement("div",Object.assign({},a,{className:(0,l.default)(t,d.default.compositionsMenuBar)}),!(!(null===o||void 0===o?void 0:o.length)&&!r)&&c.default.createElement("div",null,o," ",r),c.default.createElement("div",{className:d.default.spacer}),!!(null===s||void 0===s?void 0:s.length)&&c.default.createElement("div",null,s)):null}},5944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionsMenuBar=void 0;var r=n(73519);Object.defineProperty(t,"CompositionsMenuBar",{enumerable:!0,get:function(){return r.CompositionsMenuBar}})},99802:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePreviewQueryParams=t.usePreview=t.CompositionContextProvider=void 0;var r=n(49064);Object.defineProperty(t,"CompositionContextProvider",{enumerable:!0,get:function(){return r.CompositionContextProvider}}),Object.defineProperty(t,"usePreview",{enumerable:!0,get:function(){return r.usePreview}});var a=n(46571);Object.defineProperty(t,"usePreviewQueryParams",{enumerable:!0,get:function(){return a.usePreviewQueryParams}})},49064:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.usePreview=t.CompositionContextProvider=void 0;const i=o(n(49725)),s=(0,i.createContext)({queryParams:{},setQueryParams:()=>{}});t.CompositionContextProvider=function({children:e,queryParams:t,setQueryParams:n}){const r=(0,i.useMemo)((()=>({queryParams:t,setQueryParams:n})),[t,n]);return i.default.createElement(s.Provider,{value:r},e)},t.usePreview=function(){return(0,i.useContext)(s)}},46571:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePreviewQueryParams=void 0;const r=n(49725),a=n(49064);t.usePreviewQueryParams=function(e){const t=(0,a.usePreview)();return[t.queryParams[e],(0,r.useCallback)((n=>t.setQueryParams((t=>Object.assign(Object.assign({},t),{[e]:n})))),[e])]}},49527:(e,t,n)=>{"use strict";function r(){const e=n(79410);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.Composition=void 0;class a{constructor(e,t,n){this.identifier=e,this.filepath=t,this._displayName=n}get displayName(){return this._displayName||(0,r().humanizeCompositionId)(this.identifier)}toObject(){return{identifier:this.identifier,filepath:this.filepath,displayName:this._displayName}}toBrowserMetaDataObject(){return{identifier:this.identifier,displayName:this._displayName}}static fromArray(e){return e.map((e=>new a(e.identifier,e.filepath,e.displayName)))}}t.Composition=a},63995:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(72288);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionsSection=void 0;t.CompositionsSection=class{constructor(e,t,n){this.compositions=e,this.options=t,this.emptyStateSlot=n,(0,a().default)(this,"navigationLink",{href:"~compositions",children:"Compositions"}),(0,a().default)(this,"route",{path:"~compositions",element:o().default.createElement(i().Compositions,{menuBarWidgets:this.options.menuBarWidgetSlot,emptyState:this.emptyStateSlot})}),(0,a().default)(this,"order",20)}}},81991:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CompositionsAspect=void 0;const a=r().Aspect.create({id:"teambit.compositions/compositions",dependencies:[],defaultConfig:{}});t.CompositionsAspect=a;var o=a;t.default=o},72288:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=I(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return a=function(){return e},e}function o(){const e=r(n(3103));return o=function(){return e},e}function i(){const e=r(n(23720));return i=function(){return e},e}function s(){const e=n(40558);return s=function(){return e},e}function c(){const e=n(81258);return c=function(){return e},e}function l(){const e=n(33255);return l=function(){return e},e}function u(){const e=n(44704);return u=function(){return e},e}function d(){const e=n(19332);return d=function(){return e},e}function p(){const e=n(26580);return p=function(){return e},e}function f(){const e=n(72847);return f=function(){return e},e}function g(){const e=n(50666);return g=function(){return e},e}function m(){const e=n(85779);return m=function(){return e},e}function h(){const e=n(45925);return h=function(){return e},e}function _(){const e=n(39323);return _=function(){return e},e}function v(){const e=n(5944);return v=function(){return e},e}function y(){const e=n(99802);return y=function(){return e},e}function b(){const e=n(22379);return b=function(){return e},e}function R(){const e=n(87117);return R=function(){return e},e}function E(){const e=n(11308);return E=function(){return e},e}function S(){const e=n(62589);return S=function(){return e},e}function O(){const e=n(56843);return O=function(){return e},e}function w(){const e=n(79754);return w=function(){return e},e}function C(){const e=n(5232);return C=function(){return e},e}function T(){const e=r(n(25347));return T=function(){return e},e}function x(){const e=n(25747);return x=function(){return e},e}function N(){const e=n(3416);return N=function(){return e},e}function I(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(I=function(e){return e?n:t})(e)}function P({component:e,selected:t,queryParams:n,emptyState:r}){var o;const i=null===(o=e.environment)||void 0===o?void 0:o.id,s=null===r||void 0===r?void 0:r.get(i||"");return 0===e.compositions.length&&"teambit.workspace/workspace"===e.host&&s?a().default.createElement("div",{className:T().default.noCompositionsPage},a().default.createElement("div",null,a().default.createElement(E().H1,{className:T().default.title},"Compositions"),a().default.createElement(R().Separator,{isPresentational:!0,className:T().default.separator}),a().default.createElement(S().AlertCard,{level:"info",title:"There are no compositions for this Component. Learn how to add compositions:"},a().default.createElement(b().MDXLayout,null,a().default.createElement(s,null))))):"pending"===(null===e||void 0===e?void 0:e.buildStatus)&&"teambit.scope/scope"===(null===e||void 0===e?void 0:e.host)?a().default.createElement(C().StatusMessageCard,{className:T().default.buildStatusMessage,status:"PROCESSING",title:"component preview pending"},"this might take some time"):"failed"===(null===e||void 0===e?void 0:e.buildStatus)&&"teambit.scope/scope"===(null===e||void 0===e?void 0:e.host)?a().default.createElement(C().StatusMessageCard,{className:T().default.buildStatusMessage,status:"FAILURE",title:"failed to get component preview "}):0===e.compositions.length?a().default.createElement(m().EmptyBox,{title:"There are no compositions for this component.",linkText:"Learn how to create compositions",link:"https://bit.dev/docs/dev-services-overview/compositions/compositions-overview"}):a().default.createElement(x().ComponentComposition,{className:T().default.compositionsIframe,viewport:null,component:e,forceHeight:"100%",composition:t,fullContentHeight:!0,pubsub:!0,queryParams:n})}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionContent=P,t.Compositions=function({menuBarWidgets:e,emptyState:t}){var n;const r=(0,a().useContext)(u().ComponentContext),[m,b]=(0,a().useState)((0,o().default)(r.compositions)),R=(0,a().useRef)(m);R.current=m;const E=(0,f().useDocs)(r.id);(0,a().useEffect)((()=>{var e;const t=null===(e=R.current)||void 0===e?void 0:e.identifier,n=r.compositions.find((e=>e.identifier===t))||r.compositions[0];b(n)}),[r]);const S=!(0,_().useIsMobile)()&&r.compositions.length>0,[C,x]=(0,a().useState)(S),I=C?c().Layout.row:c().Layout.left,A=(0,h().toPreviewUrl)(r,"compositions"),D=null===r||void 0===r||null===(n=r.preview)||void 0===n?void 0:n.isScaling,k=D?`name=${null===m||void 0===m?void 0:m.identifier}`:null===m||void 0===m?void 0:m.identifier,M=(0,h().toPreviewUrl)(r,"compositions",k),[j,L]=(0,a().useState)({}),F=(0,a().useMemo)((()=>i().default.stringify(j)),[j]);return(0,a().useEffect)((()=>x(S)),[S]),a().default.createElement(y().CompositionContextProvider,{queryParams:j,setQueryParams:L},a().default.createElement(c().SplitPane,{layout:I,size:"85%",className:T().default.compositionsPage},a().default.createElement(c().Pane,{className:T().default.left},a().default.createElement(v().CompositionsMenuBar,{menuBarWidgets:e,className:T().default.menuBar},a().default.createElement(O().Link,{external:!0,href:M,className:T().default.openInNewTab},a().default.createElement(w().OptionButton,{icon:"open-tab"}))),a().default.createElement(P,{emptyState:t,component:r,selected:m,queryParams:F})),a().default.createElement(l().HoverSplitter,{className:T().default.splitter},a().default.createElement(g().Collapser,{placement:"left",isOpen:C,onMouseDown:e=>e.stopPropagation(),onClick:()=>x((e=>!e)),tooltipContent:(C?"Hide":"Show")+" side compositions",className:T().default.collapser})),a().default.createElement(c().Pane,{className:T().default.right},a().default.createElement(s().ThemeContext,null,a().default.createElement(p().TabContainer,{className:T().default.tabsContainer},a().default.createElement(p().TabList,{className:T().default.tabs},a().default.createElement(p().Tab,null,"compositions"),a().default.createElement(p().Tab,null,"properties")),a().default.createElement(p().TabPanel,{className:T().default.tabContent},a().default.createElement(N().CompositionsPanel,{isScaling:D,onSelectComposition:b,url:A,compositions:r.compositions,active:m,className:T().default.compost})),a().default.createElement(p().TabPanel,{className:T().default.tabContent},E&&E.length>0?a().default.createElement(d().PropTable,{rows:E,showListView:!0}):a().default.createElement("div",null)))))))}},16034:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(73823);return i=function(){return e},e}function s(){const e=n(44704);return s=function(){return e},e}function c(){const e=n(12639);return c=function(){return e},e}function l(){const e=n(79218);return l=function(){return e},e}function u(){const e=n(71844);return u=function(){return e},e}function d(){const e=n(75334);return d=function(){return e},e}function p(){const e=n(63995);return p=function(){return e},e}function f(){const e=n(81991);return f=function(){return e},e}n(31567),n(92619);class g{constructor(e,t){this.menuBarWidgetSlot=e,this.emptyStateSlot=t,(0,a().default)(this,"getCompositionsCompare",(()=>o().default.createElement(u().CompositionCompare,{emptyState:this.emptyStateSlot})))}registerEmptyState(e){return this.emptyStateSlot.register(e),this}registerMenuWidget(...e){this.menuBarWidgetSlot.register(e)}static async provider([e,t],n,[r,a]){const o=new g(r,a),i=new(p().CompositionsSection)(o,{menuBarWidgetSlot:o.menuBarWidgetSlot},a),s=new(l().CompositionCompareSection)(o);return e.registerRoute(i.route),e.registerNavigation(i.navigationLink,i.order),t.registerNavigation({props:s.navigationLink,order:s.navigationLink.order}),t.registerRoutes([s.route]),o}}(0,a().default)(g,"dependencies",[s().ComponentAspect,d().ComponentCompareAspect]),(0,a().default)(g,"runtime",c().UIRuntime),(0,a().default)(g,"slots",[i().Slot.withType(),i().Slot.withType()]),f().CompositionsAspect.addRuntime(g)},91814:(e,t,n)=>{"use strict";function r(){const e=n(81991);return r=function(){return e},e}function a(){const e=n(49527);return a=function(){return e},e}function o(){const e=n(72288);return o=function(){return e},e}function i(){const e=n(25747);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentComposition",{enumerable:!0,get:function(){return i().ComponentComposition}}),Object.defineProperty(t,"Composition",{enumerable:!0,get:function(){return a().Composition}}),Object.defineProperty(t,"CompositionContent",{enumerable:!0,get:function(){return o().CompositionContent}}),Object.defineProperty(t,"CompositionContentProps",{enumerable:!0,get:function(){return o().CompositionContentProps}}),Object.defineProperty(t,"CompositionProps",{enumerable:!0,get:function(){return a().CompositionProps}}),Object.defineProperty(t,"CompositionsAspect",{enumerable:!0,get:function(){return r().CompositionsAspect}}),t.default=void 0;var s=r().CompositionsAspect;t.default=s},4632:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(11290));return o=function(){return e},e}function i(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return i=function(){return e},e}function s(){const e=n(45925);return s=function(){return e},e}function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentComposition=function(e){let{composition:t,component:n,queryParams:r=[]}=e,c=(0,o().default)(e,["composition","component","queryParams"]);const l=(0,i().useMemo)((()=>{var e;return(t?[null!==(e=n.preview)&&void 0!==e&&e.isScaling?`name=${t.identifier}`:t.identifier]:[]).concat(r)}),[null===t||void 0===t?void 0:t.identifier,r]);return i().default.createElement(s().ComponentPreview,(0,a().default)({},c,{component:n,style:{width:"100%",height:"100%"},previewName:"compositions",queryParams:l}))}},3416:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(11290));return o=function(){return e},e}function i(){const e=n(25314);return i=function(){return e},e}function s(){const e=r(n(55574));return s=function(){return e},e}function c(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return c=function(){return e},e}function l(){const e=r(n(81503));return l=function(){return e},e}function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionsPanel=function(e){let{url:t,compositions:n,isScaling:r,onSelectComposition:u,active:d,className:p}=e,f=(0,o().default)(e,["url","compositions","isScaling","onSelectComposition","active","className"]);const g=(0,c().useCallback)((e=>{u&&u(e)}),[u]);return c().default.createElement("ul",(0,a().default)({},f,{className:(0,s().default)(p)}),n.map((e=>{const n=r?`${t}&name=${e.identifier}`:`${t}&${e.identifier}`;return c().default.createElement("li",{key:e.identifier,className:(0,s().default)(l().default.linkWrapper,e===d&&l().default.active)},c().default.createElement("a",{className:l().default.panelLink,onClick:()=>g(e)},c().default.createElement("span",{className:l().default.box}),c().default.createElement("span",{className:l().default.name},e.displayName)),c().default.createElement("div",{className:l().default.right},c().default.createElement("a",{className:l().default.panelLink,target:"_blank",rel:"noopener noreferrer",href:n},c().default.createElement(i().Icon,{className:l().default.icon,of:"open-tab"}))))})))}},25747:(e,t,n)=>{"use strict";function r(){const e=n(4632);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentComposition",{enumerable:!0,get:function(){return r().ComponentComposition}})},10765:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestCompareSection=void 0;var r=n(48397);Object.defineProperty(t,"TestCompareSection",{enumerable:!0,get:function(){return r.TestCompareSection}})},48397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestCompareSection=void 0;t.TestCompareSection=class{constructor(e){this.tester=e,this.navigationLink={href:"tests",children:"Tests",order:3},this.route={path:"tests/*",element:this.tester.getTesterCompare()}}}},5259:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompareTestsPage=void 0;const a=r(n(49725)),o=n(59062),i=n(55586),s=n(39397),c=n(62589),l=n(85779),u=n(22379),d=n(12493),p=r(n(55574)),f=o.gql` + subscription OnTestsChanged($id: String!) { + testsChanged(id: $id) { + testsResults { + testFiles { + file + duration + pass + failed + pending + errorStr + tests { + ancestor + duration + status + name + error + } + } + } + } + } +`,g=o.gql` + query ($id: String!) { + getHost { + id # for GQL caching + getTests(id: $id) { + loading + testsResults { + testFiles { + file + duration + pass + failed + pending + errorStr + tests { + ancestor + duration + status + name + error + } + } + } + } + } + } +`;t.CompareTestsPage=function(e){var t,n,r,m;const{component:h,emptyState:_,className:v,isCompareVersionWorkspace:y}=e,b=y?h.id.toStringWithoutVersion():h.id.toString(),R=(0,o.useSubscription)(f,{variables:{id:b}}),{data:E}=(0,o.useQuery)(g,{variables:{id:b}}),S=(null===(t=R.data)||void 0===t?void 0:t.testsChanged)||(null===(n=null===E||void 0===E?void 0:E.getHost)||void 0===n?void 0:n.getTests),O=null===(r=null===S||void 0===S?void 0:S.testsResults)||void 0===r?void 0:r.testFiles;if(null===S||void 0===S?void 0:S.loading)return a.default.createElement(i.TestLoader,null);const w=null===(m=h.environment)||void 0===m?void 0:m.id,C=_.get(w||"");return null!==O&&null!==(null===S||void 0===S?void 0:S.testsResults)||"teambit.workspace/workspace"!==h.host||!C?null===O||null===(null===S||void 0===S?void 0:S.testsResults)?a.default.createElement(l.EmptyBox,{title:"This component doesn\u2019t have any tests.",linkText:"Learn how to add tests to your components",link:"https://bit.dev/docs/dev-services-overview/tester/tester-overview"}):a.default.createElement("div",{className:(0,p.default)(d.styles.testsPage,v)},a.default.createElement("div",null,a.default.createElement(s.TestTable,{testResults:O,className:d.styles.testBlock}))):a.default.createElement("div",{className:(0,p.default)(d.styles.testsPage,v)},a.default.createElement("div",null,a.default.createElement(c.AlertCard,{level:"info",title:"There are no\n tests for this Component. Learn how to add tests:"},a.default.createElement(u.MDXLayout,null,a.default.createElement(C,null)))))}},68132:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompareTests=void 0;const s=n(28043),c=n(87351),l=n(48164),u=n(52782),d=o(n(49725)),p=n(5259),f=i(n(89524));t.CompareTests=function(e){const{emptyState:t}=e,n=(0,c.useComponentCompare)(),[r,a]=(0,d.useState)(!0),o=(0,d.useRef)(null),i=(0,d.useRef)(null);function g(e){var t;r&&(null===(t=i.current)||void 0===t||t.scrollTo({top:e.currentTarget.scrollTop,left:e.currentTarget.scrollLeft}))}function m(e){var t;r&&(null===(t=o.current)||void 0===t||t.scrollTo({top:e.currentTarget.scrollTop,left:e.currentTarget.scrollLeft}))}const h=(0,d.useMemo)((()=>{var e;return void 0===(null===n||void 0===n?void 0:n.base)?d.default.createElement(d.default.Fragment,null):d.default.createElement("div",{className:f.default.subView,ref:o,onScroll:g},d.default.createElement(p.CompareTestsPage,{component:null===(e=n.base)||void 0===e?void 0:e.model,emptyState:t}))}),[null===n||void 0===n?void 0:n.base,r]),_=(0,d.useMemo)((()=>void 0===(null===n||void 0===n?void 0:n.compare)?d.default.createElement(d.default.Fragment,null):d.default.createElement("div",{className:f.default.subView,ref:i,onScroll:m},d.default.createElement(p.CompareTestsPage,{component:n.compare.model,isCompareVersionWorkspace:n.compare.hasLocalChanges,emptyState:t}))),[null===n||void 0===n?void 0:n.compare,r]);return d.default.createElement(d.default.Fragment,null,(null===n||void 0===n?void 0:n.loading)&&d.default.createElement("div",{className:f.default.loader},d.default.createElement(u.RoundLoader,null)),d.default.createElement("div",{className:f.default.checkboxContainer},d.default.createElement("div",{className:f.default.toggleContainer},d.default.createElement(l.Toggle,{checked:r,onInputChanged:function(){var e,t,n;null===(e=i.current)||void 0===e||e.scrollTo({top:null===(t=o.current)||void 0===t?void 0:t.scrollTop,left:null===(n=o.current)||void 0===n?void 0:n.scrollLeft}),a((e=>!e))},className:f.default.toggle}),"Synchronize Scrolling")),d.default.createElement(s.CompareSplitLayoutPreset,{base:h,compare:_,className:f.default.splitLayout}))}},91411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompareTests=void 0;var r=n(68132);Object.defineProperty(t,"CompareTests",{enumerable:!0,get:function(){return r.CompareTests}})},55586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestLoader=void 0;var r=n(36612);Object.defineProperty(t,"TestLoader",{enumerable:!0,get:function(){return r.TestLoader}})},36612:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestRow=void 0;var r=n(99806);Object.defineProperty(t,"TestRow",{enumerable:!0,get:function(){return r.TestRow}})},99806:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TestRow=void 0;const a=r(n(55574)),o=r(n(49725)),i=n(89103),s=r(n(71470));t.TestRow=function({children:e,content:t,className:n,rowClass:r}){return o.default.createElement("div",{className:(0,a.default)(s.default.testBlock,n)},o.default.createElement("div",{className:(0,a.default)(s.default.row,r)},e),t&&o.default.createElement(i.CliSnippet,{content:t,className:s.default.snippet}))}},39397:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestTable=void 0;var r=n(78415);Object.defineProperty(t,"TestTable",{enumerable:!0,get:function(){return r.TestTable}})},55210:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestFileTitle=void 0;var r=n(94643);Object.defineProperty(t,"TestFileTitle",{enumerable:!0,get:function(){return r.TestFileTitle}})},94643:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const n=8*e.ancestor.indexOf(t);return c.default.createElement("div",{style:{paddingLeft:`${n}px`},key:t},`${t}`)})),c.default.createElement("div",{style:{paddingLeft:`${t}px`}},e.name))}return c.default.createElement("div",{className:(0,o.default)(p.default.testBreadcrumbs,p.default.singleLine)},e.ancestor.map((e=>c.default.createElement("span",{key:e},`${e} > `))),c.default.createElement("div",null,e.name))}t.TestTable=function(e){var{testResults:t}=e,n=r(e,["testResults"]);return t&&0!==t.length?c.default.createElement("div",Object.assign({},n),t.map(((e,t)=>{const n=null===e||void 0===e?void 0:e.errorStr,r=e.failed>0||n?"#e62e5c":"#37b26c";return c.default.createElement("div",{key:t,className:p.default.testTable},c.default.createElement(u.TestFileTitle,{style:{borderColor:r},testFile:e}),n&&c.default.createElement(g,{key:n,name:e.file,error:n}),!n&&e.tests.map((e=>c.default.createElement(f,{key:e.name,test:e}))))}))):null}},32381:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getStatusIcon=void 0;const a=r(n(49725)),o=n(25314),i=r(n(767));t.getStatusIcon=function(e){return"passed"===e?a.default.createElement(o.Icon,{className:i.default.pass,of:"billing-checkmark"}):"failed"===e?a.default.createElement(o.Icon,{className:i.default.fail,of:"error-circle"}):"pending"===e?a.default.createElement(o.Icon,{className:i.default.pendingIcon,of:"pending"}):"skipped"===e?a.default.createElement(o.Icon,{className:i.default.skippedIcon,of:"skipped"}):""}},9294:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DeprecationAspect=void 0;const a=r().Aspect.create({id:"teambit.component/deprecation",dependencies:[],defaultConfig:{}});t.DeprecationAspect=a;var o=a;t.default=o},43140:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=n(56374);return s=function(){return e},e}function c(){const e=n(75490);return c=function(){return e},e}function l(){const e=n(9294);return l=function(){return e},e}n(31567),n(92619);class u{static async provider([e]){e.registerTitleBadge({component:function({legacyComponentModel:e}){return o().default.createElement(c().ComponentDeprecated,{deprecation:e.deprecation})},weight:40})}}(0,a().default)(u,"dependencies",[s().DocsAspect]),(0,a().default)(u,"runtime",i().UIRuntime),l().DeprecationAspect.addRuntime(u)},43156:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=void 0;var r=n(43156);Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return r.Icon}})},50228:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonsPlugin=void 0;var r=n(50228);Object.defineProperty(t,"ButtonsPlugin",{enumerable:!0,get:function(){return r.ButtonsPlugin}})},32972:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";t.Lt=void 0;var r=n(32972);Object.defineProperty(t,"Lt",{enumerable:!0,get:function(){return r.Dropdown}});var a=n(47683);var o=n(26779)},47683:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},156:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.elevationClass=void 0;const i=o(n(16691));a(n(99348),t),t.elevationClass={low:i.default.low,medium:i.default.medium,high:i.default.high,none:void 0}},50407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickOutside=void 0;const r=n(49725);class a extends r.Component{constructor(){super(...arguments),this.listener=e=>{const{targetRef:t,handler:n}=this.props,r=e.target;t.current&&r&&!t.current.contains(r)&&n(e)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(e){const t=this.props;e.enabled!==t.enabled&&(t.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}t.ClickOutside=a,a.defaultProps={enabled:!0}},27913:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=t.ClickOutside=void 0;var r=n(50407);Object.defineProperty(t,"ClickOutside",{enumerable:!0,get:function(){return r.ClickOutside}});var a=n(40528);Object.defineProperty(t,"useClickOutside",{enumerable:!0,get:function(){return a.useClickOutside}})},40528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const r=n(49725);t.useClickOutside=function(e,t,n=!0){(0,r.useEffect)((()=>{const r=n=>{const r=n.target;e.current&&r&&!e.current.contains(r)&&t(n)};return n&&(document.addEventListener("mousedown",r),document.addEventListener("touchstart",r)),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}}),[e,t,n])}},93104:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.backgrounds=void 0;const a=r(n(66322));t.backgrounds={bedrock:a.default.bedrock,base:a.default.base,layer:a.default.layer,crust:a.default.crust,topping:a.default.topping,dent:a.default.dent}},9431:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultPlaceholder=void 0;const a=r(n(49725)),o=r(n(93984)),i=r(n(87641));t.DefaultPlaceholder=function(e){return a.default.createElement("div",Object.assign({},e,{className:(0,o.default)(e.className,i.default.placeholder)}))}},62062:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const{isOpen:t}=this.state,n=!t;this.isControlled||this.setState({isOpen:n}),this.props.onChange&&this.props.onChange(e,n)},this.close=e=>{const{isOpen:t}=this.state;!this.isControlled&&t&&this.setState({isOpen:false}),this.props.onChange&&this.props.onChange(e,false)},this.open=e=>{const{isOpen:t}=this.state;this.isControlled||t||this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(e,!0)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(e){this.props.open!==e.open&&void 0!==e.open&&this.setState({isOpen:e.open})}get isControlled(){return void 0!==this.props.open}render(){const e=this.props,{placeholderContent:t="",children:n,clickOutside:r,onMouseEnter:a,onMouseLeave:o,open:s,hoverToOpen:d,clickPlaceholderToggles:f,clickToggles:g,onChange:m,onPlaceholderToggle:h,onContainerToggle:_,onContaineeToggle:v,onClickOutside:y}=e,b=i(e,["placeholderContent","children","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen:R}=this.state;return c.default.createElement(l.Container,Object.assign({},b,{forwardRef:this.ref,open:R,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),n,c.default.createElement(p.DefaultPlaceholder,{onClick:this.handlePlaceholderClick},t),c.default.createElement(u.ClickOutside,{targetRef:this.ref,enabled:!!r&&R,handler:this.handleClickOutside}))}}t.Drawer=f,f.defaultProps={clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},24970:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(62062),t)},93984:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxItem=void 0;var r=n(69682);Object.defineProperty(t,"CheckboxItem",{enumerable:!0,get:function(){return r.CheckboxItem}})},43126:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxIndicator=void 0;var r=n(38439);Object.defineProperty(t,"CheckboxIndicator",{enumerable:!0,get:function(){return r.CheckboxIndicator}})},96131:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxLabel=void 0;var r=n(96131);Object.defineProperty(t,"CheckboxLabel",{enumerable:!0,get:function(){return r.CheckboxLabel}})},15075:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iconClass=t.MenuItem=void 0;var r=n(78643);Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function(){return r.MenuItem}}),Object.defineProperty(t,"iconClass",{enumerable:!0,get:function(){return r.iconClass}})},78643:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var{children:n,className:r,icon:a,active:o,onClick:s,interactive:d=!!s}=e,p=i(e,["children","className","icon","active","onClick","interactive"]);return c.default.createElement("div",Object.assign({},p,{ref:t,onClick:s,className:(0,l.default)(r,u.default.menuItem,d&&u.default.interactive,o&&u.default.active,a&&u.default.withIcon)}),a,n)}))},1394:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultiSelect=void 0;var r=n(83989);Object.defineProperty(t,"MultiSelect",{enumerable:!0,get:function(){return r.MultiSelect}})},83989:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ao.default.createElement(c.CheckboxItem,{checked:e.checked,disabled:e.disabled,description:e.description,icon:e.icon,onInputChanged:t=>null===a||void 0===a?void 0:a(e.value,t),key:t,className:d.default.checkboxItem},e.element||e.value))),(p||f)&&o.default.createElement("div",{className:d.default.buttonsHolder},p&&o.default.createElement("div",{className:d.default.clearText,onClick:p},"Clear"),f&&o.default.createElement("div",{className:d.default.doneText,onClick:f},"Done")))}},22173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},49538:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.elevationClass=void 0;const i=o(n(17299));a(n(22173),t),t.elevationClass={low:i.default.low,medium:i.default.medium,high:i.default.high,none:void 0}},94357:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.backgrounds=void 0;const a=r(n(80153));t.backgrounds={bedrock:a.default.bedrock,base:a.default.base,layer:a.default.layer,crust:a.default.crust,topping:a.default.topping,dent:a.default.dent}},53663:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultPlaceholder=void 0;const a=r(n(49725)),o=r(n(5099)),i=r(n(29971));t.DefaultPlaceholder=function(e){return a.default.createElement("div",Object.assign({},e,{className:o.default(e.className,i.default.placeholder)}))}},6421:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const{isOpen:t}=this.state,n=!t;this.isControlled||this.setState({isOpen:n}),this.props.onChange&&this.props.onChange(e,n)},this.close=e=>{const{isOpen:t}=this.state;!this.isControlled&&t&&this.setState({isOpen:false}),this.props.onChange&&this.props.onChange(e,false)},this.open=e=>{const{isOpen:t}=this.state;this.isControlled||t||this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(e,!0)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(e){this.props.open!==e.open&&void 0!==e.open&&this.setState({isOpen:e.open})}get isControlled(){return void 0!==this.props.open}render(){const e=this.props,{placeholder:t,children:n,PlaceholderComponent:r=p.DefaultPlaceholder,clickOutside:a,onMouseEnter:o,onMouseLeave:s,open:d,hoverToOpen:f,clickPlaceholderToggles:g,clickToggles:m,onChange:h,onPlaceholderToggle:_,onContainerToggle:v,onContaineeToggle:y,onClickOutside:b}=e,R=i(e,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen:E}=this.state;return c.default.createElement(l.Container,Object.assign({},R,{forwardRef:this.ref,open:E,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),n,c.default.createElement(r,{onClick:this.handlePlaceholderClick},t),c.default.createElement(u.ClickOutside,{targetRef:this.ref,enabled:!!a&&E,handler:this.handleClickOutside}))}}t.Drawer=f,f.defaultProps={PlaceholderComponent:p.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},53795:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(6421),t)},78327:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classes=t.MenuItem=void 0;var r=n(58109);Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function(){return r.MenuItem}}),Object.defineProperty(t,"classes",{enumerable:!0,get:function(){return r.classes}})},58109:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Input=t.Toggle=void 0;var r=n(52650);Object.defineProperty(t,"Toggle",{enumerable:!0,get:function(){return r.Toggle}}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return r.Input}})},52650:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Input=t.CheckboxLabel=void 0;var r=n(19484);Object.defineProperty(t,"CheckboxLabel",{enumerable:!0,get:function(){return r.CheckboxLabel}}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return r.Input}})},14449:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";n.r(t),n.d(t,{ContentTabs:()=>T});var r=n(49725),a=n(36536),o=n.n(a),i=n(81810),s=n(30951);const c="tab-line_tabLine__1Vtzo";var l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var{selectedTab:n,borderPosition:a,className:i}=e,s=l(e,["selectedTab","borderPosition","className"]);const[u,d]=(0,r.useState)({width:void 0,transform:void 0});return(0,r.useEffect)((()=>{if(n){const e={width:void 0,transform:void 0},t=n.offsetLeft;e.width=`${n.offsetWidth}px`,e.transform=`translateX(${t}px)`,d(e)}}),[n]),r.createElement("div",Object.assign({"data-position":a,className:o()(c,i),style:u,ref:t},s))})),d="tab-folder_tabFolder__1XqTm";var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var{selectedTab:n,className:a}=e,i=p(e,["selectedTab","className"]);const[s,c]=(0,r.useState)({width:void 0,transform:void 0});return(0,r.useEffect)((()=>{if(n){const e={width:void 0,transform:void 0},t=n.offsetLeft;e.width=`${n.offsetWidth}px`,e.transform=`translateX(${t}px)`,c(e)}}),[n]),r.createElement("div",Object.assign({className:o()(d,a),style:s,ref:t},i))})),g="responsive-navbar_tab__h2BUK",m="responsive-navbar_active__2aH7r",h="responsive-navbar_navTabs__ekn4T",_="responsive-navbar_overflow__2VGfX",v="responsive-navbar_more__3ptQ0",y="responsive-navbar_dots__35bK4",b="responsive-navbar_secondaryTabContainer__6CVKO",R="responsive-navbar_item__25kgV",E="responsive-navbar_menuItem__JvCdr",S="responsive-navbar_hidden__Q-XYr";var O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a(I(k.current[T]),F(),window.addEventListener("resize",F),()=>window.removeEventListener("resize",F))),[T,N,d]);const j=e=>{n&&n(e),x(e)};(0,r.useEffect)((()=>{x(t)}),[t]);const L=e=>{let t=0;return k.current.forEach(((n,r)=>{r<=e&&(t+=n.offsetWidth)})),t},F=()=>{var e,t,n,r;(()=>{var e,t,n;null===(e=A.current)||void 0===e||e.classList.remove(_),null===(t=P.current)||void 0===t||t.classList.remove(S),null===(n=D.current)||void 0===n||n.classList.remove(S),k.current.forEach(((e,t)=>{e.classList.remove(S)})),M.current.forEach(((e,t)=>{e.classList.remove(S)}))})();const a=(null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||0,o=(null===(t=P.current)||void 0===t?void 0:t.offsetWidth)||0;let i=[];for(let s=k.current.length-1;s>0;s--){const e=k.current[s];a-o<=L(s)+o&&(e===N&&(null===(n=D.current)||void 0===n||n.classList.add(S)),e.classList.add(S),i.push(s))}i.length?M.current.forEach(((e,t)=>{i.includes(t)||e.classList.add(S)})):null===(r=P.current)||void 0===r||r.classList.add(S)};return r.createElement("nav",Object.assign({},C,{className:o()(h,_,a),ref:A}),d.map(((e,t)=>r.createElement("div",{className:o()(g,t===T&&m),"data-priority":w,onClick:e=>j(t),key:`tab-${t}`,ref:e=>e&&(k.current[t]=e)},r.createElement(e.component,{isInMenu:!1})))),(()=>{switch(w){case"none":return null;case"line":default:return r.createElement(u,{borderPosition:l,selectedTab:N,className:c,ref:D});case"folder":return r.createElement(f,{selectedTab:N,className:c,ref:D})}})(),r.createElement("div",{className:o()(v,S),ref:P},r.createElement(i.Lt,{placeholderContent:r.createElement("div",{className:y,"data-priority":"menu"},r.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:b,position:p,clickToggles:!0,margin:8},d.map(((e,t)=>r.createElement("div",{key:`dropdown-${t}`,ref:e=>e&&(M.current[t]=e),className:R},r.createElement(s.MenuItem,{className:E,active:t===T,onClick:e=>j(t)},r.createElement(e.component,{isInMenu:!0}))))))))}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a({component:({isInMenu:t})=>r.createElement(e.component,{isInMenu:t})})));return r.createElement(r.Fragment,null,r.createElement(w,Object.assign({},o,{tabs:c,defaultActiveIndex:t,onSelect:e=>{s(e),a&&a(e)}})),n[i].content)}},36536:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";n.r(t),n.d(t,{ResponsiveNavbar:()=>w});var r=n(49725),a=n(28199),o=n.n(a),i=n(81810),s=n(30951);const c="tab-line_tabLine__1qyi1";var l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var{selectedTab:n,borderPosition:a,className:i}=e,s=l(e,["selectedTab","borderPosition","className"]);const[u,d]=(0,r.useState)({width:void 0,transform:void 0});return(0,r.useEffect)((()=>{if(n){const e={width:void 0,transform:void 0},t=n.offsetLeft;e.width=`${n.offsetWidth}px`,e.transform=`translateX(${t}px)`,d(e)}}),[n]),r.createElement("div",Object.assign({"data-position":a,className:o()(c,i),style:u,ref:t},s))})),d="tab-folder_tabFolder__3rBoJ";var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var{selectedTab:n,className:a}=e,i=p(e,["selectedTab","className"]);const[s,c]=(0,r.useState)({width:void 0,transform:void 0});return(0,r.useEffect)((()=>{if(n){const e={width:void 0,transform:void 0},t=n.offsetLeft;e.width=`${n.offsetWidth}px`,e.transform=`translateX(${t}px)`,c(e)}}),[n]),r.createElement("div",Object.assign({className:o()(d,a),style:s,ref:t},i))})),g="responsive-navbar_tab__1B0pX",m="responsive-navbar_active__Q2F6f",h="responsive-navbar_navTabs__1o64S",_="responsive-navbar_overflow__2qQQ1",v="responsive-navbar_more__efqaB",y="responsive-navbar_dots__259gL",b="responsive-navbar_secondaryTabContainer__1SUB_",R="responsive-navbar_item__3h1i3",E="responsive-navbar_menuItem__1jskH",S="responsive-navbar_hidden__32Tjc";var O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a(I(k.current[T]),F(),window.addEventListener("resize",F),()=>window.removeEventListener("resize",F))),[T,N,d]);const j=e=>{n&&n(e),x(e)};(0,r.useEffect)((()=>{x(t)}),[t]);const L=e=>{let t=0;return k.current.forEach(((n,r)=>{r<=e&&(t+=n.offsetWidth)})),t},F=()=>{var e,t,n,r;(()=>{var e,t,n;null===(e=A.current)||void 0===e||e.classList.remove(_),null===(t=P.current)||void 0===t||t.classList.remove(S),null===(n=D.current)||void 0===n||n.classList.remove(S),k.current.forEach(((e,t)=>{e.classList.remove(S)})),M.current.forEach(((e,t)=>{e.classList.remove(S)}))})();const a=(null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||0,o=(null===(t=P.current)||void 0===t?void 0:t.offsetWidth)||0;let i=[];for(let s=k.current.length-1;s>0;s--){const e=k.current[s];a-o<=L(s)+o&&(e===N&&(null===(n=D.current)||void 0===n||n.classList.add(S)),e.classList.add(S),i.push(s))}i.length?M.current.forEach(((e,t)=>{i.includes(t)||e.classList.add(S)})):null===(r=P.current)||void 0===r||r.classList.add(S)};return r.createElement("nav",Object.assign({},C,{className:o()(h,_,a),ref:A}),d.map(((e,t)=>{const{component:n}=e,a=O(e,["component"]);return r.createElement("div",Object.assign({className:o()(g,t===T&&m),"data-priority":w,onClick:e=>j(t),key:`tab-${t}`,ref:e=>e&&(k.current[t]=e)},a),r.createElement(e.component,{isInMenu:!1}))})),(()=>{switch(w){case"none":return null;case"line":default:return r.createElement(u,{borderPosition:l,selectedTab:N,className:c,ref:D});case"folder":return r.createElement(f,{selectedTab:N,className:c,ref:D})}})(),r.createElement("div",{className:o()(v,S),ref:P},r.createElement(i.Lt,{placeholderContent:r.createElement("div",{className:y,"data-priority":"menu"},r.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:b,position:p,clickToggles:!0,margin:8},d.map(((e,t)=>r.createElement("div",{key:`dropdown-${t}`,ref:e=>e&&(M.current[t]=e),className:R},r.createElement(s.MenuItem,{className:E,active:t===T,onClick:e=>j(t)},r.createElement(e.component,{isInMenu:!0}))))))))}},28199:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconFont=void 0;var r=n(54341);Object.defineProperty(t,"IconFont",{enumerable:!0,get:function(){return r.IconFont}})},49514:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseTheme=t.useTheme=t.baseThemeDefaults=void 0;var r=n(2381);Object.defineProperty(t,"baseThemeDefaults",{enumerable:!0,get:function(){return r.baseThemeDefaults}});var a=n(49514);Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return a.useTheme}}),Object.defineProperty(t,"BaseTheme",{enumerable:!0,get:function(){return a.BaseTheme}})},16195:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLegacyTokens=void 0,t.getLegacyTokens=function(e){return{"--bit-text-color-light":e.onBackgroundMediumColor,"--bit-text-color":e.onBackgroundColor,"--bit-text-color-heavy":e.onBackgroundHighColor,"--bit-text-inactive":e.onBackgroundLowColor,"--bit-text-inactive-heavy":e.onBackgroundLowColor,"--bit-bg-bedrock":e.backgroundColor,"--bit-bg-color":e.surfaceNeutralColor,"--bit-bg-heavy":e.surfaceNeutralHoverColor,"--bit-bg-heaviest":e.surfaceNeutralActiveColor,"--bit-bg-dent":e.surfaceNeutralHoverColor,"--bit-bg-tooltip":e.surfaceNeutralColor,"--bit-bg-tooltip-heavy":e.surfaceNeutralHoverColor,"--bit-bg-navigation":e.surfaceNeutralHoverColor,"--bit-bg-overlay":e.surfaceNeutralColor,"--bit-bg-modal":e.surfaceNeutralColor,"--bit-border-color-lightest":e.borderMediumColor,"--bit-border-color-light":e.borderMediumHoverColor,"--bit-border-color":e.borderHighColor,"--bit-border-color-heavy":e.borderHighActiveColor,"--bit-accent-color":e.primaryColor,"--bit-text-on-accent":e.onPrimaryColor,"--bit-accent-text":e.primaryColor,"--bit-accent-bg":e.surfaceHoverColor,"--bit-accent-bg-heavy":e.surfaceActiveColor,"--bit-shadow-none":"none","--bit-shadow-faint":"0 2px 10px 0 rgba(0, 0, 0, 0.1)","--bit-shadow-resting":"0px 0px 4px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.08)","--bit-shadow-raised-low":"0 -1px 1px 0 rgba(0, 0, 0, 0.09), 0 2px 2px 0 rgba(0, 0, 0, 0.23)","--bit-shadow-hover-low":"0 2px 8px 0 rgba(0, 0, 0, 0.2)","--bit-shadow-hover-medium":"0 0 20px 0 rgba(0, 0, 0, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.24)","--bit-shadow-hover-high":"0px 11px 29px 0px rgba(0, 0, 0, 0.23)","--bit-p-xxs":"12px","--bit-p-xs":"14px","--bit-p-sm":"15px","--bit-p-md":"16px","--bit-p-lg":"18px","--bit-p-xl":"20px","--bit-p-xxl":"24px","--bit-h-xxs":"16px","--bit-h-xs":"18px","--bit-h-sm":"24px","--bit-h-md":"26px","--bit-h-lg":"36px","--bit-h-xl":"40px","--bit-h-xxl":"50px","--bit-accent-primary-color":e.primaryColor,"--bit-accent-primary-bg":e.primarySurfaceColor,"--bit-accent-hunger-color":e.warningColor,"--bit-accent-hunger-bg":e.warningSurfaceColor,"--bit-accent-impulsive-color":e.negativeColor,"--bit-accent-impulsive-bg":e.negativeSurfaceColor,"--bit-accent-process-color":e.processColor,"--bit-accent-success-color":e.positiveColor,"--bit-accent-success-bg":e.positiveSurfaceColor}}},2381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baseThemeDefaults=void 0,t.baseThemeDefaults={backgroundColor:"#FFFFFF",onBackgroundColor:"#2B2B2B",onBackgroundLowColor:"#9598A1",onBackgroundMediumColor:"#707279",onBackgroundHighColor:"#2B2B2B",primaryColor:"#6C5CE7",onPrimaryColor:"#FFFFFF",borderMediumColor:"#EDEDED",borderMediumHoverColor:"#CECECE",borderMediumFocusColor:"#C6C6C6",borderMediumActiveColor:"#AFAFAF",borderHighColor:"#BABEC9",borderHighHoverColor:"#A3A6B0",borderHighFocusColor:"#9DA1A9",borderHighActiveColor:"#8C8F96",borderPrimaryColor:"#6C5CE7",borderPrimaryHoverColor:"#8376EB",borderPrimaryFocusColor:"#897DEC",borderPrimaryActiveColor:"#8F83ED",surfaceColor:"#FFFFFF",surfaceHoverColor:"#EDEBFC",surfaceActiveColor:"#DCD8F9",surfaceFocusColor:"#E2DEFA",onSurfaceColor:"#2B2B2B",onSurfaceMediumColor:"#707279",onSurfaceLowColor:"#9598A1",surface01Color:"#FFFBFF",surface02Color:"#F7F2FD",surfacePrimaryColor:"#140068",surfacePrimaryHoverColor:"#3A2980",surfacePrimaryActiveColor:"#433386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFFFF",surfaceNeutralColor:"#FFFFFF",surfaceNeutralHoverColor:"#F4F5F6",surfaceNeutralFocusColor:"#F1F2F4",surfaceNeutralActiveColor:"#EEEFF2",onSurfaceNeutralHighColor:"#2B2B2B",onSurfaceNeutralMediumColor:"#707279",onSurfaceNeutralLowColor:"#9598A1",positiveColor:"#37B26C",negativeColor:"#E62E5C",warningColor:"#FFC640",processColor:"#0984E3",primarySurfaceColor:"#F6F5FE",positiveSurfaceColor:"#F3FAF6",negativeSurfaceColor:"#FDF2F5",warningSurfaceColor:"#FFFCF4",processSurfaceColor:"#F0F8FD"}},40277:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IconFont=void 0;const a=r(n(49725));t.IconFont=function(e){const{query:t="cr084i"}=e;return a.default.createElement("link",{rel:"stylesheet",href:`https://d1azc1qln24ryf.cloudfront.net/158286/Bit/style-cf.css?${t}`})}},90670:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconFont=void 0;var r=n(40277);Object.defineProperty(t,"IconFont",{enumerable:!0,get:function(){return r.IconFont}})},44324:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.darkThemeValues=void 0,t.darkThemeValues={backgroundColor:"#121212",onBackgroundColor:"#EDEDED",onBackgroundLowColor:"#848483",onBackgroundMediumColor:"#A3A3A2",onBackgroundHighColor:"#EDEDED",primaryColor:"#6A57FD",onPrimaryColor:"#FFFFFF",borderMediumColor:"#3D3D3C",borderMediumHoverColor:"#A3A6B0",borderMediumFocusColor:"#9DA1A9",borderMediumActiveColor:"#8C8F96",borderHighColor:"#515150",borderHighHoverColor:"#6D6D6C",borderHighFocusColor:"#747473",borderHighActiveColor:"#898988",borderPrimaryColor:"#A9A0FF",borderPrimaryHoverColor:"#B7AFFF",borderPrimaryFocusColor:"#BAB3FF",borderPrimaryActiveColor:"#C4BEFF",surfaceColor:"#121212",surfaceHoverColor:"#2C2B36",surfaceActiveColor:"#373546",surfaceFocusColor:"#31303E",onSurfaceColor:"#FFFBFF",onSurfaceMediumColor:"#A3A3A2",onSurfaceLowColor:"#282828",surface01Color:"#1C1B1F",surface02Color:"#262438",surfacePrimaryColor:"#130068",surfacePrimaryHoverColor:"#392980",surfacePrimaryActiveColor:"#423386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFBFF",surfaceNeutralColor:"#121212",surfaceNeutralHoverColor:"#383838",surfaceNeutralFocusColor:"#414141",surfaceNeutralActiveColor:"#4B4B4B",onSurfaceNeutralHighColor:"#FFFBFF",onSurfaceNeutralMediumColor:"#A3A3A2",onSurfaceNeutralLowColor:"#282828",positiveColor:"#378751",negativeColor:"#B6344F",warningColor:"#BB8C25",processColor:"#2174C6",primarySurfaceColor:"#252338",positiveSurfaceColor:"#0C1E12",negativeSurfaceColor:"#280B11",warningSurfaceColor:"#291F08",processSurfaceColor:"#071A2C"}},78703:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DarkThemeIcon=t.DarkTheme=t.darkThemeValues=void 0;var r=n(24241);Object.defineProperty(t,"darkThemeValues",{enumerable:!0,get:function(){return r.darkThemeValues}});var a=n(79384);Object.defineProperty(t,"DarkTheme",{enumerable:!0,get:function(){return a.DarkTheme}});var o=n(47026);Object.defineProperty(t,"DarkThemeIcon",{enumerable:!0,get:function(){return o.DarkThemeIcon}})},29856:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LightThemeIcon=t.lightThemeValues=t.LightTheme=void 0;var r=n(6770);Object.defineProperty(t,"LightTheme",{enumerable:!0,get:function(){return r.LightTheme}}),Object.defineProperty(t,"lightThemeValues",{enumerable:!0,get:function(){return r.lightThemeValues}});var a=n(66626);Object.defineProperty(t,"LightThemeIcon",{enumerable:!0,get:function(){return a.LightThemeIcon}})},66626:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LightThemeIcon=void 0;const a=r(n(49725));t.LightThemeIcon=function(e){return a.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),a.default.createElement("path",{d:"M5 12C5 11.7348 4.89464 11.4804 4.70711 11.2929C4.51957 11.1054 4.26522 11 4 11H3C2.73478 11 2.48043 11.1054 2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H4C4.26522 13 4.51957 12.8946 4.70711 12.7071C4.89464 12.5196 5 12.2652 5 12ZM5.64 17L4.93 17.71C4.74375 17.8974 4.63921 18.1508 4.63921 18.415C4.63921 18.6792 4.74375 18.9326 4.93 19.12C5.11736 19.3063 5.37081 19.4108 5.635 19.4108C5.89919 19.4108 6.15264 19.3063 6.34 19.12L7.05 18.41C7.21383 18.2187 7.29943 17.9726 7.28971 17.7209C7.27999 17.4693 7.17566 17.2305 6.99756 17.0524C6.81947 16.8743 6.58073 16.77 6.32905 16.7603C6.07738 16.7506 5.8313 16.8362 5.64 17V17ZM12 5C12.2652 5 12.5196 4.89464 12.7071 4.70711C12.8946 4.51957 13 4.26522 13 4V3C13 2.73478 12.8946 2.48043 12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289C11.1054 2.48043 11 2.73478 11 3V4C11 4.26522 11.1054 4.51957 11.2929 4.70711C11.4804 4.89464 11.7348 5 12 5ZM17.66 7.34C17.9223 7.3389 18.1737 7.23474 18.36 7.05L19.07 6.34C19.1747 6.25035 19.2597 6.14003 19.3197 6.01597C19.3797 5.89191 19.4135 5.75677 19.4188 5.61905C19.4241 5.48133 19.4009 5.344 19.3506 5.21568C19.3004 5.08735 19.2241 4.9708 19.1266 4.87335C19.0292 4.77589 18.9126 4.69964 18.7843 4.64936C18.656 4.59909 18.5187 4.57588 18.3809 4.5812C18.2432 4.58652 18.1081 4.62025 17.984 4.68027C17.86 4.7403 17.7496 4.82532 17.66 4.93L17 5.64C16.8137 5.82736 16.7092 6.08081 16.7092 6.345C16.7092 6.60919 16.8137 6.86264 17 7.05C17.1763 7.22536 17.4116 7.32875 17.66 7.34V7.34ZM5.66 7.05C5.84626 7.23474 6.09766 7.3389 6.36 7.34C6.49161 7.34076 6.62207 7.31554 6.74391 7.26577C6.86574 7.21601 6.97656 7.14268 7.07 7.05C7.25625 6.86264 7.36079 6.60919 7.36079 6.345C7.36079 6.08081 7.25625 5.82736 7.07 5.64L6.36 4.93C6.26742 4.8361 6.15725 4.76136 6.03578 4.71005C5.91432 4.65873 5.78393 4.63184 5.65207 4.63091C5.52021 4.62998 5.38946 4.65503 5.26728 4.70463C5.14511 4.75424 5.0339 4.82742 4.94 4.92C4.8461 5.01258 4.77136 5.12275 4.72005 5.24422C4.66873 5.36568 4.64184 5.49607 4.64091 5.62793C4.63903 5.89423 4.74302 6.15037 4.93 6.34L5.66 7.05ZM21 11H20C19.7348 11 19.4804 11.1054 19.2929 11.2929C19.1054 11.4804 19 11.7348 19 12C19 12.2652 19.1054 12.5196 19.2929 12.7071C19.4804 12.8946 19.7348 13 20 13H21C21.2652 13 21.5196 12.8946 21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM18.36 17C18.17 16.8943 17.9508 16.8534 17.7355 16.8835C17.5202 16.9136 17.3205 17.0131 17.1668 17.1668C17.0131 17.3205 16.9136 17.5202 16.8835 17.7355C16.8534 17.9508 16.8943 18.17 17 18.36L17.71 19.07C17.8974 19.2563 18.1508 19.3608 18.415 19.3608C18.6792 19.3608 18.9326 19.2563 19.12 19.07C19.3063 18.8826 19.4108 18.6292 19.4108 18.365C19.4108 18.1008 19.3063 17.8474 19.12 17.66L18.36 17ZM12 6.5C10.9122 6.5 9.84883 6.82257 8.94436 7.42692C8.03989 8.03126 7.33494 8.89025 6.91866 9.89524C6.50238 10.9002 6.39346 12.0061 6.60568 13.073C6.8179 14.1399 7.34172 15.1199 8.11091 15.8891C8.8801 16.6583 9.86011 17.1821 10.927 17.3943C11.9939 17.6065 13.0998 17.4976 14.1048 17.0813C15.1098 16.6651 15.9687 15.9601 16.5731 15.0556C17.1774 14.1512 17.5 13.0878 17.5 12C17.4974 10.5421 16.917 9.14471 15.8862 8.11383C14.8553 7.08295 13.4579 6.50264 12 6.5ZM12 15.5C11.3078 15.5 10.6311 15.2947 10.0555 14.9101C9.47993 14.5256 9.03133 13.9789 8.76642 13.3394C8.50151 12.6999 8.4322 11.9961 8.56725 11.3172C8.7023 10.6382 9.03564 10.0146 9.52513 9.52513C10.0146 9.03564 10.6382 8.7023 11.3172 8.56725C11.9961 8.4322 12.6999 8.50151 13.3394 8.76642C13.9789 9.03133 14.5256 9.47993 14.9101 10.0555C15.2947 10.6311 15.5 11.3078 15.5 12C15.5 12.9283 15.1313 13.8185 14.4749 14.4749C13.8185 15.1313 12.9283 15.5 12 15.5V15.5ZM12 19C11.7348 19 11.4804 19.1054 11.2929 19.2929C11.1054 19.4804 11 19.7348 11 20V21C11 21.2652 11.1054 21.5196 11.2929 21.7071C11.4804 21.8946 11.7348 22 12 22C12.2652 22 12.5196 21.8946 12.7071 21.7071C12.8946 21.5196 13 21.2652 13 21V20C13 19.7348 12.8946 19.4804 12.7071 19.2929C12.5196 19.1054 12.2652 19 12 19Z",fill:"currentColor"}))}},6770:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LightTheme=t.lightThemeValues=void 0;const a=r(n(49725)),o=n(54561),i=n(66626);function s(e){return a.default.createElement(o.BaseTheme,Object.assign({},e))}t.lightThemeValues=o.baseThemeDefaults,t.LightTheme=s,s.Icon=i.LightThemeIcon,s.themeName="light"},22337:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LightAndDarkThemes=t.DefaultThemeProvider=void 0;const r=n(54561),a=n(29856),o=n(78703);t.DefaultThemeProvider=r.BaseTheme,t.LightAndDarkThemes=[a.LightTheme,o.DarkTheme]},84280:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeToggler=t.ThemeSwitcher=void 0;var r=n(38238);Object.defineProperty(t,"ThemeSwitcher",{enumerable:!0,get:function(){return r.ThemeSwitcher}});var a=n(74360);Object.defineProperty(t,"ThemeToggler",{enumerable:!0,get:function(){return a.ThemeToggler}})},38238:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlertCard=void 0;var r=n(16254);Object.defineProperty(t,"AlertCard",{enumerable:!0,get:function(){return r.AlertCard}})},64795:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AccountTypes=void 0;const a=r(n(49725)),o=n(63969),i=n(92535),s=n(13925);var c;!function(e){e.org="organization",e.user="user",e.default="default"}(c=t.AccountTypes||(t.AccountTypes={})),t.default=function(e){const{account:t}=e;switch(t.accountType){case c.user:return a.default.createElement(s.UserAvatar,Object.assign({},e));case c.org:return a.default.createElement(i.OrgAvatar,Object.assign({},e));default:return a.default.createElement(o.DefaultAvatar,Object.assign({},e))}}},63969:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var r=n(29072),a=n(47525),o=a;o.v1=r,o.v4=a,e.exports=o},47014:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,a=t;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join("")}},90020:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0===(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},29072:(e,t,n)=>{var r,a,o=n(90020),i=n(47014),s=0,c=0;e.exports=function(e,t,n){var l=t&&n||0,u=t||[],d=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:a;if(null==d||null==p){var f=o();null==d&&(d=r=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==p&&(p=a=16383&(f[6]<<8|f[7]))}var g=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,h=g-s+(m-c)/1e4;if(h<0&&void 0===e.clockseq&&(p=p+1&16383),(h<0||g>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=g,c=m,a=p;var _=(1e4*(268435455&(g+=122192928e5))+m)%4294967296;u[l++]=_>>>24&255,u[l++]=_>>>16&255,u[l++]=_>>>8&255,u[l++]=255&_;var v=g/4294967296*1e4&268435455;u[l++]=v>>>8&255,u[l++]=255&v,u[l++]=v>>>24&15|16,u[l++]=v>>>16&255,u[l++]=p>>>8|128,u[l++]=255&p;for(var y=0;y<6;++y)u[l+y]=d[y];return t||i(u)}},47525:(e,t,n)=>{var r=n(90020),a=n(47014);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var s=0;s<16;++s)t[o+s]=i[s];return t||a(i)}},86348:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);afunction(e){if(!e)return null;const t=new u.default({colors:f});return e.split("\n").map((e=>t.toHtml((0,d.escape)(e))))}(n)),[n]);return l.default.createElement("div",Object.assign({},a,{ref:t,className:(0,c.default)(p.default.log,r)}),o&&o.map(((e,t)=>l.default.createElement("div",{key:t},l.default.createElement("pre",{className:p.default.pre},l.default.createElement("div",{className:p.default.block},l.default.createElement("span",{className:p.default.line,dangerouslySetInnerHTML:{__html:e}})))))))}))},89103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CliSnippet=void 0;var r=n(86348);Object.defineProperty(t,"CliSnippet",{enumerable:!0,get:function(){return r.CliSnippet}})},61632:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Contributors=void 0;const a=n(5220),o=n(82051),i=r(n(55574)),s=r(n(49725)),c=r(n(86421));function l(e){return e.displayName?s.default.createElement("span",{className:(0,i.default)(c.default.name,c.default.displayName)},e.displayName):e.name?s.default.createElement("span",{className:c.default.name},e.name):s.default.createElement("span",{className:c.default.name},"unknown")}t.Contributors=function({contributors:e=[],timestamp:t}){return s.default.createElement("div",{className:c.default.row},e.slice(0,3).map(((e,t)=>s.default.createElement(a.UserAvatar,{key:t,size:20,account:e||{},className:c.default.marginRight}))),s.default.createElement("div",{className:(0,i.default)(c.default.marginRight)},function(e){return 1===e.length?l(e[0]):2===e.length?s.default.createElement("span",null,l(e[0])," and ",l(e[1])):s.default.createElement("span",null,l(e[0])," and ",s.default.createElement("span",{className:c.default.name},e.length-1," others"))}(e)," ",s.default.createElement("span",null,"released this")),s.default.createElement(o.TimeAgo,{className:c.default.marginRight,date:t}))}},10322:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Contributors=void 0;var r=n(61632);Object.defineProperty(t,"Contributors",{enumerable:!0,get:function(){return r.Contributors}})},34135:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LevelIcon=void 0;var r=n(46327);Object.defineProperty(t,"LevelIcon",{enumerable:!0,get:function(){return r.LevelIcon}})},46327:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyBox=void 0;var r=n(72398);Object.defineProperty(t,"EmptyBox",{enumerable:!0,get:function(){return r.EmptyBox}})},55489:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContactIcons=void 0;const a=r(n(49725)),o=n(56843),i=n(74941),s={link:{textDecoration:"none",lineHeight:"inherit",color:"unset"},logo:{width:"24px",height:"24px",margin:"0 13px"}};t.ContactIcons=function(e){return a.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},s.iconLine),e.style)},e),a.default.createElement(o.Link,{external:!0,style:s.link,href:i.links.slack},a.default.createElement("img",{alt:"slack",style:s.logo,src:"https://static.bit.dev/harmony/slack-round-icon.svg"})),a.default.createElement(o.Link,{external:!0,style:s.link,href:i.links.github},a.default.createElement("img",{alt:"github",style:s.logo,src:"https://static.bit.dev/harmony/github.svg"})),a.default.createElement(o.Link,{external:!0,style:s.link,href:i.links.docs},a.default.createElement("img",{alt:"bit docs",style:s.logo,src:"https://static.bit.dev/bit-logo.svg"})))}},31621:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconButton=void 0;var r=n(58952);Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return r.IconButton}})},68219:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionButton=void 0;var r=n(3618);Object.defineProperty(t,"OptionButton",{enumerable:!0,get:function(){return r.OptionButton}})},3618:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Input=t.Toggle=void 0;var r=n(37362);Object.defineProperty(t,"Toggle",{enumerable:!0,get:function(){return r.Toggle}}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return r.Input}})},37362:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundPage=void 0;var r=n(74842);Object.defineProperty(t,"NotFoundPage",{enumerable:!0,get:function(){return r.NotFoundPage}})},74842:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerErrorPage=void 0;var r=n(26338);Object.defineProperty(t,"ServerErrorPage",{enumerable:!0,get:function(){return r.ServerErrorPage}})},26338:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PillLabel=void 0;var r=n(33519);Object.defineProperty(t,"PillLabel",{enumerable:!0,get:function(){return r.PillLabel}})},33519:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PillLabel=void 0;const a=r(n(55574)),o=r(n(49725)),i=r(n(21302));t.PillLabel=function({children:e,className:t}){return o.default.createElement("div",{className:(0,a.default)(i.default.pillLabel,t)},e)}},52782:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RoundLoader=void 0;var r=n(83796);Object.defineProperty(t,"RoundLoader",{enumerable:!0,get:function(){return r.RoundLoader}})},83796:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var r=n(36424);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return r.Separator}})},36424:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentTreeLoader=t.SidebarLoader=void 0;var r=n(13216);Object.defineProperty(t,"SidebarLoader",{enumerable:!0,get:function(){return r.SidebarLoader}}),Object.defineProperty(t,"ComponentTreeLoader",{enumerable:!0,get:function(){return r.ComponentTreeLoader}})},13216:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classes=t.MenuItem=void 0;var r=n(6672);Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function(){return r.MenuItem}}),Object.defineProperty(t,"classes",{enumerable:!0,get:function(){return r.classes}})},6672:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuLinkItem=void 0;var r=n(36169);Object.defineProperty(t,"MenuLinkItem",{enumerable:!0,get:function(){return r.MenuLinkItem}})},36169:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuSection=void 0;var r=n(86379);Object.defineProperty(t,"MenuSection",{enumerable:!0,get:function(){return r.MenuSection}})},86379:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const n=e;return o.default.createElement(n,{key:t})}))):null}},15021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageCard=void 0;var r=n(78120);Object.defineProperty(t,"MessageCard",{enumerable:!0,get:function(){return r.MessageCard}})},78120:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusMessageCard=void 0;var r=n(26713);Object.defineProperty(t,"StatusMessageCard",{enumerable:!0,get:function(){return r.StatusMessageCard}})},26713:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeAgo=void 0;var r=n(76606);Object.defineProperty(t,"TimeAgo",{enumerable:!0,get:function(){return r.TimeAgo}})},76606:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ae+1),0);(0,u.useEffect)((()=>{const e=setInterval((()=>o()),6e4);return()=>clearInterval(e)}),[]);const s=(0,u.useMemo)((()=>(0,c.default)(t)),[t,a]);return u.default.createElement("span",Object.assign({},r,{className:(0,l.default)(n)}),s)}},96118:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tippy=t.useSingleton=t.TooltipMountPoint=t.SingletonTooltipProvider=t.useCtxTooltipInstance=t.ProvideTooltipInstance=t.Tooltip=void 0;var r=n(51593);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return r.Tooltip}});var a=n(96547);Object.defineProperty(t,"ProvideTooltipInstance",{enumerable:!0,get:function(){return a.ProvideTooltipInstance}}),Object.defineProperty(t,"useCtxTooltipInstance",{enumerable:!0,get:function(){return a.useCtxTooltipInstance}});var o=n(74854);Object.defineProperty(t,"SingletonTooltipProvider",{enumerable:!0,get:function(){return o.SingletonTooltipProvider}});var i=n(54835);Object.defineProperty(t,"TooltipMountPoint",{enumerable:!0,get:function(){return i.TooltipMountPoint}});var s=n(21278);Object.defineProperty(t,"useSingleton",{enumerable:!0,get:function(){return s.useSingleton}}),Object.defineProperty(t,"tippy",{enumerable:!0,get:function(){return s.tippy}})},54835:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipMountPoint=t.getMountPoint=t.mountId=void 0;const a=r(n(49725));t.mountId="tooltip-mount-point",t.getMountPoint=function(e){return document.getElementById(t.mountId)||e.parentElement||document.body},t.TooltipMountPoint=function(){return a.default.createElement("div",{id:t.mountId})}},96547:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useCtxTooltipInstance=t.ProvideTooltipInstance=void 0;const i=o(n(49725)),s=(0,i.createContext)(void 0);t.ProvideTooltipInstance=function({value:e,children:t}){return i.default.createElement(s.Provider,{value:e},t)},t.useCtxTooltipInstance=function(){return(0,i.useContext)(s)}},74854:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsingNode=void 0;var r=n(84500);Object.defineProperty(t,"CollapsingNode",{enumerable:!0,get:function(){return r.CollapsingNode}})},47730:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.indentStyle=t.indentMargin=t.indentClass=void 0;const a=r(n(76885));t.indentClass=a.default.indent,t.indentMargin=a.default.indentMargin,t.indentStyle=function(e){return{"--indent-depth":e}}},43444:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indentStyle=t.indentMargin=t.indentClass=void 0;var r=n(47730);Object.defineProperty(t,"indentClass",{enumerable:!0,get:function(){return r.indentClass}}),Object.defineProperty(t,"indentMargin",{enumerable:!0,get:function(){return r.indentMargin}}),Object.defineProperty(t,"indentStyle",{enumerable:!0,get:function(){return r.indentStyle}})},95996:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indentStyle=t.indentMargin=t.indentClass=t.DefaultTreeNode=t.TreeNodeContext=t.TreeLayer=t.TreeProvider=t.TreeContext=t.useTree=t.CollapsingNode=t.Tree=void 0;var r=n(66312);Object.defineProperty(t,"Tree",{enumerable:!0,get:function(){return r.Tree}});var a=n(59220);Object.defineProperty(t,"CollapsingNode",{enumerable:!0,get:function(){return a.CollapsingNode}});var o=n(79657);Object.defineProperty(t,"useTree",{enumerable:!0,get:function(){return o.useTree}});var i=n(79657);Object.defineProperty(t,"TreeContext",{enumerable:!0,get:function(){return i.TreeContext}});var s=n(79657);Object.defineProperty(t,"TreeProvider",{enumerable:!0,get:function(){return s.TreeProvider}});var c=n(91516);Object.defineProperty(t,"TreeLayer",{enumerable:!0,get:function(){return c.TreeLayer}});var l=n(91516);Object.defineProperty(t,"TreeNodeContext",{enumerable:!0,get:function(){return l.TreeNodeContext}});var u=n(91516);Object.defineProperty(t,"DefaultTreeNode",{enumerable:!0,get:function(){return u.DefaultTreeNode}});var d=n(43444);Object.defineProperty(t,"indentClass",{enumerable:!0,get:function(){return d.indentClass}}),Object.defineProperty(t,"indentMargin",{enumerable:!0,get:function(){return d.indentMargin}}),Object.defineProperty(t,"indentStyle",{enumerable:!0,get:function(){return d.indentStyle}})},91112:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTreeNode=void 0;const a=r(n(49725)),o=n(43444),i=n(97474);t.DefaultTreeNode=function({node:e,depth:t}){return e.children?a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:o.indentClass},e.id),a.default.createElement("div",{style:(0,o.indentStyle)(t)},a.default.createElement(i.TreeLayer,{childNodes:e.children,depth:t}))):a.default.createElement("div",{className:o.indentClass},e.id)}},91516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTreeNode=t.TreeNodeContext=t.TreeLayer=void 0;var r=n(97474);Object.defineProperty(t,"TreeLayer",{enumerable:!0,get:function(){return r.TreeLayer}});var a=n(76647);Object.defineProperty(t,"TreeNodeContext",{enumerable:!0,get:function(){return a.TreeNodeContext}});var o=n(91112);Object.defineProperty(t,"DefaultTreeNode",{enumerable:!0,get:function(){return o.DefaultTreeNode}})},97474:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeLayer=void 0;const i=o(n(49725)),s=n(76647);t.TreeLayer=function({childNodes:e,depth:t}){const n=(0,i.useContext)(s.TreeNodeContext);return i.default.createElement(i.default.Fragment,null,e.map((e=>i.default.createElement(n,{key:e.id,node:e,depth:t+1}))))}},76647:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeNodeContext=void 0;const r=n(49725),a=n(91112);t.TreeNodeContext=(0,r.createContext)(a.DefaultTreeNode)},19583:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RootNode=void 0;var r=n(6937);Object.defineProperty(t,"RootNode",{enumerable:!0,get:function(){return r.RootNode}})},6937:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.RootNode=void 0;const i=o(n(49725)),s=n(91516);t.RootNode=function e({node:t,depth:n=0}){const r=(0,i.useContext)(s.TreeNodeContext);return t.id?i.default.createElement(r,{node:t,depth:n}):t.children?i.default.createElement(i.default.Fragment,null,t.children.map((t=>i.default.createElement(e,{key:t.id,node:t,depth:n})))):null}},79657:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeProvider=t.TreeContext=t.useTree=void 0;var r=n(71133);Object.defineProperty(t,"useTree",{enumerable:!0,get:function(){return r.useTree}});var a=n(92248);Object.defineProperty(t,"TreeContext",{enumerable:!0,get:function(){return a.TreeContext}});var o=n(11846);Object.defineProperty(t,"TreeProvider",{enumerable:!0,get:function(){return o.TreeProvider}})},92248:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeContext=void 0;const r=n(49725);t.TreeContext=(0,r.createContext)({isCollapsed:!0,setIsCollapsed:()=>{},activePath:void 0,setActivePath:()=>{}})},11846:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeProvider=void 0;const i=o(n(49725)),s=n(92248);t.TreeProvider=function({children:e,activePath:t,setActivePath:n,isCollapsed:r,setIsCollapsed:a}){const o=(0,i.useMemo)((()=>({activePath:t,setActivePath:n,isCollapsed:r,setIsCollapsed:a})),[t,n,r,a]);return i.default.createElement(s.TreeContext.Provider,{value:o},e)}},71133:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTree=void 0;const r=n(49725),a=n(92248);t.useTree=()=>(0,r.useContext)(a.TreeContext)},66312:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocPropList=void 0;const r=n(6047);class a{constructor(e){this.docProps=e}get(e){return this.docProps.find((t=>t.name===e))}static from(e){const t=Object.keys(e).map((t=>{if(e[t])return new r.DocProp(t,e[t])})).filter((e=>!!e));return new a(t)}}t.DocPropList=a},6047:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocProp=void 0;t.DocProp=class{constructor(e,t){this.name=e,this.value=t}getAs(){return this.value}}},29124:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Doc=void 0;const r=n(9325);class a{constructor(e,t){this.filePath=e,this.props=t}toObject(){return{filePath:this.filePath,props:this.props.docProps}}get description(){var e;const t=null===(e=this.props.get("description"))||void 0===e?void 0:e.value;return t||""}get labels(){var e;const t=null===(e=this.props.get("labels"))||void 0===e?void 0:e.value;return t||[]}get displayName(){return this.props.get("displayName")}static from(e,t){return new a(e,r.DocPropList.from(t))}}t.Doc=a},34064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocPropList=t.DocProp=t.Doc=void 0;var r=n(29124);Object.defineProperty(t,"Doc",{enumerable:!0,get:function(){return r.Doc}});var a=n(6047);Object.defineProperty(t,"DocProp",{enumerable:!0,get:function(){return a.DocProp}});var o=n(9325);Object.defineProperty(t,"DocPropList",{enumerable:!0,get:function(){return o.DocPropList}})},49988:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getElements:()=>a,useElementOnFold:()=>o});var r=n(49725);function a({ref:e={current:null===document||void 0===document?void 0:document.body},selectors:t="h1, h2, h3, h4, h5, h6, h7, h8"}){var n;const r=function(e){try{null===document||void 0===document||document.createDocumentFragment().querySelector(e)}catch(n){return void console.error("selector is not valid - ",e)}return e}(t),a=null===(n=e.current)||void 0===n?void 0:n.querySelectorAll(r);return a?Array.from(a):[]}const o=(e,t,{disabled:n,debounceUpdates:o=300}={})=>{const[i,s]=(0,r.useReducer)((e=>e+1),0),c=function(e,t,n){var a=this,o=(0,r.useRef)(null),i=(0,r.useRef)(0),s=(0,r.useRef)(null),c=(0,r.useRef)([]),l=(0,r.useRef)(),u=(0,r.useRef)(),d=(0,r.useRef)(e),p=(0,r.useRef)(!0);d.current=e;var f=!t&&0!==t&&"undefined"!==typeof window;if("function"!==typeof e)throw new TypeError("Expected a function");t=+t||0;var g=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,h="maxWait"in n,_=h?Math.max(+n.maxWait||0,t):null;return(0,r.useEffect)((function(){return p.current=!0,function(){p.current=!1}}),[]),(0,r.useMemo)((function(){var e=function(e){var t=c.current,n=l.current;return c.current=l.current=null,i.current=e,u.current=d.current.apply(n,t)},n=function(e,t){f&&cancelAnimationFrame(s.current),s.current=f?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!p.current)return!1;var n=e-o.current,r=e-i.current;return!o.current||n>=t||n<0||h&&r>=_},v=function(t){return s.current=null,m&&c.current?e(t):(c.current=l.current=null,u.current)},y=function(){var e=Date.now();if(r(e))return v(e);if(p.current){var a=e-o.current,s=e-i.current,c=t-a,l=h?Math.min(c,_-s):c;n(y,l)}},b=function(){for(var d=[],f=0;fn?[]:a({ref:e,selectors:t})),[null===e||void 0===e?void 0:e.current,t,n,i]),[u,d]=(0,r.useState)(void 0);return(0,r.useEffect)((()=>c()),[]),(0,r.useEffect)((()=>{if(n)return;if("undefined"===typeof IntersectionObserver)return;const e=new IntersectionObserver((e=>{var t,n;const r=e.filter((e=>e.isIntersecting));0!==r.length&&(null===(t=r[0])||void 0===t?void 0:t.target)instanceof HTMLElement&&d(null===(n=r[0])||void 0===n?void 0:n.target)}),{rootMargin:"0px 0px -90px 0px"});return l.forEach((t=>{e.observe(t)})),()=>e.disconnect()}),[l,n]),(0,r.useEffect)((()=>{const t=null===e||void 0===e?void 0:e.current;if(!(t instanceof HTMLElement))return()=>{};if(void 0===typeof MutationObserver)return()=>{};const n=new MutationObserver((()=>{c()}));return n.observe(t,{attributes:!1,childList:!0,characterData:!1}),()=>n.disconnect()}),[null===e||void 0===e?void 0:e.current]),{activeElement:u,elements:l,update:c}}},70637:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewCompareSection=void 0;var r=n(27141);Object.defineProperty(t,"OverviewCompareSection",{enumerable:!0,get:function(){return r.OverviewCompareSection}})},27141:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewCompareSection=void 0;t.OverviewCompareSection=class{constructor(e){this.docs=e,this.navigationLink={href:".",children:"Overview",exact:!0,order:0},this.route={path:"*",element:this.docs.getDocsCompare()}}}},61347:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewCompare=void 0;var r=n(65123);Object.defineProperty(t,"OverviewCompare",{enumerable:!0,get:function(){return r.OverviewCompare}})},65123:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewCompare=void 0;const s=n(44704),c=n(28043),l=n(87351),u=n(48164),d=n(52782),p=n(56374),f=o(n(49725)),g=n(13349),m=i(n(49684));t.OverviewCompare=function(e){const{titleBadges:t}=e,n=(0,l.useComponentCompare)(),[r,a]=(0,f.useState)(!0),o=(0,f.useRef)(null),i=(0,f.useRef)(null);function h(e){var t,n,a;r&&(null===(t=i.current)||void 0===t||t.scrollTo({top:null===(n=e.currentTarget)||void 0===n?void 0:n.scrollTop,left:null===(a=e.currentTarget)||void 0===a?void 0:a.scrollLeft}))}function _(e){var t,n,a;r&&(null===(t=o.current)||void 0===t||t.scrollTo({top:null===(n=e.currentTarget)||void 0===n?void 0:n.scrollTop,left:null===(a=e.currentTarget)||void 0===a?void 0:a.scrollLeft}))}const{lanesModel:v,updateLanesModel:y}=(0,g.useLanes)(),b=(0,f.useMemo)((()=>{if(void 0===(null===n||void 0===n?void 0:n.base))return f.default.createElement(f.default.Fragment,null);const e=null===n||void 0===n?void 0:n.base.model.id,r=!!(null===v||void 0===v?void 0:v.isComponentOnNonDefaultLanes(e,!0))?{lanesModel:v,updateLanesModel:y}:void 0;return f.default.createElement("div",{className:m.default.subView,ref:o,onScroll:h},f.default.createElement(g.LanesContext.Provider,{value:r},f.default.createElement(s.ComponentProvider,{component:n.base.model},f.default.createElement(p.Overview,{titleBadges:t}))))}),[null===n||void 0===n?void 0:n.base,r]),R=(0,f.useMemo)((()=>{if(void 0===(null===n||void 0===n?void 0:n.compare))return f.default.createElement(f.default.Fragment,null);const e=null===n||void 0===n?void 0:n.compare.model.id,r=!!(null===v||void 0===v?void 0:v.isComponentOnNonDefaultLanes(e,!0))?{lanesModel:v,updateLanesModel:y}:void 0;return f.default.createElement("div",{className:m.default.subView,ref:i,onScroll:_},f.default.createElement(g.LanesContext.Provider,{value:r},f.default.createElement(s.ComponentProvider,{component:n.compare.model},f.default.createElement(p.Overview,{titleBadges:t}))))}),[null===n||void 0===n?void 0:n.compare,r]);return f.default.createElement(f.default.Fragment,null,(null===n||void 0===n?void 0:n.loading)&&f.default.createElement("div",{className:m.default.loader},f.default.createElement(d.RoundLoader,null)),f.default.createElement("div",{className:m.default.checkboxContainer},f.default.createElement("div",{className:m.default.toggleContainer},f.default.createElement(u.Toggle,{checked:r,onInputChanged:function(){var e,t,n;null===(e=i.current)||void 0===e||e.scrollTo({top:null===(t=o.current)||void 0===t?void 0:t.scrollTop,left:null===(n=o.current)||void 0===n?void 0:n.scrollLeft}),a((e=>!e))},className:m.default.toggle}),"Synchronize Scrolling")),f.default.createElement(c.CompareSplitLayoutPreset,{base:b,compare:R,className:m.default.splitLayout}))}},45063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocs=t.docsFields=void 0;const r=n(59062);t.docsFields=r.gql` + fragment docsFields on ReactDocs { + abstract + properties { + name + description + required + type + default: defaultValue { + value + } + } + } +`;const a=r.gql` + query ($id: String!) { + getHost { + id # used for GQL caching + getDocs(id: $id) { + ...docsFields + } + } + } + ${t.docsFields} +`;t.useDocs=function(e){var t,n;const{data:o}=(0,r.useQuery)(a,{variables:{id:e.toString()}});return null===(n=null===(t=null===o||void 0===o?void 0:o.getHost)||void 0===t?void 0:t.getDocs)||void 0===n?void 0:n.properties}},72847:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocs=t.docsFields=void 0;var r=n(45063);Object.defineProperty(t,"docsFields",{enumerable:!0,get:function(){return r.docsFields}}),Object.defineProperty(t,"useDocs",{enumerable:!0,get:function(){return r.useDocs}})},11547:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DocsAspect=void 0;const a=r().Aspect.create({id:"teambit.docs/docs",dependencies:[],defaultConfig:{}});t.DocsAspect=a;var o=a;t.default=o},96219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDocs=void 0;t.defaultDocs={default:()=>null,labels:[],abstract:"",examples:[]}},91716:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(61436);return i=function(){return e},e}function s(){const e=n(44704);return s=function(){return e},e}function c(){const e=n(73823);return c=function(){return e},e}function l(){const e=n(12639);return l=function(){return e},e}function u(){const e=r(n(75334));return u=function(){return e},e}function d(){const e=n(61347);return d=function(){return e},e}function p(){const e=n(70637);return p=function(){return e},e}function f(){const e=n(11547);return f=function(){return e},e}function g(){const e=n(14285);return g=function(){return e},e}n(31567),n(92619);class m{constructor(e){this.titleBadgeSlot=e}registerTitleBadge(e){const t=Array.isArray(e)?e:[e];return this.titleBadgeSlot.register(t),this}listTitleBadges(){return(0,i().flatten)(this.titleBadgeSlot.values())}getDocsCompare(){return o().default.createElement(d().OverviewCompare,{titleBadges:this.titleBadgeSlot})}static async provider([e,t],n,[r]){const a=new m(r),o=new(g().OverviewSection)(r),i=new(p().OverviewCompareSection)(a);return e.registerRoute(o.route),e.registerNavigation(o.navigationLink,o.order),t.registerNavigation({props:i.navigationLink,order:i.navigationLink.order}),t.registerRoutes([i.route]),a}}(0,a().default)(m,"dependencies",[s().ComponentAspect,u().default]),(0,a().default)(m,"runtime",l().UIRuntime),(0,a().default)(m,"slots",[c().Slot.withType()]),f().DocsAspect.addRuntime(m)},56374:(e,t,n)=>{"use strict";function r(){const e=n(11547);return r=function(){return e},e}function a(){const e=n(34064);return a=function(){return e},e}function o(){const e=n(96219);return o=function(){return e},e}function i(){const e=n(12594);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BadgePosition",{enumerable:!0,get:function(){return i().BadgePosition}}),Object.defineProperty(t,"Doc",{enumerable:!0,get:function(){return a().Doc}}),Object.defineProperty(t,"DocProp",{enumerable:!0,get:function(){return a().DocProp}}),Object.defineProperty(t,"DocPropList",{enumerable:!0,get:function(){return a().DocPropList}}),Object.defineProperty(t,"DocsAspect",{enumerable:!0,get:function(){return r().DocsAspect}}),Object.defineProperty(t,"Overview",{enumerable:!0,get:function(){return i().Overview}}),t.default=void 0,Object.defineProperty(t,"defaultDocs",{enumerable:!0,get:function(){return o().defaultDocs}});var s=r().DocsAspect;t.default=s},14285:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(12594);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewSection=void 0;t.OverviewSection=class{constructor(e){this.titleBadgeSlot=e,(0,a().default)(this,"navigationLink",{href:".",exact:!0,children:"Overview"}),(0,a().default)(this,"route",{index:!0,element:o().default.createElement(i().Overview,{titleBadges:this.titleBadgeSlot})}),(0,a().default)(this,"order",10)}}},12594:(e,t,n)=>{"use strict";function r(){const e=n(85396);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BadgePosition",{enumerable:!0,get:function(){return r().BadgePosition}}),Object.defineProperty(t,"Overview",{enumerable:!0,get:function(){return r().Overview}})},85396:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return a=function(){return e},e}function o(){const e=r(n(55574));return o=function(){return e},e}function i(){const e=n(61436);return i=function(){return e},e}function s(){const e=n(44704);return s=function(){return e},e}function c(){const e=n(45925);return c=function(){return e},e}function l(){const e=n(5232);return l=function(){return e},e}function u(){const e=n(51176);return u=function(){return e},e}function d(){const e=r(n(89482));return d=function(){return e},e}function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}let f;n(29119),n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.BadgePosition=void 0,t.Overview=function({titleBadges:e}){var t,n;const r=(0,a().useContext)(s().ComponentContext),p=(0,s().useComponentDescriptor)(),f=!(null!==(t=r.preview)&&void 0!==t&&t.legacyHeader);if("pending"===(null===r||void 0===r?void 0:r.buildStatus)&&"teambit.scope/scope"===(null===r||void 0===r?void 0:r.host))return a().default.createElement(l().StatusMessageCard,{style:{margin:"auto"},status:"PROCESSING",title:"component preview pending"},"this might take some time");if("failed"===(null===r||void 0===r?void 0:r.buildStatus)&&"teambit.scope/scope"===(null===r||void 0===r?void 0:r.host))return a().default.createElement(l().StatusMessageCard,{style:{margin:"auto"},status:"FAILURE",title:"failed to get component preview "});const g=null===(n=r.preview)||void 0===n?void 0:n.isScaling;return a().default.createElement("div",{className:d().default.overviewWrapper},f&&a().default.createElement(u().ComponentOverview,{className:(0,o().default)(d().default.componentOverviewBlock,!g&&d().default.legacyPreview),displayName:r.displayName,version:r.version,abstract:r.description,labels:r.labels,packageName:r.packageName,titleBadges:(0,i().flatten)(e.values()),componentDescriptor:p,component:r}),a().default.createElement(c().ComponentPreview,{component:r,style:{width:"100%",height:"100%"},previewName:"overview",pubsub:!0,viewport:null,fullContentHeight:!0,scrolling:"no"}))},t.BadgePosition=f,function(e){e[e.Title=0]="Title",e[e.SubTitle=1]="SubTitle",e[e.Labels=2]="Labels",e[e.Package=3]="Package"}(f||(t.BadgePosition=f={}))},61485:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.links=t.docsUrl=void 0,t.docsUrl="https://bit.dev/docs",t.links={scopedRegistry:`${t.docsUrl}/packages/npmrc`,installBit:`${t.docsUrl}/getting-started/installing-bit/installing-bit`,createCompositions:`${t.docsUrl}/dev-services-overview/compositions/compositions-overview`,testComponents:`${t.docsUrl}/dev-services-overview/tester/tester-overview`,bitIntroduction:`${t.docsUrl}/quick-start`,whatIsBit:`${t.docsUrl}/quick-start`,tagComponentVersion:`${t.docsUrl}/components/tags`}},6082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.docsUrl=t.links=void 0;var r=n(61485);Object.defineProperty(t,"links",{enumerable:!0,get:function(){return r.links}}),Object.defineProperty(t,"docsUrl",{enumerable:!0,get:function(){return r.docsUrl}})},93004:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.h6=t.h5=t.h4=t.h3=t.h2=t.h1=t.createHeading=void 0;var r=n(93004);Object.defineProperty(t,"createHeading",{enumerable:!0,get:function(){return r.createHeading}}),Object.defineProperty(t,"h1",{enumerable:!0,get:function(){return r.h1}}),Object.defineProperty(t,"h2",{enumerable:!0,get:function(){return r.h2}}),Object.defineProperty(t,"h3",{enumerable:!0,get:function(){return r.h3}}),Object.defineProperty(t,"h4",{enumerable:!0,get:function(){return r.h4}}),Object.defineProperty(t,"h5",{enumerable:!0,get:function(){return r.h5}}),Object.defineProperty(t,"h6",{enumerable:!0,get:function(){return r.h6}})},33239:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Anchor=void 0;const a=r(n(49725)),o=r(n(81652)),i=n(28563),s=r(n(92318));t.Anchor=function(e){const t=e.href&&`#${e.href}`;return a.default.createElement("a",Object.assign({},e,{id:e.href,href:t,className:(0,o.default)(e.className,s.default.anchor)}),a.default.createElement(i.Icon,{of:"anchor",className:s.default.anchorIcon}))}},9743:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(33239),t)},33810:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const a=r(n(49725)),o=r(n(81652)),i=n(52895),s=r(n(52885)),c=r(n(56845));t.H1=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h1"},e,{className:(0,o.default)(c.default.h1,s.default[e.size||"lg"],e.className)}))},t.H2=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h2"},e,{className:(0,o.default)(c.default.h2,s.default[e.size||"lg"],e.className)}))},t.H3=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h3"},e,{className:(0,o.default)(c.default.h3,s.default[e.size||"md"],e.className)}))},t.H4=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h4"},e,{className:(0,o.default)(c.default.h4,s.default[e.size||"sm"],e.className)}))},t.H5=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h5"},e,{className:(0,o.default)(c.default.h5,s.default[e.size||"xs"],e.className)}))},t.H6=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h6"},e,{className:(0,o.default)(c.default.h6,s.default[e.size||"xxs"],e.className)}))}},58483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;var r=n(33810);Object.defineProperty(t,"H1",{enumerable:!0,get:function(){return r.H1}}),Object.defineProperty(t,"H2",{enumerable:!0,get:function(){return r.H2}}),Object.defineProperty(t,"H3",{enumerable:!0,get:function(){return r.H3}}),Object.defineProperty(t,"H4",{enumerable:!0,get:function(){return r.H4}}),Object.defineProperty(t,"H5",{enumerable:!0,get:function(){return r.H5}}),Object.defineProperty(t,"H6",{enumerable:!0,get:function(){return r.H6}})},89836:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedHeading=void 0;var r=n(48787);Object.defineProperty(t,"LinkedHeading",{enumerable:!0,get:function(){return r.LinkedHeading}})},48787:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{switch(e){case"h1":return s.H1;case"h2":return s.H2;case"h3":default:return s.H3;case"h4":return s.H4;case"h5":return s.H5;case"h6":return s.H6}}},5796:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;var r=n(12144);Object.defineProperty(t,"Snippet",{enumerable:!0,get:function(){return r.Snippet}})},12144:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Snippet=void 0;const a=r(n(49725)),o=n(8122),i=n(22275),s=r(n(37756));t.Snippet=function({children:e,scope:t,live:n}){return n?a.default.createElement(i.Playground,{className:s.default.snippet,code:e,scope:t}):a.default.createElement(o.CodeSnippet,{className:s.default.snippet},e)}},32949:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Playground=void 0;var r=n(30044);Object.defineProperty(t,"Playground",{enumerable:!0,get:function(){return r.Playground}})},30044:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);anull===t||void 0===t?void 0:t.toString().replace(/\n$/,"").trim()),[t]),[v,{width:y}]=(0,f.default)(),b=+(0,g.useDebounce)(y,300,{leading:!0})[0]<=500,R=b?d.Layout.columnReverse:d.Layout.row;return y?c.default.createElement(u.LiveProvider,{code:s,scope:n,theme:m.default},c.default.createElement("div",Object.assign({ref:v,className:(0,l.default)(a,_.default.playground,b?_.default.column:_.default.row)},o),c.default.createElement(d.SplitPane,{className:_.default.main,size:"50%",layout:R},c.default.createElement(d.Pane,{className:(0,l.default)(_.default.codePane)},c.default.createElement(u.LiveEditor,{className:(0,l.default)(_.default.editor)})),c.default.createElement(p.HoverSplitter,{className:_.default.splitter}),c.default.createElement(d.Pane,{className:(0,l.default)(_.default.previewPane)},c.default.createElement(c.default.Fragment,null,c.default.createElement(u.LivePreview,{className:_.default.previewBox}),c.default.createElement(u.LiveError,{className:(0,l.default)(h.Error,_.default.error)})))))):c.default.createElement("div",{ref:v})}},86322:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMdxComponents=void 0;const r=n(61111),a=n(92023),o=n(64110),i=n(5198),s=n(17083),c=n(46836),l=n(16e3),u=n(24028),d=n(60258),p=n(66043),f=n(5747),g=n(36845),m=n(45540),h=n(73989),_=n(1855),v=n(28833);t.defaultMdxComponents={h1:i.h1,h2:i.h2,h3:i.h3,h4:i.h4,h5:i.h5,h6:i.h6,p:d.Paragraph,code:f.Snippet,a:o.ExternalLink,inlineCode:c.InlineCode,ol:u.Ol,ul:v.Ul,hr:p.Separator,thematicBreak:p.Separator,img:s.Image,strong:a.Bold,em:l.Italic,pre:({children:e})=>e,sup:g.Sup,table:m.Table,tr:_.Tr,td:h.Td,blockquote:r.BlockQuote}},97683:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMdxComponents=void 0;var r=n(95545);Object.defineProperty(t,"defaultMdxComponents",{enumerable:!0,get:function(){return r.defaultMdxComponents}})},92477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;var r=n(75681);Object.defineProperty(t,"MDXLayout",{enumerable:!0,get:function(){return r.MDXLayout}})},75681:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aObject.assign(Object.assign({},d.defaultMdxComponents),n)),[d.defaultMdxComponents,n]);return c.default.createElement(u.MDXProvider,{components:o},c.default.createElement("div",Object.assign({className:(0,l.default)(p.default.mdxContent,r)},a),t))}},63112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleSizes=t.Paragraph=void 0;var r=n(45230);Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return r.Paragraph}}),Object.defineProperty(t,"PossibleSizes",{enumerable:!0,get:function(){return r.PossibleSizes}})},45230:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCode=void 0;var r=n(36763);Object.defineProperty(t,"InlineCode",{enumerable:!0,get:function(){return r.InlineCode}})},36763:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var r=n(757);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return r.Separator}})},757:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockQuote=void 0;var r=n(6781);Object.defineProperty(t,"BlockQuote",{enumerable:!0,get:function(){return r.BlockQuote}})},4524:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bold=void 0;var r=n(79036);Object.defineProperty(t,"Bold",{enumerable:!0,get:function(){return r.Bold}})},11565:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;to.trim()),[o]);return c.default.createElement("div",{className:(0,l.default)(m.default.snippetWrapper,t)},c.default.createElement(_,Object.assign({},s,{className:(0,l.default)(m.default.codeSnippet,n),language:a,style:r,customStyle:h}),v),c.default.createElement("div",{className:m.default.copy},c.default.createElement(g.CopiedMessage,{show:d}),c.default.createElement("img",{src:"https://static.bit.cloud/Community/icons/copy.svg",onClick:()=>{p(!0),setTimeout((()=>p(!1)),2e3),(0,u.default)(o.toString())},className:m.default.copyIcon,alt:"Copy"})))};const _=(0,c.memo)((function(e){return c.default.createElement(d.default,Object.assign({},e))}))},8122:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(61375),t)},56892:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";var r=n(78767),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,i,s,c,l,u=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),s=document.createRange(),c=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[t.format]||a.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),s.selectNodeContents(l),c.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(s):c.removeAllRanges()),l&&document.body.removeChild(l),i()}return u}},30834:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{o(!0),setTimeout((()=>o(!1)),2e3),(0,l.default)(t)}},c.default.createElement(p.Icon,{className:g.default.copyIcon,of:"copy-cmp"}))))}},11897:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(26284),t)},29780:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";var r=n(78767),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,i,s,c,l,u=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),s=document.createRange(),c=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[t.format]||a.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),s.selectNodeContents(l),c.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(s):c.removeAllRanges()),l&&document.body.removeChild(l),i()}return u}},65895:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const a=r(n(49725)),o=r(n(93813)),i=n(39322),s=r(n(74492)),c=r(n(19137));t.H1=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h1"},e,{className:o.default(c.default.h1,s.default[e.size||"lg"],e.className)}))},t.H2=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h2"},e,{className:o.default(c.default.h2,s.default[e.size||"lg"],e.className)}))},t.H3=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h3"},e,{className:o.default(c.default.h3,s.default[e.size||"md"],e.className)}))},t.H4=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h4"},e,{className:o.default(c.default.h4,s.default[e.size||"sm"],e.className)}))},t.H5=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h5"},e,{className:o.default(c.default.h5,s.default[e.size||"xs"],e.className)}))},t.H6=function(e){return a.default.createElement(i.Heading,Object.assign({element:"h6"},e,{className:o.default(c.default.h6,s.default[e.size||"xxs"],e.className)}))}},11308:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(65895),t)},23077:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var r=n(77759);Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return r.Image}})},26907:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCode=void 0;var r=n(29216);Object.defineProperty(t,"InlineCode",{enumerable:!0,get:function(){return r.InlineCode}})},29216:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Italic=void 0;var r=n(96702);Object.defineProperty(t,"Italic",{enumerable:!0,get:function(){return r.Italic}})},96702:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;to.default.createElement(s.Label,{className:a,key:e,onPick:l},e))))}},67959:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t(t&&t(c.children),n&&n(e)),className:i.default(a,s.default.label)}))}},2313:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ol=void 0;var r=n(29846);Object.defineProperty(t,"Ol",{enumerable:!0,get:function(){return r.Ol}})},29846:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PropTable=void 0;var r=n(60266);Object.defineProperty(t,"PropTable",{enumerable:!0,get:function(){return r.PropTable}})},60266:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var r=n(76135);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return r.Separator}})},76135:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sup=void 0;var r=n(61434);Object.defineProperty(t,"Sup",{enumerable:!0,get:function(){return r.Sup}})},61434:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{if("required"!==e)return o.default.createElement(c.HeadingColumn,{key:t,className:l.default.titleCol},e)})))}},85373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var a;return"required"===e?null:"name"===e?o.default.createElement(c.TableColumn,{className:d.default.breakWord,key:r},o.default.createElement("div",{className:(0,i.default)(d.default.mobileTitle,{[d.default.show]:f})},e),o.default.createElement("div",{className:d.default.columnContent},o.default.createElement("div",{className:d.default.name},(null===n||void 0===n?void 0:n.name)||t[e]),!(null===n||void 0===n?void 0:n.required)&&t.required&&o.default.createElement("div",{className:d.default.required},"(Required)"),(null===n||void 0===n?void 0:n.required)&&o.default.createElement("div",{className:d.default.required},n.required))):"type"===e?o.default.createElement(c.TableColumn,{className:(0,i.default)(d.default.breakWord,d.default.typeColumn),key:r},o.default.createElement("div",{className:(0,i.default)(d.default.mobileTitle,{[d.default.show]:f})},e),!(null===n||void 0===n?void 0:n.type)&&o.default.createElement(l.default,{theme:u.default,language:"javascript",className:d.default.highlighted},t[e]),null===n||void 0===n?void 0:n.type):"default"===e?o.default.createElement(c.TableColumn,{className:d.default.breakWord,key:r},o.default.createElement("div",{className:(0,i.default)(d.default.mobileTitle,{[d.default.show]:f})},e),!(null===n||void 0===n?void 0:n.default)&&o.default.createElement("span",{className:d.default.default},t[e]&&(null===(a=t[e])||void 0===a?void 0:a.value)||"-"),(null===n||void 0===n?void 0:n.default)&&o.default.createElement("span",{className:d.default.default},n.default)):"description"===e?o.default.createElement(c.TableColumn,{className:d.default.breakWord,key:r},(null===n||void 0===n?void 0:n.description)||t[e]):o.default.createElement(c.TableColumn,{className:d.default.breakWord,key:r},o.default.createElement("div",{className:(0,i.default)(d.default.mobileTitle,{[d.default.show]:f})},e),(null===n||void 0===n?void 0:n[e])||t[e])})))}},89983:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nI});var u=n(49725);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),p[t]}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),a=f(r);return a.reduce((function(e,t){return l({},e,n[t])}),t)}function m(e){return e.join(" ")}function h(e){var t=e.node,n=e.stylesheet,r=e.style,a=void 0===r?{}:r,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,p=t.tagName,f=t.value;if("text"===c)return f;if(p){var _,v=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,a){return h({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})}))}}(n,o);if(o){var y=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),b=s.className&&s.className.includes("token")?["token"]:[],R=s.className&&b.concat(s.className.filter((function(e){return!y.includes(e)})));_=l({},s,{className:m(R)||void 0,style:g(s.className,Object.assign({},s.style,a),n)})}else _=l({},s,{className:m(s.className)});var E=v(t.children);return u.createElement(p,d({key:i},_),E)}}var _=/\n/g;function v(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,a=void 0===r?{float:"left",paddingRight:"10px"}:r,o=e.numberStyle,i=void 0===o?{}:o,s=e.startingLineNumber;return u.createElement("code",{style:Object.assign({},n,a)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var a=t+n;return u.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"===typeof r?r(a):r},"".concat(a,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function y(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function b(e,t,n){var r;return l({},{display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"===typeof e?e(t):e)}function R(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,c=e.className,u=void 0===c?[]:c,d=e.showLineNumbers,p=e.wrapLongLines,f="function"===typeof s?s(n):s;if(f.className=u,n&&o){var g=b(r,n,a);t.unshift(y(n,g))}return p&d&&(f.style=l({},f.style,{display:"flex"})),{type:"element",tagName:"span",properties:f,children:t}}function E(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return R({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:o,showLineNumbers:r,wrapLongLines:c})}function m(e,t){if(r&&t&&a){var n=b(s,t,i);e.unshift(y(t,n))}return e}function h(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?g(e,n,r):m(e,n)}for(var v=function(){var e=u[f],t=e.children[0].value;if(t.match(_)){var n=t.split("\n");n.forEach((function(t,a){var i=r&&d.length+o,s={type:"text",value:"".concat(t,"\n")};if(0===a){var c=h(u.slice(p+1,f).concat(R({children:[s],className:e.properties.className})),i);d.push(c)}else if(a===n.length-1){if(u[f+1]&&u[f+1].children&&u[f+1].children[0]){var l=R({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});u.splice(f+1,0,l)}else{var g=h([s],i,e.properties.className);d.push(g)}}else{var m=h([s],i,e.properties.className);d.push(m)}})),p=f}f++};f{"use strict";n.r(t),n.d(t,{default:()=>r});const r={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}}},89081:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;var r=n(89081);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return r.Table}})},56471:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Td=void 0;var r=n(97773);Object.defineProperty(t,"Td",{enumerable:!0,get:function(){return r.Td}})},97773:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tr=void 0;var r=n(91889);Object.defineProperty(t,"Tr",{enumerable:!0,get:function(){return r.Tr}})},91889:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;to.default.createElement(c.TableRow,{key:n,isListView:u,headings:t,row:e,colNumber:f}))))}t.Table=u,u.defaultProps={colNumber:4}},88839:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(30412),t)},30412:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var i;if("required"!==t)return"name"===t?a.default.createElement(s.TableColumn,{className:c.default.breakWord,key:n},a.default.createElement("div",{className:o.default(c.default.mobileTitle,{[c.default.show]:r})},t),a.default.createElement("div",{className:c.default.columnContent},a.default.createElement("div",{className:c.default.name},e[t]),e.required&&a.default.createElement("div",{className:c.default.required},"(Required)"))):"type"===t?a.default.createElement(s.TableColumn,{className:o.default(c.default.breakWord,c.default.typeColumn),key:n},a.default.createElement("div",{className:o.default(c.default.mobileTitle,{[c.default.show]:r})},t),a.default.createElement(l.default,{theme:u.default,language:"javascript",className:c.default.highlighted},e[t])):"default"===t?a.default.createElement(s.TableColumn,{className:c.default.breakWord,key:n},a.default.createElement("div",{className:o.default(c.default.mobileTitle,{[c.default.show]:r})},t),a.default.createElement("span",{className:c.default.default},e[t]&&(null===(i=e[t])||void 0===i?void 0:i.value)||"-")):"description"===t?a.default.createElement(s.TableColumn,{className:c.default.breakWord,key:n},e[t]):a.default.createElement(s.TableColumn,{className:c.default.breakWord,key:n},a.default.createElement("div",{className:o.default(c.default.mobileTitle,{[c.default.show]:r})},t),e[t])})))}},99546:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ul=void 0;var r=n(85055);Object.defineProperty(t,"Ul",{enumerable:!0,get:function(){return r.Ul}})},85055:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EnvIcon=void 0;var r=n(33157);Object.defineProperty(t,"EnvIcon",{enumerable:!0,get:function(){return r.EnvIcon}})},68980:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.fadeInOutClass=void 0;const a=r(n(39710));t.fadeInOutClass=a.default.fadeInOut},98709:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XButton=void 0;var r=n(81094);Object.defineProperty(t,"XButton",{enumerable:!0,get:function(){return r.XButton}})},81094:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.XButton=void 0;const a=r(n(49725)),o=r(n(9392)),i=n(84378),s=r(n(80752));t.XButton=function(e){return a.default.createElement("button",Object.assign({},e,{className:(0,o.default)(s.default.xButton,e.onClick&&s.default.interactive,e.className)}),a.default.createElement(i.Icon,{of:"x-close"}))}},92493:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxIndicator=void 0;var r=n(37986);Object.defineProperty(t,"CheckboxIndicator",{enumerable:!0,get:function(){return r.CheckboxIndicator}})},52408:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxLabel=void 0;var r=n(62845);Object.defineProperty(t,"CheckboxLabel",{enumerable:!0,get:function(){return r.CheckboxLabel}})},60242:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HiddenCheckbox=void 0;var r=n(60242);Object.defineProperty(t,"HiddenCheckbox",{enumerable:!0,get:function(){return r.HiddenCheckbox}})},67508:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Input=t.CheckboxLabel=void 0;var r=n(67508);Object.defineProperty(t,"CheckboxLabel",{enumerable:!0,get:function(){return r.CheckboxLabel}}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return r.Input}})},38795:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var{position:t,children:n,elevation:a="medium",roundness:d="sharp",className:p}=e,f=r(e,["position","children","elevation","roundness","className"]);return o.default.createElement(s.Containee,Object.assign({position:t,className:i.default(u.default.menu,c.elevationClass[a],l.roundnessClass[d],p)},f),n)},t.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},29617:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var e,t;n?null===(e=a.current)||void 0===e||e.focus():null===(t=a.current)||void 0===t||t.blur()}),[n]),c.default.createElement("input",Object.assign({},r,{ref:a,className:(0,l.default)(u.default.input,t)}))}},72394:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(12449),t)},42925:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommandBarItem=void 0;var r=n(42925);Object.defineProperty(t,"CommandBarItem",{enumerable:!0,get:function(){return r.CommandBarItem}})},83484:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var{action:a,id:o}=e,s=i(e,["action","id"]);return c.default.createElement(h.CommandBarItem,Object.assign({key:o,active:r===t,onMouseDown:()=>{"string"!==typeof a?a():n(a)}},s))})))}t.CommandBar=function(e){var{elevation:t,className:n,visible:r=!0,items:a,loading:o,data:s,onVisibilityChange:h,placeholder:y="Search anything",value:b,defaultValue:R="",onChange:E,onKeyDown:S,autofocus:O,ResultsComponent:w=v}=e,C=i(e,["elevation","className","visible","items","loading","data","onVisibilityChange","placeholder","value","defaultValue","onChange","onKeyDown","autofocus","ResultsComponent"]);const T=(0,g.useNavigate)(),[x="",N]=(0,p.default)({controlledValue:b,initialValue:R,onChange:E});(0,c.useEffect)((()=>N(R)),[r]);const I=(0,f.use1dNav)(a.length);!function(e,t){const n=t.activeIdx,r=(0,d.default)(n),a=e[n],o=(0,d.default)(a),i=!!(null===o||void 0===o?void 0:o.id),s=n===r&&i?e.findIndex((e=>e.id===(null===o||void 0===o?void 0:o.id))):void 0,{reset:l}=t;(0,c.useEffect)((()=>{void 0!==s&&(-1!==s?l(s):l())}),[s])}(a,I);const P=(0,f.useKey1dNav)(S,I,"vertical",{Enter:()=>{null===h||void 0===h||h(!1);const e=a[I.activeIdx];"string"!==typeof e.action?null===e||void 0===e||e.action():T(e.action)},Escape:()=>null===h||void 0===h?void 0:h(!1)});return c.default.createElement(u.Card,Object.assign({},C,{elevation:t,className:(0,l.default)(n,_.default.commandBar,r&&_.default.visible,!t&&_.default.shadow)}),c.default.createElement(m.AutoCompleteInput,{value:x,focus:O?r:void 0,autoFocus:O,onKeyDown:P,className:_.default.input,placeholder:y,onChange:e=>N(e.target.value),onBlur:()=>null===h||void 0===h?void 0:h(!1)}),c.default.createElement("div",{className:(0,l.default)(_.default.results,o&&_.default.loading)},c.default.createElement(w,{data:s,items:a,activeIndex:I.activeIdx})))},t.DefaultResultComponent=v},27942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSearcher=t.DefaultResultComponent=t.CommandBar=void 0;var r=n(83484);Object.defineProperty(t,"CommandBar",{enumerable:!0,get:function(){return r.CommandBar}}),Object.defineProperty(t,"DefaultResultComponent",{enumerable:!0,get:function(){return r.DefaultResultComponent}});var a=n(32673);Object.defineProperty(t,"useSearcher",{enumerable:!0,get:function(){return a.useSearcher}})},32673:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useSearcher=void 0;const a=n(49725),o=r(n(50369)),i=n(66086),s=n(47623);t.useSearcher=function(e,{value:t,defaultValue:n="",limit:r=5,debounce:c=0}={}){const[l=n,u]=(0,o.default)({controlledValue:t,initialValue:n}),[d,p]=(0,a.useState)({loading:!1,items:[]}),[f]=(0,i.useDebounce)(l,c),g=(0,s.useQueuedExecution)(e);return(0,a.useEffect)((()=>{p((e=>Object.assign(Object.assign({},e),{loading:!0}))),Promise.resolve(g(f,r)).then((e=>{p((t=>Object.assign(Object.assign({},t),{items:e.items,data:e.data,loading:!1})))})).catch((e=>{if(!(e instanceof s.PromiseCanceledError))throw e}))}),[f,r,g]),Object.assign(Object.assign({},d),{value:l,onChange:u,defaultValue:n})}},64205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FuzzySearcher=t.CommandBarItem=t.DefaultResultComponent=t.useSearcher=t.CommandBar=void 0;var r=n(27942);Object.defineProperty(t,"CommandBar",{enumerable:!0,get:function(){return r.CommandBar}}),Object.defineProperty(t,"useSearcher",{enumerable:!0,get:function(){return r.useSearcher}}),Object.defineProperty(t,"DefaultResultComponent",{enumerable:!0,get:function(){return r.DefaultResultComponent}});var a=n(5290);Object.defineProperty(t,"CommandBarItem",{enumerable:!0,get:function(){return a.CommandBarItem}});var o=n(52966);Object.defineProperty(t,"FuzzySearcher",{enumerable:!0,get:function(){return o.FuzzySearcher}})},52966:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FuzzySearcher=void 0;const a=r(n(68615)),o=r(n(85205));t.FuzzySearcher=class{constructor(e){this.baseSearcherOptions=e,this.fuseCommands=new a.default([],{keys:this.baseSearcherOptions.searchKeys}),this.update=(0,o.default)((e=>{const t=e.map(this.toSearchableItem);this.fuseCommands.setCollection(t)})),this.search=(0,o.default)(((e,t)=>({items:this.fuseCommands.search(e,{limit:t}).map(this.toSearchResult)})))}}},88631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},78706:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.elevationClass=void 0;const i=o(n(79921));a(n(88631),t),t.elevationClass={low:i.default.low,medium:i.default.medium,high:i.default.high,none:void 0}},58904:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.backgrounds=void 0;const a=r(n(36708));t.backgrounds={bedrock:a.default.bedrock,base:a.default.base,layer:a.default.layer,crust:a.default.crust,topping:a.default.topping,dent:a.default.dent}},69997:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var r=n(49725);function a(e,t,n){var a=this,o=r.useRef(null),i=r.useRef(0),s=r.useRef(null),c=r.useRef([]),l=r.useRef(),u=r.useRef(),d=r.useRef(e),p=r.useRef(!0);r.useEffect((function(){d.current=e}),[e]);var f=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var g=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,h="maxWait"in n,_=h?Math.max(+n.maxWait||0,t):null;r.useEffect((function(){return p.current=!0,function(){p.current=!1}}),[]);var v=r.useMemo((function(){var e=function(e){var t=c.current,n=l.current;return c.current=l.current=null,i.current=e,u.current=d.current.apply(n,t)},n=function(e,t){f&&cancelAnimationFrame(s.current),s.current=f?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!p.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||h&&e-i.current>=_},v=function(t){return s.current=null,m&&c.current?e(t):(c.current=l.current=null,u.current)},y=function e(){var a=Date.now();if(r(a))return v(a);if(p.current){var s=t-(a-o.current),c=h?Math.min(s,_-(a-i.current)):s;n(e,c)}},b=function(){var d=Date.now(),f=r(d);if(c.current=[].slice.call(arguments),l.current=a,o.current=d,f){if(!s.current&&p.current)return i.current=o.current,n(y,t),g?e(o.current):u.current;if(h)return n(y,t),e(o.current)}return s.current||n(y,t),u.current};return b.cancel=function(){s.current&&(f?cancelAnimationFrame(s.current):clearTimeout(s.current)),i.current=0,c.current=o.current=l.current=s.current=null},b.isPending=function(){return!!s.current},b.flush=function(){return s.current?v(Date.now()):u.current},b}),[g,h,t,_,m,f]);return v}function o(e,t){return e===t}function i(e){return"function"==typeof e?function(){return e}:e}t.useDebounce=function(e,t,n){var s,c,l=n&&n.equalityFn||o,u=(s=r.useState(i(e)),c=s[1],[s[0],r.useCallback((function(e){return c(i(e))}),[])]),d=u[0],p=u[1],f=a(r.useCallback((function(e){return p(e)}),[p]),t,n),g=r.useRef(e);return l(g.current,e)||(f(e),g.current=e),[d,f]},t.useDebouncedCallback=a,t.useThrottledCallback=function(e,t,n){var r=void 0===n?{}:n,o=r.leading,i=r.trailing;return a(e,t,{maxWait:t,leading:void 0===o||o,trailing:void 0===i||i})}},465:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseComponentCard=void 0;const a=r(n(49725)),o=n(27611),i=n(99259),s=n(9523),c=n(59346);t.BaseComponentCard=function({id:e="",className:t,preview:n,version:r,description:l,isDeprecated:u,isVerified:d,children:p,contentClass:f}){return a.default.createElement(c.Card,{className:t},a.default.createElement(i.DeprecationSticker,{isDeprecated:u}),a.default.createElement(o.PreviewContainer,{preview:n}),a.default.createElement(s.ComponentDetails,{id:e,version:r,description:l,isVerified:d,className:f}),p)}},88752:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;const a=r(n(49725)),o=r(n(55574)),i=r(n(10367));t.Card=function({children:e,className:t}){return a.default.createElement("div",{className:(0,o.default)(i.default.componentCard,t)},e)}},59346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;var r=n(88752);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return r.Card}})},93489:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;const a=r(n(49725)),o=r(n(55574)),i=r(n(39392));t.DeprecationSticker=function({isDeprecated:e}){return a.default.createElement("div",{className:(0,o.default)(i.default.deprecated,{[i.default.show]:e})},"deprecated")}},99259:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;var r=n(93489);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return r.DeprecationSticker}})},66180:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a1&&f.slice(0,-1).join(" / "),m=f.slice(-1);return o.default.createElement("div",Object.assign({},p,{className:(0,i.default)(l.default.content,d)}),o.default.createElement("div",null,o.default.createElement("div",{className:l.default.nameSpace},g),o.default.createElement("div",{className:l.default.name},o.default.createElement("span",null,m),o.default.createElement("div",{className:l.default.versionHolder},n&&o.default.createElement(c.Ellipsis,null,"v",n),u&&o.default.createElement("img",{src:"https://static.bit.dev/extensions-icons/verified-field-badge.svg",className:l.default.img}))),o.default.createElement("div",{className:l.default.description},(0,s.ellipsis)(a||"",50))))}},9523:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDetails=void 0;var r=n(66180);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return r.ComponentDetails}})},36977:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=t.ComponentDetails=t.DeprecationSticker=t.Card=t.BaseComponentCard=void 0;var r=n(465);Object.defineProperty(t,"BaseComponentCard",{enumerable:!0,get:function(){return r.BaseComponentCard}});var a=n(59346);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return a.Card}});var o=n(99259);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return o.DeprecationSticker}});var i=n(9523);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return i.ComponentDetails}});var s=n(27611);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return s.PreviewContainer}})},27611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=void 0;var r=n(53278);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return r.PreviewContainer}})},53278:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tarjan=void 0;var r=n(69869);Object.defineProperty(t,"tarjan",{enumerable:!0,get:function(){return r.tarjan}})},69869:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.tarjan=void 0;const a=r(n(81014));t.tarjan=function(e){var t=0,n=[],r={},o=[];function i(s){var c=r[s]={onStack:!0,lowlink:t,index:t++};if(n.push(s),[...e.successorMap(s).keys()].forEach((function(e){a.default.has(r,e)?r[e].onStack&&(c.lowlink=Math.min(c.lowlink,r[e].index)):(i(e),c.lowlink=Math.min(c.lowlink,r[e].lowlink))})),c.lowlink===c.index){var l,u=[];do{l=n.pop(),r[l].onStack=!1,u.push(l)}while(s!==l);o.push(u)}}return[...e.nodeMap.keys()].forEach((function(e){a.default.has(r,e)||i(e)})),o}},81014:function(e,t,n){var r;e=n.nmd(e),function(){var a,o="Expected a function",i="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,l=32,u=64,d=128,p=256,f=1/0,g=9007199254740991,m=NaN,h=4294967295,_=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",p]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",R="[object Date]",E="[object Error]",S="[object Function]",O="[object GeneratorFunction]",w="[object Map]",C="[object Number]",T="[object Object]",x="[object Promise]",N="[object RegExp]",I="[object Set]",P="[object String]",A="[object Symbol]",D="[object WeakMap]",k="[object ArrayBuffer]",M="[object DataView]",j="[object Float32Array]",L="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",U="[object Int32Array]",G="[object Uint8Array]",$="[object Uint8ClampedArray]",V="[object Uint16Array]",z="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,K=RegExp(W.source),X=RegExp(Q.source),Z=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ae.source),ie=/^\s+|\s+$/g,se=/^\s+/,ce=/\s+$/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,de=/,? & /,pe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fe=/\\(\\)?/g,ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,_e=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,Re=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Oe="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ce="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ne="\\ufe0e\\ufe0f",Ie="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['\u2019]",Ae="["+Oe+"]",De="["+Ie+"]",ke="["+we+"]",Me="\\d+",je="["+Ce+"]",Le="["+Te+"]",Fe="[^"+Oe+Ie+Me+Ce+Te+xe+"]",Be="\\ud83c[\\udffb-\\udfff]",Ue="[^"+Oe+"]",Ge="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+xe+"]",ze="\\u200d",He="(?:"+Le+"|"+Fe+")",qe="(?:"+Ve+"|"+Fe+")",Ye="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",We="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+ke+"|"+Be+")"+"?",Ke="["+Ne+"]?",Xe=Ke+Qe+("(?:"+ze+"(?:"+[Ue,Ge,$e].join("|")+")"+Ke+Qe+")*"),Ze="(?:"+[je,Ge,$e].join("|")+")"+Xe,Je="(?:"+[Ue+ke+"?",ke,Ge,$e,Ae].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(ke,"g"),nt=RegExp(Be+"(?="+Be+")|"+Je+Xe,"g"),rt=RegExp([Ve+"?"+Le+"+"+Ye+"(?="+[De,Ve,"$"].join("|")+")",qe+"+"+We+"(?="+[De,Ve+He,"$"].join("|")+")",Ve+"?"+He+"+"+Ye,Ve+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ze].join("|"),"g"),at=RegExp("["+ze+Oe+we+Ne+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,ct={};ct[j]=ct[L]=ct[F]=ct[B]=ct[U]=ct[G]=ct[$]=ct[V]=ct[z]=!0,ct[v]=ct[y]=ct[k]=ct[b]=ct[M]=ct[R]=ct[E]=ct[S]=ct[w]=ct[C]=ct[T]=ct[N]=ct[I]=ct[P]=ct[D]=!1;var lt={};lt[v]=lt[y]=lt[k]=lt[M]=lt[b]=lt[R]=lt[j]=lt[L]=lt[F]=lt[B]=lt[U]=lt[w]=lt[C]=lt[T]=lt[N]=lt[I]=lt[P]=lt[A]=lt[G]=lt[$]=lt[V]=lt[z]=!0,lt[E]=lt[S]=lt[D]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,gt="object"==typeof self&&self&&self.Object===Object&&self,mt=ft||gt||Function("return this")(),ht=t&&!t.nodeType&&t,_t=ht&&e&&!e.nodeType&&e,vt=_t&&_t.exports===ht,yt=vt&&ft.process,bt=function(){try{var e=_t&&_t.require&&_t.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(t){}}(),Rt=bt&&bt.isArrayBuffer,Et=bt&&bt.isDate,St=bt&&bt.isMap,Ot=bt&&bt.isRegExp,wt=bt&&bt.isSet,Ct=bt&&bt.isTypedArray;function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function xt(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a-1}function kt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function nn(e,t){for(var n=e.length;n--&&Vt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var an=Wt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=Wt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ut[e]}function cn(e){return at.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,a=0,o=[];++n",""":'"',"'":"'"});var _n=function e(t){var n=(t=null==t?mt:_n.defaults(mt.Object(),t,_n.pick(mt,it))).Array,r=t.Date,Oe=t.Error,we=t.Function,Ce=t.Math,Te=t.Object,xe=t.RegExp,Ne=t.String,Ie=t.TypeError,Pe=n.prototype,Ae=we.prototype,De=Te.prototype,ke=t["__core-js_shared__"],Me=Ae.toString,je=De.hasOwnProperty,Le=0,Fe=function(){var e=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Be=De.toString,Ue=Me.call(Te),Ge=mt._,$e=xe("^"+Me.call(je).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=vt?t.Buffer:a,ze=t.Symbol,He=t.Uint8Array,qe=Ve?Ve.allocUnsafe:a,Ye=un(Te.getPrototypeOf,Te),We=Te.create,Qe=De.propertyIsEnumerable,Ke=Pe.splice,Xe=ze?ze.isConcatSpreadable:a,Ze=ze?ze.iterator:a,Je=ze?ze.toStringTag:a,nt=function(){try{var e=po(Te,"defineProperty");return e({},"",{}),e}catch(t){}}(),at=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=r&&r.now!==mt.Date.now&&r.now,ft=t.setTimeout!==mt.setTimeout&&t.setTimeout,gt=Ce.ceil,ht=Ce.floor,_t=Te.getOwnPropertySymbols,yt=Ve?Ve.isBuffer:a,bt=t.isFinite,Ut=Pe.join,Wt=un(Te.keys,Te),vn=Ce.max,yn=Ce.min,bn=r.now,Rn=t.parseInt,En=Ce.random,Sn=Pe.reverse,On=po(t,"DataView"),wn=po(t,"Map"),Cn=po(t,"Promise"),Tn=po(t,"Set"),xn=po(t,"WeakMap"),Nn=po(Te,"create"),In=xn&&new xn,Pn={},An=Bo(On),Dn=Bo(wn),kn=Bo(Cn),Mn=Bo(Tn),jn=Bo(xn),Ln=ze?ze.prototype:a,Fn=Ln?Ln.valueOf:a,Bn=Ln?Ln.toString:a;function Un(e){if(ns(e)&&!Hi(e)&&!(e instanceof zn)){if(e instanceof Vn)return e;if(je.call(e,"__wrapped__"))return Uo(e)}return new Vn(e)}var Gn=function(){function e(){}return function(t){if(!ts(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function $n(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function zn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cr(e,t,n,r,o,i){var s,c=1&t,l=2&t,u=4&t;if(n&&(s=o?n(e,r,o,i):n(e)),s!==a)return s;if(!ts(e))return e;var d=Hi(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&je.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Na(e,s)}else{var p=mo(e),f=p==S||p==O;if(Qi(e))return Sa(e,c);if(p==T||p==v||f&&!o){if(s=l||f?{}:_o(e),!c)return l?function(e,t){return Ia(e,go(e),t)}(e,function(e,t){return e&&Ia(t,Ds(t),e)}(s,e)):function(e,t){return Ia(e,fo(e),t)}(e,ar(s,e))}else{if(!lt[p])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case k:return Oa(e);case b:case R:return new r(+e);case M:return function(e,t){var n=t?Oa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case j:case L:case F:case B:case U:case G:case $:case V:case z:return wa(e,n);case w:return new r;case C:case P:return new r(e);case N:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case I:return new r;case A:return a=e,Fn?Te(Fn.call(a)):{}}var a}(e,p,c)}}i||(i=new Qn);var g=i.get(e);if(g)return g;i.set(e,s),ss(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,i))})):rs(e)&&e.forEach((function(r,a){s.set(a,cr(r,t,n,a,e,i))}));var m=d?a:(u?l?ao:ro:l?Ds:As)(e);return Nt(m||e,(function(r,a){m&&(r=e[a=r]),tr(s,a,cr(r,t,n,a,e,i))})),s}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Te(e);r--;){var o=n[r],i=t[o],s=e[o];if(s===a&&!(o in e)||!i(s))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Ie(o);return Ao((function(){e.apply(a,n)}),t)}function dr(e,t,n,r){var a=-1,o=Dt,i=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=Mt(t,Zt(n))),r?(o=kt,i=!1):t.length>=200&&(o=en,i=!1,t=new Wn(t));e:for(;++a-1},qn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(wn||qn),string:new Hn}},Yn.prototype.delete=function(e){var t=lo(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return lo(this,e).get(e)},Yn.prototype.has=function(e){return lo(this,e).has(e)},Yn.prototype.set=function(e,t){var n=lo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Wn.prototype.add=Wn.prototype.push=function(e){return this.__data__.set(e,i),this},Wn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.clear=function(){this.__data__=new qn,this.size=0},Qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Qn.prototype.get=function(e){return this.__data__.get(e)},Qn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!wn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(e,t),this.size=n.size,this};var pr=Da(br),fr=Da(Rr,!0);function gr(e,t){var n=!0;return pr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function mr(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?_r(s,t-1,n,r,a):jt(a,s):r||(a[a.length]=s)}return a}var vr=ka(),yr=ka(!0);function br(e,t){return e&&vr(e,t,As)}function Rr(e,t){return e&&yr(e,t,As)}function Er(e,t){return At(t,(function(t){return Zi(e[t])}))}function Sr(e,t){for(var n=0,r=(t=ya(t,e)).length;null!=e&&nt}function Tr(e,t){return null!=e&&je.call(e,t)}function xr(e,t){return null!=e&&t in Te(e)}function Nr(e,t,r){for(var o=r?kt:Dt,i=e[0].length,s=e.length,c=s,l=n(s),u=1/0,d=[];c--;){var p=e[c];c&&t&&(p=Mt(p,Zt(t))),u=yn(p.length,u),l[c]=!r&&(t||i>=120&&p.length>=120)?new Wn(c&&p):a}p=e[0];var f=-1,g=l[0];e:for(;++f=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hr(e,t,n){for(var r=-1,a=t.length,o={};++r-1;)s!==e&&Ke.call(s,c,1),Ke.call(e,c,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==o){var o=a;yo(a)?Ke.call(e,a,1):da(e,a)}}return e}function Wr(e,t){return e+ht(En()*(t-e+1))}function Qr(e,t){var n="";if(!e||t<1||t>g)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Kr(e,t){return Do(To(e,t,ac),e+"")}function Xr(e){return Xn(Gs(e))}function Zr(e,t){var n=Gs(e);return jo(n,sr(t,0,n.length))}function Jr(e,t,n,r){if(!ts(e))return e;for(var o=-1,i=(t=ya(t,e)).length,s=i-1,c=e;null!=c&&++oo?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=n(o);++a>>1,i=e[o];null!==i&&!ls(i)&&(n?i<=t:i=200){var l=t?null:Qa(e);if(l)return pn(l);i=!1,a=en,c=new Wn}else c=t?[]:s;e:for(;++r=r?e:ra(e,t,n)}var Ea=at||function(e){return mt.clearTimeout(e)};function Sa(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Oa(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function wa(e,t){var n=t?Oa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ca(e,t){if(e!==t){var n=e!==a,r=null===e,o=e===e,i=ls(e),s=t!==a,c=null===t,l=t===t,u=ls(t);if(!c&&!u&&!i&&e>t||i&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e1?n[o-1]:a,s=o>2?n[2]:a;for(i=e.length>3&&"function"==typeof i?(o--,i):a,s&&bo(n[0],n[1],s)&&(i=o<3?a:i,o=1),t=Te(t);++r-1?o[i?t[s]:s]:a}}function Ba(e){return no((function(t){var n=t.length,r=n,i=Vn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ie(o);if(i&&!c&&"wrapper"==io(s))var c=new Vn([],!0)}for(r=c?r:n;++r1&&y.reverse(),f&&uc))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,g=2&n?new Wn:a;for(i.set(e,t),i.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Nt(_,(function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(de):[]}(r),n)))}function Mo(e){var t=0,n=0;return function(){var r=bn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(a,arguments)}}function jo(e,t){var n=-1,r=e.length,o=r-1;for(t=t===a?r:t;++n1?e[t-1]:a;return n="function"==typeof n?(e.pop(),n):a,ii(e,n)}));function fi(e){var t=Un(e);return t.__chain__=!0,t}function gi(e,t){return t(e)}var mi=no((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&r instanceof zn&&yo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:gi,args:[o],thisArg:a}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(o)}));var hi=Pa((function(e,t,n){je.call(e,n)?++e[n]:or(e,n,1)}));var _i=Fa(zo),vi=Fa(Ho);function yi(e,t){return(Hi(e)?Nt:pr)(e,co(t,3))}function bi(e,t){return(Hi(e)?It:fr)(e,co(t,3))}var Ri=Pa((function(e,t,n){je.call(e,n)?e[n].push(t):or(e,n,[t])}));var Ei=Kr((function(e,t,r){var a=-1,o="function"==typeof t,i=Yi(e)?n(e.length):[];return pr(e,(function(e){i[++a]=o?Tt(t,e,r):Ir(e,t,r)})),i})),Si=Pa((function(e,t,n){or(e,n,t)}));function Oi(e,t){return(Hi(e)?Mt:Br)(e,co(t,3))}var wi=Pa((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ci=Kr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&bo(e,t[0],t[1])?t=[]:n>2&&bo(t[0],t[1],t[2])&&(t=[t[0]]),zr(e,_r(t,1),[])})),Ti=ut||function(){return mt.Date.now()};function xi(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,Xa(e,d,a,a,a,a,t)}function Ni(e,t){var n;if("function"!=typeof t)throw new Ie(o);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var Ii=Kr((function(e,t,n){var r=1;if(n.length){var a=dn(n,so(Ii));r|=l}return Xa(e,r,t,n,a)})),Pi=Kr((function(e,t,n){var r=3;if(n.length){var a=dn(n,so(Pi));r|=l}return Xa(t,r,e,n,a)}));function Ai(e,t,n){var r,i,s,c,l,u,d=0,p=!1,f=!1,g=!0;if("function"!=typeof e)throw new Ie(o);function m(t){var n=r,o=i;return r=i=a,d=t,c=e.apply(o,n)}function h(e){return d=e,l=Ao(v,t),p?m(e):c}function _(e){var n=e-u;return u===a||n>=t||n<0||f&&e-d>=s}function v(){var e=Ti();if(_(e))return y(e);l=Ao(v,function(e){var n=t-(e-u);return f?yn(n,s-(e-d)):n}(e))}function y(e){return l=a,g&&r?m(e):(r=i=a,c)}function b(){var e=Ti(),n=_(e);if(r=arguments,i=this,u=e,n){if(l===a)return h(u);if(f)return Ea(l),l=Ao(v,t),m(u)}return l===a&&(l=Ao(v,t)),c}return t=_s(t)||0,ts(n)&&(p=!!n.leading,s=(f="maxWait"in n)?vn(_s(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),b.cancel=function(){l!==a&&Ea(l),d=0,r=u=i=l=a},b.flush=function(){return l===a?c:y(Ti())},b}var Di=Kr((function(e,t){return ur(e,1,t)})),ki=Kr((function(e,t,n){return ur(e,_s(t)||0,n)}));function Mi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ie(o);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(Mi.Cache||Yn),n}function ji(e){if("function"!=typeof e)throw new Ie(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Mi.Cache=Yn;var Li=ba((function(e,t){var n=(t=1==t.length&&Hi(t[0])?Mt(t[0],Zt(co())):Mt(_r(t,1),Zt(co()))).length;return Kr((function(r){for(var a=-1,o=yn(r.length,n);++a=t})),zi=Pr(function(){return arguments}())?Pr:function(e){return ns(e)&&je.call(e,"callee")&&!Qe.call(e,"callee")},Hi=n.isArray,qi=Rt?Zt(Rt):function(e){return ns(e)&&wr(e)==k};function Yi(e){return null!=e&&es(e.length)&&!Zi(e)}function Wi(e){return ns(e)&&Yi(e)}var Qi=yt||_c,Ki=Et?Zt(Et):function(e){return ns(e)&&wr(e)==R};function Xi(e){if(!ns(e))return!1;var t=wr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Zi(e){if(!ts(e))return!1;var t=wr(e);return t==S||t==O||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ji(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=g}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=St?Zt(St):function(e){return ns(e)&&mo(e)==w};function as(e){return"number"==typeof e||ns(e)&&wr(e)==C}function os(e){if(!ns(e)||wr(e)!=T)return!1;var t=Ye(e);if(null===t)return!0;var n=je.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Ue}var is=Ot?Zt(Ot):function(e){return ns(e)&&wr(e)==N};var ss=wt?Zt(wt):function(e){return ns(e)&&mo(e)==I};function cs(e){return"string"==typeof e||!Hi(e)&&ns(e)&&wr(e)==P}function ls(e){return"symbol"==typeof e||ns(e)&&wr(e)==A}var us=Ct?Zt(Ct):function(e){return ns(e)&&es(e.length)&&!!ct[wr(e)]};var ds=qa(Fr),ps=qa((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Yi(e))return cs(e)?mn(e):Na(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=mo(e);return(t==w?ln:t==I?pn:Gs)(e)}function gs(e){return e?(e=_s(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ms(e){var t=gs(e),n=t%1;return t===t?n?t-n:t:0}function hs(e){return e?sr(ms(e),0,h):0}function _s(e){if("number"==typeof e)return e;if(ls(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ie,"");var n=_e.test(e);return n||ye.test(e)?pt(e.slice(2),n?2:8):he.test(e)?m:+e}function vs(e){return Ia(e,Ds(e))}function ys(e){return null==e?"":la(e)}var bs=Aa((function(e,t){if(Oo(t)||Yi(t))Ia(t,As(t),e);else for(var n in t)je.call(t,n)&&tr(e,n,t[n])})),Rs=Aa((function(e,t){Ia(t,Ds(t),e)})),Es=Aa((function(e,t,n,r){Ia(t,Ds(t),e,r)})),Ss=Aa((function(e,t,n,r){Ia(t,As(t),e,r)})),Os=no(ir);var ws=Kr((function(e,t){e=Te(e);var n=-1,r=t.length,o=r>2?t[2]:a;for(o&&bo(t[0],t[1],o)&&(r=1);++n1),t})),Ia(e,ao(e),n),r&&(n=cr(n,7,eo));for(var a=t.length;a--;)da(n,t[a]);return n}));var Ls=no((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return xs(e,n)}))}(e,t)}));function Fs(e,t){if(null==e)return{};var n=Mt(ao(e),(function(e){return[e]}));return t=co(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var Bs=Ka(As),Us=Ka(Ds);function Gs(e){return null==e?[]:Jt(e,As(e))}var $s=ja((function(e,t,n){return t=t.toLowerCase(),e+(n?Vs(t):t)}));function Vs(e){return Xs(ys(e).toLowerCase())}function zs(e){return(e=ys(e))&&e.replace(Re,an).replace(tt,"")}var Hs=ja((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qs=ja((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ys=Ma("toLowerCase");var Ws=ja((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Qs=ja((function(e,t,n){return e+(n?" ":"")+Xs(t)}));var Ks=ja((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Xs=Ma("toUpperCase");function Zs(e,t,n){return e=ys(e),(t=n?a:t)===a?function(e){return ot.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(pe)||[]}(e):e.match(t)||[]}var Js=Kr((function(e,t){try{return Tt(e,a,t)}catch(n){return Xi(n)?n:new Oe(n)}})),ec=no((function(e,t){return Nt(t,(function(t){t=Fo(t),or(e,t,Ii(e[t],e))})),e}));function tc(e){return function(){return e}}var nc=Ba(),rc=Ba(!0);function ac(e){return e}function oc(e){return Mr("function"==typeof e?e:cr(e,1))}var ic=Kr((function(e,t){return function(n){return Ir(n,e,t)}})),sc=Kr((function(e,t){return function(n){return Ir(e,n,t)}}));function cc(e,t,n){var r=As(t),a=Er(t,r);null!=n||ts(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Er(t,As(t)));var o=!(ts(n)&&"chain"in n)||!!n.chain,i=Zi(e);return Nt(a,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),a=n.__actions__=Na(this.__actions__);return a.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,jt([this.value()],arguments))})})),e}function lc(){}var uc=Va(Mt),dc=Va(Pt),pc=Va(Bt);function fc(e){return Ro(e)?Yt(Fo(e)):function(e){return function(t){return Sr(t,e)}}(e)}var gc=Ha(),mc=Ha(!0);function hc(){return[]}function _c(){return!1}var vc=$a((function(e,t){return e+t}),0),yc=Wa("ceil"),bc=$a((function(e,t){return e/t}),1),Rc=Wa("floor");var Ec=$a((function(e,t){return e*t}),1),Sc=Wa("round"),Oc=$a((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new Ie(o);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=xi,Un.assign=bs,Un.assignIn=Rs,Un.assignInWith=Es,Un.assignWith=Ss,Un.at=Os,Un.before=Ni,Un.bind=Ii,Un.bindAll=ec,Un.bindKey=Pi,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Hi(e)?e:[e]},Un.chain=fi,Un.chunk=function(e,t,r){t=(r?bo(e,t,r):t===a)?1:vn(ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,s=0,c=n(gt(o/t));io?0:o+n),(r=r===a||r>o?o:ms(r))<0&&(r+=o),r=n>r?0:hs(r);n>>0)?(e=ys(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=la(t))&&cn(e)?Ra(mn(e),0,n):e.split(t,n):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new Ie(o);return t=null==t?0:vn(ms(t),0),Kr((function(n){var r=n[t],a=Ra(n,0,t);return r&&jt(a,r),Tt(e,this,a)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?ra(e,1,t):[]},Un.take=function(e,t,n){return e&&e.length?ra(e,0,(t=n||t===a?1:ms(t))<0?0:t):[]},Un.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ra(e,(t=r-(t=n||t===a?1:ms(t)))<0?0:t,r):[]},Un.takeRightWhile=function(e,t){return e&&e.length?fa(e,co(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?fa(e,co(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new Ie(o);return ts(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Ai(e,t,{leading:r,maxWait:t,trailing:a})},Un.thru=gi,Un.toArray=fs,Un.toPairs=Bs,Un.toPairsIn=Us,Un.toPath=function(e){return Hi(e)?Mt(e,Fo):ls(e)?[e]:Na(Lo(ys(e)))},Un.toPlainObject=vs,Un.transform=function(e,t,n){var r=Hi(e),a=r||Qi(e)||us(e);if(t=co(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:ts(e)&&Zi(o)?Gn(Ye(e)):{}}return(a?Nt:br)(e,(function(e,r,a){return t(n,e,r,a)})),n},Un.unary=function(e){return xi(e,1)},Un.union=ni,Un.unionBy=ri,Un.unionWith=ai,Un.uniq=function(e){return e&&e.length?ua(e):[]},Un.uniqBy=function(e,t){return e&&e.length?ua(e,co(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?ua(e,a,t):[]},Un.unset=function(e,t){return null==e||da(e,t)},Un.unzip=oi,Un.unzipWith=ii,Un.update=function(e,t,n){return null==e?e:pa(e,t,va(n))},Un.updateWith=function(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:pa(e,t,va(n),r)},Un.values=Gs,Un.valuesIn=function(e){return null==e?[]:Jt(e,Ds(e))},Un.without=si,Un.words=Zs,Un.wrap=function(e,t){return Fi(va(t),e)},Un.xor=ci,Un.xorBy=li,Un.xorWith=ui,Un.zip=di,Un.zipObject=function(e,t){return ha(e||[],t||[],tr)},Un.zipObjectDeep=function(e,t){return ha(e||[],t||[],Jr)},Un.zipWith=pi,Un.entries=Bs,Un.entriesIn=Us,Un.extend=Rs,Un.extendWith=Es,cc(Un,Un),Un.add=vc,Un.attempt=Js,Un.camelCase=$s,Un.capitalize=Vs,Un.ceil=yc,Un.clamp=function(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=(n=_s(n))===n?n:0),t!==a&&(t=(t=_s(t))===t?t:0),sr(_s(e),t,n)},Un.clone=function(e){return cr(e,4)},Un.cloneDeep=function(e){return cr(e,5)},Un.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:a)},Un.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:a)},Un.conformsTo=function(e,t){return null==t||lr(e,t,As(t))},Un.deburr=zs,Un.defaultTo=function(e,t){return null==e||e!==e?t:e},Un.divide=bc,Un.endsWith=function(e,t,n){e=ys(e),t=la(t);var r=e.length,o=n=n===a?r:sr(ms(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Un.eq=Gi,Un.escape=function(e){return(e=ys(e))&&X.test(e)?e.replace(Q,on):e},Un.escapeRegExp=function(e){return(e=ys(e))&&oe.test(e)?e.replace(ae,"\\$&"):e},Un.every=function(e,t,n){var r=Hi(e)?Pt:gr;return n&&bo(e,t,n)&&(t=a),r(e,co(t,3))},Un.find=_i,Un.findIndex=zo,Un.findKey=function(e,t){return Gt(e,co(t,3),br)},Un.findLast=vi,Un.findLastIndex=Ho,Un.findLastKey=function(e,t){return Gt(e,co(t,3),Rr)},Un.floor=Rc,Un.forEach=yi,Un.forEachRight=bi,Un.forIn=function(e,t){return null==e?e:vr(e,co(t,3),Ds)},Un.forInRight=function(e,t){return null==e?e:yr(e,co(t,3),Ds)},Un.forOwn=function(e,t){return e&&br(e,co(t,3))},Un.forOwnRight=function(e,t){return e&&Rr(e,co(t,3))},Un.get=Ts,Un.gt=$i,Un.gte=Vi,Un.has=function(e,t){return null!=e&&ho(e,t,Tr)},Un.hasIn=xs,Un.head=Yo,Un.identity=ac,Un.includes=function(e,t,n,r){e=Yi(e)?e:Gs(e),n=n&&!r?ms(n):0;var a=e.length;return n<0&&(n=vn(a+n,0)),cs(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Vt(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:ms(n);return a<0&&(a=vn(r+a,0)),Vt(e,t,a)},Un.inRange=function(e,t,n){return t=gs(t),n===a?(n=t,t=0):n=gs(n),function(e,t,n){return e>=yn(t,n)&&e=-9007199254740991&&e<=g},Un.isSet=ss,Un.isString=cs,Un.isSymbol=ls,Un.isTypedArray=us,Un.isUndefined=function(e){return e===a},Un.isWeakMap=function(e){return ns(e)&&mo(e)==D},Un.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==wr(e)},Un.join=function(e,t){return null==e?"":Ut.call(e,t)},Un.kebabCase=Hs,Un.last=Xo,Un.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==a&&(o=(o=ms(n))<0?vn(r+o,0):yn(o,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):$t(e,Ht,o,!0)},Un.lowerCase=qs,Un.lowerFirst=Ys,Un.lt=ds,Un.lte=ps,Un.max=function(e){return e&&e.length?mr(e,ac,Cr):a},Un.maxBy=function(e,t){return e&&e.length?mr(e,co(t,2),Cr):a},Un.mean=function(e){return qt(e,ac)},Un.meanBy=function(e,t){return qt(e,co(t,2))},Un.min=function(e){return e&&e.length?mr(e,ac,Fr):a},Un.minBy=function(e,t){return e&&e.length?mr(e,co(t,2),Fr):a},Un.stubArray=hc,Un.stubFalse=_c,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=Ec,Un.nth=function(e,t){return e&&e.length?Vr(e,ms(t)):a},Un.noConflict=function(){return mt._===this&&(mt._=Ge),this},Un.noop=lc,Un.now=Ti,Un.pad=function(e,t,n){e=ys(e);var r=(t=ms(t))?gn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return za(ht(a),n)+e+za(gt(a),n)},Un.padEnd=function(e,t,n){e=ys(e);var r=(t=ms(t))?gn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=En();return yn(e+o*(t-e+dt("1e-"+((o+"").length-1))),t)}return Wr(e,t)},Un.reduce=function(e,t,n){var r=Hi(e)?Lt:Qt,a=arguments.length<3;return r(e,co(t,4),n,a,pr)},Un.reduceRight=function(e,t,n){var r=Hi(e)?Ft:Qt,a=arguments.length<3;return r(e,co(t,4),n,a,fr)},Un.repeat=function(e,t,n){return t=(n?bo(e,t,n):t===a)?1:ms(t),Qr(ys(e),t)},Un.replace=function(){var e=arguments,t=ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,n){var r=-1,o=(t=ya(t,e)).length;for(o||(o=1,e=a);++rg)return[];var n=h,r=yn(e,h);t=co(t),e-=h;for(var a=Xt(r,t);++n=i)return e;var c=n-gn(r);if(c<1)return r;var l=s?Ra(s,0,c).join(""):e.slice(0,c);if(o===a)return l+r;if(s&&(c+=l.length-c),is(o)){if(e.slice(c).search(o)){var u,d=l;for(o.global||(o=xe(o.source,ys(me.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var p=u.index;l=l.slice(0,p===a?c:p)}}else if(e.indexOf(la(o),c)!=c){var f=l.lastIndexOf(o);f>-1&&(l=l.slice(0,f))}return l+r},Un.unescape=function(e){return(e=ys(e))&&K.test(e)?e.replace(W,hn):e},Un.uniqueId=function(e){var t=++Le;return ys(e)+t},Un.upperCase=Ks,Un.upperFirst=Xs,Un.each=yi,Un.eachRight=bi,Un.first=Yo,cc(Un,function(){var e={};return br(Un,(function(t,n){je.call(Un.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Un.VERSION="4.17.20",Nt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Nt(["drop","take"],(function(e,t){zn.prototype[e]=function(n){n=n===a?1:vn(ms(n),0);var r=this.__filtered__&&!t?new zn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(n,r.__takeCount__):r.__views__.push({size:yn(n,h),type:e+(r.__dir__<0?"Right":"")}),r},zn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Nt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;zn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Nt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");zn.prototype[e]=function(){return this[n](1).value()[0]}})),Nt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");zn.prototype[e]=function(){return this.__filtered__?new zn(this):this[n](1)}})),zn.prototype.compact=function(){return this.filter(ac)},zn.prototype.find=function(e){return this.filter(e).head()},zn.prototype.findLast=function(e){return this.reverse().find(e)},zn.prototype.invokeMap=Kr((function(e,t){return"function"==typeof e?new zn(this):this.map((function(n){return Ir(n,e,t)}))})),zn.prototype.reject=function(e){return this.filter(ji(co(e)))},zn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new zn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},zn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},zn.prototype.toArray=function(){return this.take(h)},br(zn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Un[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Un.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof zn,l=s[0],u=c||Hi(t),d=function(e){var t=o.apply(Un,jt([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var p=this.__chain__,f=!!this.__actions__.length,g=i&&!p,m=c&&!f;if(!i&&u){t=m?t:new zn(this);var h=e.apply(t,s);return h.__actions__.push({func:gi,args:[d],thisArg:a}),new Vn(h,p)}return g&&m?e.apply(this,s):(h=this.thru(d),g?r?h.value()[0]:h.value():h)})})),Nt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(Hi(a)?a:[],e)}return this[n]((function(n){return t.apply(Hi(n)?n:[],e)}))}})),br(zn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";je.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}})),Pn[Ua(a,2).name]=[{name:"wrapper",func:a}],zn.prototype.clone=function(){var e=new zn(this.__wrapped__);return e.__actions__=Na(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Na(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Na(this.__views__),e},zn.prototype.reverse=function(){if(this.__filtered__){var e=new zn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},zn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Hi(e),r=t<0,a=n?e.length:0,o=function(e,t,n){var r=-1,a=n.length;for(;++r=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,n=this;n instanceof $n;){var r=Uo(n);r.__index__=0,r.__values__=a,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof zn){var t=e;return this.__actions__.length&&(t=new zn(this)),(t=t.reverse()).__actions__.push({func:gi,args:[ti],thisArg:a}),new Vn(t,this.__chain__)}return this.thru(ti)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return ga(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Ze&&(Un.prototype[Ze]=function(){return this}),Un}();mt._=_n,(r=function(){return _n}.call(t,n,t,e))===a||(e.exports=r)}.call(this)},86227:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Graph=void 0;const a=n(62184),o=n(62184),i=n(62184),s=r(n(33277)),c=n(31200),l=n(88495),u=n(78282);class d{constructor(e=[],t=[]){this._nodes=new Map,this._edges=new Map,e.forEach((e=>this.setNode(e))),t.forEach((e=>this.setEdge(e)))}create(e=[],t=[]){return new d(e,t)}setNode(e,t=!0){if(this.hasNode(e.id)){if(t){let t=this.node(e.id);t&&(t.attr=e.attr)}}else this._nodes.set(e.id,e);return this}setEdge(e,t=!0){const n=e.sourceId,r=e.targetId;if(this.hasEdge(n,r)){if(t){let t=this.edge(n,r);return t&&(t.attr=e.attr),this}return this}const a=o.Edge.edgeId(n,r);if(this._edges.set(a,e),!this._nodes.has(n))throw Error(`source node ${n} does not exist`);{let e=this._nodes.get(n);void 0!==e&&e.setOutEdge(a)}if(!this._nodes.has(r))throw Error(`target node ${r} does not exist`);{let e=this._nodes.get(r);void 0!==e&&e.setInEdge(a)}return this}setNodes(e,t=!0){return e.forEach((e=>{if(this.hasNode(e.id)){if(t){let t=this.node(e.id);t&&(t.attr=e.attr)}}else this.setNode(e)})),this}setEdges(e,t=!0){return e.forEach((e=>{if(this.hasEdge(e.sourceId,e.targetId)){if(t){let t=this.edge(e.sourceId,e.targetId);t&&(t.attr=e.attr)}}else this.setEdge(e)})),this}hasNode(e){return this._nodes.has(e)}hasEdge(e,t){return this._edges.has(o.Edge.edgeId(e,t))}node(e){return this._nodes.get(e)}getNodes(e){let t=[];return e.forEach((e=>{const n=this._nodes.get(e);n&&t.push(n)})),t}edge(e,t){return this._edges.get(o.Edge.edgeId(e,t))}edgeById(e){return this._edges.get(e)}edgeNodesById(e){var t,n;return{sourceId:null===(t=this._edges.get(e))||void 0===t?void 0:t.sourceId,targetId:null===(n=this._edges.get(e))||void 0===n?void 0:n.targetId}}get nodeMap(){return this._nodes}get edgeMap(){return this._edges}get nodes(){return[...this._nodes.values()]}get edges(){return[...this._edges.values()]}nodeCount(){return this._nodes.size}edgeCount(){return this._edges.size}sources(){return[...this._nodes.values()].filter((e=>e.isSource())).map((e=>e))}sinks(){return[...this._nodes.values()].filter((e=>e.isSink())).map((e=>e))}deleteNode(e){const t=this.node(e);"undefined"!==typeof t&&(t.nodeEdges.forEach((e=>{const{sourceId:t,targetId:n}=o.Edge.parseEdgeId(e);this.deleteEdge(t,n)})),this._nodes.delete(e))}deleteEdge(e,t){const n=o.Edge.edgeId(e,t);if(void 0!==this._edges.get(n)){let r=this._nodes.get(e);void 0!==r&&r.deleteEdge(n);let a=this._nodes.get(t);void 0!==a&&a.deleteEdge(n)}this._edges.delete(n)}inEdgesMap(e){return this._inEdges(e)}outEdgesMap(e){return this._outEdges(e)}nodeEdgesMap(e){return this._nodeEdges(e)}inEdges(e){return[...this._inEdges(e).values()]}outEdges(e){return[...this._outEdges(e).values()]}nodeEdges(e){return[...this._nodeEdges(e).values()]}_inEdges(e){let t=new Map;const n=this.node(e);return void 0===n||n.inEdges.forEach((e=>{let{sourceId:n,targetId:r}=o.Edge.parseEdgeId(e),a=this.edge(n,r);void 0!==a&&t.set(e,a)})),t}_outEdges(e){let t=new Map;const n=this.node(e);return void 0===n||n.outEdges.forEach((e=>{let{sourceId:n,targetId:r}=o.Edge.parseEdgeId(e),a=this.edge(n,r);void 0!==a&&t.set(e,a)})),t}_nodeEdges(e){let t=new Map;const n=this.node(e);return void 0===n||n.nodeEdges.forEach((e=>{let{sourceId:n,targetId:r}=o.Edge.parseEdgeId(e),a=this.edge(n,r);void 0!==a&&t.set(e,a)})),t}successorMap(e,{nodeFilter:t=p,edgeFilter:n=p}={}){return this._successors(e,{nodeFilter:t,edgeFilter:n})}predecessorMap(e,{nodeFilter:t=p,edgeFilter:n=p}={}){return this._predecessors(e,{nodeFilter:t,edgeFilter:n})}neighborMap(e,{nodeFilter:t=p,edgeFilter:n=p}={}){return this._neighbors(e,{nodeFilter:t,edgeFilter:n})}_successors(e,{nodeFilter:t=p,edgeFilter:n=p}={}){let r=new Map;const a=this.node(e);return void 0===a||a.outEdges.forEach((e=>{const a=this._edges.get(e);if(void 0!=a&&n(a)){const{sourceId:n,targetId:a}=o.Edge.parseEdgeId(e),i=this.node(a);a&&void 0!==i&&t(i)&&r.set(a,i)}})),r}_predecessors(e,{nodeFilter:t=p,edgeFilter:n=p}={}){let r=new Map;const a=this.node(e);return void 0===a||a.inEdges.forEach((e=>{const a=this._edges.get(e);if(void 0!=a&&n(a)){const{sourceId:n,targetId:a}=o.Edge.parseEdgeId(e),i=this.node(n);n&&void 0!==i&&t(i)&&r.set(n,i)}})),r}_neighbors(e,{nodeFilter:t=p,edgeFilter:n=p}={}){return new Map([...this._predecessors(e,{nodeFilter:t,edgeFilter:n}),...this._successors(e,{nodeFilter:t,edgeFilter:n})])}successorsSubgraph(e,{nodeFilter:t=p,edgeFilter:n=p}={}){return this._buildSubgraphs(e,"successors",{nodeFilter:t,edgeFilter:n})}_alreadyProcessed(e,t){for(const n of t)if(n.hasNode(e))return!0;return!1}_buildSubgraphs(e,t,{nodeFilter:n=p,edgeFilter:r=p}={}){let a=[];if(!Array.isArray(e))return this._buildSubgraph(e,t,{nodeFilter:n,edgeFilter:r});if(e.forEach((e=>{this._alreadyProcessed(e,a)||a.push(this._buildSubgraph(e,t,{nodeFilter:n,edgeFilter:r}))})),1===a.length)return a[0];let o=this.create();return a.length&&(o=a[0].merge(a)),o}_buildSubgraph(e,t,{nodeFilter:n=p,edgeFilter:r=p}={}){let a=this.create(),o=this.node(e);if(!o)throw new Error(`Node ${e} does not exist on graph`);return a.setNode(o),"successors"===t?this._successorsSubgraphUtil(e,a,{},{nodeFilter:n,edgeFilter:r}):this._predecessorsSubgraphUtil(e,a,{},{nodeFilter:n,edgeFilter:r})}_successorsSubgraphUtil(e,t,n={},{nodeFilter:r=p,edgeFilter:a=p}={}){const i=[...this._successors(e,{nodeFilter:r,edgeFilter:a}).keys()]||[];return i.length>0&&!n[e]&&i.forEach((i=>{n[e]=!0;const s=this._nodes.get(i),c=this._edges.get(o.Edge.edgeId(e,i));if(void 0!==s&&void 0!=c)return t.setNode(s),t.setEdge(c),this._successorsSubgraphUtil(i,t,n,{nodeFilter:r,edgeFilter:a})})),t}successors(e,{nodeFilter:t=p,edgeFilter:n=p}={}){const r=s.default.uniq(this._successorsArrayUtil(e,[],{},{nodeFilter:t,edgeFilter:n}));let a=[];return r.forEach((e=>{let t=this.node(e);void 0!=t&&a.push(t)})),a}_successorsArrayUtil(e,t=[],n={},{nodeFilter:r=p,edgeFilter:a=p}={}){const o=[...this._successors(e,{nodeFilter:r,edgeFilter:a}).keys()]||[];return o.length>0&&!n[e]&&o.forEach((o=>(n[e]=!0,t.push(o),this._successorsArrayUtil(o,t,n,{nodeFilter:r,edgeFilter:a})))),t}successorsLayers(e,{nodeFilter:t=p,edgeFilter:n=p,order:r="fromSource"}={}){let a=this.successorsSubgraph(e,{nodeFilter:t,edgeFilter:n});if(this.isCyclic(a))throw new Error("cyclic dependency");let o=[];o[0]=[e];return f(this._successorsLayersUtil([e],o,0,{nodeFilter:t,edgeFilter:n}),r)}_successorsLayersUtil(e,t,n,{nodeFilter:r=p,edgeFilter:a=p}={}){if(e.length>0){let e=n+1;return t.push([]),t[n].forEach((n=>{const o=[...this.successorMap(n,{nodeFilter:r,edgeFilter:a}).keys()];t[e]=t[e].concat(o)})),this._successorsLayersUtil(t[e],t,e,{nodeFilter:r,edgeFilter:a})}return t}predecessorsSubgraph(e,{nodeFilter:t=p,edgeFilter:n=p}={}){return this._buildSubgraphs(e,"predecessors",{nodeFilter:t,edgeFilter:n})}_predecessorsSubgraphUtil(e,t,n={},{nodeFilter:r=p,edgeFilter:a=p}={}){const i=[...this._predecessors(e,{nodeFilter:r,edgeFilter:a}).keys()]||[];return i.length>0&&!n[e]&&i.forEach((i=>{n[e]=!0;const s=this._nodes.get(i),c=this._edges.get(o.Edge.edgeId(i,e));if(void 0!==s&&void 0!=c)return t.setNode(s),t.setEdge(c),this._predecessorsSubgraphUtil(i,t,n,{nodeFilter:r,edgeFilter:a})})),t}predecessors(e,{nodeFilter:t=p,edgeFilter:n=p}={}){const r=s.default.uniq(this._predecessorsArrayUtil(e,[],{},{nodeFilter:t,edgeFilter:n}));let a=[];return r.forEach((e=>{let t=this.node(e);void 0!=t&&a.push(t)})),a}_predecessorsArrayUtil(e,t=[],n={},{nodeFilter:r=p,edgeFilter:a=p}={}){const o=[...this._predecessors(e,{nodeFilter:r,edgeFilter:a}).keys()]||[];return o.length>0&&!n[e]&&o.forEach((o=>(n[e]=!0,t.push(o),this._predecessorsArrayUtil(o,t,n,{nodeFilter:r,edgeFilter:a})))),t}predecessorsLayers(e,{nodeFilter:t=p,edgeFilter:n=p,order:r="fromSource"}={}){let a=this.predecessorsSubgraph(e,{nodeFilter:t,edgeFilter:n});if(this.isCyclic(a))throw new Error("cyclic sub-graph");let o=[];o[0]=[e];return f(this._predecessorsLayersUtil([e],o,0,{nodeFilter:t,edgeFilter:n}),r)}_predecessorsLayersUtil(e,t,n,{nodeFilter:r=p,edgeFilter:a=p}={}){if(e.length>0){let e=n+1;return t.push([]),t[n].forEach((n=>{const o=[...this.predecessorMap(n,{nodeFilter:r,edgeFilter:a}).keys()];t[e]=t[e].concat(o)})),this._predecessorsLayersUtil(t[e],t,e,{nodeFilter:r,edgeFilter:a})}return t}toposort(e=!1){let t=this._toposort().map((e=>this.node(e)));return t=s.default.compact(t),e?t.reverse():t}_transformEdges(){let e=[];return this._edges.forEach((t=>{e.push([t.sourceId,t.targetId])})),e}_toposort(){const e=[...this._nodes.keys()],t=this._transformEdges();var n=e.length,r=new Array(n),a={},o=n,s=function(e){for(var t=new Map,n=0,r=e.length;n1||1===e.length&&t.hasEdge(e[0],e[0])}));var t}merge(e){let t=this;return e.forEach((e=>{var n,r;for(let[a,o]of e.nodeMap)t.setNode(o);for(let[a,o]of e.edgeMap){const s=null===(n=e._edges.get(a))||void 0===n?void 0:n.sourceId,c=null===(r=e._edges.get(a))||void 0===r?void 0:r.targetId;if(t.edgeMap.has(a)&&s&&c)t.setEdge(o);else{if(!(s&&c&&t.hasNode(s)&&t.hasNode(c)))throw i.NodeDoesntExist;t.setEdge(o)}}})),t}allPaths(e,t){return this._allPaths(e,t,[],[])}_allPaths(e,t,n,r,a={}){if(a[e]=!0,n.push(e),e===t)r.push(s.default.cloneDeep(n));else{([...this._successors(e).keys()]||[]).forEach((e=>{a[e]||this._allPaths(e,t,n,r,a)}))}return n.pop(),a[e]=!1,r}toJson(e){return e?this._toJson(e,"object"):this._toJson(this,"object")}stringify(e){return e?this._toJson(e,"string"):this._toJson(this,"string")}static parse(e,t=l.genericParseNode,n=u.genericParseEdge){return this._fromJson(e,t,n)}static convertToBidirectionalEdges(e){let t=new Map;for(const[n,r]of e.edgeMap)if(!t.has(n)){const e=r.targetId+"->"+r.sourceId;if(t.has(e)){let n=t.get(e);null===n||void 0===n||n.setBidirectional(!0)}else t.set(n,r)}return new d(e.nodes,[...t.values()])}_toJson(e,t){let n=[];for(let[o,i]of e.nodeMap.entries()){const r=e.node(o);if(r){let e;e="object"===t?r.attr.toJson&&"function"===typeof r.attr.toJson?r.attr.toJson():(0,l.genericNodeToJson)(r.attr):r.stringify(),n.push({id:o,attr:e})}}let r=[];for(let[o,i]of e.edgeMap.entries()){const n=e.edgeById(o);if(n){let e;e="object"===t?n.attr.toJson&&"function"===typeof n.attr.toJson?n.attr.toJson():(0,l.genericNodeToJson)(n.attr):n.stringify(),r.push({sourceId:n.sourceId,targetId:n.targetId,attr:e,bidirectional:n.bidirectional})}}let a={nodes:n,edges:r};return"object"===t?a:JSON.stringify(a)}static _fromJson(e,t,n){const r="string"===typeof e?JSON.parse(e):e;let i=new d;if(!r.hasOwnProperty("nodes")||!r.hasOwnProperty("edges"))throw Error("missing properties on JSON. Should contain nodes: {id: string, node: N}[], and edges: {sourceId: string, targetId: string, edge:E}[]");return r.nodes.forEach((e=>{const n=a.Node.fromObject(e,t);i.setNode(n)})),r.edges.forEach((e=>{const t=o.Edge.fromObject(e,n);i.setEdge(t)})),i}bfs(){}dfs(){}}function p(){return!0}function f(e,t){let n=[],r=[];e=e.reverse();let a=0;return e.forEach((e=>{e.length>0&&(n.push([]),e.forEach((e=>{-1==r.indexOf(e)&&(r.push(e),n[a].push(e))})),a++)})),"fromSource"===t?n.reverse():n}t.Graph=d},78282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.genericEdgeToJson=t.genericParseEdge=t.Edge=void 0;class n{constructor(e,t,n,r=!1){this.sourceId=e,this.targetId=t,this.bidirectional=r,this.sourceId=e,this.targetId=t,this.attr=n,this.bidirectional=r}get id(){return n.edgeId(this.sourceId,this.targetId)}get source(){return this.sourceId}get target(){return this.targetId}setBidirectional(e){this.bidirectional=e}stringify(){let e="";return e=this.attr.stringify&&"function"===typeof this.attr.stringify?this.attr.stringify():JSON.stringify(this.attr),e}static fromObject(e,t){if(!e.hasOwnProperty("sourceId"))throw Error("missing source id");if(!e.hasOwnProperty("targetId"))throw Error("missing target id");return new n(e.sourceId,e.targetId,t(e.attr),e.bidirectional)}static edgeId(e,t){return`${e}->${t}`}static parseEdgeId(e){const t=e.split("->");return 2===t.length?{sourceId:t[0],targetId:t[1]}:{sourceId:"",targetId:""}}get nodes(){return[this.sourceId,this.targetId]}}t.Edge=n,t.genericParseEdge=function(e){return"string"!==typeof e?e:JSON.parse(e)},t.genericEdgeToJson=function(e){return e}},7265:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeDoesntExist=t.CyclicError=void 0;class n extends Error{constructor(e){super(e),Object.setPrototypeOf(this,new.target.prototype)}}t.CyclicError=n;class r extends Error{constructor(e){super(e),Object.setPrototypeOf(this,new.target.prototype)}}t.NodeDoesntExist=r},62184:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Graph=t.NodeDoesntExist=t.CyclicError=t.Node=t.Edge=void 0;var r=n(78282);Object.defineProperty(t,"Edge",{enumerable:!0,get:function(){return r.Edge}});var a=n(88495);Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return a.Node}});var o=n(7265);Object.defineProperty(t,"CyclicError",{enumerable:!0,get:function(){return o.CyclicError}}),Object.defineProperty(t,"NodeDoesntExist",{enumerable:!0,get:function(){return o.NodeDoesntExist}});var i=n(86227);Object.defineProperty(t,"Graph",{enumerable:!0,get:function(){return i.Graph}})},88495:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.genericNodeToJson=t.genericParseNode=t.Node=void 0;const a=n(33277),o=r(n(33277));class i{constructor(e,t,n,r){this.id=e,this.attr=t,this._inEdges=n||[],this._outEdges=r||[]}setInEdge(e){this._inEdges.push(e)}setOutEdge(e){this._outEdges.push(e)}deleteEdge(e){o.default.remove(this._inEdges,(function(t){return t===e})),o.default.remove(this._outEdges,(function(t){return t===e}))}get inEdges(){return this._inEdges}get outEdges(){return this._outEdges}get nodeEdges(){return this._inEdges.concat(this._outEdges)}hasNoSuccessors(){return 0===this._outEdges.length}hasNoPredecessors(){return 0===this._inEdges.length}isSource(){return 0===this._inEdges.length&&this._outEdges.length>0}isSink(){return this._inEdges.length>0&&0===this._outEdges.length}equals(e){return this.id===e.id&&(0,a.isEqual)(this.attr,e.attr)}stringify(){let e="";return e=this.attr.stringify&&"function"===typeof this.attr.stringify?this.attr.stringify():JSON.stringify(this.attr),e}static fromObject(e,t){if(!e.hasOwnProperty("id"))throw Error("missing object id");return new i(e.id,t(e.attr))}}t.Node=i,t.genericParseNode=function(e){return"string"!==typeof e?e:JSON.parse(e)},t.genericNodeToJson=function(e){return e}},33277:function(e,t,n){var r;e=n.nmd(e),function(){var a,o="Expected a function",i="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,l=32,u=64,d=128,p=256,f=1/0,g=9007199254740991,m=NaN,h=4294967295,_=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",p]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",R="[object Date]",E="[object Error]",S="[object Function]",O="[object GeneratorFunction]",w="[object Map]",C="[object Number]",T="[object Object]",x="[object Promise]",N="[object RegExp]",I="[object Set]",P="[object String]",A="[object Symbol]",D="[object WeakMap]",k="[object ArrayBuffer]",M="[object DataView]",j="[object Float32Array]",L="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",U="[object Int32Array]",G="[object Uint8Array]",$="[object Uint8ClampedArray]",V="[object Uint16Array]",z="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,K=RegExp(W.source),X=RegExp(Q.source),Z=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ae.source),ie=/^\s+|\s+$/g,se=/^\s+/,ce=/\s+$/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,de=/,? & /,pe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fe=/\\(\\)?/g,ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,_e=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,Re=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Oe="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ce="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ne="\\ufe0e\\ufe0f",Ie="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['\u2019]",Ae="["+Oe+"]",De="["+Ie+"]",ke="["+we+"]",Me="\\d+",je="["+Ce+"]",Le="["+Te+"]",Fe="[^"+Oe+Ie+Me+Ce+Te+xe+"]",Be="\\ud83c[\\udffb-\\udfff]",Ue="[^"+Oe+"]",Ge="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+xe+"]",ze="\\u200d",He="(?:"+Le+"|"+Fe+")",qe="(?:"+Ve+"|"+Fe+")",Ye="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",We="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+ke+"|"+Be+")"+"?",Ke="["+Ne+"]?",Xe=Ke+Qe+("(?:"+ze+"(?:"+[Ue,Ge,$e].join("|")+")"+Ke+Qe+")*"),Ze="(?:"+[je,Ge,$e].join("|")+")"+Xe,Je="(?:"+[Ue+ke+"?",ke,Ge,$e,Ae].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(ke,"g"),nt=RegExp(Be+"(?="+Be+")|"+Je+Xe,"g"),rt=RegExp([Ve+"?"+Le+"+"+Ye+"(?="+[De,Ve,"$"].join("|")+")",qe+"+"+We+"(?="+[De,Ve+He,"$"].join("|")+")",Ve+"?"+He+"+"+Ye,Ve+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ze].join("|"),"g"),at=RegExp("["+ze+Oe+we+Ne+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,ct={};ct[j]=ct[L]=ct[F]=ct[B]=ct[U]=ct[G]=ct[$]=ct[V]=ct[z]=!0,ct[v]=ct[y]=ct[k]=ct[b]=ct[M]=ct[R]=ct[E]=ct[S]=ct[w]=ct[C]=ct[T]=ct[N]=ct[I]=ct[P]=ct[D]=!1;var lt={};lt[v]=lt[y]=lt[k]=lt[M]=lt[b]=lt[R]=lt[j]=lt[L]=lt[F]=lt[B]=lt[U]=lt[w]=lt[C]=lt[T]=lt[N]=lt[I]=lt[P]=lt[A]=lt[G]=lt[$]=lt[V]=lt[z]=!0,lt[E]=lt[S]=lt[D]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,gt="object"==typeof self&&self&&self.Object===Object&&self,mt=ft||gt||Function("return this")(),ht=t&&!t.nodeType&&t,_t=ht&&e&&!e.nodeType&&e,vt=_t&&_t.exports===ht,yt=vt&&ft.process,bt=function(){try{var e=_t&&_t.require&&_t.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(t){}}(),Rt=bt&&bt.isArrayBuffer,Et=bt&&bt.isDate,St=bt&&bt.isMap,Ot=bt&&bt.isRegExp,wt=bt&&bt.isSet,Ct=bt&&bt.isTypedArray;function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function xt(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a-1}function kt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function nn(e,t){for(var n=e.length;n--&&Vt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var an=Wt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=Wt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ut[e]}function cn(e){return at.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,a=0,o=[];++n",""":'"',"'":"'"});var _n=function e(t){var n=(t=null==t?mt:_n.defaults(mt.Object(),t,_n.pick(mt,it))).Array,r=t.Date,Oe=t.Error,we=t.Function,Ce=t.Math,Te=t.Object,xe=t.RegExp,Ne=t.String,Ie=t.TypeError,Pe=n.prototype,Ae=we.prototype,De=Te.prototype,ke=t["__core-js_shared__"],Me=Ae.toString,je=De.hasOwnProperty,Le=0,Fe=function(){var e=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Be=De.toString,Ue=Me.call(Te),Ge=mt._,$e=xe("^"+Me.call(je).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=vt?t.Buffer:a,ze=t.Symbol,He=t.Uint8Array,qe=Ve?Ve.allocUnsafe:a,Ye=un(Te.getPrototypeOf,Te),We=Te.create,Qe=De.propertyIsEnumerable,Ke=Pe.splice,Xe=ze?ze.isConcatSpreadable:a,Ze=ze?ze.iterator:a,Je=ze?ze.toStringTag:a,nt=function(){try{var e=po(Te,"defineProperty");return e({},"",{}),e}catch(t){}}(),at=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=r&&r.now!==mt.Date.now&&r.now,ft=t.setTimeout!==mt.setTimeout&&t.setTimeout,gt=Ce.ceil,ht=Ce.floor,_t=Te.getOwnPropertySymbols,yt=Ve?Ve.isBuffer:a,bt=t.isFinite,Ut=Pe.join,Wt=un(Te.keys,Te),vn=Ce.max,yn=Ce.min,bn=r.now,Rn=t.parseInt,En=Ce.random,Sn=Pe.reverse,On=po(t,"DataView"),wn=po(t,"Map"),Cn=po(t,"Promise"),Tn=po(t,"Set"),xn=po(t,"WeakMap"),Nn=po(Te,"create"),In=xn&&new xn,Pn={},An=Bo(On),Dn=Bo(wn),kn=Bo(Cn),Mn=Bo(Tn),jn=Bo(xn),Ln=ze?ze.prototype:a,Fn=Ln?Ln.valueOf:a,Bn=Ln?Ln.toString:a;function Un(e){if(ns(e)&&!Hi(e)&&!(e instanceof zn)){if(e instanceof Vn)return e;if(je.call(e,"__wrapped__"))return Uo(e)}return new Vn(e)}var Gn=function(){function e(){}return function(t){if(!ts(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function $n(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function zn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cr(e,t,n,r,o,i){var s,c=1&t,l=2&t,u=4&t;if(n&&(s=o?n(e,r,o,i):n(e)),s!==a)return s;if(!ts(e))return e;var d=Hi(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&je.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Na(e,s)}else{var p=mo(e),f=p==S||p==O;if(Qi(e))return Sa(e,c);if(p==T||p==v||f&&!o){if(s=l||f?{}:_o(e),!c)return l?function(e,t){return Ia(e,go(e),t)}(e,function(e,t){return e&&Ia(t,Ds(t),e)}(s,e)):function(e,t){return Ia(e,fo(e),t)}(e,ar(s,e))}else{if(!lt[p])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case k:return Oa(e);case b:case R:return new r(+e);case M:return function(e,t){var n=t?Oa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case j:case L:case F:case B:case U:case G:case $:case V:case z:return wa(e,n);case w:return new r;case C:case P:return new r(e);case N:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case I:return new r;case A:return a=e,Fn?Te(Fn.call(a)):{}}var a}(e,p,c)}}i||(i=new Qn);var g=i.get(e);if(g)return g;i.set(e,s),ss(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,i))})):rs(e)&&e.forEach((function(r,a){s.set(a,cr(r,t,n,a,e,i))}));var m=d?a:(u?l?ao:ro:l?Ds:As)(e);return Nt(m||e,(function(r,a){m&&(r=e[a=r]),tr(s,a,cr(r,t,n,a,e,i))})),s}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Te(e);r--;){var o=n[r],i=t[o],s=e[o];if(s===a&&!(o in e)||!i(s))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Ie(o);return Ao((function(){e.apply(a,n)}),t)}function dr(e,t,n,r){var a=-1,o=Dt,i=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=Mt(t,Zt(n))),r?(o=kt,i=!1):t.length>=200&&(o=en,i=!1,t=new Wn(t));e:for(;++a-1},qn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(wn||qn),string:new Hn}},Yn.prototype.delete=function(e){var t=lo(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return lo(this,e).get(e)},Yn.prototype.has=function(e){return lo(this,e).has(e)},Yn.prototype.set=function(e,t){var n=lo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Wn.prototype.add=Wn.prototype.push=function(e){return this.__data__.set(e,i),this},Wn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.clear=function(){this.__data__=new qn,this.size=0},Qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Qn.prototype.get=function(e){return this.__data__.get(e)},Qn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!wn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(e,t),this.size=n.size,this};var pr=Da(br),fr=Da(Rr,!0);function gr(e,t){var n=!0;return pr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function mr(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?_r(s,t-1,n,r,a):jt(a,s):r||(a[a.length]=s)}return a}var vr=ka(),yr=ka(!0);function br(e,t){return e&&vr(e,t,As)}function Rr(e,t){return e&&yr(e,t,As)}function Er(e,t){return At(t,(function(t){return Zi(e[t])}))}function Sr(e,t){for(var n=0,r=(t=ya(t,e)).length;null!=e&&nt}function Tr(e,t){return null!=e&&je.call(e,t)}function xr(e,t){return null!=e&&t in Te(e)}function Nr(e,t,r){for(var o=r?kt:Dt,i=e[0].length,s=e.length,c=s,l=n(s),u=1/0,d=[];c--;){var p=e[c];c&&t&&(p=Mt(p,Zt(t))),u=yn(p.length,u),l[c]=!r&&(t||i>=120&&p.length>=120)?new Wn(c&&p):a}p=e[0];var f=-1,g=l[0];e:for(;++f=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hr(e,t,n){for(var r=-1,a=t.length,o={};++r-1;)s!==e&&Ke.call(s,c,1),Ke.call(e,c,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==o){var o=a;yo(a)?Ke.call(e,a,1):da(e,a)}}return e}function Wr(e,t){return e+ht(En()*(t-e+1))}function Qr(e,t){var n="";if(!e||t<1||t>g)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Kr(e,t){return Do(To(e,t,ac),e+"")}function Xr(e){return Xn(Gs(e))}function Zr(e,t){var n=Gs(e);return jo(n,sr(t,0,n.length))}function Jr(e,t,n,r){if(!ts(e))return e;for(var o=-1,i=(t=ya(t,e)).length,s=i-1,c=e;null!=c&&++oo?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=n(o);++a>>1,i=e[o];null!==i&&!ls(i)&&(n?i<=t:i=200){var l=t?null:Qa(e);if(l)return pn(l);i=!1,a=en,c=new Wn}else c=t?[]:s;e:for(;++r=r?e:ra(e,t,n)}var Ea=at||function(e){return mt.clearTimeout(e)};function Sa(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Oa(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function wa(e,t){var n=t?Oa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ca(e,t){if(e!==t){var n=e!==a,r=null===e,o=e===e,i=ls(e),s=t!==a,c=null===t,l=t===t,u=ls(t);if(!c&&!u&&!i&&e>t||i&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e1?n[o-1]:a,s=o>2?n[2]:a;for(i=e.length>3&&"function"==typeof i?(o--,i):a,s&&bo(n[0],n[1],s)&&(i=o<3?a:i,o=1),t=Te(t);++r-1?o[i?t[s]:s]:a}}function Ba(e){return no((function(t){var n=t.length,r=n,i=Vn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ie(o);if(i&&!c&&"wrapper"==io(s))var c=new Vn([],!0)}for(r=c?r:n;++r1&&y.reverse(),f&&uc))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,g=2&n?new Wn:a;for(i.set(e,t),i.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Nt(_,(function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(de):[]}(r),n)))}function Mo(e){var t=0,n=0;return function(){var r=bn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(a,arguments)}}function jo(e,t){var n=-1,r=e.length,o=r-1;for(t=t===a?r:t;++n1?e[t-1]:a;return n="function"==typeof n?(e.pop(),n):a,ii(e,n)}));function fi(e){var t=Un(e);return t.__chain__=!0,t}function gi(e,t){return t(e)}var mi=no((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&r instanceof zn&&yo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:gi,args:[o],thisArg:a}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(o)}));var hi=Pa((function(e,t,n){je.call(e,n)?++e[n]:or(e,n,1)}));var _i=Fa(zo),vi=Fa(Ho);function yi(e,t){return(Hi(e)?Nt:pr)(e,co(t,3))}function bi(e,t){return(Hi(e)?It:fr)(e,co(t,3))}var Ri=Pa((function(e,t,n){je.call(e,n)?e[n].push(t):or(e,n,[t])}));var Ei=Kr((function(e,t,r){var a=-1,o="function"==typeof t,i=Yi(e)?n(e.length):[];return pr(e,(function(e){i[++a]=o?Tt(t,e,r):Ir(e,t,r)})),i})),Si=Pa((function(e,t,n){or(e,n,t)}));function Oi(e,t){return(Hi(e)?Mt:Br)(e,co(t,3))}var wi=Pa((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ci=Kr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&bo(e,t[0],t[1])?t=[]:n>2&&bo(t[0],t[1],t[2])&&(t=[t[0]]),zr(e,_r(t,1),[])})),Ti=ut||function(){return mt.Date.now()};function xi(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,Xa(e,d,a,a,a,a,t)}function Ni(e,t){var n;if("function"!=typeof t)throw new Ie(o);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var Ii=Kr((function(e,t,n){var r=1;if(n.length){var a=dn(n,so(Ii));r|=l}return Xa(e,r,t,n,a)})),Pi=Kr((function(e,t,n){var r=3;if(n.length){var a=dn(n,so(Pi));r|=l}return Xa(t,r,e,n,a)}));function Ai(e,t,n){var r,i,s,c,l,u,d=0,p=!1,f=!1,g=!0;if("function"!=typeof e)throw new Ie(o);function m(t){var n=r,o=i;return r=i=a,d=t,c=e.apply(o,n)}function h(e){return d=e,l=Ao(v,t),p?m(e):c}function _(e){var n=e-u;return u===a||n>=t||n<0||f&&e-d>=s}function v(){var e=Ti();if(_(e))return y(e);l=Ao(v,function(e){var n=t-(e-u);return f?yn(n,s-(e-d)):n}(e))}function y(e){return l=a,g&&r?m(e):(r=i=a,c)}function b(){var e=Ti(),n=_(e);if(r=arguments,i=this,u=e,n){if(l===a)return h(u);if(f)return Ea(l),l=Ao(v,t),m(u)}return l===a&&(l=Ao(v,t)),c}return t=_s(t)||0,ts(n)&&(p=!!n.leading,s=(f="maxWait"in n)?vn(_s(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),b.cancel=function(){l!==a&&Ea(l),d=0,r=u=i=l=a},b.flush=function(){return l===a?c:y(Ti())},b}var Di=Kr((function(e,t){return ur(e,1,t)})),ki=Kr((function(e,t,n){return ur(e,_s(t)||0,n)}));function Mi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ie(o);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(Mi.Cache||Yn),n}function ji(e){if("function"!=typeof e)throw new Ie(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Mi.Cache=Yn;var Li=ba((function(e,t){var n=(t=1==t.length&&Hi(t[0])?Mt(t[0],Zt(co())):Mt(_r(t,1),Zt(co()))).length;return Kr((function(r){for(var a=-1,o=yn(r.length,n);++a=t})),zi=Pr(function(){return arguments}())?Pr:function(e){return ns(e)&&je.call(e,"callee")&&!Qe.call(e,"callee")},Hi=n.isArray,qi=Rt?Zt(Rt):function(e){return ns(e)&&wr(e)==k};function Yi(e){return null!=e&&es(e.length)&&!Zi(e)}function Wi(e){return ns(e)&&Yi(e)}var Qi=yt||_c,Ki=Et?Zt(Et):function(e){return ns(e)&&wr(e)==R};function Xi(e){if(!ns(e))return!1;var t=wr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Zi(e){if(!ts(e))return!1;var t=wr(e);return t==S||t==O||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ji(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=g}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=St?Zt(St):function(e){return ns(e)&&mo(e)==w};function as(e){return"number"==typeof e||ns(e)&&wr(e)==C}function os(e){if(!ns(e)||wr(e)!=T)return!1;var t=Ye(e);if(null===t)return!0;var n=je.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Ue}var is=Ot?Zt(Ot):function(e){return ns(e)&&wr(e)==N};var ss=wt?Zt(wt):function(e){return ns(e)&&mo(e)==I};function cs(e){return"string"==typeof e||!Hi(e)&&ns(e)&&wr(e)==P}function ls(e){return"symbol"==typeof e||ns(e)&&wr(e)==A}var us=Ct?Zt(Ct):function(e){return ns(e)&&es(e.length)&&!!ct[wr(e)]};var ds=qa(Fr),ps=qa((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Yi(e))return cs(e)?mn(e):Na(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=mo(e);return(t==w?ln:t==I?pn:Gs)(e)}function gs(e){return e?(e=_s(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ms(e){var t=gs(e),n=t%1;return t===t?n?t-n:t:0}function hs(e){return e?sr(ms(e),0,h):0}function _s(e){if("number"==typeof e)return e;if(ls(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ie,"");var n=_e.test(e);return n||ye.test(e)?pt(e.slice(2),n?2:8):he.test(e)?m:+e}function vs(e){return Ia(e,Ds(e))}function ys(e){return null==e?"":la(e)}var bs=Aa((function(e,t){if(Oo(t)||Yi(t))Ia(t,As(t),e);else for(var n in t)je.call(t,n)&&tr(e,n,t[n])})),Rs=Aa((function(e,t){Ia(t,Ds(t),e)})),Es=Aa((function(e,t,n,r){Ia(t,Ds(t),e,r)})),Ss=Aa((function(e,t,n,r){Ia(t,As(t),e,r)})),Os=no(ir);var ws=Kr((function(e,t){e=Te(e);var n=-1,r=t.length,o=r>2?t[2]:a;for(o&&bo(t[0],t[1],o)&&(r=1);++n1),t})),Ia(e,ao(e),n),r&&(n=cr(n,7,eo));for(var a=t.length;a--;)da(n,t[a]);return n}));var Ls=no((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return xs(e,n)}))}(e,t)}));function Fs(e,t){if(null==e)return{};var n=Mt(ao(e),(function(e){return[e]}));return t=co(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var Bs=Ka(As),Us=Ka(Ds);function Gs(e){return null==e?[]:Jt(e,As(e))}var $s=ja((function(e,t,n){return t=t.toLowerCase(),e+(n?Vs(t):t)}));function Vs(e){return Xs(ys(e).toLowerCase())}function zs(e){return(e=ys(e))&&e.replace(Re,an).replace(tt,"")}var Hs=ja((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qs=ja((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ys=Ma("toLowerCase");var Ws=ja((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Qs=ja((function(e,t,n){return e+(n?" ":"")+Xs(t)}));var Ks=ja((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Xs=Ma("toUpperCase");function Zs(e,t,n){return e=ys(e),(t=n?a:t)===a?function(e){return ot.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(pe)||[]}(e):e.match(t)||[]}var Js=Kr((function(e,t){try{return Tt(e,a,t)}catch(n){return Xi(n)?n:new Oe(n)}})),ec=no((function(e,t){return Nt(t,(function(t){t=Fo(t),or(e,t,Ii(e[t],e))})),e}));function tc(e){return function(){return e}}var nc=Ba(),rc=Ba(!0);function ac(e){return e}function oc(e){return Mr("function"==typeof e?e:cr(e,1))}var ic=Kr((function(e,t){return function(n){return Ir(n,e,t)}})),sc=Kr((function(e,t){return function(n){return Ir(e,n,t)}}));function cc(e,t,n){var r=As(t),a=Er(t,r);null!=n||ts(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Er(t,As(t)));var o=!(ts(n)&&"chain"in n)||!!n.chain,i=Zi(e);return Nt(a,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),a=n.__actions__=Na(this.__actions__);return a.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,jt([this.value()],arguments))})})),e}function lc(){}var uc=Va(Mt),dc=Va(Pt),pc=Va(Bt);function fc(e){return Ro(e)?Yt(Fo(e)):function(e){return function(t){return Sr(t,e)}}(e)}var gc=Ha(),mc=Ha(!0);function hc(){return[]}function _c(){return!1}var vc=$a((function(e,t){return e+t}),0),yc=Wa("ceil"),bc=$a((function(e,t){return e/t}),1),Rc=Wa("floor");var Ec=$a((function(e,t){return e*t}),1),Sc=Wa("round"),Oc=$a((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new Ie(o);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=xi,Un.assign=bs,Un.assignIn=Rs,Un.assignInWith=Es,Un.assignWith=Ss,Un.at=Os,Un.before=Ni,Un.bind=Ii,Un.bindAll=ec,Un.bindKey=Pi,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Hi(e)?e:[e]},Un.chain=fi,Un.chunk=function(e,t,r){t=(r?bo(e,t,r):t===a)?1:vn(ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,s=0,c=n(gt(o/t));io?0:o+n),(r=r===a||r>o?o:ms(r))<0&&(r+=o),r=n>r?0:hs(r);n>>0)?(e=ys(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=la(t))&&cn(e)?Ra(mn(e),0,n):e.split(t,n):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new Ie(o);return t=null==t?0:vn(ms(t),0),Kr((function(n){var r=n[t],a=Ra(n,0,t);return r&&jt(a,r),Tt(e,this,a)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?ra(e,1,t):[]},Un.take=function(e,t,n){return e&&e.length?ra(e,0,(t=n||t===a?1:ms(t))<0?0:t):[]},Un.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ra(e,(t=r-(t=n||t===a?1:ms(t)))<0?0:t,r):[]},Un.takeRightWhile=function(e,t){return e&&e.length?fa(e,co(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?fa(e,co(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new Ie(o);return ts(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Ai(e,t,{leading:r,maxWait:t,trailing:a})},Un.thru=gi,Un.toArray=fs,Un.toPairs=Bs,Un.toPairsIn=Us,Un.toPath=function(e){return Hi(e)?Mt(e,Fo):ls(e)?[e]:Na(Lo(ys(e)))},Un.toPlainObject=vs,Un.transform=function(e,t,n){var r=Hi(e),a=r||Qi(e)||us(e);if(t=co(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:ts(e)&&Zi(o)?Gn(Ye(e)):{}}return(a?Nt:br)(e,(function(e,r,a){return t(n,e,r,a)})),n},Un.unary=function(e){return xi(e,1)},Un.union=ni,Un.unionBy=ri,Un.unionWith=ai,Un.uniq=function(e){return e&&e.length?ua(e):[]},Un.uniqBy=function(e,t){return e&&e.length?ua(e,co(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?ua(e,a,t):[]},Un.unset=function(e,t){return null==e||da(e,t)},Un.unzip=oi,Un.unzipWith=ii,Un.update=function(e,t,n){return null==e?e:pa(e,t,va(n))},Un.updateWith=function(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:pa(e,t,va(n),r)},Un.values=Gs,Un.valuesIn=function(e){return null==e?[]:Jt(e,Ds(e))},Un.without=si,Un.words=Zs,Un.wrap=function(e,t){return Fi(va(t),e)},Un.xor=ci,Un.xorBy=li,Un.xorWith=ui,Un.zip=di,Un.zipObject=function(e,t){return ha(e||[],t||[],tr)},Un.zipObjectDeep=function(e,t){return ha(e||[],t||[],Jr)},Un.zipWith=pi,Un.entries=Bs,Un.entriesIn=Us,Un.extend=Rs,Un.extendWith=Es,cc(Un,Un),Un.add=vc,Un.attempt=Js,Un.camelCase=$s,Un.capitalize=Vs,Un.ceil=yc,Un.clamp=function(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=(n=_s(n))===n?n:0),t!==a&&(t=(t=_s(t))===t?t:0),sr(_s(e),t,n)},Un.clone=function(e){return cr(e,4)},Un.cloneDeep=function(e){return cr(e,5)},Un.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:a)},Un.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:a)},Un.conformsTo=function(e,t){return null==t||lr(e,t,As(t))},Un.deburr=zs,Un.defaultTo=function(e,t){return null==e||e!==e?t:e},Un.divide=bc,Un.endsWith=function(e,t,n){e=ys(e),t=la(t);var r=e.length,o=n=n===a?r:sr(ms(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Un.eq=Gi,Un.escape=function(e){return(e=ys(e))&&X.test(e)?e.replace(Q,on):e},Un.escapeRegExp=function(e){return(e=ys(e))&&oe.test(e)?e.replace(ae,"\\$&"):e},Un.every=function(e,t,n){var r=Hi(e)?Pt:gr;return n&&bo(e,t,n)&&(t=a),r(e,co(t,3))},Un.find=_i,Un.findIndex=zo,Un.findKey=function(e,t){return Gt(e,co(t,3),br)},Un.findLast=vi,Un.findLastIndex=Ho,Un.findLastKey=function(e,t){return Gt(e,co(t,3),Rr)},Un.floor=Rc,Un.forEach=yi,Un.forEachRight=bi,Un.forIn=function(e,t){return null==e?e:vr(e,co(t,3),Ds)},Un.forInRight=function(e,t){return null==e?e:yr(e,co(t,3),Ds)},Un.forOwn=function(e,t){return e&&br(e,co(t,3))},Un.forOwnRight=function(e,t){return e&&Rr(e,co(t,3))},Un.get=Ts,Un.gt=$i,Un.gte=Vi,Un.has=function(e,t){return null!=e&&ho(e,t,Tr)},Un.hasIn=xs,Un.head=Yo,Un.identity=ac,Un.includes=function(e,t,n,r){e=Yi(e)?e:Gs(e),n=n&&!r?ms(n):0;var a=e.length;return n<0&&(n=vn(a+n,0)),cs(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Vt(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:ms(n);return a<0&&(a=vn(r+a,0)),Vt(e,t,a)},Un.inRange=function(e,t,n){return t=gs(t),n===a?(n=t,t=0):n=gs(n),function(e,t,n){return e>=yn(t,n)&&e=-9007199254740991&&e<=g},Un.isSet=ss,Un.isString=cs,Un.isSymbol=ls,Un.isTypedArray=us,Un.isUndefined=function(e){return e===a},Un.isWeakMap=function(e){return ns(e)&&mo(e)==D},Un.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==wr(e)},Un.join=function(e,t){return null==e?"":Ut.call(e,t)},Un.kebabCase=Hs,Un.last=Xo,Un.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==a&&(o=(o=ms(n))<0?vn(r+o,0):yn(o,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):$t(e,Ht,o,!0)},Un.lowerCase=qs,Un.lowerFirst=Ys,Un.lt=ds,Un.lte=ps,Un.max=function(e){return e&&e.length?mr(e,ac,Cr):a},Un.maxBy=function(e,t){return e&&e.length?mr(e,co(t,2),Cr):a},Un.mean=function(e){return qt(e,ac)},Un.meanBy=function(e,t){return qt(e,co(t,2))},Un.min=function(e){return e&&e.length?mr(e,ac,Fr):a},Un.minBy=function(e,t){return e&&e.length?mr(e,co(t,2),Fr):a},Un.stubArray=hc,Un.stubFalse=_c,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=Ec,Un.nth=function(e,t){return e&&e.length?Vr(e,ms(t)):a},Un.noConflict=function(){return mt._===this&&(mt._=Ge),this},Un.noop=lc,Un.now=Ti,Un.pad=function(e,t,n){e=ys(e);var r=(t=ms(t))?gn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return za(ht(a),n)+e+za(gt(a),n)},Un.padEnd=function(e,t,n){e=ys(e);var r=(t=ms(t))?gn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=En();return yn(e+o*(t-e+dt("1e-"+((o+"").length-1))),t)}return Wr(e,t)},Un.reduce=function(e,t,n){var r=Hi(e)?Lt:Qt,a=arguments.length<3;return r(e,co(t,4),n,a,pr)},Un.reduceRight=function(e,t,n){var r=Hi(e)?Ft:Qt,a=arguments.length<3;return r(e,co(t,4),n,a,fr)},Un.repeat=function(e,t,n){return t=(n?bo(e,t,n):t===a)?1:ms(t),Qr(ys(e),t)},Un.replace=function(){var e=arguments,t=ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,n){var r=-1,o=(t=ya(t,e)).length;for(o||(o=1,e=a);++rg)return[];var n=h,r=yn(e,h);t=co(t),e-=h;for(var a=Xt(r,t);++n=i)return e;var c=n-gn(r);if(c<1)return r;var l=s?Ra(s,0,c).join(""):e.slice(0,c);if(o===a)return l+r;if(s&&(c+=l.length-c),is(o)){if(e.slice(c).search(o)){var u,d=l;for(o.global||(o=xe(o.source,ys(me.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var p=u.index;l=l.slice(0,p===a?c:p)}}else if(e.indexOf(la(o),c)!=c){var f=l.lastIndexOf(o);f>-1&&(l=l.slice(0,f))}return l+r},Un.unescape=function(e){return(e=ys(e))&&K.test(e)?e.replace(W,hn):e},Un.uniqueId=function(e){var t=++Le;return ys(e)+t},Un.upperCase=Ks,Un.upperFirst=Xs,Un.each=yi,Un.eachRight=bi,Un.first=Yo,cc(Un,function(){var e={};return br(Un,(function(t,n){je.call(Un.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Un.VERSION="4.17.20",Nt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Nt(["drop","take"],(function(e,t){zn.prototype[e]=function(n){n=n===a?1:vn(ms(n),0);var r=this.__filtered__&&!t?new zn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(n,r.__takeCount__):r.__views__.push({size:yn(n,h),type:e+(r.__dir__<0?"Right":"")}),r},zn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Nt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;zn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Nt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");zn.prototype[e]=function(){return this[n](1).value()[0]}})),Nt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");zn.prototype[e]=function(){return this.__filtered__?new zn(this):this[n](1)}})),zn.prototype.compact=function(){return this.filter(ac)},zn.prototype.find=function(e){return this.filter(e).head()},zn.prototype.findLast=function(e){return this.reverse().find(e)},zn.prototype.invokeMap=Kr((function(e,t){return"function"==typeof e?new zn(this):this.map((function(n){return Ir(n,e,t)}))})),zn.prototype.reject=function(e){return this.filter(ji(co(e)))},zn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new zn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},zn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},zn.prototype.toArray=function(){return this.take(h)},br(zn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Un[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Un.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof zn,l=s[0],u=c||Hi(t),d=function(e){var t=o.apply(Un,jt([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var p=this.__chain__,f=!!this.__actions__.length,g=i&&!p,m=c&&!f;if(!i&&u){t=m?t:new zn(this);var h=e.apply(t,s);return h.__actions__.push({func:gi,args:[d],thisArg:a}),new Vn(h,p)}return g&&m?e.apply(this,s):(h=this.thru(d),g?r?h.value()[0]:h.value():h)})})),Nt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(Hi(a)?a:[],e)}return this[n]((function(n){return t.apply(Hi(n)?n:[],e)}))}})),br(zn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";je.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}})),Pn[Ua(a,2).name]=[{name:"wrapper",func:a}],zn.prototype.clone=function(){var e=new zn(this.__wrapped__);return e.__actions__=Na(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Na(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Na(this.__views__),e},zn.prototype.reverse=function(){if(this.__filtered__){var e=new zn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},zn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Hi(e),r=t<0,a=n?e.length:0,o=function(e,t,n){var r=-1,a=n.length;for(;++r=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,n=this;n instanceof $n;){var r=Uo(n);r.__index__=0,r.__values__=a,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof zn){var t=e;return this.__actions__.length&&(t=new zn(this)),(t=t.reverse()).__actions__.push({func:gi,args:[ti],thisArg:a}),new Vn(t,this.__chain__)}return this.thru(ti)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return ga(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Ze&&(Un.prototype[Ze]=function(){return this}),Un}();mt._=_n,(r=function(){return _n}.call(t,n,t,e))===a||(e.exports=r)}.call(this)},90298:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.DuplicateDependency=void 0;t.DuplicateDependency=class{constructor(e,t){(0,a().default)(this,"latestVersionId",void 0),(0,a().default)(this,"priorVersions",void 0),this.latestVersionId=e,this.priorVersions=t}}},5818:(e,t)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.EdgeType=void 0,t.EdgeType=n,function(e){e.dev="DEV",e.runtime="RUNTIME",e.peer="PEER"}(n||(t.EdgeType=n={}))},81429:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GraphAspect=void 0;const a=r().Aspect.create({id:"teambit.component/graph",dependencies:[],defaultConfig:{}});t.GraphAspect=a;var o=a;t.default=o},60861:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(9935);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.GraphCompareSection=void 0;t.GraphCompareSection=class{constructor(){(0,a().default)(this,"navigationLink",{href:"dependencies",children:"Dependencies",order:2}),(0,a().default)(this,"route",{path:"dependencies/*",element:o().default.createElement(i().DependenciesCompare,null)})}}},22217:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(12639);return o=function(){return e},e}function i(){const e=n(73823);return i=function(){return e},e}function s(){const e=n(75334);return s=function(){return e},e}function c(){const e=n(44704);return c=function(){return e},e}function l(){const e=n(81429);return l=function(){return e},e}function u(){const e=n(10104);return u=function(){return e},e}function d(){const e=n(60861);return d=function(){return e},e}function p(){const e=n(6799);return p=function(){return e},e}n(31567),n(92619);class f{getDependenciesGraph(){return p().DependenciesGraph}registerComponentWidget(e){this.componentWidgetSlot.register(e)}constructor(e){this.componentWidgetSlot=e}static async provider([e,t],n,[r]){const a=new f(r),o=new(u().GraphSection)(r),i=new(d().GraphCompareSection);return n.componentTab&&e.registerNavigation(o.navigationLink,o.order),e.registerRoute(o.route),t.registerNavigation({props:i.navigationLink,order:i.navigationLink.order}),t.registerRoutes([i.route]),a}}(0,a().default)(f,"dependencies",[c().ComponentAspect,s().ComponentCompareAspect]),(0,a().default)(f,"runtime",o().UIRuntime),(0,a().default)(f,"slots",[i().Slot.withType()]),(0,a().default)(f,"defaultConfig",{componentTab:!0}),l().GraphAspect.addRuntime(f)},9935:(e,t,n)=>{"use strict";function r(){const e=n(90298);return r=function(){return e},e}function a(){const e=n(5818);return a=function(){return e},e}function o(){const e=n(81429);return o=function(){return e},e}function i(){const e=n(52664);return i=function(){return e},e}function s(){const e=n(84150);return s=function(){return e},e}function c(){const e=n(12757);return c=function(){return e},e}function l(){const e=n(46263);return l=function(){return e},e}function u(){const e=n(6799);return u=function(){return e},e}function d(){const e=n(1191);return d=function(){return e},e}function p(){const e=n(80133);return p=function(){return e},e}function f(){const e=n(4077);return f=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DependenciesCompare",{enumerable:!0,get:function(){return l().DependenciesCompare}}),Object.defineProperty(t,"Dependency",{enumerable:!0,get:function(){return i().Dependency}}),Object.defineProperty(t,"DuplicateDependency",{enumerable:!0,get:function(){return r().DuplicateDependency}}),Object.defineProperty(t,"EdgeModel",{enumerable:!0,get:function(){return p().EdgeModel}}),Object.defineProperty(t,"EdgeType",{enumerable:!0,get:function(){return a().EdgeType}}),Object.defineProperty(t,"GraphAspect",{enumerable:!0,get:function(){return o().GraphAspect}}),Object.defineProperty(t,"GraphFilter",{enumerable:!0,get:function(){return s().GraphFilter}}),Object.defineProperty(t,"GraphFilters",{enumerable:!0,get:function(){return d().GraphFilters}}),Object.defineProperty(t,"GraphModel",{enumerable:!0,get:function(){return p().GraphModel}}),Object.defineProperty(t,"IdGraph",{enumerable:!0,get:function(){return c().IdGraph}}),Object.defineProperty(t,"NodeModel",{enumerable:!0,get:function(){return p().NodeModel}}),Object.defineProperty(t,"RawGraph",{enumerable:!0,get:function(){return p().RawGraph}}),Object.defineProperty(t,"VersionSubgraph",{enumerable:!0,get:function(){return r().VersionSubgraph}}),Object.defineProperty(t,"bitObjectListToGraph",{enumerable:!0,get:function(){return c().bitObjectListToGraph}}),Object.defineProperty(t,"calcElements",{enumerable:!0,get:function(){return u().calcElements}}),Object.defineProperty(t,"calcLayout",{enumerable:!0,get:function(){return u().calcLayout}}),Object.defineProperty(t,"calcMinimapColors",{enumerable:!0,get:function(){return u().calcMinimapColors}}),Object.defineProperty(t,"componentNodeStyles",{enumerable:!0,get:function(){return f().styles}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o().GraphAspect}}),Object.defineProperty(t,"defaultNode",{enumerable:!0,get:function(){return f().defaultNode}}),Object.defineProperty(t,"depTypeToClass",{enumerable:!0,get:function(){return u().depTypeToClass}}),Object.defineProperty(t,"depTypeToLabel",{enumerable:!0,get:function(){return u().depTypeToLabel}}),Object.defineProperty(t,"dependenciesGraphStyles",{enumerable:!0,get:function(){return u().styles}}),Object.defineProperty(t,"external",{enumerable:!0,get:function(){return f().external}}),Object.defineProperty(t,"graphPageStyles",{enumerable:!0,get:function(){return d().styles}}),Object.defineProperty(t,"objectListToGraph",{enumerable:!0,get:function(){return c().objectListToGraph}}),Object.defineProperty(t,"root",{enumerable:!0,get:function(){return f().root}}),Object.defineProperty(t,"useGraph",{enumerable:!0,get:function(){return p().useGraph}}),Object.defineProperty(t,"useGraphQuery",{enumerable:!0,get:function(){return p().useGraphQuery}})},45553:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.Dependency=void 0;t.Dependency=class{constructor(e){(0,a().default)(this,"type",void 0),this.type=e}stringify(){return this.type}}},52664:(e,t,n)=>{"use strict";function r(){const e=n(45553);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Dependency",{enumerable:!0,get:function(){return r().Dependency}}),Object.defineProperty(t,"DependencyType",{enumerable:!0,get:function(){return r().DependencyType}})},84150:()=>{},12757:(e,t,n)=>{"use strict";function r(){const e=n(62184);return r=function(){return e},e}function a(){const e=n(61436);return a=function(){return e},e}function o(){const e=n(95242);return o=function(){return e},e}function i(){const e=n(52664);return i=function(){return e},e}n(31567),n(92619),Object.defineProperty(t,"__esModule",{value:!0}),t.IdGraph=void 0,t.bitObjectListToGraph=c,t.objectListToGraph=async function(e){return c(await e.toBitObjects())};class s extends r().Graph{constructor(e=[],t=[]){super(e,t)}}async function c(e){const t=e.getExportMetadata(),n=e.getComponents(),c=e.getVersions(),l=[],u=[];await Promise.all(n.map((async e=>{const n=null===t||void 0===t?void 0:t.exportVersions.find((t=>t.id.isEqualWithoutVersion(e.toBitId()))),a=null===n||void 0===n?void 0:n.head;(await(0,o().getAllVersionsInfo)({modelComponent:e,versionObjects:c,startFrom:a,throws:!1})).forEach((t=>{const n=e.toBitId().changeVersion(t.tag||t.ref.toString()),a=n.toString();if(l.push(new(r().Node)(a,n)),!t.version)return;const{dependencies:o,devDependencies:s,extensionDependencies:c}=t.version.depsIdsGroupedByType,d=(e,t)=>{const n=e.toString();l.push(new(r().Node)(n,e)),u.push(new(r().Edge)(a,n,t))},p=new(i().Dependency)("runtime"),f=new(i().Dependency)("dev");o.forEach((e=>d(e,p))),[...s,...c].forEach((e=>d(e,f)))}))})));const d=(0,a().uniqBy)(l,"id");return new s(d,u)}t.IdGraph=s},23753:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(11290));return o=function(){return e},e}function i(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return i=function(){return e},e}function s(){const e=r(n(55574));return s=function(){return e},e}function c(){const e=n(44747);return c=function(){return e},e}function l(){const e=n(21468);return l=function(){return e},e}function u(){const e=n(18639);return u=function(){return e},e}function d(){const e=n(95152);return d=function(){return e},e}function p(){const e=n(7781);return p=function(){return e},e}function f(){const e=n(86872);return f=function(){return e},e}function g(){const e=n(71105);return g=function(){return e},e}function m(){const e=n(6799);return m=function(){return e},e}function h(){const e=r(n(20976));return h=function(){return e},e}function _(){const e=r(n(38400));return _=function(){return e},e}function v(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function y(e){let{componentId:t,className:n}=e,r=(0,o().default)(e,["componentId","className"]);const{scope:c,namespace:l}=t,u=!!c&&!!l;return i().default.createElement("div",(0,a().default)({},r,{className:(0,s().default)(h().default.breadcrumbs,d().ellipsis,n)}),c,u&&"/",l)}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentNode=function(e){let{node:t,type:n="defaultNode"}=e,r=(0,o().default)(e,["node","type"]);const v=(0,i().useContext)(m().ComponentGraphContext),{component:b}=t,{id:R}=b;return i().default.createElement(p().Card,(0,a().default)({className:(0,s().default)(h().default.compNode,_().default[n]),elevation:"none"},r),i().default.createElement("div",{className:h().default.firstRow},i().default.createElement(u().EnvIcon,{component:b,className:h().default.envIcon}),i().default.createElement(y,{componentId:R,className:c().mutedText})),i().default.createElement("div",{className:h().default.nameLine},i().default.createElement(f().NavLink,{className:h().default.link,external:!0,href:g().ComponentUrl.toUrl(R,{includeVersion:!1})},i().default.createElement("span",{className:(0,s().default)(h().default.name,d().ellipsis)},R.name)),R.version&&i().default.createElement("span",{className:(0,s().default)(h().default.version,d().ellipsis)},R.version),i().default.createElement("div",{className:h().default.buffs},i().default.createElement(l().DeprecationIcon,{component:b}),v&&v.componentWidgets.toArray().map((([e,t])=>i().default.createElement(t,{key:e,component:b}))))))}},4077:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(20976));return a=function(){return e},e}function o(){const e=n(23753);return o=function(){return e},e}function i(){const e=n(50437);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentNode",{enumerable:!0,get:function(){return o().ComponentNode}}),Object.defineProperty(t,"defaultNode",{enumerable:!0,get:function(){return i().defaultNode}}),Object.defineProperty(t,"defaultNodeColor",{enumerable:!0,get:function(){return i().defaultNodeColor}}),Object.defineProperty(t,"external",{enumerable:!0,get:function(){return i().external}}),Object.defineProperty(t,"externalNodeColor",{enumerable:!0,get:function(){return i().externalNodeColor}}),Object.defineProperty(t,"root",{enumerable:!0,get:function(){return i().root}}),Object.defineProperty(t,"rootNodeColor",{enumerable:!0,get:function(){return i().rootNodeColor}}),t.styles=void 0;const{compNode:s,firstRow:c,envIcon:l,breadcrumbs:u,nameLine:d,name:p,version:f,buffs:g,link:m}=a().default,h={compNode:s,firstRow:c,envIcon:l,breadcrumbs:u,nameLine:d,name:p,version:f,buffs:g,link:m};t.styles=h},50437:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(38400));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.rootNodeColor=t.root=t.externalNodeColor=t.external=t.defaultNodeColor=t.defaultNode=void 0;const{root:o,defaultNode:i,external:s,rootNodeColor:c,defaultNodeColor:l,externalNodeColor:u}=a().default;t.externalNodeColor=u,t.defaultNodeColor=l,t.rootNodeColor=c,t.external=s,t.defaultNode=i,t.root=o},89924:(e,t,n)=>{"use strict";function r(){const e=n(9935);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.CompareGraphModel=void 0;class a extends r().GraphModel{constructor(e,t){super(e,t),this.nodes=e,this.edges=t}}t.CompareGraphModel=a},28867:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(55574));return a=function(){return e},e}function o(){const e=n(52782);return o=function(){return e},e}function i(){const e=n(9935);return i=function(){return e},e}function s(){const e=n(87351);return s=function(){return e},e}function c(){const e=g(n(49725));return c=function(){return e},e}function l(){const e=g(n(42609));return l=function(){return e},e}function u(){const e=r(n(74282));return u=function(){return e},e}function d(){const e=n(56225);return d=function(){return e},e}function p(){const e=n(82315);return p=function(){return e},e}function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.DependenciesCompare=function(){var e,t,n;const r=(0,c().useRef)(),d=(0,s().useComponentCompare)(),f=null===d||void 0===d||null===(e=d.base)||void 0===e?void 0:e.model.id,g=null===d||void 0===d||null===(t=d.compare)||void 0===t?void 0:t.model.id,[h,_]=(0,c().useState)("runtimeOnly"),v="runtimeOnly"===h,{loading:y,graph:b}=(0,i().useGraphQuery)(f&&[f.toString()],h),{loading:R,graph:E}=(0,i().useGraphQuery)(g&&[g.toString()],h),S=y||R,O=null!==(n=(0,p().diffGraph)(b,E,f))&&void 0!==n?n:void 0,w=(0,i().calcElements)(O,{rootNode:f});(0,c().useEffect)((()=>{var e;null===(e=r.current)||void 0===e||e.fitView()}),[w]);if(!S&&(!b||!E))return c().default.createElement(c().default.Fragment,null);return c().default.createElement("div",{className:(0,a().default)([u().default.page,i().graphPageStyles.graph])},S&&c().default.createElement("div",{className:u().default.loader},c().default.createElement(o().RoundLoader,null)),c().default.createElement(l().ReactFlowProvider,null,c().default.createElement(l().default,{draggable:!1,nodesDraggable:!0,selectNodesOnDrag:!1,nodesConnectable:!1,zoomOnDoubleClick:!1,elementsSelectable:!1,maxZoom:1,className:i().dependenciesGraphStyles.graph,elements:w,nodeTypes:m,onLoad:function(e){var t;r.current=e,null===(t=r.current)||void 0===t||t.fitView()}},c().default.createElement(l().Background,null),c().default.createElement(l().Controls,{className:i().dependenciesGraphStyles.controls}),c().default.createElement(l().MiniMap,{nodeColor:i().calcMinimapColors,className:i().dependenciesGraphStyles.minimap}),c().default.createElement(i().GraphFilters,{className:i().graphPageStyles.filters,disable:S,isFiltered:v,onChangeFilter:e=>{_(e?"runtimeOnly":void 0)}}))))};const m={ComponentNode:function(e){const{sourcePosition:t=l().Position.Top,targetPosition:n=l().Position.Bottom,data:r,id:a}=e;return c().default.createElement("div",{key:a},c().default.createElement(l().Handle,{type:"target",position:n,isConnectable:!1}),c().default.createElement(l().Handle,{type:"source",position:t,isConnectable:!1}),c().default.createElement(d().DependencyCompareNode,{node:r.node,type:r.type}))}}},56225:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(11290));return o=function(){return e},e}function i(){const e=n(86872);return i=function(){return e},e}function s(){const e=n(7781);return s=function(){return e},e}function c(){const e=n(44747);return c=function(){return e},e}function l(){const e=n(44704);return l=function(){return e},e}function u(){const e=n(71105);return u=function(){return e},e}function d(){const e=n(47718);return d=function(){return e},e}function p(){const e=n(21468);return p=function(){return e},e}function f(){const e=n(95152);return f=function(){return e},e}function g(){const e=n(18639);return g=function(){return e},e}function m(){const e=n(9935);return m=function(){return e},e}function h(){const e=r(n(55574));return h=function(){return e},e}function _(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=R(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return _=function(){return e},e}function v(){const e=n(48834);return v=function(){return e},e}function y(){const e=r(n(58325));return y=function(){return e},e}function b(){const e=r(n(79721));return b=function(){return e},e}function R(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(R=function(e){return e?n:t})(e)}function E(e){switch(e){case"defaultNode":return m().defaultNode;case"root":return b().default[e];case"external":return m().external;default:return null}}function S(e){let{componentId:t,className:n}=e,r=(0,o().default)(e,["componentId","className"]);const{scope:i,namespace:s}=t,c=!!i&&!!s;return _().default.createElement("div",(0,a().default)({},r,{className:(0,h().default)(y().default.breadcrumbs,f().ellipsis,n)}),i,c&&"/",s)}Object.defineProperty(t,"__esModule",{value:!0}),t.DependencyCompareNode=function(e){const{node:t,type:n="defaultNode"}=e,{id:r,component:a,compareVersion:o,status:b}=t,{version:R}=a,O=l().ComponentID.fromString(r),w=(0,_().useMemo)((()=>(0,v().valid)(R)&&(0,v().valid)(o)&&(0,v().compare)(R,o)),[R,o]);return _().default.createElement(s().Card,{className:(0,h().default)(m().componentNodeStyles.compNode,E(n)),elevation:"none"},_().default.createElement("div",{className:m().componentNodeStyles.firstRow},_().default.createElement(g().EnvIcon,{component:a,className:m().componentNodeStyles.envIcon}),_().default.createElement(S,{componentId:O,className:c().mutedText})),_().default.createElement("div",{className:m().componentNodeStyles.nameLine},_().default.createElement(i().NavLink,{className:y().default.link,external:!0,href:u().ComponentUrl.toUrl(O,{includeVersion:!1})},_().default.createElement("span",{className:(0,h().default)(m().componentNodeStyles.name,f().ellipsis)},O.name)),O.version&&_().default.createElement("span",{className:(0,h().default)(m().componentNodeStyles.version,f().ellipsis)},O.version),0!==w&&_().default.createElement("img",{className:(0,h().default)([y().default.arrowIcon,y().default.versionUp]),src:"https://static.bit.dev/bit-icons/version-bump.svg"}),o&&0!==w&&_().default.createElement("span",{className:(0,h().default)(y().default.version,m().componentNodeStyles.version,f().ellipsis,-1===w&&y().default.versionUp,1===w&&y().default.versionDown)},o),_().default.createElement("div",{className:y().default.buffs},_().default.createElement(p().DeprecationIcon,{component:a}),void 0!==b&&_().default.createElement(d().CompareStatusResolver,{status:b}))))}},82315:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(89924);return o=function(){return e},e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t[c(e),e]))),d=new Map(a.map((e=>[c(e),e]))),p=[];for(const o of r){const e=d.get(c(o));e?p.push(s(s({},o),{},{compareVersion:e.component.version,status:e.component.id.isEqual(o.component.id)?void 0:"modified"})):p.push(s(s({},o),{},{compareVersion:o.component.version,status:"deleted"}))}const f=a.filter((e=>!i.has(c(e))));for(const o of f)p.push(s(s({},o),{},{compareVersion:"",status:"new"}));const g=new Map(p.map((e=>[c(e),e]))),m=new Map(e.edges.map((e=>[u(e),e]))),h=t.edges.filter((e=>!m.has(u(e)))).map((e=>{var t,r;return s(s({},e),{},{sourceId:(null===(t=g.get(l(e.sourceId)))||void 0===t?void 0:t.id.toString())||n.toString(),targetId:(null===(r=g.get(l(e.targetId)))||void 0===r?void 0:r.id.toString())||n.toString()})})),_=[...e.edges,...h];return new(o().CompareGraphModel)(p,_)};const c=e=>e.component.id.toStringWithoutVersion(),l=e=>e.split("@")[0],u=e=>`${l(e.sourceId)}::${l(e.targetId)}`},46263:(e,t,n)=>{"use strict";function r(){const e=n(28867);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DependenciesCompare",{enumerable:!0,get:function(){return r().DependenciesCompare}})},59684:(e,t,n)=>{"use strict";function r(){const e=n(49725);return r=function(){return e},e}function a(){const e=n(42609);return a=function(){return e},e}function o(){const e=n(30142);return o=function(){return e},e}function i(){const e=n(43832);return i=function(){return e},e}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.calcElements=function(e,{rootNode:t}){return(0,r().useMemo)((()=>{if(!e)return[];const n=(0,o().calcLayout)(e);return[...Array.from(e.nodes.values()).map((e=>({id:e.id,type:"ComponentNode",data:{node:e,type:t&&e.component.id.isEqual(t,{ignoreVersion:!0})?"root":void 0},position:n.get(e.id)||{x:0,y:0}}))),...e.edges.map((e=>({id:`_${e.sourceId}__${e.targetId}`,source:e.sourceId,target:e.targetId,label:(0,i().depTypeToLabel)(e.dependencyLifecycleType),labelBgPadding:[4,4],type:"smoothstep",className:(0,i().depTypeToClass)(e.dependencyLifecycleType),arrowHeadType:a().ArrowHeadType.Arrow})))]}),[e])}},30142:(e,t,n)=>{"use strict";function r(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(88118));return r=function(){return e},e}function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.calcLayout=function(e){const t=new(r().graphlib.Graph);t.setGraph({rankdir:"BT"}),t.setDefaultEdgeLabel((()=>({}))),e.nodes.forEach((e=>t.setNode(e.id,{width:260,height:90}))),e.edges.forEach((e=>t.setEdge({v:e.sourceId,w:e.targetId}))),r().default.layout(t);const n=t.nodes().map((e=>{const n=t.node(e);return[e,{x:n.x-n.width/2,y:n.y-n.height/2}]}));return new Map(n)}},16580:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(9935);return a=function(){return e},e}function o(){const e=r(n(37773));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.depTypeToClass=function(e){switch(e){case"DEV":return o().default.dev;case"PEER":return o().default.peer;case"RUNTIME":return o().default.runtime;default:return}},t.depTypeToLabel=function(e){switch(e){case a().EdgeType.peer:return"Peer Dependency";case a().EdgeType.dev:return"Development Dependency";case a().EdgeType.runtime:return"Dependency";default:return e.toLowerCase()}}},43832:(e,t,n)=>{"use strict";function r(){const e=n(16580);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"depTypeToClass",{enumerable:!0,get:function(){return r().depTypeToClass}}),Object.defineProperty(t,"depTypeToLabel",{enumerable:!0,get:function(){return r().depTypeToLabel}})},3849:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(11290));return o=function(){return e},e}function i(){const e=m(n(49725));return i=function(){return e},e}function s(){const e=r(n(55574));return s=function(){return e},e}function c(){const e=m(n(42609));return c=function(){return e},e}function l(){const e=n(4077);return l=function(){return e},e}function u(){const e=n(59684);return u=function(){return e},e}function d(){const e=n(43910);return d=function(){return e},e}function p(){const e=n(63281);return p=function(){return e},e}function f(){const e=r(n(25024));return f=function(){return e},e}function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}Object.defineProperty(t,"__esModule",{value:!0}),t.DependenciesGraph=function(e){let{graph:t,rootNode:n,componentWidgets:r,className:l,onLoad:g,children:m}=e,_=(0,o().default)(e,["graph","rootNode","componentWidgets","className","onLoad","children"]);const v=(0,i().useRef)(),y=(0,u().calcElements)(t,{rootNode:n}),b=(0,i().useMemo)((()=>({componentWidgets:r})),[r]),R=(0,i().useCallback)((e=>{v.current=e,e.fitView(),null===g||void 0===g||g(e)}),[g]);return(0,i().useEffect)((()=>()=>v.current=void 0),[]),(0,i().useEffect)((()=>{var e;null===(e=v.current)||void 0===e||e.fitView()}),[t]),i().default.createElement(p().ComponentGraphContext.Provider,{value:b},i().default.createElement(c().ReactFlowProvider,null,i().default.createElement(c().default,(0,a().default)({draggable:!1,nodesDraggable:!0,selectNodesOnDrag:!1,nodesConnectable:!1,zoomOnDoubleClick:!1,elementsSelectable:!1,maxZoom:1},_,{className:(0,s().default)(f().default.graph,l),elements:y,nodeTypes:h,onLoad:R}),i().default.createElement(c().Background,null),i().default.createElement(c().Controls,{className:f().default.controls}),i().default.createElement(c().MiniMap,{nodeColor:d().calcMinimapColors,className:f().default.minimap}),m)))};const h={ComponentNode:function(e){const{sourcePosition:t=c().Position.Top,targetPosition:n=c().Position.Bottom,data:r,id:a}=e;return i().default.createElement("div",{key:a},i().default.createElement(c().Handle,{type:"target",position:n,isConnectable:!1}),i().default.createElement(c().Handle,{type:"source",position:t,isConnectable:!1}),i().default.createElement(l().ComponentNode,{node:r.node,type:r.type}))}}},63281:(e,t,n)=>{"use strict";function r(){const e=n(49725);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentGraphContext=void 0;const a=(0,r().createContext)(void 0);t.ComponentGraphContext=a},6799:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(25024));return a=function(){return e},e}function o(){const e=n(3849);return o=function(){return e},e}function i(){const e=n(63281);return i=function(){return e},e}function s(){const e=n(43832);return s=function(){return e},e}function c(){const e=n(43910);return c=function(){return e},e}function l(){const e=n(30142);return l=function(){return e},e}function u(){const e=n(59684);return u=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ComponentGraph",{enumerable:!0,get:function(){return i().ComponentGraph}}),Object.defineProperty(t,"ComponentGraphContext",{enumerable:!0,get:function(){return i().ComponentGraphContext}}),Object.defineProperty(t,"DependenciesGraph",{enumerable:!0,get:function(){return o().DependenciesGraph}}),Object.defineProperty(t,"calcElements",{enumerable:!0,get:function(){return u().calcElements}}),Object.defineProperty(t,"calcLayout",{enumerable:!0,get:function(){return l().calcLayout}}),Object.defineProperty(t,"calcMinimapColors",{enumerable:!0,get:function(){return c().calcMinimapColors}}),Object.defineProperty(t,"depTypeToClass",{enumerable:!0,get:function(){return s().depTypeToClass}}),Object.defineProperty(t,"depTypeToLabel",{enumerable:!0,get:function(){return s().depTypeToLabel}}),t.styles=void 0;const{graph:d,minimap:p,controls:f}=a().default,g={graph:d,minimap:p,controls:f};t.styles=g},43910:(e,t,n)=>{"use strict";function r(){const e=n(4077);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.calcMinimapColors=function(e){var t;switch(null===(t=e.data)||void 0===t?void 0:t.type){case"root":return r().rootNodeColor;case"external":return r().externalNodeColor;default:return r().defaultNodeColor}}},48653:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(11290));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(7781);return i=function(){return e},e}function s(){const e=n(26447);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.GraphFilters=function(e){let{onChangeFilter:t,isFiltered:n,disable:r}=e,c=(0,a().default)(e,["onChangeFilter","isFiltered","disable"]);return o().default.createElement(i().Card,c,o().default.createElement("div",null,o().default.createElement(s().CheckboxLabel,{checked:!n,disabled:r,onInputChanged:e=>t(!e.target.checked)}," ","show non-runtime")))}},46637:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return a=function(){return e},e}function o(){const e=n(11308);return o=function(){return e},e}function i(){const e=n(45549);return i=function(){return e},e}function s(){const e=n(35246);return s=function(){return e},e}function c(){const e=n(44704);return c=function(){return e},e}function l(){const e=n(38791);return l=function(){return e},e}function u(){const e=n(80133);return u=function(){return e},e}function d(){const e=n(6799);return d=function(){return e},e}function p(){const e=n(48653);return p=function(){return e},e}function f(){const e=r(n(17441));return f=function(){return e},e}function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n(31567),Object.defineProperty(t,"__esModule",{value:!0}),t.GraphPage=function({componentWidgets:e}){const t=(0,a().useContext)(c().ComponentContext),[n,r]=(0,a().useState)("runtimeOnly"),{graph:g,error:m,loading:h}=(0,u().useGraphQuery)([t.id.toString()],n);if(m)return 404===m.code?a().default.createElement(i().NotFoundPage,null):a().default.createElement(s().ServerErrorPage,null);if(!g)return a().default.createElement(l().FullLoader,null);const _="runtimeOnly"===n;return a().default.createElement("div",{className:f().default.page},a().default.createElement(o().H2,{size:"xs"},"Component Dependencies"),a().default.createElement(d().DependenciesGraph,{componentWidgets:e,graph:g,rootNode:t.id,className:f().default.graph},a().default.createElement(p().GraphFilters,{className:f().default.filters,disable:h,isFiltered:_,onChangeFilter:e=>{r(e?"runtimeOnly":void 0)}})))}},1191:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(17441));return a=function(){return e},e}function o(){const e=n(46637);return o=function(){return e},e}function i(){const e=n(48653);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GraphFilters",{enumerable:!0,get:function(){return i().GraphFilters}}),Object.defineProperty(t,"GraphPage",{enumerable:!0,get:function(){return o().GraphPage}}),t.styles=void 0;const{graph:s,filters:c}=a().default,l={graph:s,filters:c};t.styles=l},10104:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(1191);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.GraphSection=void 0;t.GraphSection=class{constructor(e){this.componentWidgetSlot=e,(0,a().default)(this,"route",{path:"~dependencies",element:o().default.createElement(i().GraphPage,{componentWidgets:this.componentWidgetSlot})}),(0,a().default)(this,"navigationLink",{href:"~dependencies",children:"Dependencies"}),(0,a().default)(this,"order",40)}}},92837:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.EdgeModel=void 0;class o{constructor(){(0,a().default)(this,"sourceId",void 0),(0,a().default)(this,"targetId",void 0),(0,a().default)(this,"dependencyLifecycleType",void 0)}static from(e){const t=new o;return t.sourceId=e.sourceId,t.targetId=e.targetId,t.dependencyLifecycleType=e.dependencyLifecycleType,t}}t.EdgeModel=o},19186:(e,t,n)=>{"use strict";function r(){const e=n(59062);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.GET_GRAPH=void 0;const a=r().gql` + query graph($ids: [String], $filter: String) { + graph(ids: $ids, filter: $filter) { + nodes { + id + component { + id { + name + version + scope + } + displayName + + deprecation { + isDeprecate + } + + env { + id + icon + } + } + } + edges { + sourceId + targetId + dependencyLifecycleType + } + } + } +`;t.GET_GRAPH=a},96456:(e,t,n)=>{"use strict";function r(){const e=n(45126);return r=function(){return e},e}function a(){const e=n(92837);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.GraphModel=void 0;class o{constructor(e,t){this.nodes=e,this.edges=t}static from(e){const t=e.nodes.map(r().NodeModel.from),n=e.edges.map(a().EdgeModel.from);return new o(t,n)}}t.GraphModel=o},80133:(e,t,n)=>{"use strict";function r(){const e=n(48134);return r=function(){return e},e}function a(){const e=n(98655);return a=function(){return e},e}function o(){const e=n(96456);return o=function(){return e},e}function i(){const e=n(92837);return i=function(){return e},e}function s(){const e=n(45126);return s=function(){return e},e}function c(){const e=n(19186);return c=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EdgeModel",{enumerable:!0,get:function(){return i().EdgeModel}}),Object.defineProperty(t,"GraphModel",{enumerable:!0,get:function(){return o().GraphModel}}),Object.defineProperty(t,"NodeModel",{enumerable:!0,get:function(){return s().NodeModel}}),Object.defineProperty(t,"RawGraph",{enumerable:!0,get:function(){return c().RawGraph}}),Object.defineProperty(t,"useGraph",{enumerable:!0,get:function(){return a().useGraph}}),Object.defineProperty(t,"useGraphQuery",{enumerable:!0,get:function(){return r().useGraphQuery}})},45126:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(44704);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.NodeModel=void 0;class i{constructor(){(0,a().default)(this,"id",void 0),(0,a().default)(this,"component",void 0)}static from(e){const t=new i;return t.id=e.id,t.component=o().ComponentModel.from(e.component),t}}t.NodeModel=i},48134:(e,t,n)=>{"use strict";function r(){const e=n(49725);return r=function(){return e},e}function a(){const e=n(89733);return a=function(){return e},e}function o(){const e=n(37494);return o=function(){return e},e}function i(){const e=n(19186);return i=function(){return e},e}function s(){const e=n(96456);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.useGraphQuery=function(e,t){const{data:n,error:c,loading:l}=(0,a().useDataQuery)(i().GET_GRAPH,{variables:{ids:e,filter:t},skip:!e}),u=null===n||void 0===n?void 0:n.graph,d=u||l?void 0:new(o().GraphQlError)(404),p=c?new(o().GraphQlError)(500,c.message):void 0;return(0,r().useMemo)((()=>({graph:u?s().GraphModel.from(u):void 0,error:p||d,loading:l})),[u,c])}},98655:(e,t,n)=>{"use strict";function r(){const e=n(33885);return r=function(){return e},e}function a(){const e=n(48134);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.useGraph=function(){const e=(0,r().useQuery)().get("componentId");return(0,a().useGraphQuery)([e])}},7891:(e,t,n)=>{const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"===typeof e)try{e=new u(e,this.options)}catch(t){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),r=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,i=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||l}}e.exports=a;const o=n(39953),{re:i,t:s}=n(63981),c=n(8330),l=n(20136),u=n(19237),d=n(57388)},57388:(e,t,n)=>{class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],f)).split(/\s+/).join(" ");const c=r?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map((e=>_(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options))).filter(this.options.loose?e=>!!e.match(c):()=>!0).map((e=>new i(e,this.options))),h=(m.length,new Map);for(const a of m){if(g(a))return[a];h.set(a.value,a)}h.size>1&&h.has("")&&h.delete("");const v=[...h.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>h(n,t)&&e.set.some((e=>h(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"===typeof e)try{e=new c(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},_=(e,t)=>(s("comp",e,t),e=R(e,t),s("caret",e),e=y(e,t),s("tildes",e),e=S(e,t),s("xrange",e),e=w(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},R=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let c;return s("caret",e,t,n,a,o,i),v(n)?c="":v(a)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?c="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),c="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",c),c}))},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,a,o,i,c)=>{s("xRange",e,n,r,a,o,i,c);const l=v(a),u=l||v(o),d=u||v(i),p=d;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(c="-0"),n=`${r+a}.${o}.${i}${c}`):u?n=`>=${a}.0.0${c} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${o}.0${c} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},w=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,n,r,a,o,i,s,c,l,u,d,p,f)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=v(l)?"":v(u)?`<${+l+1}.0.0-0`:v(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`}`.trim(),x=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},19237:(e,t,n)=>{const r=n(20136),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(14827),{re:i,t:s}=n(63981),c=n(39953),{compareIdentifiers:l}=n(48061);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!==typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"===typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},27556:(e,t,n)=>{const r=n(93685);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},8330:(e,t,n)=>{const r=n(82874),a=n(76725),o=n(34908),i=n(3354),s=n(23738),c=n(79234);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e===n;case"!==":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return a(e,n,l);case">":return o(e,n,l);case">=":return i(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},43842:(e,t,n)=>{const r=n(19237),a=n(93685),{re:o,t:i}=n(63981);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"===typeof e&&(e=String(e)),"string"!==typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},47222:(e,t,n)=>{const r=n(19237);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},68514:(e,t,n)=>{const r=n(4804);e.exports=(e,t)=>r(e,t,!0)},4804:(e,t,n)=>{const r=n(19237);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},18469:(e,t,n)=>{const r=n(93685),a=n(82874);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},82874:(e,t,n)=>{const r=n(4804);e.exports=(e,t,n)=>0===r(e,t,n)},34908:(e,t,n)=>{const r=n(4804);e.exports=(e,t,n)=>r(e,t,n)>0},3354:(e,t,n)=>{const r=n(4804);e.exports=(e,t,n)=>r(e,t,n)>=0},51235:(e,t,n)=>{const r=n(19237);e.exports=(e,t,n,a)=>{"string"===typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(o){return null}}},23738:(e,t,n)=>{const r=n(4804);e.exports=(e,t,n)=>r(e,t,n)<0},79234:(e,t,n)=>{const r=n(4804);e.exports=(e,t,n)=>r(e,t,n)<=0},55648:(e,t,n)=>{const r=n(19237);e.exports=(e,t)=>new r(e,t).major},73122:(e,t,n)=>{const r=n(19237);e.exports=(e,t)=>new r(e,t).minor},76725:(e,t,n)=>{const r=n(4804);e.exports=(e,t,n)=>0!==r(e,t,n)},93685:(e,t,n)=>{const{MAX_LENGTH:r}=n(14827),{re:a,t:o}=n(63981),i=n(19237),s=n(39953);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!==typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(n){return null}}},10710:(e,t,n)=>{const r=n(19237);e.exports=(e,t)=>new r(e,t).patch},21910:(e,t,n)=>{const r=n(93685);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9895:(e,t,n)=>{const r=n(4804);e.exports=(e,t,n)=>r(t,e,n)},20548:(e,t,n)=>{const r=n(47222);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},87019:(e,t,n)=>{const r=n(57388);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(a){return!1}return t.test(e)}},51317:(e,t,n)=>{const r=n(47222);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},32886:(e,t,n)=>{const r=n(93685);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},48834:(e,t,n)=>{const r=n(63981);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(14827).SEMVER_SPEC_VERSION,SemVer:n(19237),compareIdentifiers:n(48061).compareIdentifiers,rcompareIdentifiers:n(48061).rcompareIdentifiers,parse:n(93685),valid:n(32886),clean:n(27556),inc:n(51235),diff:n(18469),major:n(55648),minor:n(73122),patch:n(10710),prerelease:n(21910),compare:n(4804),rcompare:n(9895),compareLoose:n(68514),compareBuild:n(47222),sort:n(51317),rsort:n(20548),gt:n(34908),lt:n(23738),eq:n(82874),neq:n(76725),gte:n(3354),lte:n(79234),cmp:n(8330),coerce:n(43842),Comparator:n(7891),Range:n(57388),satisfies:n(87019),toComparators:n(64437),maxSatisfying:n(88774),minSatisfying:n(39555),minVersion:n(38155),validRange:n(77653),outside:n(5557),gtr:n(41433),ltr:n(19096),intersects:n(22227),simplifyRange:n(3035),subset:n(75835)}},14827:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},20136:(e,t,n)=>{var r=n(20038);const a="object"===typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=a},48061:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:en(t,e)}},39953:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!==typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},63981:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(14827),a=n(20136),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),l("FULL",`^${i[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),l("LOOSE",`^${i[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),l("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",i[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},41433:(e,t,n)=>{const r=n(5557);e.exports=(e,t,n)=>r(e,t,">",n)},22227:(e,t,n)=>{const r=n(57388);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},19096:(e,t,n)=>{const r=n(5557);e.exports=(e,t,n)=>r(e,t,"<",n)},88774:(e,t,n)=>{const r=n(19237),a=n(57388);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},39555:(e,t,n)=>{const r=n(19237),a=n(57388);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},38155:(e,t,n)=>{const r=n(19237),a=n(57388),o=n(34908);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let a=0;a{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},5557:(e,t,n)=>{const r=n(19237),a=n(7891),{ANY:o}=a,i=n(57388),s=n(87019),c=n(34908),l=n(23738),u=n(79234),d=n(3354);e.exports=(e,t,n,p)=>{let f,g,m,h,_;switch(e=new r(e,p),t=new i(t,p),n){case">":f=c,g=u,m=l,h=">",_=">=";break;case"<":f=l,g=d,m=c,h="<",_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;r{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,f(e.semver,i.semver,p)?i=e:m(e.semver,s.semver,p)&&(s=e)})),i.operator===h||i.operator===_)return!1;if((!s.operator||s.operator===h)&&g(e,s.semver))return!1;if(s.operator===_&&m(e,s.semver))return!1}return!0}},3035:(e,t,n)=>{const r=n(87019),a=n(4804);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const c=e.sort(((e,t)=>a(e,t,n)));for(const a of c){r(a,t,n)?(s=a,i||(i=a)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const l=[];for(const[r,a]of o)r===a?l.push(r):a||r!==c[0]?a?r===c[0]?l.push(`<=${a}`):l.push(`${r} - ${a}`):l.push(`>=${r}`):l.push("*");const u=l.join(" || "),d="string"===typeof t.raw?t.raw:String(t);return u.length{const r=n(57388),{ANY:a}=n(7891),o=n(87019),i=n(4804),s=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a)return 1===t.length&&t[0].semver===a;const r=new Set;let s,u,d,p,f,g,m;for(const a of e)">"===a.operator||">="===a.operator?s=c(s,a,n):"<"===a.operator||"<="===a.operator?u=l(u,a,n):r.add(a.semver);if(r.size>1)return null;if(s&&u){if(d=i(s.semver,u.semver,n),d>0)return null;if(0===d&&(">="!==s.operator||"<="!==u.operator))return null}for(const a of r){if(s&&!o(a,String(s),n))return null;if(u&&!o(a,String(u),n))return null;for(const e of t)if(!o(a,String(e),n))return!1;return!0}for(const a of t){if(m=m||">"===a.operator||">="===a.operator,g=g||"<"===a.operator||"<="===a.operator,s)if(">"===a.operator||">="===a.operator){if(p=c(s,a,n),p===a&&p!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(a),n))return!1;if(u)if("<"===a.operator||"<="===a.operator){if(f=l(u,a,n),f===a&&f!==u)return!1}else if("<="===u.operator&&!o(u.semver,String(a),n))return!1;if(!a.operator&&(u||s)&&0!==d)return!1}return!(s&&g&&!u&&0!==d)&&!(u&&m&&!s&&0!==d)},c=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=s(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},64437:(e,t,n)=>{const r=n(57388);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},77653:(e,t,n)=>{const r=n(57388);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(n){return null}}},43507:(e,t,n)=>{"use strict";function r(){const e=n(59062);return r=function(){return e},e}function a(){const e=n(95756);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.createSplitLink=function(e,t){return(0,r().split)((({query:e})=>{const t=(0,a().getMainDefinition)(e);return"OperationDefinition"===t.kind&&"subscription"===t.operation}),t,e)}},39117:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQlError=void 0;t.GraphQlError=class{constructor(e,t){this.code=e,this.message=t}}},80471:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(49725));return a=function(){return e},e}function o(){const e=n(59062);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLProvider=function({client:e,children:t}){return a().default.createElement(o().ApolloProvider,{client:e},t)}},90301:(e,t,n)=>{"use strict";function r(){const e=n(80471);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GraphQLProvider",{enumerable:!0,get:function(){return r().GraphQLProvider}})},21664:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GraphqlAspect=void 0;const a=r().Aspect.create({id:"teambit.harmony/graphql",dependencies:[],defaultConfig:{}});t.GraphqlAspect=a;var o=a;t.default=o},31685:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=n(59062);return s=function(){return e},e}function c(){const e=n(70459);return c=function(){return e},e}function l(){const e=n(95364);return l=function(){return e},e}function u(){const e=r(n(96320));return u=function(){return e},e}function d(){const e=n(43507);return d=function(){return e},e}function p(){const e=n(90301);return p=function(){return e},e}function f(){const e=n(21664);return f=function(){return e},e}function g(){const e=n(79853);return g=function(){return e},e}function m(){const e=n(2993);return m=function(){return e},e}n(92619);class h{constructor(){(0,a().default)(this,"getProvider",(({client:e,children:t})=>o().default.createElement(p().GraphQLProvider,{client:e},t))),(0,a().default)(this,"renderPlugins",new(g().GraphqlRenderPlugins)(this))}createClient(e,{state:t,subscriptionUri:n}={}){return new(s().ApolloClient)({link:this.createLink(e,{subscriptionUri:n}),cache:this.createCache({state:t})})}createSsrClient({serverUrl:e,headers:t}){const n=s().ApolloLink.from([(0,l().onError)(m().logError),(0,s().createHttpLink)({credentials:"include",uri:e,headers:t,fetch:u().default})]);return new(s().ApolloClient)({ssrMode:!0,link:n,cache:this.createCache()})}createCache({state:e}={}){const t=new(s().InMemoryCache);return e&&t.restore(e),t}createLink(e,{subscriptionUri:t}={}){const n=new(s().HttpLink)({credentials:"include",uri:e}),r=t?new(c().WebSocketLink)({uri:t,options:{reconnect:!0}}):void 0,a=r?(0,d().createSplitLink)(n,r):n,o=(0,l().onError)(m().logError);return s().ApolloLink.from([o,a])}static async provider(){return new h}}(0,a().default)(h,"runtime",i().UIRuntime),(0,a().default)(h,"dependencies",[]),(0,a().default)(h,"slots",[]),f().GraphqlAspect.addRuntime(h)},37494:(e,t,n)=>{"use strict";function r(){const e=n(21664);return r=function(){return e},e}function a(){const e=n(90301);return a=function(){return e},e}function o(){const e=n(39117);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GraphQLProvider",{enumerable:!0,get:function(){return a().GraphQLProvider}}),Object.defineProperty(t,"GraphQlError",{enumerable:!0,get:function(){return o().GraphQlError}}),Object.defineProperty(t,"GraphqlAspect",{enumerable:!0,get:function(){return r().GraphqlAspect}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r().GraphqlAspect}})},2993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logError=function({graphQLErrors:e,networkError:t,operation:n}){e&&e.forEach((({message:e,locations:t,path:r})=>console.error(`[gql] error on "${n.operationName}" - "${e}"`,t,r)));t&&console.error("[gql] network error",`"${n.operationName}"`,t)}},79853:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(61065);return i=function(){return e},e}function s(){const e=r(n(18182));return s=function(){return e},e}function c(){const e=r(n(60580));return c=function(){return e},e}function l(){const e=n(7998);return l=function(){return e},e}function u(){const e=n(90301);return u=function(){return e},e}function d(){const e=n(21664);return d=function(){return e},e}n(92619),Object.defineProperty(t,"__esModule",{value:!0}),t.GraphqlRenderPlugins=void 0;const p=["cookie"];function f({renderCtx:e,children:t}){if(null===e||void 0===e||!e.client)throw new TypeError("GQL client has not been initialized during SSR, make sure `.serverInit()` executes");const{client:n}=e;return o().default.createElement(u().GraphQLProvider,{client:n},t)}t.GraphqlRenderPlugins=class{constructor(e){this.graphqlUI=e,(0,a().default)(this,"key",d().GraphqlAspect.id),(0,a().default)(this,"serverInit",(({browser:e})=>{const t=`http://localhost:${(null===e||void 0===e?void 0:e.location.port)||3e3}/graphql`;return{client:this.graphqlUI.createSsrClient({serverUrl:t,headers:(0,c().default)(null===e||void 0===e?void 0:e.headers,p)})}})),(0,a().default)(this,"onBeforeRender",(async(e,t)=>{await(0,i().getMarkupFromTree)({tree:t,renderFunction:s().default.renderToStaticMarkup})})),(0,a().default)(this,"serialize",(e=>{const t=null===e||void 0===e?void 0:e.client;if(t)return{json:JSON.stringify(t.extract())}})),(0,a().default)(this,"deserialize",(e=>{if(!e)return{state:void 0};let t;try{t=JSON.parse(e)}catch(n){console.error("[GraphQL] failed deserializing state from DOM",n)}return{state:t}})),(0,a().default)(this,"_client",void 0),(0,a().default)(this,"browserInit",(({state:e}={})=>{const{location:t}=window,n=`${"http:"===t.protocol?"ws:":"wss:"}//${t.host}/subscriptions`,r=this.graphqlUI.createClient("/graphql",{state:e,subscriptionUri:n});return this._client=r,{client:r}})),(0,a().default)(this,"BrowserGqlProvider",(({renderCtx:e,children:t})=>{if(null===e||void 0===e||!e.client)throw new TypeError("GQL client is not initialized, make sure `.browserInit()` executes");return o().default.createElement(this.graphqlUI.getProvider,{client:null===e||void 0===e?void 0:e.client},t)})),(0,a().default)(this,"reactContext",l().isBrowser?this.BrowserGqlProvider:f)}getClient(){return this._client?this._client:this.browserInit().client}}},77481:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a(0,d.isObject)(e[t]))),s=new u.default(e,n,{theme:"dark",hoverPreviewEnabled:!0}),h=1===n?"https://static.bit.dev/bit-icons/expand.svg":"https://static.bit.dev/bit-icons/collapse.svg";return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:m.default.sectionTitleContainer},l.default.createElement("div",{className:m.default.sectionTitle},t),l.default.createElement("div",{className:m.default.toolbar},l.default.createElement(p.CopiedMessage,{className:m.default.copyMessage,show:a}),l.default.createElement("div",{className:m.default.copy},l.default.createElement("button",{className:m.default.copyButton,onClick:(_=s.json,()=>{o(!0),setTimeout((()=>{o(!1)}),2e3),(0,g.default)(JSON.stringify(_,null,2))})},l.default.createElement(f.Icon,{className:m.default.copyIcon,of:"copy-cmp"}))),i&&l.default.createElement("div",{className:m.default.expandCollapse},l.default.createElement("img",{src:h,onClick:()=>r((e=>1===e?1/0:1))})))),l.default.createElement("div",{className:(0,c.default)(m.default.log,m.default.config)},l.default.createElement("div",{ref:e=>{e&&e.replaceChildren(s.render())}})));var _}t.AspectBox=function(e){var{icon:t,name:n,config:r,data:a,className:o}=e,s=i(e,["icon","name","config","data","className"]);return l.default.createElement("div",Object.assign({},s,{className:(0,c.default)(m.default.aspectBox,o)}),l.default.createElement("div",{className:m.default.titleLine},l.default.createElement("div",{className:m.default.titleLeft},l.default.createElement("div",{className:m.default.iconWrapper},l.default.createElement("img",{className:m.default.icon,src:t})),l.default.createElement("div",{className:m.default.name},n))),l.default.createElement(h,{title:"Configuration",object:r}),l.default.createElement(h,{title:"Data",object:a}))}},69619:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AspectBox=void 0;var r=n(77481);Object.defineProperty(t,"AspectBox",{enumerable:!0,get:function(){return r.AspectBox}})},88265:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Aspect=void 0;class n{constructor(e,t,n,r={},a,o){this.id=e,this.dependencies=t,this.slots=n,this.defaultConfig=r,this.declareRuntime=a,this.files=o,this._runtimes=[]}addRuntime(e){return this._runtimes.push(e),this}getRuntime(e){return this._runtimes.find((t=>"string"===typeof t.runtime?t.runtime===e.name:t.runtime.name===e.name))}getRuntimes(){return this._runtimes}static create(e){return new n(e.id,e.dependencies||[],e.slots||[],e.defaultConfig,e.declareRuntime,e.files||[])}}t.Aspect=n},42764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;class n{constructor(e){this.raw=e}toObject(){return Array.from(this.raw.entries()).reduce(((e,[t,n])=>(e[t]=n,e)),{})}set(e,t){this.raw.set(e,t)}get(e){return this.raw.get(e)}static from(e){return new n(new Map(Object.entries(e)))}}t.Config=n},75532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var r=n(42764);Object.defineProperty(t,"Config",{enumerable:!0,get:function(){return r.Config}})},66911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionInstantiationException=void 0;class n extends Error{}t.ExtensionInstantiationException=n},63922:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e,t,n){super(),this.extension=e,this.originalError=t,this.msg=n}toString(){return`failed to load extension: ${this.extension.name} with error:\n\n${this.msg||this.originalError.stack}`}}t.default=n},31718:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(60682);class a extends r.HarmonyError{constructor(e,t){super(),this.extension=e,this.validDeps=t}toString(){return"Failed to load the dependencies for extension . \nThis may result from a wrong import or from circular dependencies in imports. \nThe following dependencies succeeded loading:"}}t.default=a},10857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HarmonyAlreadyRunning=void 0;class n extends Error{}t.HarmonyAlreadyRunning=n},60682:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HarmonyError=void 0;class n extends Error{}t.HarmonyError=n},58762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HookNotFound=void 0;class n extends Error{}t.HookNotFound=n},36863:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionInstantiationException=t.HookNotFound=t.HarmonyAlreadyRunning=t.ExtensionPotentialCircular=t.ExtensionLoadError=void 0;var a=n(63922);Object.defineProperty(t,"ExtensionLoadError",{enumerable:!0,get:function(){return r(a).default}});var o=n(31718);Object.defineProperty(t,"ExtensionPotentialCircular",{enumerable:!0,get:function(){return r(o).default}});var i=n(10857);Object.defineProperty(t,"HarmonyAlreadyRunning",{enumerable:!0,get:function(){return i.HarmonyAlreadyRunning}});var s=n(58762);Object.defineProperty(t,"HookNotFound",{enumerable:!0,get:function(){return s.HookNotFound}});var c=n(66911);Object.defineProperty(t,"ExtensionInstantiationException",{enumerable:!0,get:function(){return c.ExtensionInstantiationException}})},27240:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(i,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const a=n(6283),o=n(2393);class i extends a.Graph{constructor(){super(...arguments),this.cache=new Map}getRuntimeDependencies(e,t,n={}){const r=this.successors(e.name),a=this.successors(e.name,(e=>!!e.runtime&&e.runtime===t.name)),o=e.getRuntime(t);return o?a&&a.size?this.sortDeps(o.dependencies,Array.from(a.values()),n):this.sortDeps(o.dependencies,Array.from(r.values()),n):Array.from(r.values())}sortDeps(e,t,n={}){const r=n.getName?(null===e||void 0===e?void 0:e.map((e=>n.getName?(e.id=n.getName(e),e):e)))||[]:e;return t.sort(((e,t)=>r.findIndex((t=>t.id===e.id))-r.findIndex((e=>e.id===t.id))))}byExecutionOrder(){return this.toposort(!0)}enrichRuntimeExtension(e,t,n,a,o,i={}){return r(this,void 0,void 0,(function*(){yield o(t,n);const s=t.getRuntime(n);if(!s)return;const c=s.dependencies;if(!c)return;const l=c.map((t=>r(this,void 0,void 0,(function*(){const r=i.getName?i.getName(t):t.id;if(!this.hasNode(r)){this.add(t),t.declareRuntime&&a.add(t.declareRuntime);const e=this.get(r);if(!e)return;yield o(e,n),yield this.enrichRuntimeExtension(r,this.get(r),n,a,o)}this.setEdge(e,r,{runtime:n.name,type:"runtime-dependency"})}))));return Promise.all(l)}))}enrichRuntime(e,t,n,a={}){return r(this,void 0,void 0,(function*(){const o=Array.from(this.nodes.entries()).map((([o,i])=>r(this,void 0,void 0,(function*(){return this.enrichRuntimeExtension(o,i,e,t,n,a)}))));return Promise.all(o)}))}add(e){const{vertices:t,edges:n}=(0,o.fromExtension)(e);return this.setNodes(t),this.setEdges(n),this}load(e){const t=e.filter((e=>!!e.id&&!this.get(e.id))),{vertices:n,edges:r}=(0,o.fromExtensions)(t);return this.setNodes(n,!1),this.setEdges(r),this}getExtension(e){const t=function(e){return Reflect.getMetadata("harmony:name",e)||e.id||e.name}(e),n=this.cache.get(t);if(n)return n;const r=this.node(t);return r?(this.cache.set(r.name,r),r):null}get extensions(){return Array.from(this.nodes.values())}get aspects(){return this.extensions}get(e){const t=this.cache.get(e);if(t)return t;const n=this.node(e);return n?(this.cache.set(n.name,n),n):null}static fromRoot(e){const{vertices:t,edges:n}=(0,o.fromExtension)(e);return new i(t,n)}static from(e,t={}){const{vertices:n,edges:r}=(0,o.fromExtensions)(e,t);return new i(n,r)}}t.default=i},2393:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.fromExtensions=t.fromExtension=void 0;const a=n(17150),o=r(n(31718));function i(e,t={}){const n={};let r=[];!function e(i){const s=t.getName?t.getName(i):(c=i,Reflect.getMetadata("harmony:name",c)||c.id||c.name);var c;if(n[s])return;const l=(0,a.extensionFactory)(i),u=l.dependencies.filter((e=>e)).map((e=>(0,a.extensionFactory)(e)));if(l.dependencies.length>u.length)throw new o.default(l,u);n[s]=l;const d=u.map((e=>({sourceId:s,targetId:e.name,edge:{type:"dependency"}})));r=r.concat(d),l.dependencies.forEach((t=>e(t)))}(e);let i=[];for(let[a,o]of Object.entries(n))i.push({id:a,node:o});return{vertices:i,edges:r}}t.fromExtension=i,t.fromExtensions=function(e,t={}){return e.map((e=>i(e,t))).reduce(((e,t)=>(e.edges=e.edges.concat(t.edges),e.vertices=e.vertices.concat(t.vertices),e)),{vertices:[],edges:[]})}},11313:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HookRegistry=t.hook=t.createHook=t.register=t.provider=t.ExtensionDecorator=void 0;const n={};t.ExtensionDecorator=function({name:e,dependencies:t}={}){return function(n){Reflect.defineMetadata("harmony:name",e||n.name,n),Reflect.defineMetadata("harmony:dependencies",function(e,t){function n(){const t=function(e){return e.provide?e.provide:e.provider}(e);return t?[]:Reflect.getMetadata("design:paramtypes",e)}const r=t||(n()||[]),a=e.__hookDeps?e.__hookDeps:[];return r.concat(a)||[]}(n,t),n)}},t.provider=function(){return function(e,t,n){Reflect.getMetadata("design:paramtypes",n)}},t.register=function(e,t){return function(r,a,o){const i=Reflect.getMetadata("harmony:name",e);n[i]||(n[i]={});const s=n[i][t||a];s&&s.register(r[a])}},t.createHook=function(){const e=Math.random().toString(36).substring(2);n[e]=r.create();const t=function(t,r,a){n[e].register(a.value)};return t.hash=e,t},t.hook=function(e){return function(t,a){let o=r.create();const i=Reflect.getMetadata("harmony:name",t.constructor),s=e||a;n[i]?n[i][s]=o:n[i]={[s]:o},Object.defineProperty(t,a,{get:()=>o,set:e=>{o=e}})}};class r{constructor(e,t){this.fillers=e,this.hash=t}register(e){this.fillers.push(e)}list(){return this.fillers}static of(e){return n[e.hash]}static create(){return new r([])}}t.HookRegistry=r},31998:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(i,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Extension=void 0;const a=n(66911);t.Extension=class{constructor(e){this.manifest=e,this._instance=null,this._loaded=!1}get instance(){return this._instance}get name(){return Reflect.getMetadata("harmony:name",this.manifest)||this.manifest.id||this.manifest.name}get id(){return this.name}get dependencies(){return Reflect.getMetadata("harmony:dependencies",this.manifest)||this.manifest.dependencies||[]}get provider(){return Reflect.getMetadata("harmony:provider",this.manifest)||this.manifest.provider}get files(){return this.manifest.files}get loaded(){return this._loaded}toString(){return JSON.stringify(this.name)}buildSlotRegistries(e,t){return e.map((e=>e((()=>t.current))))}get declareRuntime(){return this.manifest.declareRuntime}getRuntime(e){return this.manifest.getRuntime(e)}getRuntimes(){return this.manifest.getRuntimes()}getSlots(e){return e.slots&&e.slots.length?e.slots:this.manifest.slots||[]}getConfig(e,t){const n=t.defaultConfig||this.manifest.defaultConfig||{},r=e.config.get(this.name)||{};return Object.assign({},n,r)}__run(e,t,n){return r(this,void 0,void 0,(function*(){const r=this.name;t.initExtension(r);const o=this.getRuntime(n);if(!o)return;const i=this.buildSlotRegistries(this.getSlots(o),t),s=this.getConfig(t,o);if(!this.loaded){if(o.provider)this._instance=yield o.provider(e,s,i,t);else try{this._instance=new o.manifest(...e)}catch(c){throw new a.ExtensionInstantiationException(c.toString())}return this._loaded=!0,this._instance}return t.endExtension(),Promise.resolve(this.instance)}))}}},13156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHook=t.provider=t.HookRegistry=t.hook=t.register=t.ExtensionDecorator=t.Extension=void 0;var r=n(31998);Object.defineProperty(t,"Extension",{enumerable:!0,get:function(){return r.Extension}});var a=n(11313);Object.defineProperty(t,"ExtensionDecorator",{enumerable:!0,get:function(){return a.ExtensionDecorator}}),Object.defineProperty(t,"register",{enumerable:!0,get:function(){return a.register}}),Object.defineProperty(t,"hook",{enumerable:!0,get:function(){return a.hook}}),Object.defineProperty(t,"HookRegistry",{enumerable:!0,get:function(){return a.HookRegistry}}),Object.defineProperty(t,"provider",{enumerable:!0,get:function(){return a.provider}}),Object.defineProperty(t,"createHook",{enumerable:!0,get:function(){return a.createHook}})},24081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extensionFactory=void 0;const r=n(31998);t.extensionFactory=function(e){return e.provide&&(e.provider=e.provide),new r.Extension(e)}},17150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extensionFactory=void 0;var r=n(24081);Object.defineProperty(t,"extensionFactory",{enumerable:!0,get:function(){return r.extensionFactory}})},35222:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(i,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Harmony=void 0,n(35641);const o=a(n(27240)),i=n(36863),s=n(80801),c=n(75532),l=n(997),u=n(12017);class d{constructor(e,t,n,r,a){this.graph=e,this.config=t,this.runtimes=n,this.activeRuntime=r,this.depOptions=a,this.current=null}get extensions(){return this.graph.nodes}get extensionsIds(){return[...this.graph.nodes.keys()]}load(e){return r(this,void 0,void 0,(function*(){return this.set(e)}))}set(e){return r(this,void 0,void 0,(function*(){this.graph.load(e);const t=e.map((e=>Reflect.getMetadata("harmony:name",e)||e.id||e.name));yield this.graph.enrichRuntime(this.runtime,this.runtimes,(()=>{}));const n=this.graph.successorsSubgraph(t);if(n){const e=n.toposort(!0);yield(0,s.asyncForEach)(e,(e=>r(this,void 0,void 0,(function*(){if(!this.runtime)throw new u.RuntimeNotDefined(this.activeRuntime);yield this.runOne(e,this.runtime)}))))}}))}runOne(e,t){return r(this,void 0,void 0,(function*(){if(e.loaded)return;const n=this.graph.getRuntimeDependencies(e,t,this.depOptions).map((e=>e.instance));try{return e.__run(n,this,t)}catch(r){throw new i.ExtensionLoadError(e,r)}}))}getDependencies(e){if(!this.runtime)throw new u.RuntimeNotDefined(this.activeRuntime);return this.graph.getRuntimeDependencies(e,this.runtime,this.depOptions)}initExtension(e){this.current=e}endExtension(){this.current=null}get(e){const t=this.graph.get(e);if(!t||!t.instance)throw new Error(`failed loading extension ${e}`);return t.instance}resolveRuntime(e){return this.runtimes.get(e)}run(e){return r(this,void 0,void 0,(function*(){const t=this.resolveRuntime(this.activeRuntime);this.runtime=t;yield this.graph.enrichRuntime(t,this.runtimes,e||((e,t)=>r(this,void 0,void 0,(function*(){t.getRuntimeFile(e.files)}))),this.depOptions);const n=this.graph.byExecutionOrder();yield(0,s.asyncForEach)(n,(e=>r(this,void 0,void 0,(function*(){yield this.runOne(e,t)}))))}))}static load(e,t,n,a={}){return r(this,void 0,void 0,(function*(){const r=o.default.from(e,a),i=yield l.Runtimes.load(r);return new d(r,c.Config.from(n),i,t,a)}))}}t.Harmony=d},73823:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AspectGraph=t.RuntimeDefinition=t.Aspect=t.HarmonyError=t.SlotRegistry=t.Slot=t.Harmony=t.createHook=t.provider=t.hook=t.HookRegistry=t.register=t.Extension=t.ExtensionDecorator=void 0;var a=n(13156);Object.defineProperty(t,"ExtensionDecorator",{enumerable:!0,get:function(){return a.ExtensionDecorator}}),Object.defineProperty(t,"Extension",{enumerable:!0,get:function(){return a.Extension}}),Object.defineProperty(t,"register",{enumerable:!0,get:function(){return a.register}}),Object.defineProperty(t,"HookRegistry",{enumerable:!0,get:function(){return a.HookRegistry}}),Object.defineProperty(t,"hook",{enumerable:!0,get:function(){return a.hook}}),Object.defineProperty(t,"provider",{enumerable:!0,get:function(){return a.provider}}),Object.defineProperty(t,"createHook",{enumerable:!0,get:function(){return a.createHook}});var o=n(35222);Object.defineProperty(t,"Harmony",{enumerable:!0,get:function(){return o.Harmony}});var i=n(72467);Object.defineProperty(t,"Slot",{enumerable:!0,get:function(){return i.Slot}}),Object.defineProperty(t,"SlotRegistry",{enumerable:!0,get:function(){return i.SlotRegistry}});var s=n(60682);Object.defineProperty(t,"HarmonyError",{enumerable:!0,get:function(){return s.HarmonyError}});var c=n(88265);Object.defineProperty(t,"Aspect",{enumerable:!0,get:function(){return c.Aspect}});var l=n(70429);Object.defineProperty(t,"RuntimeDefinition",{enumerable:!0,get:function(){return l.RuntimeDefinition}});var u=n(27240);Object.defineProperty(t,"AspectGraph",{enumerable:!0,get:function(){return r(u).default}})},12017:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuntimeModuleError=t.RuntimeNotDefined=void 0;var r=n(73907);Object.defineProperty(t,"RuntimeNotDefined",{enumerable:!0,get:function(){return r.RuntimeNotDefined}});var a=n(5171);Object.defineProperty(t,"RuntimeModuleError",{enumerable:!0,get:function(){return a.RuntimeModuleError}})},5171:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuntimeModuleError=void 0;class n extends Error{constructor(e){super(`failed to load Harmony aspect with error message: ${e.message}`),this.err=e}get stack(){return this.err.stack}}t.RuntimeModuleError=n},73907:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuntimeNotDefined=void 0;class n extends Error{constructor(e){super(`runtime: '${e}' was not defined by any aspect`)}}t.RuntimeNotDefined=n},70429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuntimeDefinition=t.Runtimes=void 0;var r=n(997);Object.defineProperty(t,"Runtimes",{enumerable:!0,get:function(){return r.Runtimes}});var a=n(95315);Object.defineProperty(t,"RuntimeDefinition",{enumerable:!0,get:function(){return a.RuntimeDefinition}})},95315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuntimeDefinition=void 0;const n=(e,t)=>e.includes(`.${t}.`);class r{constructor(e,t=n){this.name=e,this.filePredicate=t}getRuntimeFile(e){return e.find((e=>this.filePredicate(e,this.name)))}require(e){}static create(e){return new r(e.name)}}t.RuntimeDefinition=r},997:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(i,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Runtimes=void 0;const a=n(12017);class o{constructor(e){this.runtimeDefinition=e}add(e){return this.runtimeDefinition[e.name]=e,this}get(e){if(!this.runtimeDefinition[e])throw new a.RuntimeNotDefined(e);return this.runtimeDefinition[e]}dispose(){}static load(e){return r(this,void 0,void 0,(function*(){const t={};return e.extensions.forEach((e=>{e.declareRuntime&&(t[e.declareRuntime.name]=e.declareRuntime)})),new o(t)}))}}t.Runtimes=o},72467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SlotRegistry=t.Slot=void 0;var r=n(61688);Object.defineProperty(t,"Slot",{enumerable:!0,get:function(){return r.Slot}});var a=n(40040);Object.defineProperty(t,"SlotRegistry",{enumerable:!0,get:function(){return a.SlotRegistry}})},40040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SlotRegistry=void 0;t.SlotRegistry=class{constructor(e,t=new Map){this.registerFn=e,this.map=t}get(e){return this.map.get(e)}toArray(){return Array.from(this.map.entries())}values(){return Array.from(this.map.values())}register(e){const t=this.registerFn();this.map.set(t,e)}}},61688:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slot=void 0;const r=n(40040);t.Slot=class{static withType(){return e=>new r.SlotRegistry(e)}}},2915:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(i,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.asyncForEach=void 0,t.asyncForEach=function(e,t){return n(this,void 0,void 0,(function*(){for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asyncForEach=void 0;var r=n(2915);Object.defineProperty(t,"asyncForEach",{enumerable:!0,get:function(){return r.asyncForEach}})},73325:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LANE_REMOTE_DELIMITER=t.DEFAULT_LANE=t.LaneId=void 0;var r=n(36883);Object.defineProperty(t,"LaneId",{enumerable:!0,get:function(){return r.LaneId}}),Object.defineProperty(t,"DEFAULT_LANE",{enumerable:!0,get:function(){return r.DEFAULT_LANE}}),Object.defineProperty(t,"LANE_REMOTE_DELIMITER",{enumerable:!0,get:function(){return r.LANE_REMOTE_DELIMITER}})},36883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LaneId=t.LANE_REMOTE_DELIMITER=t.DEFAULT_LANE=void 0;const r=n(86937);t.DEFAULT_LANE="main",t.LANE_REMOTE_DELIMITER="/";class a{constructor({name:e,scope:t}){this.name=e,this.scope=t,Object.freeze(this)}hasSameName(e){return this.name===e.name}hasSameScope(e){return!e.scope&&!this.scope||this.scope===e.scope}isEqual(e){return this.hasSameName(e)&&this.hasSameScope(e)}isDefault(){return this.name===t.DEFAULT_LANE}toString(){return this.scope?this.scope+t.LANE_REMOTE_DELIMITER+this.name:this.name}toObject(){return{scope:this.scope,name:this.name}}static from(e,t){return new a({scope:t,name:e})}static parse(e){if(!e.includes(t.LANE_REMOTE_DELIMITER))throw new r.BitError(`invalid lane-id, "${e}" is missing a delimiter "(${t.LANE_REMOTE_DELIMITER})"`);const n=e.split(t.LANE_REMOTE_DELIMITER);if(n.length>2)throw new r.BitError(`invalid lane-id "${e}". a lane id can have only one "${t.LANE_REMOTE_DELIMITER}"`);return a.from(n[1],n[0])}}t.LaneId=a},34991:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLaneComponents=void 0;var r=n(45453);Object.defineProperty(t,"useLaneComponents",{enumerable:!0,get:function(){return r.useLaneComponents}})},45453:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ai.ComponentModel.from(Object.assign(Object.assign({},e),{host:n.getHost.id}))));return Object.assign(Object.assign({},o),{components:c})}},13349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLanes=t.LanesProvider=t.useLanesContext=t.LanesContext=void 0;var r=n(34621);Object.defineProperty(t,"LanesContext",{enumerable:!0,get:function(){return r.LanesContext}}),Object.defineProperty(t,"useLanesContext",{enumerable:!0,get:function(){return r.useLanesContext}});var a=n(64061);Object.defineProperty(t,"LanesProvider",{enumerable:!0,get:function(){return a.LanesProvider}});var o=n(27283);Object.defineProperty(t,"useLanes",{enumerable:!0,get:function(){return o.useLanes}})},34621:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLanesContext=t.LanesContext=void 0;const r=n(49725);t.LanesContext=(0,r.createContext)(void 0);t.useLanesContext=()=>(0,r.useContext)(t.LanesContext)},64061:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.LanesProvider=void 0;const i=o(n(49725)),s=n(13349),c=n(76863),l=n(33885),u=n(56843),d=n(34621);t.LanesProvider=function({children:e,viewedLaneId:t,targetLanes:n}){const{lanesModel:r,loading:a}=(0,s.useLanes)(n),[o,p]=(0,i.useState)(r),[f,g]=(0,i.useState)(t),m=(0,u.useLocation)(),h=(0,l.useQuery)();(0,i.useEffect)((()=>{t&&g(t)}),[null===t||void 0===t?void 0:t.toString()]),(0,i.useEffect)((()=>{var e,t;const n="/"===(null===m||void 0===m?void 0:m.pathname),a=(null===m||void 0===m?void 0:m.pathname)&&c.LanesModel.getLaneIdFromPathname(null===m||void 0===m?void 0:m.pathname,h)||void 0||f||n&&(null===(e=null===r||void 0===r?void 0:r.currentLane)||void 0===e?void 0:e.id)||(null===(t=null===r||void 0===r?void 0:r.lanes.find((e=>e.id.isDefault())))||void 0===t?void 0:t.id);g(a)}),[null===m||void 0===m?void 0:m.pathname]),(0,i.useEffect)((()=>{null===r||void 0===r||r.setViewedLane(f),p(r)}),[a,null===r||void 0===r?void 0:r.lanes.length]),null===o||void 0===o||o.setViewedLane(f);const _={lanesModel:o,updateLanesModel:p,updateViewedLane:g};return i.default.createElement(d.LanesContext.Provider,{value:_},e)}},27283:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useViewedLaneFromUrl=void 0;var r=n(66238);Object.defineProperty(t,"useViewedLaneFromUrl",{enumerable:!0,get:function(){return r.useViewedLaneFromUrl}})},66238:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useViewedLaneFromUrl=void 0;const r=n(56843),a=n(33885),o=n(76863);t.useViewedLaneFromUrl=function(){const e=(0,r.useLocation)(),t=(0,a.useQuery)();return(null===e||void 0===e?void 0:e.pathname)&&o.LanesModel.getLaneIdFromPathname(null===e||void 0===e?void 0:e.pathname,t)||void 0}},25664:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=t.computeStateKey=void 0;var r=n(94257);Object.defineProperty(t,"computeStateKey",{enumerable:!0,get:function(){return r.computeStateKey}}),Object.defineProperty(t,"defaultState",{enumerable:!0,get:function(){return r.defaultState}})},94257:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computeStateKey=t.defaultState=void 0,t.defaultState=new Map;t.computeStateKey=(e,t)=>`${null===e||void 0===e?void 0:e.toString()}-${null===t||void 0===t?void 0:t.toString()}`},37396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LaneCompare=void 0;var r=n(69990);Object.defineProperty(t,"LaneCompare",{enumerable:!0,get:function(){return r.LaneCompare}})},69990:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);anew Map(r.components.map((e=>[e.toStringWithoutVersion(),e])))),[r.components]),_=(0,c.useMemo)((()=>new Map(n.components.map((e=>[e.toStringWithoutVersion(),e])))),[n.components]),v=(0,c.useMemo)((()=>n.components.filter((e=>!h.has(e.toStringWithoutVersion()))).map((e=>[void 0,_.get(e.toStringWithoutVersion())]))),[r,n]),y=(0,c.useMemo)((()=>n.components.filter((e=>{const t=e.toStringWithoutVersion(),n=h.get(t);return n&&!n.isEqual(e)})).map((e=>[h.get(e.toStringWithoutVersion()),_.get(e.toStringWithoutVersion())]))),[r.components,n.components]),b=(0,c.useMemo)((()=>[...y,...v]),[r.components,n.components]),R=(0,c.useCallback)((([e,t])=>{var n;const r=null===(n=(0,u.extractLazyLoadedData)(a))||void 0===n?void 0:n.sort(d.sortTabs);return{tabs:{controlled:!0,id:r&&r[0].id,element:r&&r[0].element},code:{controlled:!0},aspects:{controlled:!0},versionPicker:{element:c.default.createElement("div",{className:m.default.versionPicker},`${e?"Comparing Component":"Component"} ${null===t||void 0===t?void 0:t.toStringWithoutVersion()}`,c.default.createElement("div",null,`${null===t||void 0===t?void 0:t.version} ${e&&` with ${e.version}`||""}`))}}}),[]),[E,S]=(0,c.useState)(new Map(b.map((([e,t])=>[(0,p.computeStateKey)(e,t),R([e,t])])))),[O,w]=(0,c.useState)([]),C=(0,c.useCallback)(((e,t)=>{const n=(0,p.computeStateKey)(e,t),r=(0,u.extractLazyLoadedData)(a),o=a=>o=>S((i=>{var s;let c=i.get(n);const l=null===c||void 0===c?void 0:c[a];return l?(l.id=o,l.element=null===(s=null===r||void 0===r?void 0:r.find((e=>e.id===o)))||void 0===s?void 0:s.element):c=R([e,t]),new Map(i)}));return{code:{onClick:o("code")},aspects:{onClick:o("aspects")},tabs:{onClick:o("tabs")}}}),[]),T=(0,c.useMemo)((()=>b.map((([e,n])=>{const r=(0,p.computeStateKey)(e,n),i=O.includes(r);return c.default.createElement(f.DrawerUI,{key:`${r}-drawer`,isOpen:i,onToggle:()=>{return e=r,void(O.includes(e)?w((t=>t.filter((t=>t!==e)))):w((t=>t.concat(e))));var e},name:null===n||void 0===n?void 0:n.toStringWithoutVersion(),className:m.default.componentCompareDrawer,contentClass:m.default.componentCompareDrawerContent},c.default.createElement(g.default,{height:i?"auto":0},!!i&&c.default.createElement(l.ComponentCompare,{className:m.default.componentCompareContainer,key:`lane-compare-component-compare-${r}`,host:t,tabs:a,state:E.get(r),hooks:C(e,n),baseId:e,compareId:n,customUseComponent:o})||c.default.createElement(c.default.Fragment,null)))}))),[r.id.toString(),n.id.toString(),O.length]);return c.default.createElement("div",Object.assign({},s,{className:m.default.laneCompareContainer}),...T)}},82404:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LaneIcon=void 0;var r=n(14414);Object.defineProperty(t,"LaneIcon",{enumerable:!0,get:function(){return r.LaneIcon}})},14414:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LanePlaceholder=t.LaneMenuItem=t.LaneSelector=void 0;var r=n(44958);Object.defineProperty(t,"LaneSelector",{enumerable:!0,get:function(){return r.LaneSelector}});var a=n(38450);Object.defineProperty(t,"LaneMenuItem",{enumerable:!0,get:function(){return a.LaneMenuItem}});var o=n(36184);Object.defineProperty(t,"LanePlaceholder",{enumerable:!0,get:function(){return o.LanePlaceholder}})},96403:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ae.stopPropagation(),className:c.default.scope},l),n.map((e=>o.default.createElement(s.LaneMenuItem,{key:e.toString(),selected:t,current:e}))))}},38450:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var e;o&&(null===(e=s.current)||void 0===e||e.scrollIntoView({block:"nearest",behavior:"smooth"}))}),[o]);const f=l.LanesModel.getLaneUrl(n);return c.default.createElement("div",Object.assign({},a,{className:r,ref:s}),c.default.createElement(d.MenuLinkItem,{active:o,href:f,className:p.default.menuItem},c.default.createElement("div",{className:p.default.laneName},n.name),n.isDefault()&&c.default.createElement(u.PillLabel,{className:p.default.defaultLanePill},c.default.createElement("span",null,"default"))))}},36184:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var e;t&&(null===(e=n.current)||void 0===e||e.focus())}),[t]),s.default.createElement("input",{className:c.default.search,placeholder:"Search",onClick:e=>{var t;null===(t=n.current)||void 0===t||t.focus(),e.stopPropagation()},ref:n,onChange:e})}},44958:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{_(n)}),[n]);const b=n.length>1,R=a?Array.from(d.LanesModel.groupByScope(s).entries()):s;return c.default.createElement(u.Dropdown,Object.assign({},o,{open:!!b&&void 0,dropClass:h.default.menu,onChange:b?(e,t)=>{y(t)}:void 0,placeholder:c.default.createElement(f.LanePlaceholder,{disabled:!b,selectedLaneId:r,showScope:a}),className:(0,l.default)(t,h.default.dropdown,!b&&h.default.disabled)}),b&&c.default.createElement("div",{className:h.default.header},"Switch lane"),b&&c.default.createElement("div",{className:h.default.search},c.default.createElement(m.LaneSearch,{focus:v,onChange:e=>{e.stopPropagation();const t=e.target.value;_(t&&""!==t?e=>e.filter((e=>e.name.includes(t))):n)}})),b&&a&&R.map((([e,t])=>c.default.createElement(g.LaneGroupedMenuItem,{key:e,scope:e,selected:r,current:t}))),b&&!a&&R.map((e=>c.default.createElement(p.LaneMenuItem,{key:e.toString(),selected:r,current:e}))))}},71733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LaneDetails=void 0;var r=n(7747);Object.defineProperty(t,"LaneDetails",{enumerable:!0,get:function(){return r.LaneDetails}})},7747:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyLaneOverview=t.LaneOverview=void 0;var r=n(29329);Object.defineProperty(t,"LaneOverview",{enumerable:!0,get:function(){return r.LaneOverview}});var a=n(14619);Object.defineProperty(t,"EmptyLaneOverview",{enumerable:!0,get:function(){return a.EmptyLaneOverview}})},29329:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LaneOverview=void 0;const s=o(n(49725)),c=n(76863),l=n(41297),u=n(46338),d=n(43669),p=n(13349),f=n(34991),g=i(n(91630)),m=n(99256),h=n(71733),_=n(14619),v=i(n(90272));function y({currentLane:e,overviewItems:t,routeSlot:n,host:r}){const{loading:a,components:o}=(0,f.useLaneComponents)(e.id);if(a)return null;const i="workspace"===r?({component:t})=>s.default.createElement(d.WorkspaceComponentCard,{component:t,componentUrl:c.LanesModel.getLaneComponentUrl(t.id,e.id)}):({component:t})=>s.default.createElement(m.ScopeComponentCard,{component:t,componentUrl:c.LanesModel.getLaneComponentUrl(t.id,e.id)});return s.default.createElement("div",{className:v.default.container},s.default.createElement(h.LaneDetails,{className:v.default.laneDetails,laneId:e.id,description:"",componentCount:e.components.length}),s.default.createElement(l.ComponentGrid,null,null===o||void 0===o?void 0:o.map(((e,t)=>s.default.createElement(i,{component:e,key:t})))),n&&s.default.createElement(u.SlotRouter,{slot:n}),t.length>0&&t.map(((e,t)=>s.default.createElement(e,{key:t}))))}t.LaneOverview=function({routeSlot:e,overviewSlot:t,host:n}){const{lanesModel:r}=(0,p.useLanes)(),a=(0,s.useMemo)((()=>(0,g.default)(null===t||void 0===t?void 0:t.values())),[t]),o=null===r||void 0===r?void 0:r.viewedLane;return o&&o.id?0===o.components.length?s.default.createElement(_.EmptyLaneOverview,{name:o.id.name}):s.default.createElement(y,{host:n,currentLane:o,overviewItems:a,routeSlot:e}):null}},24863:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LanesOverviewMenu=void 0;var r=n(58842);Object.defineProperty(t,"LanesOverviewMenu",{enumerable:!0,get:function(){return r.LanesOverviewMenu}})},58842:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LanesOverviewMenu=void 0;const a=r(n(49725)),o=r(n(55574)),i=r(n(91630)),s=n(33097),c=n(56843),l=n(21384),u=r(n(34999));function d({navigationSlot:e}){const t=(0,i.default)(e.toArray().map((([e,t])=>(0,i.default)(t).map((t=>Object.assign(Object.assign({},t),{id:e})))))).sort(p);return a.default.createElement("nav",{className:u.default.navigation},t.map(((e,t)=>{var n;return(null===(n=e.hide)||void 0===n?void 0:n.call(e))?null:a.default.createElement(f,Object.assign({key:`${e.id}-${t}`},e.props))})))}function p({order:e},{order:t}){return(null!==e&&void 0!==e?e:0)-(null!==t&&void 0!==t?t:0)}function f(e){const{search:t}=(0,s.useLocation)(),{href:n}=e,r=`${n}${t}`;return a.default.createElement(c.Link,Object.assign({},e,{className:(0,o.default)(e.className,u.default.topBarLink),activeClassName:(0,o.default)(e.activeClassName,u.default.active),href:r}),a.default.createElement("div",null,e.children))}t.LanesOverviewMenu=function({navigationSlot:e,widgetSlot:t,className:n}){return a.default.createElement("div",{className:(0,o.default)(u.default.topBar,n)},a.default.createElement("div",{className:u.default.leftSide},a.default.createElement(d,{navigationSlot:e})),a.default.createElement("div",{className:u.default.rightSide},a.default.createElement("div",{className:u.default.widgets},a.default.createElement(l.Menu,{widgetSlot:t}))))}},58790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UseLaneMenu=void 0;var r=n(86335);Object.defineProperty(t,"UseLaneMenu",{enumerable:!0,get:function(){return r.UseLaneMenu}})},86335:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LanesModel=void 0;var r=n(26547);Object.defineProperty(t,"LanesModel",{enumerable:!0,get:function(){return r.LanesModel}})},26547:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LanesModel=void 0;const r=n(44704),a=n(73325),o=n(67972),i=n(51327),s=n(13621);class c{constructor({lanes:e,viewedLane:t,currentLane:n}){this.getLaneComponentUrlByVersion=(e,t)=>{var n;const r=this.getDefaultLane();if(!e.version||!t||!r)return c.getMainComponentUrl(e);const a=null===(n=this.getLanesByComponentId(e))||void 0===n?void 0:n.find((e=>e.id.isEqual(t)));return a?a.id.isDefault()?c.getMainComponentUrl(e):c.getLaneComponentUrl(e,a.id):r.components.find((t=>t.isEqual(e)))?c.getMainComponentUrl(e,t):void 0},this.setViewedLane=e=>{this.viewedLane=e?this.lanes.find((t=>t.id.isEqual(e))):void 0},this.resolveComponentFromUrl=(e,t)=>{var n;const r=(null===(n=t&&this.lanes.find((e=>e.id.isEqual(t)))||this.viewedLane)||void 0===n?void 0:n.components)||[];return e.includes(".")?r.find((t=>t.toStringWithoutVersion()===e)):r.find((t=>t.fullName===e))},this.getDefaultLane=()=>this.lanes.find((e=>e.id.isDefault())),this.getNonMainLanes=()=>this.lanes.filter((e=>!e.id.isDefault())),this.isInViewedLane=(e,t)=>{var n,r;return t?null===(n=this.viewedLane)||void 0===n?void 0:n.components.some((n=>t&&n.isEqual(e))):null===(r=this.viewedLane)||void 0===r?void 0:r.components.some((n=>t&&n.isEqual(e,{ignoreVersion:!0})))},this.getLanesByComponentName=e=>this.lanesByComponentName.get(e.fullName),this.getLanesByComponentId=e=>this.lanesByComponentId.get(e.toString()),this.isComponentOnMain=(e,t)=>{var n,r;return t?!!(null===(n=this.getLanesByComponentId(e))||void 0===n?void 0:n.some((e=>e.id.isDefault()))):!!(null===(r=this.getLanesByComponentName(e))||void 0===r?void 0:r.some((e=>e.id.isDefault())))},this.isComponentOnMainButNotOnLane=(e,t,n)=>this.isComponentOnMain(e,t)&&!this.isComponentOnNonDefaultLanes(e,t,n),this.isComponentOnLaneButNotOnMain=(e,t,n)=>!this.isComponentOnMain(e,t)&&this.isComponentOnNonDefaultLanes(e,t,n),this.isComponentOnNonDefaultLanes=(e,t,n)=>{var r,a;return t?!!(null===(r=this.getLanesByComponentId(e))||void 0===r?void 0:r.some((e=>!e.id.isDefault()&&(!n||e.id.isEqual(n))))):!!(null===(a=this.getLanesByComponentName(e))||void 0===a?void 0:a.some((e=>!e.id.isDefault()&&(!n||e.id.isEqual(n)))))},this.viewedLane=t,this.currentLane=n,this.lanes=e||[],this.laneIdsByScope=c.groupByScope(this.lanes.map((e=>e.id)));const{byId:r,byName:a}=c.groupByComponentNameAndId(this.lanes);this.lanesByComponentId=r,this.lanesByComponentName=a}static mapToLaneModel(e,t){const{id:n,laneComponentIds:i,readmeComponent:s,hash:c}=e,l=(null===i||void 0===i?void 0:i.map((e=>o.ComponentID.fromObject(e))))||[],u=s&&r.ComponentModel.from(Object.assign(Object.assign({},s),{host:t}));return{id:a.LaneId.from(n.name,n.scope),components:l,readmeComponent:u,hash:c}}static groupByScope(e){const t=new Map;return e.forEach((e=>{const{scope:n}=e;if(t.has(n)){const r=t.get(n);t.set(n,[...r,e])}else t.set(n,[e])})),t}static groupByComponentNameAndId(e){const t=new Map,n=new Map;return e.forEach((e=>{const{components:r}=e;r.forEach((r=>{const a=r.fullName,o=r.toString(),i=t.get(a)||[],s=n.get(o)||[];i.push(e),s.push(e),t.set(a,i),n.set(o,s)}))})),{byName:t,byId:n}}static from({data:e,host:t,viewedLaneId:n}){var r,a,o,i;const s=(null===(a=null===(r=null===e||void 0===e?void 0:e.lanes)||void 0===r?void 0:r.list)||void 0===a?void 0:a.map((e=>c.mapToLaneModel(e,t))))||[],l=(null===(i=null===(o=e.lanes)||void 0===o?void 0:o.current)||void 0===i?void 0:i.id)?s.find((t=>{var n,r;return t.id.isEqual(null===(r=null===(n=e.lanes)||void 0===n?void 0:n.current)||void 0===r?void 0:r.id)})):void 0,u=new c({lanes:s,currentLane:l});return u.setViewedLane(n),u}}t.LanesModel=c,c.lanesPrefix="~lane",c.baseLaneComponentRoute="/~component",c.lanePath=":scopeId/:laneId",c.laneUrlParamsKey="lane",c.laneFromPathRegex=(0,s.pathToRegexp)(`${c.lanesPrefix}/${c.lanePath}`,void 0,{end:!1,start:!1}),c.getLaneIdFromPathname=(e,t)=>{const n=c.laneFromPathRegex.exec(e);if(n){const[,e,t]=n;return a.LaneId.from(t,e)}if(t){const e=t.get(c.laneUrlParamsKey);return e?a.LaneId.parse(e):void 0}},c.getLaneUrl=(e,t)=>`${t?"":"/"}${c.lanesPrefix}/${e.toString()}`,c.getLaneComponentUrl=(e,t)=>{const n=e.scope!==t.scope,r=c.getLaneUrl(t),a=(0,i.affix)("?version=",e.version);return n?`${r}${c.baseLaneComponentRoute}/${e.toStringWithoutVersion()}${a}`:`${r}${c.baseLaneComponentRoute}/${e.fullName}${a}`},c.getMainComponentUrl=(e,t)=>`${e.fullName}${(0,i.affix)(`?${c.laneUrlParamsKey}=`,null===t||void 0===t?void 0:t.toString())}`},13621:(e,t,n)=>{"use strict";function r(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||95===c))break;i+=e[s++]}if(!i)throw new TypeError("Missing parameter name at "+n);t.push({type:"NAME",index:n,value:i}),n=s}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,a=void 0===r?"./":r,o="[^"+c(t.delimiter||"/#?")+"]+?",i=[],s=0,l=0,u="",d=function(e){if(l-1:void 0===E;a||(m+="(?:"+g+"(?="+f+"))?"),S||(m+="(?="+g+"|"+f+")")}return new RegExp(m,l(n))}function d(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,a=n.exec(e.source);a;)t.push({name:a[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),a=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return d(e,t,n).source}));return new RegExp("(?:"+r.join("|")+")",l(n))}(e,t,n):function(e,t,n){return u(r(e,n),t,n)}(e,t,n)}n.r(t),n.d(t,{parse:()=>r,compile:()=>a,tokensToFunction:()=>o,match:()=>i,regexpToFunction:()=>s,tokensToRegexp:()=>u,pathToRegexp:()=>d})},74234:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LaneSwitcher=void 0;var r=n(48510);Object.defineProperty(t,"LaneSwitcher",{enumerable:!0,get:function(){return r.LaneSwitcher}})},48510:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{var e;(null===(e=null===s||void 0===s?void 0:s.viewedLane)||void 0===e?void 0:e.id.toString())!==(null===m||void 0===m?void 0:m.id.toString())&&h(null===s||void 0===s?void 0:s.viewedLane)}),[null===(t=null===s||void 0===s?void 0:s.viewedLane)||void 0===t?void 0:t.id.toString()]);const _=null===(n=null===s||void 0===s?void 0:s.getDefaultLane())||void 0===n?void 0:n.id,v=(null===s||void 0===s?void 0:s.getNonMainLanes().map((e=>e.id)))||[],y=_&&[_,...v]||v,b=(null===m||void 0===m?void 0:m.id)||_,R=b&&d.LanesModel.getLaneUrl(b);return c.default.createElement("div",{className:(0,f.default)(g.default.laneSwitcherContainer,r)},c.default.createElement(u.LaneSelector,Object.assign({selectedLaneId:b,className:g.default.laneSelector,lanes:y,groupByScope:a},o)),c.default.createElement(p.MenuLinkItem,{exact:!0,className:g.default.laneGalleryIcon,icon:"eye",href:R}))}},86684:(e,t,n)=>{"use strict";function r(){const e=n(52704);return r=function(){return e},e}function a(){const e=n(76863);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LanesAspect",{enumerable:!0,get:function(){return r().LanesAspect}}),Object.defineProperty(t,"LanesModel",{enumerable:!0,get:function(){return a().LanesModel}}),Object.defineProperty(t,"LanesQuery",{enumerable:!0,get:function(){return a().LanesQuery}}),t.default=void 0;var o=r().LanesAspect;t.default=o},52704:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LanesAspect=void 0;const a=r().Aspect.create({id:"teambit.lanes/lanes"});t.LanesAspect=a;var o=a;t.default=o},60086:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(73322));return o=function(){return e},e}function i(){const e=r(n(49725));return i=function(){return e},e}function s(){const e=n(33097);return s=function(){return e},e}function c(){const e=n(61436);return c=function(){return e},e}function l(){const e=n(73823);return l=function(){return e},e}function u(){const e=n(37396);return u=function(){return e},e}function d(){const e=n(12639);return d=function(){return e},e}function p(){const e=n(86684);return p=function(){return e},e}function f(){const e=n(45549);return f=function(){return e},e}function g(){const e=r(n(99256));return g=function(){return e},e}function m(){const e=r(n(90812));return m=function(){return e},e}function h(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(44704));return h=function(){return e},e}function _(){const e=n(29938);return _=function(){return e},e}function v(){const e=n(24863);return v=function(){return e},e}function y(){const e=n(58790);return y=function(){return e},e}function b(){const e=n(76863);return b=function(){return e},e}function R(){const e=n(13349);return R=function(){return e},e}function E(){const e=n(74234);return E=function(){return e},e}function S(){const e=n(66733);return S=function(){return e},e}function O(){const e=n(75334);return O=function(){return e},e}function w(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}n(31567),n(92619);class C{constructor(e,t,n,r,s,l,d,p){this.componentUI=e,this.componentCompareUI=t,this.routeSlot=n,this.navSlot=r,this.menuWidgetSlot=s,this.overviewSlot=l,this.workspace=d,this.scope=p,(0,o().default)(this,"lanesHost",void 0),(0,o().default)(this,"hostAspect",void 0),(0,o().default)(this,"host",void 0),(0,o().default)(this,"getLaneComponentIdFromUrl",(()=>{const e=(0,h().useIdFromLocation)(),{lanesModel:t}=(0,R().useLanes)(),n=(0,S().useViewedLaneFromUrl)();return!e||null!==n&&void 0!==n&&n.isDefault()||null===t||void 0===t?void 0:t.resolveComponentFromUrl(e,n)})),(0,o().default)(this,"useComponentId",(()=>{var e;return null===(e=this.getLaneComponentIdFromUrl())||void 0===e?void 0:e.toString()})),(0,o().default)(this,"useComponentFilters",(()=>{const e=this.getLaneComponentIdFromUrl();return{log:e&&{logHead:e.version}}})),(0,o().default)(this,"renderContext",(({children:e})=>i().default.createElement(R().LanesProvider,null,e))),(0,o().default)(this,"getLaneCompare",(e=>{const t=this.componentCompareUI.routes,n=this.componentCompareUI.navLinks,r=(e,t)=>{var n;return 1===e.length?e[0].element:t?null===(n=e.find((e=>{var n;return null===(n=e.path)||void 0===n?void 0:n.startsWith(t)})))||void 0===n?void 0:n.element:void 0},o=(0,c().flatten)(Array.from(n.entries()).map((([e,n])=>{const a=t.get(e),o=a&&(Array.isArray(a)?[...a]:[a])||[];return n.map((t=>({id:`${e}-${t.props.href}`,order:t.order,props:t.props,element:r(o,t.props.href)})))})));return e.base&&e.compare?i().default.createElement(u().LaneCompare,(0,a().default)({},e,{base:e.base,compare:e.compare,host:e.host||this.host,tabs:e.tabs||o})):null})),this.hostAspect=d||p,this.lanesHost=d?"workspace":"scope",this.host=d?m().default.id:g().default.id}registerHostAspectRoutes(){this.hostAspect&&(this.hostAspect.registerRoutes(this.getLaneRoutes()),this.hostAspect.registerMenuRoutes(this.getMenuRoutes()))}getLaneRoutes(){return[{path:b().LanesModel.lanesPrefix,children:i().default.createElement(i().default.Fragment,null,i().default.createElement(s().Route,{path:b().LanesModel.lanePath},i().default.createElement(s().Route,{index:!0,element:this.getLaneOverview()}),i().default.createElement(s().Route,{path:"~component/*",element:this.getLaneComponent()}),i().default.createElement(s().Route,{path:"*",element:i().default.createElement(f().NotFoundPage,null)})),i().default.createElement(s().Route,{path:"*",element:i().default.createElement(f().NotFoundPage,null)}))}]}overrideComputeLaneUrl(e){const{prefix:t,path:n,getLaneComponentUrl:r,getLaneIdFromPathname:a,getLaneUrl:o}=e();b().LanesModel.lanesPrefix=t,b().LanesModel.lanePath=n,b().LanesModel.getLaneComponentUrl=r,b().LanesModel.getLaneUrl=o,b().LanesModel.getLaneIdFromPathname=a}getLaneComponent(){return this.componentUI.getComponentUI(this.host,{componentId:this.useComponentId,useComponentFilters:this.useComponentFilters})}getLaneComponentMenu(){return this.componentUI.getMenu(this.host,{componentId:this.useComponentId,useComponentFilters:this.useComponentFilters})}getLaneOverview(){return i().default.createElement(_().LaneOverview,{routeSlot:this.routeSlot,overviewSlot:this.overviewSlot,host:this.lanesHost})}getMenuRoutes(){return[{path:b().LanesModel.lanesPrefix,children:i().default.createElement(s().Route,{path:`${b().LanesModel.lanePath}/*`},i().default.createElement(s().Route,{path:"*",element:this.getLanesOverviewMenu()}),i().default.createElement(s().Route,{path:"~component/*",element:this.getLaneComponentMenu()}))}]}getLanesOverviewMenu(){return i().default.createElement(v().LanesOverviewMenu,{navigationSlot:this.navSlot,widgetSlot:this.menuWidgetSlot})}registerMenuWidget(...e){this.menuWidgetSlot.register(e)}registerLanesRoutes(){this.registerNavigation([{props:{href:".",exact:!0,children:"Overview"},order:1},{props:{href:"~compare",children:"Lane Compare"},order:2,hide:()=>!0}])}registerRoutes(){this.registerHostAspectRoutes(),this.registerLanesRoutes()}getLanesSwitcher(){return i().default.createElement(E().LaneSwitcher,{groupByScope:"workspace"===this.lanesHost})}getLanesProvider(){return R().LanesProvider}getUseLanes(){return R().useLanes}registerLanesDropdown(){var e;const t=this.getLanesSwitcher();null===(e=this.hostAspect)||void 0===e||e.registerSidebarLink({component:function(){return t},weight:1e3})}registerRoute(e){return this.routeSlot.register(e),this}registerOverviewLine(...e){return this.overviewSlot.register(e),this}registerNavigation(e){this.navSlot.register(e)}static async provider([e,t,n,r,a],o,[s,c,l,u],d){const{config:p}=d,f=String(p.get("teambit.harmony/bit"));let h,_;f===m().default.id&&(h=n),f===g().default.id&&(_=r);const v=new C(t,a,s,l,c,u,h,_);return e&&e.registerRenderHooks({reactContext:v.renderContext}),v.registerRoutes(),v.registerMenuWidget((()=>{const{lanesModel:e}=(0,R().useLanes)();if(null===e||void 0===e||!e.viewedLane)return null;const{viewedLane:t,currentLane:n}=e;return i().default.createElement(y().UseLaneMenu,{host:v.lanesHost,viewedLaneId:t.id,currentLaneId:null===n||void 0===n?void 0:n.id})})),v.registerLanesDropdown(),v}}(0,o().default)(C,"dependencies",[d().UIAspect,h().default,m().default,g().default,O().ComponentCompareAspect]),(0,o().default)(C,"runtime",d().UIRuntime),(0,o().default)(C,"slots",[l().Slot.withType(),l().Slot.withType(),l().Slot.withType(),l().Slot.withType()]),p().LanesAspect.addRuntime(C)},56424:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION_DELIMITER=void 0;const s=i(n(84820)),c=o(n(45919)),l=o(n(6089)),u=n(61436),d=n(81530),p=i(n(47426)),f=i(n(31492)),g=n(32147);t.VERSION_DELIMITER="@";class m{constructor({scope:e,box:t,name:n,version:r}){if(!n)throw new g.InvalidName(n);this.scope=e||null,this.box=void 0,this.name=t?`${t}/${n}`:n,this.version=r||void 0,Object.freeze(this)}clone(){return new m(this)}changeScope(e){return new m({scope:e,name:this.name,version:this.version})}changeVersion(e){return new m({scope:this.scope,name:this.name,version:e})}isLocal(e){return!this.scope||Boolean(e&&e===this.scope)}getVersion(){return(0,d.versionParser)(this.version)}hasVersion(){return Boolean(this.version&&this.version!==d.LATEST_VERSION)}hasScope(){return Boolean(this.scope)}hasSameName(e){return this.name===e.name}hasSameScope(e){return this.hasScope()&&e.hasScope()?this.scope===e.scope:!this.hasScope()&&!e.hasScope()}hasSameVersion(e){return this.hasVersion()&&e.hasVersion()?this.version===e.version:!this.hasVersion()&&!e.hasVersion()}toString(e=!1,n=!1){const{name:r,version:a}=this,o=this.scope,i=e||!o?r:[o,r].join("/");return n||!this.hasVersion()?i:i.concat(`${t.VERSION_DELIMITER}${a}`)}toStringWithoutScope(){return this.toString(!0)}toStringWithoutVersion(){return this.toString(!1,!0)}toStringWithoutScopeAndVersion(){return this.toString(!0,!0)}isEqual(e){return this.hasSameName(e)&&this.hasSameScope(e)&&this.hasSameVersion(e)}isEqualWithoutVersion(e){return this.hasSameName(e)&&this.hasSameScope(e)}isEqualWithoutScopeAndVersion(e){return this.hasSameName(e)}serialize(){const e={scope:this.scope,name:this.name,version:this.version};return this.hasVersion()||delete e.version,this.hasScope()||delete e.scope,e}toFullPath(){if(!this.scope||!this.version)throw new Error("BitId.toFullPath is unable to generate a path without a scope or a version");return c.join(this.name,this.scope,this.version)}isVersionSnap(){return(0,d.isHash)(this.version)}getVersionPreReleaseData(){return this.version?l.prerelease(this.version):null}static getStringWithoutVersion(e){const n=e.split(t.VERSION_DELIMITER);let r=n[0];return e.startsWith(t.VERSION_DELIMITER)&&(r=`${t.VERSION_DELIMITER}${n[1]}`),r}static getVersionOnlyFromString(e){return e.split(t.VERSION_DELIMITER)[1]}static parse(e,n=!0,r=d.LATEST_VERSION){if("string"!==typeof e)throw new TypeError('BitId.parse expects to get "id" as a string, instead, got '+typeof e);if(e.includes(t.VERSION_DELIMITER)&&e.lastIndexOf(t.VERSION_DELIMITER)>0){const[n,a]=e.split(t.VERSION_DELIMITER);e=n,r=a}const{scope:a,name:o}=n?m.getScopeAndName(e):{scope:void 0,name:e};if(!(0,p.default)(o))throw new g.InvalidName(o);if(a&&!(0,f.default)(a))throw new g.InvalidScopeName(a,e);return new m({scope:a,name:o,version:r})}static getScopeAndName(e){const t=e.indexOf("/");if(t<0)throw new g.InvalidBitId(e);return{scope:e.substring(0,t),name:e.substring(t+1)}}static parseObsolete(e,n=d.LATEST_VERSION){if(e.includes(t.VERSION_DELIMITER)){const[r,a]=e.split(t.VERSION_DELIMITER);e=r,n=a}const r=e.split("/");if(3===r.length){const[e,t,a]=r;if(!(0,p.default)(a,!1)||!(0,p.default)(t,!1)||!(0,f.default)(e))throw new g.InvalidIdChunk(`${e}/${t}/${a}`);return new m({scope:e,box:t,name:a,version:n})}if(2===r.length){const[e,t]=r;if(!(0,p.default)(t,!1)||!(0,p.default)(e,!1))throw new g.InvalidIdChunk(`${e}/${t}`);return new m({box:e,name:t,version:n})}if(1===r.length){const[e]=r;if(!(0,p.default)(e))throw new g.InvalidIdChunk(e);return new m({name:e,version:n})}throw new g.InvalidBitId(e)}static parseBackwardCompatible(e){return"string"===typeof e?m.parseObsolete(e):new m(e)}static getValidScopeName(e){let t=e.toLowerCase().split("").map((e=>/^[$\-_!.a-z0-9]+$/.test(e)?e:"")).join("");const n=t.split(".");if(n.length>1&&(t=`${(0,u.head)(n)}.${(0,u.tail)(n).join("")}`),!t)throw new Error("scope name created by directory name have to contains at least one character or number");return t}static getValidIdChunk(e){return(0,p.default)(e)||(e=(e=e.replace(/\./g,"")).replace(/ /g,"-"),e=(0,s.default)(e,"-")),e}static getValidBitId(e,t){return new m({name:m.getValidIdChunk(t),box:e?m.getValidIdChunk(e):void 0})}static isValidVersion(e){return m.isValidSemver(e)||(0,d.isHash)(e)}static isValidSemver(e){return Boolean(l.valid(e))}}t.default=m},32147:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidScopeNameFromRemote=t.InvalidScopeName=t.InvalidName=t.InvalidIdChunk=t.InvalidBitId=void 0;const a=r(n(16807));t.InvalidBitId=a.default;const o=r(n(33545));t.InvalidIdChunk=o.default;const i=r(n(97940));t.InvalidName=i.default;const s=r(n(56469));t.InvalidScopeName=s.default;const c=r(n(19923));t.InvalidScopeNameFromRemote=c.default},16807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(86937);class a extends r.BitError{constructor(e){super(`error: component ID "${e}" is invalid, please use the following format: [scope]/`)}}t.default=a},33545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(86937);class a extends r.BitError{constructor(e){super(`error: "${e}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t.default=a},97940:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(86937);class a extends r.BitError{constructor(e){super(`error: "${e}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}t.default=a},19923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(86937);class a extends r.BitError{constructor(e){super(`cannot find scope '${e}'.\nif you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via "bit remote" command) and that the scope name is correct.\nif this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`)}}t.default=a},56469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(86937);class a extends r.BitError{constructor(e,t,n){super(`error: "${t||e}" ${n?`configured in variant "${n}" `:""}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t.default=a},93898:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidScopeNameFromRemote=t.InvalidScopeName=t.InvalidName=t.isValidScopeName=t.VERSION_DELIMITER=t.BitId=void 0;const s=o(n(56424));t.BitId=s.default,Object.defineProperty(t,"VERSION_DELIMITER",{enumerable:!0,get:function(){return s.VERSION_DELIMITER}});const c=n(32147);Object.defineProperty(t,"InvalidName",{enumerable:!0,get:function(){return c.InvalidName}}),Object.defineProperty(t,"InvalidScopeName",{enumerable:!0,get:function(){return c.InvalidScopeName}}),Object.defineProperty(t,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return c.InvalidScopeNameFromRemote}});const l=i(n(31492));t.isValidScopeName=l.default},47426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^[-_a-z0-9/]+$/,r=/^[-_a-z0-9]+$/;t.default=function(e,t=!0){return"string"===typeof e&&(!e.includes("//")&&(t?n:r).test(e))}},31492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;t.default=function(e){return"string"===typeof e&&n.test(e)}},4094:(e,t,n)=>{const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"===typeof e)try{e=new u(e,this.options)}catch(t){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),r=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,i=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||l}}e.exports=a;const o=n(62737),{re:i,t:s}=n(34593),c=n(40878),l=n(74791),u=n(1263),d=n(84726)},84726:(e,t,n)=>{class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],f)).split(/\s+/).join(" ");const c=r?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map((e=>_(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options))).filter(this.options.loose?e=>!!e.match(c):()=>!0).map((e=>new i(e,this.options))),h=(m.length,new Map);for(const a of m){if(g(a))return[a];h.set(a.value,a)}h.size>1&&h.has("")&&h.delete("");const v=[...h.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>h(n,t)&&e.set.some((e=>h(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"===typeof e)try{e=new c(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},_=(e,t)=>(s("comp",e,t),e=R(e,t),s("caret",e),e=y(e,t),s("tildes",e),e=S(e,t),s("xrange",e),e=w(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},R=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let c;return s("caret",e,t,n,a,o,i),v(n)?c="":v(a)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?c="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),c="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",c),c}))},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,a,o,i,c)=>{s("xRange",e,n,r,a,o,i,c);const l=v(a),u=l||v(o),d=u||v(i),p=d;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(c="-0"),n=`${r+a}.${o}.${i}${c}`):u?n=`>=${a}.0.0${c} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${o}.0${c} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},w=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,n,r,a,o,i,s,c,l,u,d,p,f)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=v(l)?"":v(u)?`<${+l+1}.0.0-0`:v(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`}`.trim(),x=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},1263:(e,t,n)=>{const r=n(74791),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(40085),{re:i,t:s}=n(34593),c=n(62737),{compareIdentifiers:l}=n(53206);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!==typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"===typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},18146:(e,t,n)=>{const r=n(66645);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},40878:(e,t,n)=>{const r=n(59005),a=n(74210),o=n(59832),i=n(11375),s=n(70350),c=n(23395);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e===n;case"!==":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return a(e,n,l);case">":return o(e,n,l);case">=":return i(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},76389:(e,t,n)=>{const r=n(1263),a=n(66645),{re:o,t:i}=n(34593);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"===typeof e&&(e=String(e)),"string"!==typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},73626:(e,t,n)=>{const r=n(1263);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},65196:(e,t,n)=>{const r=n(65775);e.exports=(e,t)=>r(e,t,!0)},65775:(e,t,n)=>{const r=n(1263);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},30591:(e,t,n)=>{const r=n(66645),a=n(59005);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},59005:(e,t,n)=>{const r=n(65775);e.exports=(e,t,n)=>0===r(e,t,n)},59832:(e,t,n)=>{const r=n(65775);e.exports=(e,t,n)=>r(e,t,n)>0},11375:(e,t,n)=>{const r=n(65775);e.exports=(e,t,n)=>r(e,t,n)>=0},92751:(e,t,n)=>{const r=n(1263);e.exports=(e,t,n,a)=>{"string"===typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(o){return null}}},70350:(e,t,n)=>{const r=n(65775);e.exports=(e,t,n)=>r(e,t,n)<0},23395:(e,t,n)=>{const r=n(65775);e.exports=(e,t,n)=>r(e,t,n)<=0},18157:(e,t,n)=>{const r=n(1263);e.exports=(e,t)=>new r(e,t).major},92441:(e,t,n)=>{const r=n(1263);e.exports=(e,t)=>new r(e,t).minor},74210:(e,t,n)=>{const r=n(65775);e.exports=(e,t,n)=>0!==r(e,t,n)},66645:(e,t,n)=>{const{MAX_LENGTH:r}=n(40085),{re:a,t:o}=n(34593),i=n(1263),s=n(62737);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!==typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(n){return null}}},26491:(e,t,n)=>{const r=n(1263);e.exports=(e,t)=>new r(e,t).patch},7116:(e,t,n)=>{const r=n(66645);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},94231:(e,t,n)=>{const r=n(65775);e.exports=(e,t,n)=>r(t,e,n)},31509:(e,t,n)=>{const r=n(73626);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},80280:(e,t,n)=>{const r=n(84726);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(a){return!1}return t.test(e)}},63740:(e,t,n)=>{const r=n(73626);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},9468:(e,t,n)=>{const r=n(66645);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},6089:(e,t,n)=>{const r=n(34593);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(40085).SEMVER_SPEC_VERSION,SemVer:n(1263),compareIdentifiers:n(53206).compareIdentifiers,rcompareIdentifiers:n(53206).rcompareIdentifiers,parse:n(66645),valid:n(9468),clean:n(18146),inc:n(92751),diff:n(30591),major:n(18157),minor:n(92441),patch:n(26491),prerelease:n(7116),compare:n(65775),rcompare:n(94231),compareLoose:n(65196),compareBuild:n(73626),sort:n(63740),rsort:n(31509),gt:n(59832),lt:n(70350),eq:n(59005),neq:n(74210),gte:n(11375),lte:n(23395),cmp:n(40878),coerce:n(76389),Comparator:n(4094),Range:n(84726),satisfies:n(80280),toComparators:n(99255),maxSatisfying:n(62135),minSatisfying:n(53825),minVersion:n(25264),validRange:n(49080),outside:n(58358),gtr:n(99029),ltr:n(15740),intersects:n(18973),simplifyRange:n(73101),subset:n(23217)}},40085:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},74791:(e,t,n)=>{var r=n(20038);const a="object"===typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=a},53206:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:en(t,e)}},62737:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!==typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},34593:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(40085),a=n(74791),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),l("FULL",`^${i[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),l("LOOSE",`^${i[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),l("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",i[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},99029:(e,t,n)=>{const r=n(58358);e.exports=(e,t,n)=>r(e,t,">",n)},18973:(e,t,n)=>{const r=n(84726);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},15740:(e,t,n)=>{const r=n(58358);e.exports=(e,t,n)=>r(e,t,"<",n)},62135:(e,t,n)=>{const r=n(1263),a=n(84726);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},53825:(e,t,n)=>{const r=n(1263),a=n(84726);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},25264:(e,t,n)=>{const r=n(1263),a=n(84726),o=n(59832);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let a=0;a{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},58358:(e,t,n)=>{const r=n(1263),a=n(4094),{ANY:o}=a,i=n(84726),s=n(80280),c=n(59832),l=n(70350),u=n(23395),d=n(11375);e.exports=(e,t,n,p)=>{let f,g,m,h,_;switch(e=new r(e,p),t=new i(t,p),n){case">":f=c,g=u,m=l,h=">",_=">=";break;case"<":f=l,g=d,m=c,h="<",_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;r{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,f(e.semver,i.semver,p)?i=e:m(e.semver,s.semver,p)&&(s=e)})),i.operator===h||i.operator===_)return!1;if((!s.operator||s.operator===h)&&g(e,s.semver))return!1;if(s.operator===_&&m(e,s.semver))return!1}return!0}},73101:(e,t,n)=>{const r=n(80280),a=n(65775);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const c=e.sort(((e,t)=>a(e,t,n)));for(const a of c){r(a,t,n)?(s=a,i||(i=a)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const l=[];for(const[r,a]of o)r===a?l.push(r):a||r!==c[0]?a?r===c[0]?l.push(`<=${a}`):l.push(`${r} - ${a}`):l.push(`>=${r}`):l.push("*");const u=l.join(" || "),d="string"===typeof t.raw?t.raw:String(t);return u.length{const r=n(84726),{ANY:a}=n(4094),o=n(80280),i=n(65775),s=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a)return 1===t.length&&t[0].semver===a;const r=new Set;let s,u,d,p,f,g,m;for(const a of e)">"===a.operator||">="===a.operator?s=c(s,a,n):"<"===a.operator||"<="===a.operator?u=l(u,a,n):r.add(a.semver);if(r.size>1)return null;if(s&&u){if(d=i(s.semver,u.semver,n),d>0)return null;if(0===d&&(">="!==s.operator||"<="!==u.operator))return null}for(const a of r){if(s&&!o(a,String(s),n))return null;if(u&&!o(a,String(u),n))return null;for(const e of t)if(!o(a,String(e),n))return!1;return!0}for(const a of t){if(m=m||">"===a.operator||">="===a.operator,g=g||"<"===a.operator||"<="===a.operator,s)if(">"===a.operator||">="===a.operator){if(p=c(s,a,n),p===a&&p!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(a),n))return!1;if(u)if("<"===a.operator||"<="===a.operator){if(f=l(u,a,n),f===a&&f!==u)return!1}else if("<="===u.operator&&!o(u.semver,String(a),n))return!1;if(!a.operator&&(u||s)&&0!==d)return!1}return!(s&&g&&!u&&0!==d)&&!(u&&m&&!s&&0!==d)},c=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=s(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},99255:(e,t,n)=>{const r=n(84726);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},49080:(e,t,n)=>{const r=n(84726);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(n){return null}}},59957:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class o extends Error{constructor(){super(),(0,a().default)(this,"isUserError",void 0),this.name=this.constructor.name,this.isUserError=!0}}t.default=o},63943:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e){super(),(0,a().default)(this,"originalError",void 0),this.originalError=e}}t.default=i},95242:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(4431));return a=function(){return e},e}function o(){const e=r(n(3267));return o=function(){return e},e}function i(){const e=n(82198);return i=function(){return e},e}function s(e,t){return"undefined"!==typeof t?t:e.getHeadRegardlessOfLane()}async function c(e){const{repo:t,modelComponent:n,throws:r,versionObjects:a,startFrom:o,stopAt:i}=e,c=s(n,o);if(!c)return[];const l=function(e,t,n){const r=[],a=e=>Boolean(null===n||void 0===n?void 0:n.find((t=>t.isEqual(e)))),o=t=>e.find((e=>e.hash.isEqual(t))),i=e=>Boolean(r.find((t=>t.hash.isEqual(e)))),s=e=>{r.push(e),e.parents.forEach((e=>{if(a(e))return;if(i(e))return;const t=o(e);t&&s(t)}))},c=o(t);return!c||a(c.hash)?[]:(s(c),r)}(await u({repo:t,modelComponent:n,throws:r,versionObjects:a,heads:[c]}),c,i);return l.map((e=>e.hash))}n(64679),Object.defineProperty(t,"__esModule",{value:!0}),t.getAllVersionHashes=c,t.getAllVersionHashesMemoized=void 0,t.getAllVersionParents=u,t.getAllVersionsInfo=async function({modelComponent:e,repo:t,throws:n=!0,versionObjects:r,startFrom:a,stopAt:c}){var l;const u=[],d=async e=>{if(!r&&!t)throw new TypeError("getAllVersionsInfo expect to get either repo or versionObjects");const n=null===r||void 0===r?void 0:r.find((t=>t.hash().isEqual(e)));return n||(t?await e.load(t):void 0)},p=s(e,a);if(!p)return u;const f=null===(l=e.getHead())||void 0===l?void 0:l.toString();let g=p.toString()===f;const m={ref:p,tag:e.getTagOfRefIfExists(p),parents:[],onLane:!g},h=e=>Boolean(null===c||void 0===c?void 0:c.find((t=>t.isEqual(e)))),_=await d(p);if(_){if(h(_.hash()))return[];m.version=_,m.parents=_.parents}else if(m.error=new(i().HeadNotFound)(e.id(),p.toString()),n)throw m.error;u.push(m);const v=async t=>{await(0,o().default)(t.parents,(async r=>{if(h(r))return;if(a=r,Boolean(u.find((e=>e.ref.isEqual(a)))))return;var a;const o=await d(r);g||(g=(null===o||void 0===o?void 0:o._hash)===f);const s={ref:r,tag:e.getTagOfRefIfExists(r),isPartOfHistory:!0,parents:(null===o||void 0===o?void 0:o.parents)||[],onLane:!g};if(o)s.version=o;else if(s.error=s.tag?new(i().VersionNotFound)(s.tag,e.id()):new(i().ParentNotFound)(e.id(),t.hash().toString(),r.toString()),n)throw s.error;u.push(s),o&&await v(o)}))};_&&await v(_);return u},t.getVersionParentsFromVersion=d,t.hasVersionByRef=async function(e,t,n,r){return(await c({modelComponent:e,repo:n,startFrom:r})).some((e=>e.isEqual(t)))};const l=(0,a().default)(c,{normalizer:e=>JSON.stringify(e[0]),promise:!0,maxAge:1});async function u({repo:e,modelComponent:t,heads:n,throws:r,versionObjects:a}){const i=await t.GetVersionHistory(e),s=[],c=e=>{const t=s.find((t=>t.hash.isEqual(e.hash)));t?Object.keys(t).forEach((n=>t[n]=e[n])):s.push(e)};if(await(0,o().default)(n,(async n=>{const{err:a,added:o}=await t.populateVersionHistoryIfMissingGracefully(e,i,n);if(a){if(r){const e=new Error(a.message);throw a.stack=`${a.stack}\nCurrent stack ${e.stack}`,a}o&&o.forEach((e=>c(e)))}else i.versions.forEach((e=>c(e)))})),a){a.map((e=>d(e))).forEach((e=>c(e)))}return s}function d(e){var t,n;return{hash:e.hash(),parents:e.parents,unrelated:null===(t=e.unrelated)||void 0===t?void 0:t.head,squashed:null===(n=e.squashed)||void 0===n?void 0:n.previousParents}}t.getAllVersionHashesMemoized=l},92045:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(59957));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class o extends a().default{}t.default=o},29268:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(86937);return o=function(){return e},e}function i(){const e=r(n(99775));return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class s extends o().BitError{constructor(e,t){super(t?`error: the component dependency "${i().default.bold(e)}" required by "${i().default.bold(t)}" was not found`:`error: component "${i().default.bold(e)}" was not found`),(0,a().default)(this,"id",void 0),(0,a().default)(this,"dependentId",void 0),(0,a().default)(this,"code",void 0),this.code=127,this.id=e,this.dependentId=t}}t.default=s},21356:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e,t){super(),(0,a().default)(this,"id",void 0),(0,a().default)(this,"version",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.id=e,this.version=t,this.showDoctorMessage=!0}}t.default=i},37727:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e){super(),(0,a().default)(this,"msg",void 0),this.msg=e}}t.default=i},45713:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e,t,n,r){super(),(0,a().default)(this,"id",void 0),(0,a().default)(this,"version",void 0),(0,a().default)(this,"originalHash",void 0),(0,a().default)(this,"currentHash",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.id=e,this.version=t,this.originalHash=n,this.currentHash=r,this.showDoctorMessage=!0}}t.default=i},77286:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e){super(),(0,a().default)(this,"hash",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.hash=e,this.showDoctorMessage=!0}}t.default=i},52351:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(86937);return a=function(){return e},e}function o(){const e=r(n(99775));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends a().BitError{constructor(e,t){super(`head snap ${o().default.bold(t)} was not found for a component ${o().default.bold(e)}`)}}t.default=i},82198:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(92045));return a=function(){return e},e}function o(){const e=r(n(29268));return o=function(){return e},e}function i(){const e=r(n(21356));return i=function(){return e},e}function s(){const e=r(n(37727));return s=function(){return e},e}function c(){const e=r(n(45713));return c=function(){return e},e}function l(){const e=r(n(77286));return l=function(){return e},e}function u(){const e=r(n(52351));return u=function(){return e},e}function d(){const e=r(n(97604));return d=function(){return e},e}function p(){const e=r(n(9735));return p=function(){return e},e}function f(){const e=r(n(88357));return f=function(){return e},e}function g(){const e=r(n(65002));return g=function(){return e},e}function m(){const e=r(n(16346));return m=function(){return e},e}function h(){const e=r(n(26849));return h=function(){return e},e}function _(){const e=r(n(47274));return _=function(){return e},e}function v(){const e=r(n(2048));return v=function(){return e},e}function y(){const e=r(n(12655));return y=function(){return e},e}function b(){const e=r(n(99064));return b=function(){return e},e}function R(){const e=r(n(306));return R=function(){return e},e}function E(){const e=r(n(56828));return E=function(){return e},e}function S(){const e=n(84764);return S=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BitNotInScope",{enumerable:!0,get:function(){return a().default}}),Object.defineProperty(t,"ComponentNotFound",{enumerable:!0,get:function(){return o().default}}),Object.defineProperty(t,"CorruptedComponent",{enumerable:!0,get:function(){return i().default}}),Object.defineProperty(t,"CyclicDependencies",{enumerable:!0,get:function(){return s().default}}),Object.defineProperty(t,"HashMismatch",{enumerable:!0,get:function(){return c().default}}),Object.defineProperty(t,"HashNotFound",{enumerable:!0,get:function(){return l().default}}),Object.defineProperty(t,"HeadNotFound",{enumerable:!0,get:function(){return u().default}}),Object.defineProperty(t,"InvalidIndexJson",{enumerable:!0,get:function(){return d().default}}),Object.defineProperty(t,"MergeConflict",{enumerable:!0,get:function(){return p().default}}),Object.defineProperty(t,"MergeConflictOnRemote",{enumerable:!0,get:function(){return f().default}}),Object.defineProperty(t,"OutdatedIndexJson",{enumerable:!0,get:function(){return g().default}}),Object.defineProperty(t,"ParentNotFound",{enumerable:!0,get:function(){return m().default}}),Object.defineProperty(t,"ResolutionException",{enumerable:!0,get:function(){return h().default}}),Object.defineProperty(t,"ScopeAlreadyExists",{enumerable:!0,get:function(){return _().default}}),Object.defineProperty(t,"ScopeJsonNotFound",{enumerable:!0,get:function(){return v().default}}),Object.defineProperty(t,"ScopeNotFound",{enumerable:!0,get:function(){return y().default}}),Object.defineProperty(t,"SourceNotFound",{enumerable:!0,get:function(){return b().default}}),Object.defineProperty(t,"VersionAlreadyExists",{enumerable:!0,get:function(){return R().default}}),Object.defineProperty(t,"VersionNotFound",{enumerable:!0,get:function(){return E().default}}),Object.defineProperty(t,"VersionNotFoundOnFS",{enumerable:!0,get:function(){return S().VersionNotFoundOnFS}})},97604:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e,t){super(),(0,a().default)(this,"path",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.path=e,this.message=t,this.showDoctorMessage=!0}}t.default=i},88357:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(99775));return o=function(){return e},e}function i(){const e=n(86937);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class s extends i().BitError{constructor(e,t){let n="";e.length&&(n+=`error: merge conflict occurred when exporting the component(s) ${e.map((e=>`${o().default.bold(e.id)} (version(s): ${e.versions.join(", ")})`)).join(", ")} to the remote scope.\nto resolve this conflict and merge your remote and local changes, please do the following:\n1) bit reset [component-pattern] [--all]\n2) bit checkout head [component-pattern]\nonce your changes are merged with the new remote version, please tag and export a new version of the component to the remote scope.`),t.length&&(n+=`error: merge error occurred when exporting the component(s) ${t.map((e=>`${o().default.bold(e.id)}${e.lane?` (lane: ${e.lane})`:""}`)).join(", ")} to the remote scope.\nto resolve this error, please re-import the above components.\nif the component is up to date, run "bit status" to make sure it's not merge-pending`),super(n),(0,a().default)(this,"code",void 0),this.code=131}}t.default=s},9735:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(86937);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().BitError{constructor(e,t){super(`error: merge conflict occurred while importing the component ${e}. conflict version(s): ${t.join(", ")}\nto resolve it and merge your local and remote changes, please do the following:\n1) bit reset ${e} ${t.join(" ")}\n2) bit import\n3) bit checkout ${t.join(" ")} ${e}\nonce your changes are merged with the new remote version, you can tag and export a new version of the component to the remote scope.`),(0,a().default)(this,"id",void 0),(0,a().default)(this,"versions",void 0),this.id=e,this.versions=t}}t.default=i},65002:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class o extends Error{constructor(e,t){super(),(0,a().default)(this,"id",void 0),(0,a().default)(this,"indexJsonPath",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.id=e,this.indexJsonPath=t,this.showDoctorMessage=!0}}t.default=o},16346:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(86937);return a=function(){return e},e}function o(){const e=r(n(99775));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends a().BitError{constructor(e,t,n){super(`component ${o().default.bold(e)} missing data. parent ${n} of version ${t} was not found.`),this.id=e,this.versionHash=t,this.parentHash=n}}t.default=i},26849:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(63943));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e,t){super(e),(0,a().default)(this,"filePath",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.filePath=t,this.showDoctorMessage=!0}}t.default=i},47274:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(59957));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class o extends a().default{}t.default=o},2048:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e){super(),(0,a().default)(this,"path",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.path=e,this.showDoctorMessage=!0}}t.default=i},12655:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e){super(),(0,a().default)(this,"scopePath",void 0),this.scopePath=e}}t.default=i},99064:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(59957));return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class o extends a().default{}t.default=o},306:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(59957));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends o().default{constructor(e,t){super(),(0,a().default)(this,"version",void 0),(0,a().default)(this,"componentId",void 0),(0,a().default)(this,"showDoctorMessage",void 0),this.version=e,this.componentId=t,this.showDoctorMessage=!0}}t.default=i},84764:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(86937);return a=function(){return e},e}function o(){const e=r(n(99775));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.VersionNotFoundOnFS=void 0;class i extends a().BitError{constructor(e,t){super(`error: version "${o().default.bold(e)}" of component ${o().default.bold(t)} was not found on the filesystem.\ntry running "bit import". if it doesn't help, try running "bit import ${t} --objects"`)}}t.VersionNotFoundOnFS=i},56828:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=n(86937);return a=function(){return e},e}function o(){const e=r(n(99775));return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i extends a().BitError{constructor(e,t){super(`error: version "${o().default.bold(e)}" of component ${o().default.bold(t)} was not found.`)}}t.default=i},20074:(e,t,n)=>{"use strict";var r=n(20038);function a(){const e=n(71232);return a=function(){return e},e}n(8223),n(43730),Object.defineProperty(t,"__esModule",{value:!0}),t.auto=function(e){return s(e,o)},t.cr=function(e){return s(e,"\r")},t.crlf=function(e){return s(e,"\r\n")},t.lf=function(e){return s(e,"\n")};const o="undefined"!==typeof r&&"win32"===r.platform?"\r\n":"\n",i=/\r\n|\r|\n/g;function s(e,t){if(Buffer.isBuffer(e)){if((0,a().isBinaryFileSync)(e))return e;const n=e.toString(),r=n.replace(i,t);return n!==r?Buffer.from(r):e}return e.toString().replace(i,t)}},15581:(e,t,n)=>{"use strict";function r(){const e=n(79474);return r=function(){return e},e}function a(){const e=n(81530);return a=function(){return e},e}function o(e){return["major","premajor","minor","preminor","patch","prepatch","prerelease"].includes(e)}function i(e){return["patch","minor","major","prerelease"].includes(e)}function s(e){if(!i(e))throw new Error(`the release-type "${e}" is not supported`)}function c(e){if(e){const t=(0,r().valid)(e);if(!t)throw new(a().InvalidVersion)(e);return t}}Object.defineProperty(t,"__esModule",{value:!0}),t.getLatestVersion=function(e){const t=(0,r().maxSatisfying)(e,"*",{includePrerelease:!0});if(!t)throw new Error(`unable to find the latest version from ${e.join(", ")}`);return t},t.getValidVersionOrReleaseType=function(e){if(o(e)){const t=e;return s(t),{releaseType:t}}return{exactVersion:c(e)}},t.isReleaseTypeSupported=i,t.isStrReleaseType=o,t.throwForUnsupportedReleaseType=s,t.validateVersion=c},21208:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},87400:(e,t,n)=>{"use strict";var r=n(19099).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},98794:e=>{e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},39092:(e,t,n)=>{var r=n(30178);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},30682:(e,t,n)=>{var r=n(12123),a=n(13235),o=n(2262),i=function(e){return function(t,n,i){var s,c=r(t),l=a(c.length),u=o(i,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},75673:(e,t,n)=>{var r=n(95536)("iterator"),a=!1;try{var o=0,i={next:function(){return{done:!!o++}},return:function(){a=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(s){}return n}},28243:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},95999:(e,t,n)=>{var r=n(35368),a=n(28243),o=n(95536)("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:i?a(t):"Object"==(r=a(t))&&"function"==typeof t.callee?"Arguments":r}},7452:(e,t,n)=>{var r=n(78798),a=n(66366),o=n(54071),i=n(48070);e.exports=function(e,t){for(var n=a(t),s=i.f,c=o.f,l=0;l{var r=n(57934),a=n(48070),o=n(89658);e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},89658:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},57934:(e,t,n)=>{var r=n(90287);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},37921:(e,t,n)=>{var r=n(96573),a=n(30178),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},59314:(e,t,n)=>{var r=n(89353);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},17467:(e,t,n)=>{var r=n(28243),a=n(96573);e.exports="process"==r(a.process)},5223:(e,t,n)=>{var r=n(89353);e.exports=/web0s(?!.*chrome)/i.test(r)},89353:(e,t,n)=>{var r=n(95210);e.exports=r("navigator","userAgent")||""},52269:(e,t,n)=>{var r,a,o=n(96573),i=n(89353),s=o.process,c=s&&s.versions,l=c&&c.v8;l?a=(r=l.split("."))[0]+r[1]:i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},42709:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},81104:(e,t,n)=>{var r=n(96573),a=n(54071).f,o=n(6659),i=n(51270),s=n(30575),c=n(7452),l=n(95530);e.exports=function(e,t){var n,u,d,p,f,g=e.target,m=e.global,h=e.stat;if(n=m?r:h?r[g]||s(g,{}):(r[g]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=a(n,u))&&f.value:n[u],!l(m?u:g+(h?".":"#")+u,e.forced)&&void 0!==d){if(typeof p===typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(n,u,p,e)}}},90287:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},12595:(e,t,n)=>{"use strict";n(8223);var r=n(51270),a=n(90287),o=n(95536),i=n(76225),s=n(6659),c=o("species"),l=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),u="$0"==="a".replace(/./,"$0"),d=o("replace"),p=!!/./[d]&&""===/./[d]("a","$0"),f=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var g=o(e),m=!a((function(){var t={};return t[g]=function(){return 7},7!=""[e](t)})),h=m&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[g]=/./[g]),n.exec=function(){return t=!0,null},n[g](""),!t}));if(!m||!h||"replace"===e&&(!l||!u||p)||"split"===e&&!f){var _=/./[g],v=n(g,""[e],(function(e,t,n,r,a){return t.exec===i?m&&!a?{done:!0,value:_.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),y=v[0],b=v[1];r(String.prototype,e,y),r(RegExp.prototype,g,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}d&&s(RegExp.prototype[g],"sham",!0)}},49453:(e,t,n)=>{var r=n(21208);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},95210:(e,t,n)=>{var r=n(42458),a=n(96573),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},19903:(e,t,n)=>{var r=n(95999),a=n(95091),o=n(95536)("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[r(e)]}},94815:(e,t,n)=>{var r=n(62477),a=Math.floor,o="".replace,i=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,n,c,l,u){var d=n+e.length,p=c.length,f=s;return void 0!==l&&(l=r(l),f=i),o.call(u,f,(function(r,o){var i;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":i=l[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>p){var u=a(s/10);return 0===u?r:u<=p?void 0===c[u-1]?o.charAt(1):c[u-1]+o.charAt(1):r}i=c[s-1]}return void 0===i?"":i}))}},96573:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},78798:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},33707:e=>{e.exports={}},88280:(e,t,n)=>{var r=n(96573);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},13886:(e,t,n)=>{var r=n(95210);e.exports=r("document","documentElement")},7671:(e,t,n)=>{var r=n(57934),a=n(90287),o=n(37921);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},72395:(e,t,n)=>{var r=n(90287),a=n(28243),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},29945:(e,t,n)=>{var r=n(21057),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},989:(e,t,n)=>{var r,a,o,i=n(35178),s=n(96573),c=n(30178),l=n(6659),u=n(78798),d=n(21057),p=n(32309),f=n(33707),g=s.WeakMap;if(i){var m=d.state||(d.state=new g),h=m.get,_=m.has,v=m.set;r=function(e,t){return t.facade=e,v.call(m,e,t),t},a=function(e){return h.call(m,e)||{}},o=function(e){return _.call(m,e)}}else{var y=p("state");f[y]=!0,r=function(e,t){return t.facade=e,l(e,y,t),t},a=function(e){return u(e,y)?e[y]:{}},o=function(e){return u(e,y)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},40874:(e,t,n)=>{var r=n(95536),a=n(95091),o=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},95530:(e,t,n)=>{var r=n(90287),a=/#|\.prototype\./,o=function(e,t){var n=s[i(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},30178:e=>{e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},72077:e=>{e.exports=!1},17477:(e,t,n)=>{var r=n(39092),a=n(40874),o=n(13235),i=n(49453),s=n(19903),c=n(52396),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var u,d,p,f,g,m,h,_=n&&n.that,v=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),R=i(t,_,1+v+b),E=function(e){return u&&c(u),new l(!0,e)},S=function(e){return v?(r(e),b?R(e[0],e[1],E):R(e[0],e[1])):b?R(e,E):R(e)};if(y)u=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(a(d)){for(p=0,f=o(e.length);f>p;p++)if((g=S(e[p]))&&g instanceof l)return g;return new l(!1)}u=d.call(e)}for(m=u.next;!(h=m.call(u)).done;){try{g=S(h.value)}catch(O){throw c(u),O}if("object"==typeof g&&g&&g instanceof l)return g}return new l(!1)}},52396:(e,t,n)=>{var r=n(39092);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},95091:e=>{e.exports={}},3051:(e,t,n)=>{var r,a,o,i,s,c,l,u,d=n(96573),p=n(54071).f,f=n(32260).set,g=n(59314),m=n(5223),h=n(17467),_=d.MutationObserver||d.WebKitMutationObserver,v=d.document,y=d.process,b=d.Promise,R=p(d,"queueMicrotask"),E=R&&R.value;E||(r=function(){var e,t;for(h&&(e=y.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(n){throw a?i():o=void 0,n}}o=void 0,e&&e.enter()},g||h||m||!_||!v?b&&b.resolve?(l=b.resolve(void 0),u=l.then,i=function(){u.call(l,r)}):i=h?function(){y.nextTick(r)}:function(){f.call(d,r)}:(s=!0,c=v.createTextNode(""),new _(r).observe(c,{characterData:!0}),i=function(){c.data=s=!s})),e.exports=E||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=t}},81705:(e,t,n)=>{var r=n(96573);e.exports=r.Promise},16860:(e,t,n)=>{var r=n(90287);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},35178:(e,t,n)=>{var r=n(96573),a=n(29945),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(a(o))},66962:(e,t,n)=>{"use strict";var r=n(21208),a=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new a(e)}},48070:(e,t,n)=>{var r=n(57934),a=n(7671),o=n(39092),i=n(79006),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=i(t,!0),o(n),a)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},54071:(e,t,n)=>{var r=n(57934),a=n(96557),o=n(89658),i=n(12123),s=n(79006),c=n(78798),l=n(7671),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=i(e),t=s(t,!0),l)try{return u(e,t)}catch(n){}if(c(e,t))return o(!a.f.call(e,t),e[t])}},13146:(e,t,n)=>{var r=n(95230),a=n(42709).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},80348:(e,t)=>{t.f=Object.getOwnPropertySymbols},95230:(e,t,n)=>{var r=n(78798),a=n(12123),o=n(30682).indexOf,i=n(33707);e.exports=function(e,t){var n,s=a(e),c=0,l=[];for(n in s)!r(i,n)&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},96557:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},66366:(e,t,n)=>{var r=n(95210),a=n(13146),o=n(80348),i=n(39092);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},42458:(e,t,n)=>{var r=n(96573);e.exports=r},50478:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},60014:(e,t,n)=>{var r=n(39092),a=n(30178),o=n(66962);e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},60830:(e,t,n)=>{var r=n(51270);e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},51270:(e,t,n)=>{var r=n(96573),a=n(6659),o=n(78798),i=n(30575),s=n(29945),c=n(989),l=c.get,u=c.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var c,l=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),(c=u(n)).source||(c.source=d.join("string"==typeof t?t:""))),e!==r?(l?!f&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},89397:(e,t,n)=>{var r=n(28243),a=n(76225);e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},76225:(e,t,n)=>{"use strict";var r=n(84188),a=n(89993),o=RegExp.prototype.exec,i=String.prototype.replace,s=o,c=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,u=void 0!==/()??/.exec("")[1];(c||u||l)&&(s=function(e){var t,n,a,s,d=this,p=l&&d.sticky,f=r.call(d),g=d.source,m=0,h=e;return p&&(-1===(f=f.replace("y","")).indexOf("g")&&(f+="g"),h=String(e).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==e[d.lastIndex-1])&&(g="(?: "+g+")",h=" "+h,m++),n=new RegExp("^(?:"+g+")",f)),u&&(n=new RegExp("^"+g+"$(?!\\s)",f)),c&&(t=d.lastIndex),a=o.call(p?n:d,h),p?a?(a.input=a.input.slice(m),a[0]=a[0].slice(m),a.index=d.lastIndex,d.lastIndex+=a[0].length):d.lastIndex=0:c&&a&&(d.lastIndex=d.global?a.index+a[0].length:t),u&&a&&a.length>1&&i.call(a[0],n,(function(){for(s=1;s{"use strict";var r=n(39092);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},89993:(e,t,n)=>{"use strict";var r=n(90287);function a(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},21845:e=>{e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},30575:(e,t,n)=>{var r=n(96573),a=n(6659);e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},51204:(e,t,n)=>{"use strict";var r=n(95210),a=n(48070),o=n(95536),i=n(57934),s=o("species");e.exports=function(e){var t=r(e),n=a.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},40245:(e,t,n)=>{var r=n(48070).f,a=n(78798),o=n(95536)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},32309:(e,t,n)=>{var r=n(10002),a=n(25771),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},21057:(e,t,n)=>{var r=n(96573),a=n(30575),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i},10002:(e,t,n)=>{var r=n(72077),a=n(21057);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.0",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},22722:(e,t,n)=>{var r=n(39092),a=n(21208),o=n(95536)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[o])?t:a(n)}},19099:(e,t,n)=>{var r=n(60555),a=n(21845),o=function(e){return function(t,n){var o,i,s=String(a(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):o:e?s.slice(c,c+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},32260:(e,t,n)=>{var r,a,o,i=n(96573),s=n(90287),c=n(49453),l=n(13886),u=n(37921),d=n(59314),p=n(17467),f=i.location,g=i.setImmediate,m=i.clearImmediate,h=i.process,_=i.MessageChannel,v=i.Dispatch,y=0,b={},R="onreadystatechange",E=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},S=function(e){return function(){E(e)}},O=function(e){E(e.data)},w=function(e){i.postMessage(e+"",f.protocol+"//"+f.host)};g&&m||(g=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},m=function(e){delete b[e]},p?r=function(e){h.nextTick(S(e))}:v&&v.now?r=function(e){v.now(S(e))}:_&&!d?(o=(a=new _).port2,a.port1.onmessage=O,r=c(o.postMessage,o,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&f&&"file:"!==f.protocol&&!s(w)?(r=w,i.addEventListener("message",O,!1)):r=R in u("script")?function(e){l.appendChild(u("script"))[R]=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:g,clear:m}},2262:(e,t,n)=>{var r=n(60555),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},12123:(e,t,n)=>{var r=n(72395),a=n(21845);e.exports=function(e){return r(a(e))}},60555:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},13235:(e,t,n)=>{var r=n(60555),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},62477:(e,t,n)=>{var r=n(21845);e.exports=function(e){return Object(r(e))}},79006:(e,t,n)=>{var r=n(30178);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},35368:(e,t,n)=>{var r={};r[n(95536)("toStringTag")]="z",e.exports="[object z]"===String(r)},25771:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},59432:(e,t,n)=>{var r=n(16860);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},95536:(e,t,n)=>{var r=n(96573),a=n(10002),o=n(78798),i=n(25771),s=n(16860),c=n(59432),l=a("wks"),u=r.Symbol,d=c?u:u&&u.withoutSetter||i;e.exports=function(e){return o(l,e)||(s&&o(u,e)?l[e]=u[e]:l[e]=d("Symbol."+e)),l[e]}},64679:(e,t,n)=>{"use strict";var r,a,o,i,s=n(81104),c=n(72077),l=n(96573),u=n(95210),d=n(81705),p=n(51270),f=n(60830),g=n(40245),m=n(51204),h=n(30178),_=n(21208),v=n(98794),y=n(29945),b=n(17477),R=n(75673),E=n(22722),S=n(32260).set,O=n(3051),w=n(60014),C=n(88280),T=n(66962),x=n(50478),N=n(989),I=n(95530),P=n(95536),A=n(17467),D=n(52269),k=P("species"),M="Promise",j=N.get,L=N.set,F=N.getterFor(M),B=d,U=l.TypeError,G=l.document,$=l.process,V=u("fetch"),z=T.f,H=z,q=!!(G&&G.createEvent&&l.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,W="unhandledrejection",Q=I(M,(function(){if(!(y(B)!==String(B))){if(66===D)return!0;if(!A&&!Y)return!0}if(c&&!B.prototype.finally)return!0;if(D>=51&&/native code/.test(B))return!1;var e=B.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[k]=t,!(e.then((function(){}))instanceof t)})),K=Q||!R((function(e){B.all(e).catch((function(){}))})),X=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;O((function(){for(var r=e.value,a=1==e.state,o=0;n.length>o;){var i,s,c,l=n[o++],u=a?l.ok:l.fail,d=l.resolve,p=l.reject,f=l.domain;try{u?(a||(2===e.rejection&&ne(e),e.rejection=1),!0===u?i=r:(f&&f.enter(),i=u(r),f&&(f.exit(),c=!0)),i===l.promise?p(U("Promise-chain cycle")):(s=X(i))?s.call(i,d,p):d(i)):p(r)}catch(g){f&&!c&&f.exit(),p(g)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ee(e)}))}},J=function(e,t,n){var r,a;q?((r=G.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!Y&&(a=l["on"+e])?a(r):e===W&&C("Unhandled promise rejection",n)},ee=function(e){S.call(l,(function(){var t,n=e.facade,r=e.value;if(te(e)&&(t=x((function(){A?$.emit("unhandledRejection",r,n):J(W,n,r)})),e.rejection=A||te(e)?2:1,t.error))throw t.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e){S.call(l,(function(){var t=e.facade;A?$.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)}))},re=function(e,t,n){return function(r){e(t,r,n)}},ae=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Z(e,!0))},oe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw U("Promise can't be resolved itself");var r=X(t);r?O((function(){var n={done:!1};try{r.call(t,re(oe,n,e),re(ae,n,e))}catch(a){ae(n,a,e)}})):(e.value=t,e.state=1,Z(e,!1))}catch(a){ae({done:!1},a,e)}}};Q&&(B=function(e){v(this,B,M),_(e),r.call(this);var t=j(this);try{e(re(oe,t),re(ae,t))}catch(n){ae(t,n)}},(r=function(e){L(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(B.prototype,{then:function(e,t){var n=F(this),r=z(E(this,B));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=A?$.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Z(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=j(e);this.promise=e,this.resolve=re(oe,t),this.reject=re(ae,t)},T.f=z=function(e){return e===B||e===o?new a(e):H(e)},c||"function"!=typeof d||(i=d.prototype.then,p(d.prototype,"then",(function(e,t){var n=this;return new B((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return w(B,V.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:Q},{Promise:B}),g(B,M,!1,!0),m(M),o=u(M),s({target:M,stat:!0,forced:Q},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),s({target:M,stat:!0,forced:c||Q},{resolve:function(e){return w(c&&this===o?B:this,e)}}),s({target:M,stat:!0,forced:K},{all:function(e){var t=this,n=z(t),r=n.resolve,a=n.reject,o=x((function(){var n=_(t.resolve),o=[],i=0,s=1;b(e,(function(e){var c=i++,l=!1;o.push(void 0),s++,n.call(t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),a)})),--s||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=z(t),r=n.reject,a=x((function(){var a=_(t.resolve);b(e,(function(e){a.call(t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},8223:(e,t,n)=>{"use strict";var r=n(81104),a=n(76225);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},43730:(e,t,n)=>{"use strict";var r=n(12595),a=n(39092),o=n(13235),i=n(60555),s=n(21845),c=n(87400),l=n(94815),u=n(89397),d=Math.max,p=Math.min;r("replace",2,(function(e,t,n,r){var f=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=r.REPLACE_KEEPS_$0,m=f?"$":"$0";return[function(n,r){var a=s(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,a,r):t.call(String(a),n,r)},function(e,r){if(!f&&g||"string"===typeof r&&-1===r.indexOf(m)){var s=n(t,e,this,r);if(s.done)return s.value}var h=a(e),_=String(this),v="function"===typeof r;v||(r=String(r));var y=h.global;if(y){var b=h.unicode;h.lastIndex=0}for(var R=[];;){var E=u(h,_);if(null===E)break;if(R.push(E),!y)break;""===String(E[0])&&(h.lastIndex=c(_,o(h.lastIndex),b))}for(var S,O="",w=0,C=0;C=w&&(O+=_.slice(w,x)+D,w=x+T.length)}return O+_.slice(w)}]}))},89904:(e,t,n)=>{const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"===typeof e)try{e=new u(e,this.options)}catch(t){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),r=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,i=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||l}}e.exports=a;const o=n(41392),{re:i,t:s}=n(68458),c=n(51488),l=n(85442),u=n(57186),d=n(21936)},21936:(e,t,n)=>{class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],f)).split(/\s+/).join(" ");const c=r?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map((e=>_(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options))).filter(this.options.loose?e=>!!e.match(c):()=>!0).map((e=>new i(e,this.options))),h=(m.length,new Map);for(const a of m){if(g(a))return[a];h.set(a.value,a)}h.size>1&&h.has("")&&h.delete("");const v=[...h.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>h(n,t)&&e.set.some((e=>h(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"===typeof e)try{e=new c(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},_=(e,t)=>(s("comp",e,t),e=R(e,t),s("caret",e),e=y(e,t),s("tildes",e),e=S(e,t),s("xrange",e),e=w(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},R=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let c;return s("caret",e,t,n,a,o,i),v(n)?c="":v(a)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?c="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),c="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",c),c}))},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,a,o,i,c)=>{s("xRange",e,n,r,a,o,i,c);const l=v(a),u=l||v(o),d=u||v(i),p=d;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(c="-0"),n=`${r+a}.${o}.${i}${c}`):u?n=`>=${a}.0.0${c} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${o}.0${c} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},w=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,n,r,a,o,i,s,c,l,u,d,p,f)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=v(l)?"":v(u)?`<${+l+1}.0.0-0`:v(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`}`.trim(),x=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},57186:(e,t,n)=>{const r=n(85442),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(38500),{re:i,t:s}=n(68458),c=n(41392),{compareIdentifiers:l}=n(26887);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!==typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"===typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},45346:(e,t,n)=>{const r=n(66538);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},51488:(e,t,n)=>{const r=n(81073),a=n(6640),o=n(94849),i=n(90571),s=n(92684),c=n(25620);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e===n;case"!==":return"object"===typeof e&&(e=e.version),"object"===typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return a(e,n,l);case">":return o(e,n,l);case">=":return i(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},94032:(e,t,n)=>{const r=n(57186),a=n(66538),{re:o,t:i}=n(68458);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"===typeof e&&(e=String(e)),"string"!==typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},49591:(e,t,n)=>{const r=n(57186);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},79533:(e,t,n)=>{const r=n(24979);e.exports=(e,t)=>r(e,t,!0)},24979:(e,t,n)=>{const r=n(57186);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},82720:(e,t,n)=>{const r=n(66538),a=n(81073);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},81073:(e,t,n)=>{const r=n(24979);e.exports=(e,t,n)=>0===r(e,t,n)},94849:(e,t,n)=>{const r=n(24979);e.exports=(e,t,n)=>r(e,t,n)>0},90571:(e,t,n)=>{const r=n(24979);e.exports=(e,t,n)=>r(e,t,n)>=0},44863:(e,t,n)=>{const r=n(57186);e.exports=(e,t,n,a)=>{"string"===typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(o){return null}}},92684:(e,t,n)=>{const r=n(24979);e.exports=(e,t,n)=>r(e,t,n)<0},25620:(e,t,n)=>{const r=n(24979);e.exports=(e,t,n)=>r(e,t,n)<=0},14940:(e,t,n)=>{const r=n(57186);e.exports=(e,t)=>new r(e,t).major},62218:(e,t,n)=>{const r=n(57186);e.exports=(e,t)=>new r(e,t).minor},6640:(e,t,n)=>{const r=n(24979);e.exports=(e,t,n)=>0!==r(e,t,n)},66538:(e,t,n)=>{const{MAX_LENGTH:r}=n(38500),{re:a,t:o}=n(68458),i=n(57186),s=n(41392);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!==typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(n){return null}}},58855:(e,t,n)=>{const r=n(57186);e.exports=(e,t)=>new r(e,t).patch},9010:(e,t,n)=>{const r=n(66538);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},28381:(e,t,n)=>{const r=n(24979);e.exports=(e,t,n)=>r(t,e,n)},14089:(e,t,n)=>{const r=n(49591);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},42548:(e,t,n)=>{const r=n(21936);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(a){return!1}return t.test(e)}},37276:(e,t,n)=>{const r=n(49591);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},39483:(e,t,n)=>{const r=n(66538);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},79474:(e,t,n)=>{const r=n(68458);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(38500).SEMVER_SPEC_VERSION,SemVer:n(57186),compareIdentifiers:n(26887).compareIdentifiers,rcompareIdentifiers:n(26887).rcompareIdentifiers,parse:n(66538),valid:n(39483),clean:n(45346),inc:n(44863),diff:n(82720),major:n(14940),minor:n(62218),patch:n(58855),prerelease:n(9010),compare:n(24979),rcompare:n(28381),compareLoose:n(79533),compareBuild:n(49591),sort:n(37276),rsort:n(14089),gt:n(94849),lt:n(92684),eq:n(81073),neq:n(6640),gte:n(90571),lte:n(25620),cmp:n(51488),coerce:n(94032),Comparator:n(89904),Range:n(21936),satisfies:n(42548),toComparators:n(39199),maxSatisfying:n(93478),minSatisfying:n(95274),minVersion:n(33416),validRange:n(77774),outside:n(83716),gtr:n(40534),ltr:n(23494),intersects:n(47290),simplifyRange:n(5898),subset:n(57230)}},38500:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},85442:(e,t,n)=>{var r=n(20038);const a="object"===typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=a},26887:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:en(t,e)}},41392:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!==typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},68458:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(38500),a=n(85442),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),l("FULL",`^${i[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),l("LOOSE",`^${i[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),l("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",i[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},40534:(e,t,n)=>{const r=n(83716);e.exports=(e,t,n)=>r(e,t,">",n)},47290:(e,t,n)=>{const r=n(21936);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},23494:(e,t,n)=>{const r=n(83716);e.exports=(e,t,n)=>r(e,t,"<",n)},93478:(e,t,n)=>{const r=n(57186),a=n(21936);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},95274:(e,t,n)=>{const r=n(57186),a=n(21936);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},33416:(e,t,n)=>{const r=n(57186),a=n(21936),o=n(94849);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let a=0;a{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},83716:(e,t,n)=>{const r=n(57186),a=n(89904),{ANY:o}=a,i=n(21936),s=n(42548),c=n(94849),l=n(92684),u=n(25620),d=n(90571);e.exports=(e,t,n,p)=>{let f,g,m,h,_;switch(e=new r(e,p),t=new i(t,p),n){case">":f=c,g=u,m=l,h=">",_=">=";break;case"<":f=l,g=d,m=c,h="<",_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;r{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,f(e.semver,i.semver,p)?i=e:m(e.semver,s.semver,p)&&(s=e)})),i.operator===h||i.operator===_)return!1;if((!s.operator||s.operator===h)&&g(e,s.semver))return!1;if(s.operator===_&&m(e,s.semver))return!1}return!0}},5898:(e,t,n)=>{const r=n(42548),a=n(24979);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const c=e.sort(((e,t)=>a(e,t,n)));for(const a of c){r(a,t,n)?(s=a,i||(i=a)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const l=[];for(const[r,a]of o)r===a?l.push(r):a||r!==c[0]?a?r===c[0]?l.push(`<=${a}`):l.push(`${r} - ${a}`):l.push(`>=${r}`):l.push("*");const u=l.join(" || "),d="string"===typeof t.raw?t.raw:String(t);return u.length{const r=n(21936),{ANY:a}=n(89904),o=n(42548),i=n(24979),s=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a)return 1===t.length&&t[0].semver===a;const r=new Set;let s,u,d,p,f,g,m;for(const a of e)">"===a.operator||">="===a.operator?s=c(s,a,n):"<"===a.operator||"<="===a.operator?u=l(u,a,n):r.add(a.semver);if(r.size>1)return null;if(s&&u){if(d=i(s.semver,u.semver,n),d>0)return null;if(0===d&&(">="!==s.operator||"<="!==u.operator))return null}for(const a of r){if(s&&!o(a,String(s),n))return null;if(u&&!o(a,String(u),n))return null;for(const e of t)if(!o(a,String(e),n))return!1;return!0}for(const a of t){if(m=m||">"===a.operator||">="===a.operator,g=g||"<"===a.operator||"<="===a.operator,s)if(">"===a.operator||">="===a.operator){if(p=c(s,a,n),p===a&&p!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(a),n))return!1;if(u)if("<"===a.operator||"<="===a.operator){if(f=l(u,a,n),f===a&&f!==u)return!1}else if("<="===u.operator&&!o(u.semver,String(a),n))return!1;if(!a.operator&&(u||s)&&0!==d)return!1}return!(s&&g&&!u&&0!==d)&&!(u&&m&&!s&&0!==d)},c=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=s(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},39199:(e,t,n)=>{const r=n(21936);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},77774:(e,t,n)=>{const r=n(21936);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(n){return null}}},52219:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(55081),t)},55081:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const a=r(n(49725)),o=n(56843),i=r(n(92366));t.Link=function(e){return a.default.createElement(o.Link,Object.assign({},e,{className:i.default.link,external:!0}))}},36812:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(14770),t)},14770:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aObject.assign(Object.assign(Object.assign({},r),{mdx:l.mdx}),t)),[r,t,l.mdx]);return s.default.createElement(u.Snippet,Object.assign({scope:a},n))}},20842:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeProvider=t.MDXScopeContext=void 0;var r=n(46847);Object.defineProperty(t,"MDXScopeContext",{enumerable:!0,get:function(){return r.MDXScopeContext}});var a=n(42151);Object.defineProperty(t,"MDXScopeProvider",{enumerable:!0,get:function(){return a.MDXScopeProvider}})},46847:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeContext=void 0;const r=n(49725);t.MDXScopeContext=(0,r.createContext)({})},42151:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeProvider=void 0;const a=r(n(49725)),o=n(46847);t.MDXScopeProvider=function({components:e,children:t}){return a.default.createElement(o.MDXScopeContext.Provider,{value:e},t)}},22379:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXLayout=void 0;var r=n(51309);Object.defineProperty(t,"MDXLayout",{enumerable:!0,get:function(){return r.MDXLayout}})},51309:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aObject.assign(Object.assign({},d),t)),[d,t]);return s.default.createElement(c.MDXLayout,Object.assign({components:r},n))}},44374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeProvider=t.MDXScopeContext=void 0;var r=n(74997);Object.defineProperty(t,"MDXScopeContext",{enumerable:!0,get:function(){return r.MDXScopeContext}});var a=n(93629);Object.defineProperty(t,"MDXScopeProvider",{enumerable:!0,get:function(){return a.MDXScopeProvider}})},74997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeContext=void 0;const r=n(49725);t.MDXScopeContext=r.createContext({})},93629:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MDXScopeProvider=void 0;const a=r(n(49725)),o=n(74997);t.MDXScopeProvider=function({components:e,children:t}){return a.default.createElement(o.MDXScopeContext.Provider,{value:e},t)}},21178:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MDXAspect=void 0;const a=r().Aspect.create({id:"teambit.mdx/mdx"});t.MDXAspect=a;var o=a;t.default=o},78354:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(91814);return i=function(){return e},e}function s(){const e=n(12639);return s=function(){return e},e}function c(){const e=n(82055);return c=function(){return e},e}function l(){const e=n(85779);return l=function(){return e},e}function u(){const e=n(21178);return u=function(){return e},e}n(31567),n(92619);class d{static async provider([e,t]){const n=new d;return t.registerEmptyState((()=>o().default.createElement(l().EmptyBox,{title:"This component doesn\u2019t have any tests.",linkText:"Learn how to add tests to your MDX components",link:"https://bit.dev/docs/dev-services-overview/tester/tester-overview"}))),e.registerEmptyState((()=>o().default.createElement(l().EmptyBox,{title:"This component doesn\u2019t have any compositions.",linkText:"Learn how to add compositions to your MDX components",link:"https://bit.dev/docs/dev-services-overview/compositions/compositions-overview"}))),n}}(0,a().default)(d,"runtime",s().UIRuntime),(0,a().default)(d,"slots",[]),(0,a().default)(d,"dependencies",[i().CompositionsAspect,c().TesterAspect]),u().MDXAspect.addRuntime(d)},64958:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NodeAspect=void 0;const a=r().Aspect.create({id:"teambit.harmony/node",dependencies:[],defaultConfig:{}});t.NodeAspect=a;var o=a;t.default=o},62780:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(91814);return i=function(){return e},e}function s(){const e=n(12639);return s=function(){return e},e}function c(){const e=n(82055);return c=function(){return e},e}function l(){const e=n(85779);return l=function(){return e},e}function u(){const e=n(64958);return u=function(){return e},e}n(31567),n(92619);class d{static async provider([e,t]){const n=new d;return t.registerEmptyState((()=>o().default.createElement(l().EmptyBox,{title:"This component doesn\u2019t have any tests.",linkText:"Learn how to add tests to your node components",link:"https://bit.dev/docs/dev-services-overview/tester/tester-overview"}))),e.registerEmptyState((()=>o().default.createElement(l().EmptyBox,{title:"This component doesn\u2019t have any compositions.",linkText:"Learn how to add compositions to your node components",link:"https://bit.dev/docs/dev-services-overview/compositions/compositions-overview"}))),n}}(0,a().default)(d,"runtime",s().UIRuntime),(0,a().default)(d,"slots",[]),(0,a().default)(d,"dependencies",[i().CompositionsAspect,c().TesterAspect]),u().NodeAspect.addRuntime(d)},49440:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notificationReducer=function(e,t){switch(t.type){case"dismiss":return e.filter((e=>e.id!==t.id));case"add":return t.content?e.concat(t.content):e;case"clear":return[];default:return e}}},29606:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(73322));return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(49725));return s=function(){return e},e}function c(){const e=n(63595);return c=function(){return e},e}function l(){const e=n(28392);return l=function(){return e},e}function u(){const e=n(98591);return u=function(){return e},e}function d(){const e=n(23276);return d=function(){return e},e}function p(){const e=n(49440);return p=function(){return e},e}function f(){const e=n(78676);return f=function(){return e},e}function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n(31567),n(92619);class m{static async provider([e]){return new m(e)}constructor(e){(0,o().default)(this,"dispatch",void 0),(0,o().default)(this,"add",((e,t)=>{var n;const r=(0,c().v1)();return null===(n=this.dispatch)||void 0===n||n.call(this,{type:"add",content:{id:r,message:e,level:t,time:(new Date).toISOString()}}),r})),(0,o().default)(this,"log",(e=>this.add(e,d().MessageLevel.info))),(0,o().default)(this,"warn",(e=>this.add(e,d().MessageLevel.warning))),(0,o().default)(this,"error",(e=>this.add(e,d().MessageLevel.error))),(0,o().default)(this,"success",(e=>this.add(e,d().MessageLevel.success))),(0,o().default)(this,"clear",(()=>{var e;null===(e=this.dispatch)||void 0===e||e.call(this,{type:"clear"})})),(0,o().default)(this,"render",(e=>{const[t,n]=(0,s().useReducer)(p().notificationReducer,[]);return this.dispatch=n,s().default.createElement(u().NotificationCenter,(0,a().default)({},e,{notifications:t}))})),(0,o().default)(this,"renderContext",(({children:e})=>s().default.createElement(l().NotificationContext.Provider,{value:this},e))),e.registerHudItem(s().default.createElement(this.render,{key:"NotificationUI"})),e.registerRenderHooks({reactContext:this.renderContext})}dismiss(e){var t;null===(t=this.dispatch)||void 0===t||t.call(this,{type:"dismiss",id:e})}}(0,o().default)(m,"dependencies",[i().UIAspect]),(0,o().default)(m,"runtime",i().UIRuntime),f().NotificationsAspect.addRuntime(m)},78676:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NotificationsAspect=void 0;const a=r().Aspect.create({id:"teambit.ui-foundation/notifications"});t.NotificationsAspect=a;var o=a;t.default=o},26580:(e,t,n)=>{"use strict";function r(){const e=n(84408);return r=function(){return e},e}function a(){const e=n(30376);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PanelUiAspect",{enumerable:!0,get:function(){return r().PanelUiAspect}}),Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return a().Tab}}),Object.defineProperty(t,"TabContainer",{enumerable:!0,get:function(){return a().TabContainer}}),Object.defineProperty(t,"TabList",{enumerable:!0,get:function(){return a().TabList}}),Object.defineProperty(t,"TabPanel",{enumerable:!0,get:function(){return a().TabPanel}})},84408:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.PanelUiAspect=void 0;const a=r().Aspect.create({id:"teambit.ui-foundation/panels",dependencies:[],defaultConfig:{}});t.PanelUiAspect=a},30376:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(75034));return a=function(){return e},e}function o(){const e=r(n(55574));return o=function(){return e},e}function i(){const e=r(n(49725));return i=function(){return e},e}function s(){const e=n(12908);return s=function(){return e},e}function c(){const e=r(n(18021));return c=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=p,t.TabContainer=void 0,t.TabList=u,t.TabPanel=void 0;const l=s().Tabs;function u(e){return i().default.createElement(s().TabList,(0,a().default)({},e,{className:(0,o().default)(c().default.tabContainer,e.className)}))}t.TabContainer=l,u.tabsRole="TabList";const d=s().TabPanel;function p(e){return i().default.createElement(s().Tab,(0,a().default)({},e,{className:(0,o().default)(e.className,c().default.tab),selectedClassName:c().default.active,disabledClassName:c().default.disabled}))}t.TabPanel=d,p.tabsRole="Tab"},8747:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PkgAspect=void 0;const a=r().Aspect.create({id:"teambit.pkg/pkg"});t.PkgAspect=a;var o=a;t.default=o},7291:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=n(17413);return s=function(){return e},e}function c(){const e=r(n(44704));return c=function(){return e},e}function l(){const e=n(8747);return l=function(){return e},e}n(31567),n(92619),n(41248);class u{constructor(){(0,a().default)(this,"npmConsumeMethod",((e,t)=>{if(null!==t&&void 0!==t&&t.currentLane)return;const n=e.packageName.split("/")[0],r=e.version===e.latest?"":`@${e.version}`;return{Title:o().default.createElement("img",{style:{width:"30px"},src:"https://static.bit.dev/brands/logo-npm-new.svg"}),Component:o().default.createElement(s().Install,{config:`npm config set '${n}:registry' https://node.bit.cloud`,componentName:e.id.name,packageManager:"npm",copyString:`npm i ${e.packageName}${r}`,registryName:n}),order:10}}))}static async provider([e]){const t=new u;return e.registerConsumeMethod(t.npmConsumeMethod),t}}(0,a().default)(u,"runtime",i().UIRuntime),(0,a().default)(u,"dependencies",[c().default]),l().PkgAspect.addRuntime(u)},46505:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PnpmAspect=void 0;const a=r().Aspect.create({id:"teambit.dependencies/pnpm",dependencies:[],defaultConfig:{}});t.PnpmAspect=a;var o=a;t.default=o},8031:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(12639);return i=function(){return e},e}function s(){const e=n(17413);return s=function(){return e},e}function c(){const e=r(n(44704));return c=function(){return e},e}function l(){const e=n(46505);return l=function(){return e},e}n(31567),n(92619),n(41248);class u{constructor(){(0,a().default)(this,"consumeMethod",((e,t)=>{if(null!==t&&void 0!==t&&t.currentLane)return;const n=e.packageName.split("/")[0],r=e.version===e.latest?"":`@${e.version}`;return{Title:o().default.createElement("img",{style:{height:"16px",marginTop:"-2px"},src:"https://static.bit.dev/brands/pnpm.svg"}),Component:o().default.createElement(s().Install,{config:`npm config set '${n}:registry' https://node.bit.cloud`,componentName:e.id.name,packageManager:"pnpm",copyString:`pnpm i ${e.packageName}${r}`,registryName:n}),order:30}}))}static async provider([e]){const t=new u;return e.registerConsumeMethod(t.consumeMethod),t}}(0,a().default)(u,"runtime",i().UIRuntime),(0,a().default)(u,"dependencies",[c().default]),l().PnpmAspect.addRuntime(u)},45739:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computePreviewScale=void 0,t.computePreviewScale=function(e,t){const n=.95*t/e;return n>1?"scale(1)":`scale(${n})`}},45925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toPreviewHash=t.toPreviewServer=t.toPreviewUrl=t.ComponentPreview=void 0;var r=n(67304);Object.defineProperty(t,"ComponentPreview",{enumerable:!0,get:function(){return r.ComponentPreview}});var a=n(40760);Object.defineProperty(t,"toPreviewUrl",{enumerable:!0,get:function(){return a.toPreviewUrl}}),Object.defineProperty(t,"toPreviewServer",{enumerable:!0,get:function(){return a.toPreviewServer}}),Object.defineProperty(t,"toPreviewHash",{enumerable:!0,get:function(){return a.toPreviewHash}})},67304:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{w.current&&((0,u.connectToChild)({iframe:w.current,methods:{pub:(e,t)=>{"preview-size"===t.type&&(T(t.data.width),N(t.data.height))}}}),b&&b())}),[null===w||void 0===w?void 0:w.current]);const D=Array.isArray(h)?h.concat(`viewport=${v}`):(0,l.compact)([h,`viewport=${v}`]),k=null===v?h:D,M=(0,p.toPreviewUrl)(a,o,P?k:h),j=(null===(n=I.current)||void 0===n?void 0:n.offsetWidth)||0,L=(null===(r=I.current)||void 0===r?void 0:r.offsetHeight)||0,F=y?"100%":(C||1280)+10,B=F400?O:s||5e3;return c.default.createElement("div",{ref:I,className:m.default.preview,style:{height:s}},c.default.createElement("iframe",Object.assign({},E,{ref:A,style:Object.assign(Object.assign({},R),{height:s||(P?G:$),width:P?B:"100%",visibility:0===C&&P&&!y?"hidden":void 0,transform:y?"":(0,f.computePreviewScale)(C,j),border:0,transformOrigin:"top left"}),src:M})))}},40760:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toPreviewHash=t.toPreviewServer=t.toPreviewUrl=void 0;const r=n(51327);function a(e,t){var n,r;const a=null===(n=e.server)||void 0===n?void 0:n.url;return a||(!1===(null===(r=e.preview)||void 0===r?void 0:r.includesEnvTemplate)?function(e,t){var n;const r=null===(n=e.environment)||void 0===n?void 0:n.id,a=`compId=${e.id.toString()}`,o=`/api/${r}/~aspect/env-template/${t}/?${a}`;return o}(e,t):function(e){const t=`/api/${e.id.toString()}/~aspect/preview/`;return t}(e))}function o(e,t,n=""){const a=[(0,r.affix)("preview=",t)].concat(n).filter((e=>!!e)).join("&");return`${e.id.toString()}${(0,r.affix)("?",a)}`}t.toPreviewUrl=function(e,t,n){return`${a(e,t)}#${o(e,t,n)}`},t.toPreviewServer=a,t.toPreviewHash=o},98234:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useInterval=t.useIframeContentHeight=void 0;const r=n(49725);function a(e,t){const n=(0,r.useRef)((()=>e));(0,r.useEffect)((()=>{n.current=e})),(0,r.useEffect)((()=>{if(null!==t){const e=setInterval((function(){n.current()}),t);return()=>clearInterval(e)}return()=>{}}),[t])}t.useIframeContentHeight=function({interval:e=250,skip:t,viewport:n}){const o=(0,r.useRef)(null),[i,s]=(0,r.useState)(0),[c,l]=(0,r.useState)(0);if(t)return[o,void 0,c];let u=!0;return a((()=>{var e;try{const t=o.current;null!==n&&(t.contentWindow.document.body.style.width="fit-content"),u||"5000px"!==(null===t||void 0===t?void 0:t.style.height)||(t.style.height="100%");const r=t.contentWindow.document.body.scrollHeight,a=null===(e=null===t||void 0===t?void 0:t.contentWindow)||void 0===e?void 0:e.document.body.offsetWidth;s(r),l(a||0),u=!1}catch(t){}}),e),[o,i,c]},t.useInterval=a},40075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewPlaceholder=void 0;var r=n(8578);Object.defineProperty(t,"PreviewPlaceholder",{enumerable:!0,get:function(){return r.PreviewPlaceholder}})},8578:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewPlaceholder=void 0;const s=o(n(49725)),c=n(91814),l=n(25314),u=i(n(94136));t.PreviewPlaceholder=function({component:e,shouldShowPreview:t}){const n=(0,s.useMemo)((()=>{if(t)return function(e){const{compositions:t}=e;return t.find((e=>e.identifier.endsWith(d)))}(e)}),[e,t]),r=e.id.toString();return"pending"===e.buildStatus?s.default.createElement("div",{className:u.default.previewPlaceholder,"data-tip":"","data-for":r},s.default.createElement(l.Icon,{of:"Ripple-processing"}),s.default.createElement("div",null,"Processing preview")):t?s.default.createElement(c.ComponentComposition,{component:e,composition:n,pubsub:!1}):s.default.createElement("div",{className:u.default.previewPlaceholder,"data-tip":"","data-for":r},s.default.createElement(l.Icon,{of:"img"}),s.default.createElement("div",null,"No preview available"))};const d="Preview"},74508:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(76378);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ClickInsideAnIframeEvent=void 0;class i{constructor(e){this.clickEvent=e}}class s extends o().BitBaseEvent{constructor(e=Date.now(),t){super(s.TYPE,"0.0.1",e,new i(t)),this.timestamp=e,this.clickEvent=t}}t.ClickInsideAnIframeEvent=s,(0,a().default)(s,"TYPE","click-inside-an-iframe")},84588:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74508);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},10059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={PreviewAspect:!0,PreviewRuntime:!0,PreviewEnv:!0,Preview:!0,PreviewDefinition:!0,ENV_PREVIEW_STRATEGY_NAME:!0,COMPONENT_PREVIEW_STRATEGY_NAME:!0};function a(){const e=n(56309);return a=function(){return e},e}Object.defineProperty(t,"COMPONENT_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return c().COMPONENT_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t,"ENV_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return c().ENV_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t,"Preview",{enumerable:!0,get:function(){return i().Preview}}),Object.defineProperty(t,"PreviewAspect",{enumerable:!0,get:function(){return a().PreviewAspect}}),Object.defineProperty(t,"PreviewDefinition",{enumerable:!0,get:function(){return s().PreviewDefinition}}),Object.defineProperty(t,"PreviewEnv",{enumerable:!0,get:function(){return i().PreviewEnv}}),Object.defineProperty(t,"PreviewRuntime",{enumerable:!0,get:function(){return a().PreviewRuntime}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a().PreviewAspect}});var o=n(84588);function i(){const e=n(90014);return i=function(){return e},e}function s(){const e=n(8563);return s=function(){return e},e}function c(){const e=n(25610);return c=function(){return e},e}Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}))},8563:()=>{},90014:()=>{},56309:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PreviewRuntime=t.PreviewAspect=void 0;const a=new(r().RuntimeDefinition)("preview");t.PreviewRuntime=a;const o=r().Aspect.create({id:"teambit.preview/preview",dependencies:[],defaultConfig:{},declareRuntime:a});t.PreviewAspect=o;var i=o;t.default=i},25610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENV_PREVIEW_STRATEGY_NAME=t.COMPONENT_PREVIEW_STRATEGY_NAME=void 0;t.ENV_PREVIEW_STRATEGY_NAME="env";t.COMPONENT_PREVIEW_STRATEGY_NAME="component"},74996:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BitBaseEvent=void 0;t.BitBaseEvent=class{constructor(e,t,n,r){this.type=e,this.version=t,this.timestamp=n,this.data=r}}},76378:(e,t,n)=>{"use strict";function r(){const e=n(62141);return r=function(){return e},e}function a(){const e=n(74996);return a=function(){return e},e}function o(){const e=n(94645);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BitBaseEvent",{enumerable:!0,get:function(){return a().BitBaseEvent}}),Object.defineProperty(t,"PubSubRegistry",{enumerable:!0,get:function(){return o().PubSubRegistry}}),Object.defineProperty(t,"PubsubAspect",{enumerable:!0,get:function(){return r().PubsubAspect}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r().PubsubAspect}}),Object.defineProperty(t,"usePubSub",{enumerable:!0,get:function(){return o().usePubSub}}),Object.defineProperty(t,"usePubSubIframe",{enumerable:!0,get:function(){return o().usePubSubIframe}})},94645:(e,t,n)=>{"use strict";function r(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(49725));return r=function(){return e},e}function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createProvider=function(e){return({children:t})=>r().default.createElement(o.Provider,{value:e},t)},t.pubsubRegistry=void 0,t.usePubSub=i,t.usePubSubIframe=function(e){const t=i();(0,r().useEffect)((()=>{if(null===e||void 0===e||!e.current||!t)return()=>{};const n=t.connect(e.current);return()=>n()}),[null===e||void 0===e?void 0:e.current,t])};const o=(0,r().createContext)(void 0);function i(){return(0,r().useContext)(o)}t.pubsubRegistry=o},62141:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PubsubAspect=void 0;const a=r().Aspect.create({id:"teambit.harmony/pubsub",dependencies:[]});t.PubsubAspect=a;var o=a;t.default=o},776:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=n(12639);return o=function(){return e},e}function i(){const e=n(50379);return i=function(){return e},e}function s(){const e=n(11278);return s=function(){return e},e}function c(){const e=n(62141);return c=function(){return e},e}function l(){const e=n(94645);return l=function(){return e},e}n(31567),n(92619);class u{constructor(){(0,a().default)(this,"childApi",void 0),(0,a().default)(this,"events",new(i().EventEmitter2)),(0,a().default)(this,"sub",((e,t)=>{const n=this.events;n.on(e,t);return()=>{n.off(e,t)}})),(0,a().default)(this,"pub",((e,t,{propagate:n}={})=>{this.emitEvent(e,t),n&&this.pubToChild(e,t)})),(0,a().default)(this,"connectToIframe",(e=>{const t=(0,s().connectToChild)({iframe:e,methods:{pub:this.emitEvent}});t.promise.then((e=>this.childApi=e)).catch((e=>{console.error("[Pubsub.ui]","failed connecting to child iframe:",e)}));return()=>{t&&t.destroy()}})),(0,a().default)(this,"emitEvent",((e,t)=>{this.events.emit(e,t)})),(0,a().default)(this,"pubToChild",((e,t)=>{var n;return null===(n=this.childApi)||void 0===n?void 0:n.pub(e,t)}))}getPubSubContext(){return(0,l().createProvider)({connect:this.connectToIframe})}static async provider([e]){const t=new u,n=t.getPubSubContext();return e&&e.registerRenderHooks({reactContext:n}),t}}(0,a().default)(u,"runtime",o().UIRuntime),(0,a().default)(u,"dependencies",[o().UIAspect]),c().PubsubAspect.addRuntime(u)},99629:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReactNativeAspect=void 0;const a=r().Aspect.create({id:"teambit.react/react-native"});t.ReactNativeAspect=a;var o=a;t.default=o},91203:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(91814);return i=function(){return e},e}function s(){const e=n(12639);return s=function(){return e},e}function c(){const e=n(82055);return c=function(){return e},e}function l(){const e=n(32669);return l=function(){return e},e}function u(){const e=n(20560);return u=function(){return e},e}function d(){const e=n(99629);return d=function(){return e},e}n(31567),n(92619);class p{static async provider([e,t]){const n=new p;return t.registerEmptyState((()=>o().default.createElement(u().AddingTests,null))),e.registerEmptyState((()=>o().default.createElement(l().AddingCompositions,null))),n}}(0,a().default)(p,"runtime",s().UIRuntime),(0,a().default)(p,"slots",[]),(0,a().default)(p,"dependencies",[i().CompositionsAspect,c().TesterAspect]),d().ReactNativeAspect.addRuntime(p)},60473:(e,t,n)=>{"use strict";function r(){const e=n(49725);return r=function(){return e},e}function a(){const e=n(33097);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.LocationHooks=function({onLocationChange:e,onNavigatorChange:t}){const n=(0,a().useLocation)(),o=(0,a().useNavigationType)(),i=(0,a().useNavigate)();return(0,r().useEffect)((()=>{e(n,o)}),[n,o,e]),(0,r().useEffect)((()=>{t(i)}),[i,t]),null}},720:(e,t,n)=>{"use strict";function r(){const e=n(14938);return r=function(){return e},e}function a(){const e=n(82062);return a=function(){return e},e}function o(){const e=c(n(56843));return o=function(){return e},e}function i(){const e=c(n(33097));return i=function(){return e},e}function s(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactRouter=void 0,Object.defineProperty(t,"ReactRouterAspect",{enumerable:!0,get:function(){return r().ReactRouterAspect}}),Object.defineProperty(t,"Routing",{enumerable:!0,get:function(){return a().Routing}}),t.navigation=t.default=void 0,Object.defineProperty(t,"navigation",{enumerable:!0,get:function(){return o()}}),Object.defineProperty(t,"ReactRouter",{enumerable:!0,get:function(){return i()}});var l=r().ReactRouterAspect;t.default=l},14938:(e,t,n)=>{"use strict";function r(){const e=n(73823);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReactRouterAspect=void 0;const a=r().Aspect.create({id:"teambit.ui-foundation/react-router"});t.ReactRouterAspect=a;var o=a;t.default=o},74874:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(73322));return a=function(){return e},e}function o(){const e=r(n(49725));return o=function(){return e},e}function i(){const e=n(73823);return i=function(){return e},e}function s(){const e=n(12639);return s=function(){return e},e}function c(){const e=n(14938);return c=function(){return e},e}function l(){const e=n(57153);return l=function(){return e},e}function u(){const e=n(82062);return u=function(){return e},e}function d(){const e=n(60473);return d=function(){return e},e}n(31567),n(92619),n(41248);class p{constructor(e,t){this.routeSlot=e,this.routeChangeListener=t,(0,a().default)(this,"routingMode",u().Routing.url),(0,a().default)(this,"navigateTo",((e,t)=>{var n,r;const a="string"!==typeof e?e.state:void 0;switch(t){case"POP":return;case"REPLACE":return void(null===(n=this.navigate)||void 0===n||n.call(this,e,{replace:!0,state:a}));default:null===(r=this.navigate)||void 0===r||r.call(this,e,{state:a})}})),(0,a().default)(this,"navigate",void 0),(0,a().default)(this,"handleLocationChange",((e,t)=>{this.routeChangeListener.values().forEach((n=>n(e,t)))})),(0,a().default)(this,"RoutingContext",(({children:e,renderCtx:t})=>o().default.createElement(l().RouteContext,{reactRouterUi:this,routing:this.routingMode,location:null===t||void 0===t?void 0:t.initialLocation},e,o().default.createElement(d().LocationHooks,{onLocationChange:this.handleLocationChange,onNavigatorChange:e=>this.navigate=e})))),(0,a().default)(this,"ServerRouting",(({children:e,renderCtx:t})=>o().default.createElement(l().RouteContext,{reactRouterUi:this,routing:u().Routing.static,location:null===t||void 0===t?void 0:t.initialLocation},e,o().default.createElement(d().LocationHooks,{onLocationChange:this.handleLocationChange,onNavigatorChange:e=>this.navigate=e})))),(0,a().default)(this,"renderPlugin",{browserInit:()=>({initialLocation:`${window.location.pathname}${window.location.search}${window.location.hash}`}),serverInit:({browser:e})=>({initialLocation:null===e||void 0===e?void 0:e.location.url}),reactClientContext:this.RoutingContext,reactServerContext:this.ServerRouting})}renderRoutes(e){return o().default.createElement(l().RootRoute,{routeSlot:this.routeSlot,rootRoutes:e})}setRoutingMode(e){this.routingMode=e}register(e){return this.routeSlot.register(e),this}registerListener(e){this.routeChangeListener.register(e)}static async provider(e,t,[n,r]){return new p(n,r)}}(0,a().default)(p,"slots",[i().Slot.withType(),i().Slot.withType()]),(0,a().default)(p,"runtime",s().UIRuntime),c().ReactRouterAspect.addRuntime(p)},57153:(e,t,n)=>{"use strict";var r=n(6681);function a(){const e=r(n(49725));return a=function(){return e},e}function o(){const e=n(33097);return o=function(){return e},e}function i(){const e=n(38947);return i=function(){return e},e}function s(){const e=n(46338);return s=function(){return e},e}function c(){const e=n(56843);return c=function(){return e},e}function l(){const e=n(97558);return l=function(){return e},e}function u(){const e=n(82062);return u=function(){return e},e}function d({type:e,children:t,location:n}){switch(e){case u().Routing.static:return a().default.createElement(i().StaticRouter,{location:n||"/"},t);case u().Routing.inMemory:return a().default.createElement(o().MemoryRouter,{initialEntries:[n||"/"],initialIndex:1},t);case u().Routing.hash:return a().default.createElement(o().HashRouter,null,t);case u().Routing.url:default:return a().default.createElement(o().BrowserRouter,null,t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.RootRoute=function({rootRoutes:e,routeSlot:t}){return a().default.createElement(s().SlotRouter,{slot:t,rootRoutes:e})},t.RouteContext=function({routing:e=u().Routing.url,children:t,location:n}){return a().default.createElement(d,{type:e,location:n},a().default.createElement(c().NavigationProvider,{implementation:l().reactRouterAdapter},t))}},82062:(e,t)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.Routing=void 0,t.Routing=n,function(e){e[e.url=0]="url",e[e.hash=1]="hash",e[e.inMemory=2]="inMemory",e[e.static=3]="static"}(n||(t.Routing=n={}))},87263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;(r=n(49725))&&r.__esModule;var r,a=n(88803),o=n(44374),i=["components"];function s(){return s=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l={};function u(e){var t=e.components,n=c(e,i);return(0,a.mdx)("wrapper",s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(o.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,a.mdx)("h2",null,"How to Add Tests"),(0,a.mdx)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/R0LWV2gcbf8?rel=0",title:"Adding Tests to your component",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0}),(0,a.mdx)("blockquote",null,(0,a.mdx)("p",{parentName:"blockquote"},"Adding tests to a component is done by creating a file in the component's directory, using ",(0,a.mdx)("inlineCode",{parentName:"p"},"*.spec.[ts|tsx|js|jsx]")," or ",(0,a.mdx)("inlineCode",{parentName:"p"},"*.test.[ts|tsx|js|jsx]"),".")),(0,a.mdx)("p",null,"The local dev server watches your components for any changes and reruns tests for your component and all its dependents for you."),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-bash{5}"},"\u251c\u2500\u2500 ui/button\n \u251c\u2500\u2500 index.tsx\n \u251c\u2500\u2500 button.spec.tsx\n \u2514\u2500\u2500 button.tsx\n")),(0,a.mdx)("p",null,"It is highly recommended to use the component compositions as test samples."),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-tsx",metastring:'{4} title="button.tsx"',"{4}":!0,title:'"button.tsx"'},"import React from 'react';\nimport { render } from '@testing-library/react-native';\nimport { Button } from './button.composition';\n\nit('should render with the correct text', () => {\n const { getByText } = render();\n const rendered = getByText('click me');\n expect(rendered).toBeTruthy();\n});\n")),(0,a.mdx)("p",null,(0,a.mdx)("a",{parentName:"p",href:"https://harmony-docs.bit.dev/building-with-bit/testing-components"},"Learn more about testing components."))))}u.isMDXComponent=!0},20560:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AddingTests=void 0;var a=n(87263);Object.defineProperty(t,"AddingTests",{enumerable:!0,get:function(){return r(a).default}})},52948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;(r=n(49725))&&r.__esModule;var r,a=n(88803),o=n(44374),i=["components"];function s(){return s=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l={};function u(e){var t=e.components,n=c(e,i);return(0,a.mdx)("wrapper",s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(o.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,a.mdx)("h2",null,"How to Render your Component"),(0,a.mdx)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/so8CcUzTrn4?rel=0",title:"Rendering your Component",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0}),(0,a.mdx)("p",null,"Bit supports rendering your component in isolation which works as your local development environment. You can have multiple compositions per component to showcase different use cases, themes etc."),(0,a.mdx)("blockquote",null,(0,a.mdx)("p",{parentName:"blockquote"},"Adding compositions to a component is done by creating a file in the component's directory, using the ",(0,a.mdx)("inlineCode",{parentName:"p"},"*.composition.*")," pattern.")),(0,a.mdx)("p",null,"For example:"),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-bash",metastring:"{3}","{3}":!0},"button\n\u251c\u2500\u2500 button.composition.tsx\n\u251c\u2500\u2500 button.tsx\n\u2514\u2500\u2500 index.ts\n")),(0,a.mdx)("p",null,"You can create various compositions to showcase different usages of your component."),(0,a.mdx)("p",null,"Basic Button:"),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-js"},"import React from 'react';\nimport { Button } from './button';\n\nexport const BasicButton = () => {\n return